Skip to Content

How do I handle create entity method on Odata in the following scenario

Jan 08 at 04:56 AM


avatar image

I have a standard bapi BAPI_GOODSMVT_CREATE which has 4 structure types in import and 3 structure types in export along with a structure type in the Tables. When I execute the BAPI I get the result in the Tables. How do I proceed with the Odata.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Joseph BERTHE Jan 10 at 07:54 AM


You should think of Create Deep entity. It will be not possible to map directly your BAPI to your entitySet.

In your OData model you have to create an entity set for each input table, then create a master entity set which will connect all your entity by association.

To finish, your create query will be handle by the master entity set by the methode create deep entity. In that method, you will be able to code the BAPI.



Show 1 Share
10 |10000 characters needed characters left characters exceeded

Concisely explained by Joseph..@Parnaksh - After trying above suggestion please point specific issues if you face any.