SAP Knowledge Base Article - Preview

2637936 - AJAX request call fails with XMLHttpRequest <url> required Cross Origin Resource Sharing (CORS)

Symptom

  • IRPT page or other javascript failing on AJAX call.
  • From web browser (Chrome, IE) developer tools, you may see the error as: XMLHttpRequest for <url> required Cross Origin Resource Sharing (CORS).
  •  In the case that this AJAX call is requesting MII Transaction Runner URL, in Netweaver you may see errors such as:

[EXCEPTION]
com.sap.xmii.bls.exceptions.TransactionLoadException: Unable to load transaction [<root> /.trx]
 at com.sap.xmii.bls.engine.TransactionExecuter.executeFromHttpRequest(TransactionExecuter.java:401)
 at com.sap.xmii.servlet.Runner.service(Runner.java:130)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
...

or

Unable to load transaction Path/To/Transaction.trx
[EXCEPTION]
com.sap.xmii.bls.exceptions.BlsException: Object path was not found
 at com.sap.xmii.bls.engine.TransactionManager.getFile(TransactionManager.java:1184)
 at com.sap.xmii.bls.engine.TransactionManager.load(TransactionManager.java:442)
 at com.sap.xmii.bls.engine.TransactionExecuter.executeFromHttpRequest(TransactionExecuter.java:390)
 at com.sap.xmii.servlet.Runner.service(Runner.java:130)
...


Read more...

Environment

SAP Manufacturing Integration and Intelligence (SAP MII)

Product

SAP Manufacturing Integration and Intelligence 15.0 ; SAP Manufacturing Integration and Intelligence 15.1 ; SAP Manufacturing Integration and Intelligence 15.2

Keywords

KBA , MFG-MII , SAP Manufacturing Integration and Intelligence , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.