cancel
Showing results for 
Search instead for 
Did you mean: 

SAPUI5 Fiori - SAP__Origin error while local testing

Former Member
0 Kudos

Experts,

I'm facing the following error while testing locally my SAPUI5 application. I extended the MM_PO_APV module.

Uncaught Error: The segment {SAP__Origin} is required.

I get this error on browser console view, and the page S4 don't open. This page is the item detail of an Order.

If I test it on the SAP it works great. The problem happens only in local testing.

Do you know how to by pass this?

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Unfortunately I'm running into this issue yet

Regards,

Andre

Former Member
0 Kudos

Hi ..

I had a similar issue, and solved it by adding multi-origin indicator at the end of the service URL. When I replaced the service from custom extended OData service, mo indicator wasn't added automatically in the service URL.

Former Member
0 Kudos

I tried the same thing, and it didn't work, until I added the following line between NAME and ServiceURL:

masterCollection: "WorkflowTaskCollection",

Then it was all good for me.

Cheers,

Kevin

former_member568822
Active Participant
0 Kudos

Hi,

Had you solve the issue? We having the same issue. Thanks.

Former Member
0 Kudos

Hi Andre,

Have you solved this problem? We're having the same issue.

Former Member
0 Kudos

Hi Andre,

Try testing your app locally in Chrome by disabling web security (--disable-web-security).

Regards,

Dharmaraj Patil

Former Member
0 Kudos

Hi Dharmaraj,

We tried this but to no avail. Are there other ways to solve this issue? We've checked OSS-related notes but our version is already updated.