cancel
Showing results for 
Search instead for 
Did you mean: 

Issue while creating Odata with RFC mapping

Former Member
0 Kudos

Hi Experts,

I have created simple Odata where mapping RFC(BAPI_SALESORDER_GETSTATUS)  with  GET_ENTITY_SET method.

System giving me below error.Please suggest.

Accepted Solutions (1)

Accepted Solutions (1)

jyotish_rout
Explorer
0 Kudos

Hi Shailesh,

You have missed the mapping of sales document field.

Please map that field using propose mapping option.

Let me know if you still facing the issues.

Regards,

Jyotish

Former Member
0 Kudos

Hi Jyotish,

Thank you for your expert advise.I have generated mapping & it works.

Regards,

Shailesh

Answers (1)

Answers (1)

AshwinDutt
Active Contributor
0 Kudos

Hello Shailesh,

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 PurchNo as Key and check.

Regards,

Ashwin