on 2025 Mar 10 2:43 PM
Dear Expert,
I am working on Sales order API from functional point of view.
in order to create mapping sheet, I take help from Sales Order (A2X) | SAP Help Portal
Here I got full details about API inbound fields.
My question is where I can find this API response (Sales Order Confirmation) related fields?
Request clarification before answering.
By definition, an OData API will return the whole entity after a document was created.
So, imagine you call the create request using something similar
POST /SalesOrder
{
"customer": "1234",
"sales_organization": "0100",
"channel": "10",
"division": "20"
"Items": [
]
}
So what you get in return assuming you get a 201 (Create successful) is actually the whole SalesOrder entity (including any fields generated in the back end)
POST /SalesOrder
{
"id": "40001",
"created_by": "USER_ABC",
"created_on": "some date",
"customer": "1234",
"sales_organization": "0100",
"channel": "10",
"division": "20",
"Items": [
]
}
In order to understand all fields available in the API for any entity, you can always call the $metadata endpoint of the API as you can also do for any OData API.
GET /sap/opu/xxxxx/service_srv/$metadata
(do not include an entity name in the url)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 37 | |
| 25 | |
| 21 | |
| 5 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.