Quantcast
Channel: SCN : Popular Discussions - SAP NetWeaver Gateway Developer Center
Viewing all articles
Browse latest Browse all 1657

OData Service with multiple entity set for Create SO:

$
0
0

Hi Experts,

 

I want to create a OData service for create sales order, using BAPI_SALESORDER_CREATEFROMDAT2. For this I have created multiple entity/entity sets i.e. I need to pass Order Item, Order Partner and Partner Address as table fields to call above BAPI to Create Sales Order. Kindly suggest how to proceed further, because now I am little confused,  where (In Service Implementation) I should call the BAPI, because now I have three entity sets and of course there is no association in all of them. Probably I may be wrong in approaching "Create Sales Order" OData, Please advice. However, it is clear if I create a custom structure (Consist of mandatory fields from all the three above required entities) and fill all the fields in the single entity/entity set this is achievable, but I want to use the straight BAPI and use the table structures of the BAPI directly.

Thanks & Regards

Saurabh


Viewing all articles
Browse latest Browse all 1657

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>