Skip to Content

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

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jan 10 at 07:54 AM

    Hello,

    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.

    Regards,

    Joseph

    Add comment
    10|10000 characters needed characters exceeded