on 07-15-2018 10:13 AM
Hi Everyone,
I have requirement to create Create multiple sales orders and corresponding line item on only one time Button click
Can anybody suggest that is it possible to create multiple sales-orders by calling CREATE_DEEP_ENTITY method only once ,instead of calling multiple times for each sales order individually.
i think you can implement batch mechanism for this case but i would suggest to create a string column in your structure (lets say col name is DATA)
Get ITEM-DETAIL as JSON content in UI5 app to a variable.
1- JSON.stringify your JSON content and set the value to your DATA column.
2- After SAVE method, you will have all content as JSON in your abap structure inside the DATA column
3-Deserialize JSON content with same item-detail structure (including same column names) type in ABAP with standard UI5 JSON parser class.
4- Now you have an ABAP structure with item-detail populated already.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.