0% found this document useful (0 votes)
55 views4 pages

Post Documnet Using API

To post a document using the API: 1. Create authorization by selecting API Key and basic auth in Postman. 2. Provide the link to post the document. 3. Create code as per requirements and click send.

Uploaded by

Shashank Palai
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
55 views4 pages

Post Documnet Using API

To post a document using the API: 1. Create authorization by selecting API Key and basic auth in Postman. 2. Provide the link to post the document. 3. Create code as per requirements and click send.

Uploaded by

Shashank Palai
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Post Document Using API

For to post the Document through Postman App. We have to create authorization.
Just click on authorization and select API Key and basic auth. from type.

And provide the link for to post the document .


Link -
https://my304589.s4hana.ondemand.com:443/sap/opu/odata/sap/API_SALES_ORDER_SRV/A_SalesOrder
for to post the document we have to create code as per our requirement and then click on
send.

And then check status.


Then check response.

And execute through the browser.


Program –
<?xml version="1.0" encoding="UTF-8" ?>
<salesOrder>
<salesOrderType>
<SoldToParty>17100001</SoldToParty>
<DistributionChannel>10</DistributionChannel>
<SalesOrderType>OR</SalesOrderType>
<OrganizationDivision>00</OrganizationDivision>
<SalesOrganization>1710</SalesOrganization>

<PurchaseOrderByCustomer>45000049106</PurchaseOrderByCustomer>
<lineItem>
<Material>MZ-TG-Y200</Material>
<SalesOrderItem>10</SalesOrderItem>
<RequestedQuantityUnit>PC</RequestedQuantityUnit>
<NetAmount>89</NetAmount>
</lineItem>
<lineItem>
<Material>MZ-FG-M550</Material>
<SalesOrderItem>20</SalesOrderItem>
<RequestedQuantityUnit>PC</RequestedQuantityUnit>
<NetAmount>75</NetAmount>
</lineItem>
</salesOrderType>
</salesOrder>

You might also like