cancel
Showing results for 
Search instead for 
Did you mean: 

Key property does not have an output mapping in query operation

sravanthi_polu
Contributor
0 Kudos

Hi Experts,

We are trying to create an Odata service for retrieving the PO list through RFC BAPI_PO_GET_LIST.But when implementing the GetEntitySet(Query) encountering an issue "Key Property does not have an output parameter in query operation" when we try to create "Propose Mapping".

Kindly suggest.Thanks in advance.

Thanks & Regards,

Sravanthi.

Accepted Solutions (0)

Answers (2)

Answers (2)

Pavan_Golesar
Active Participant
0 Kudos

Hi ,

Adding to Ashwin, To determine key to a Entity Type, you can check if the table out response (which you would like to map back as GW response) has an entry in it - if it does, You can consider it as Key Property of that Collection i.e. that should contain the key of the purchase order collection set in you case.

Hope this helps!!

Cheers,

Pavan G

AshwinDutt
Active Contributor
0 Kudos

Hello Sravanthi,

This is the expected error when we are performing mapping during implementing Query operation in SEGW.

All you need to do is you need to define a property as Key in your model which is one among a field present in the out response of the table which you would like to map back as GW response..

i.e., which ever tables of the FM your are mapping as output response, pick any one property from that table and define it as a key.

This will resolve the error.

In your case make PO_NUMBER as Key and check.

Regards,

Ashwin