on 2021 Jun 02 8:20 AM
Hello,
I am trying to create an odata service by ABAP Restful application programming model, Unmananged Scenario. The service would perform operations such as Sales Order Create and Update.
I have implemented the method create and made a bapi call to create the sales order. Once the sales order is successfully created I am filling the 'Mapped' exporting parameter inside the create method.
The problem is the 'Mapped' structure only contains the key filled due to which in the response of odata service only the key properties are filled. Is there any way in which non key properties are also filled ?
For Example:-
Request Structure
<d:documentNumber></d:documentNumber>
<d:customerNumber>3000000</d:customerNumber>
<d:orderType>Z005</d:orderType>
<d:cutomerReference>Test</d:customerReference>
<d:creationDate></d:creationDate>
<d:totalCost></d:totalCost>
<d:currencyCode></d:currencyCode>
Response Structure
<d:documentNumber>123456</d:documentNumber>
<d:customerNumber>3000000</d:customerNumber>
<d:orderType>Z005</d:orderType>
<d:cutomerReference>Test</d:customerReference>
<d:creationDate></d:creationDate>
<d:totalCost></d:totalCost>
<d:currencyCode></d:currencyCode>
In the above response it is getting the Document Number from the mapped structure but I also want to show the properties Creation Date, Total Cost and Currency Code without a second get odata request.
Request clarification before answering.
What's the release you're using?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 18 | |
| 7 | |
| 6 | |
| 6 | |
| 4 | |
| 4 | |
| 4 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.