Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

SAP Fiori Leave Approval Extended App error

Dear All,

I have extended the sap fiori standard project for Leave Approval using sap fiori toolkit , in that I have made the visible property of few fields as hidden in the component.js and after that am launching the same from the eclipse itself , in the app preview the master list is loaded and all the changes are reflected but the detail screen is not rendered and shows an error of invalid key predicate after assessing the error I found out that in my standard app the service which is called is appended with /detail/LeaveRequestCollection(SAP__Origin='LOCAL',RequestId='5A4949DA3B021ED4A593C9F58B1B18FE') but my custom app when it has appended as /detail/LeaveRequestCollection('5A4949DA3B021ED4A593C9F58B1B18FE')  and with error invalid key predicate please find the image for reference :

Also after that when I launch the standard app it also starts showing the same error as in my custom App with the same error and same request is also being called from my standard app which was working fine before launching the extended app, this behavior is really confusing and have almost lost a day with this error not sure about the root cause if anyone out there has faced similar issue and have resolved this then please share the solution as it would be really helpful.

Regards,

Fenil.

Tags:
Former Member
Former Member replied

Hi Fenil,

I can see this thread still un answered, we also faced this issue ,it seems its Multiple Origin Issue:

we have added ;mo at the end of service URL and it got resolved:

Regards,

Trilochan

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question