cancel
Showing results for 
Search instead for 
Did you mean: 

Fiori Approve Shopping Cart Item error

Martin1
Participant
0 Kudos

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_BASIS7400012
SAP_ABA7400012
SAP_GWFND7400012
SAP_UI7400014
PI_BASIS7400012
ST-PI7400002
SAP_BW7400012
IW_PGW1000008
UIX01SRM1000007
ST-A/PI01R_7310002



System Back End(SRM):

SAP_BASIS7400006
SAP_ABA7400006
SAP_GWFND7400006
SAP_UI7400008
PI_BASIS7400006
ST-PI2008_1_7000011
SAP_BW7400006
GRCPINWV1100_7310006
MDG_FND7470004
SAP_AP7000031
SAP_BS_FND7470004
WEBCUIF7470004
SRM_PLUS7130004
SRM_SERVER7130004
GBSRM0017000011
NEOUM200_7000005
RWD4300_7000000
ST-A/PI01R_7310001



Thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Juan,

You use Process Controlled Workflow, right?

Regards,

Masa / SAP Technology RIG

Martin1
Participant
0 Kudos

Hi Masayuki:

Yes we are.

Thanks,

Martin

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Martin,

You can do troubleshooting.

SAP Fiori LL11 - Consultants should know about OData troubleshooting

I recommend you to check mandatory notes again. I guess some notes are missing.

Regards,

Masa / SAP Technology RIG

Martin1
Participant
0 Kudos

Hi Masayuki:

We have this configured in our Sandbox system with an earlier release and it is working fine. What mandatory note are you referring to?

Thanks

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Martin,

You can compare settings with your sandbox which is working fine.

Regards,

Masa / SAP Technology RIG