Skip to Content

Fiori Approve Shopping Cart Item error

Hi Fiori Experts:

We have encounter an issue where when we try to click on an item we get an error message saying "Invalid key name in key predicate. Expected name is 'SAP__Origin, ItemNumber"

When testing the item in the gateway client:

“/sap/opu/odata/GBSRM/CARTAPPROVAL;v=2;mo/SCAItemCollection(SAP__Origin='SRD',WorkitemID='000000186970',ScNumber='6500018289',ItemNumber='0000000001')?$expand=SCAAccounting,SCAAttachmentItem,SCANoteItem,SCAApproverItem&sap-client=001”

We get the following error as output:

<?xml version="1.0" encoding="UTF-8"?>

<error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><code>005056A509B11EE1B9A8FEC11C22578E</code>

<message xml:lang="en">Invalid key name in key predicate. Expected name is 'SAP__Origin, ItemNumber'</message><innererror xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><transactionid>562AF853315629FDE10000000AD91A29</transactionid>

<timestamp>20151025012149.7625790</timestamp>

<Error_Resolution><SAP_Transaction>Run transaction /IWFND/ERROR_LOG on SAP NW Gateway hub system and search for entries with the timestamp above for more details</SAP_Transaction><SAP_Note>See SAP Note 1797736 for error analysis (https://service.sap.com/sap/support/notes/1797736)</SAP_Note>

</Error_Resolution>

</innererror>

</error>


Please see the images attached.


System Front End(Fiori):

SAP_BASIS 740 0012 SAP_ABA 740 0012 SAP_GWFND 740 0012 SAP_UI 740 0014 PI_BASIS 740 0012 ST-PI 740 0002 SAP_BW 740 0012 IW_PGW 100 0008 UIX01SRM 100 0007 ST-A/PI 01R_731 0002



System Back End(SRM):

SAP_BASIS 740 0006 SAP_ABA 740 0006 SAP_GWFND 740 0006 SAP_UI 740 0008 PI_BASIS 740 0006 ST-PI 2008_1_700 0011 SAP_BW 740 0006 GRCPINW V1100_731 0006 MDG_FND 747 0004 SAP_AP 700 0031 SAP_BS_FND 747 0004 WEBCUIF 747 0004 SRM_PLUS 713 0004 SRM_SERVER 713 0004 GBSRM001 700 0011 NEOUM 200_700 0005 RWD 4300_700 0000 ST-A/PI 01R_731 0001



Thanks

calling stack.png (23.7 kB)
app log.png (35.8 kB)
error log.png (53.7 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Oct 27, 2015 at 01:43 PM

    Hi Juan,

    You use Process Controlled Workflow, right?

    Regards,

    Masa / SAP Technology RIG

    Add comment
    10|10000 characters needed characters exceeded