on 05-26-2014 11:46 PM
Hello,
I observed that you can create an entity in gateway with only a Flat structure, no nested structure or a structure with an internal table is not supported. As i have a requirement of creating a purchase order with multiple items through a create call in gateway service.how do i achieve this.Can any one provide me some direction.
regards
Kaushik
Hello Krishna,
thank you for your response,if there is a similar request for update,how do i implement it.
regards
Kaushik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Kaushik,
In your case Purchase Order header will be an Entity and Purchase Order Line item another entity. You define relationship between them using Associations and Referential Constraints.
For fetching both at a time, you need to use a '$expand'. For creating both at a time, you use 'Deep Insert'.
I would suggest you to go through odata.org and search these concepts.
Also you can read more here.
Similar Discussion.
About deep Insert
About $expand
Basic and Generic Expand - SAP NetWeaver Gateway - SAP Library
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.