on 02-18-2015 9:40 AM
Hi All
I've implemented setup and configured the SAP SRM Approve Shopping Carts Fiori Application.
Requisitions are appearing fine as are items when clicking on the requisitions.
However when i click on the item in the cart the following error appears.
{"error":{"code":"005056A509B11EE1B9A8FEC11C22578E","message":{"lang":"en","value":"Invalid key name in key predicate. Expected name is 'SAP__Origin, ItemNumber'"},"innererror":
Any suggestions at all ?
Regards
James
Anyone have any ideas ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please mark this Discussion with a Correct Answer (closes, but does not lock the Discussion) and Helpful Answer where appropriate. See http://scn.sap.com/community/support/blog/2013/04/03/how-to-close-a-discussion-and-why Even if you discovered the solution without any outside contributions, it helps others to understand what the solution turned out to be.
Do not use Assumed Answered as it confuses anyone looking for the specific answer. If you dig into the Getting Started link (top right of each SCN page), you are only instructed to mark Helpful or Correct Answers to Discussion responses.
Thanks, Mike (Moderator)
SAP Technology RIG
Its failing on the following URL
/sap/opu/odata/GBSRM/CARTAPPROVAL;v=2;mo/SCAItemCollection(SAP__Origin='DSRCLNT200',WorkitemID='000000272198',ScNumber='10008687',ItemNumber='0000000001')?$expand=SCAAccounting,SCAAttachmentItem,SCANoteItem,SCAApproverItem
Invalid key name in key predicate. Expected name is 'SAP__Origin, ItemNumber'
Its not liking the WorkitemID being passed back to the service from the app.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sap_Origin will come when th service is enabled with multiorigin concept.
Please take the error opu url and execute the same in gw client and see the response. Also please let me know if its an embedded or hub architecture
Reg
Tejas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The App its self is running up without problem.
Its when clicking on a line item detail it fails i.e
The URL its trying to run is
sapfiori/shells/abap/Fiorilaunchpad.html#ShoppingCartItem-approve&/detailItem/000000270300/0/0000000002/10008617/'DSRCLNT200' Fails
Where by
/sapfiori/shells/abap/Fiorilaunchpad.html#ShoppingCartItem-approve&/detail/WorkflowTaskCollection(SAP__Origin='DSRCLNT200',WorkitemID='000000272252')
Works successfully. This shows the items in the cart. Its when you click on the item its failing
Its a Hub setup at the moment with a Gateway server talking to a separate SRM instance
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.