cancel
Showing results for 
Search instead for 
Did you mean: 

how to create purchase order using odata service

0 Kudos

Hai Friends

Can someone please provide the full material for how to create the purchase order using odata service in bapi programming.

thank you

sveabecker
Community Advocate
Community Advocate
0 Kudos

Welcome and Thank you for visiting SAP Community to get answers to your questions. Please add more details to your question, e.g. you can also add a screenshot. With that, you can reach a broader range of experts to get your question answered. I also recommend to do this tutorial https://developers.sap.com/tutorials/community-qa.html

The more details you provide, the more likely it is that members will be able to assist you.

Regards, Svea

SAP Community moderator

0 Kudos

tsheremeni14 that's a good guide, but it uses a sample for creation.

In productive scenarios you might want to add at least a thing or two, depending on the whole process.

But, again, it's a good guide.

Accepted Solutions (0)

Answers (1)

Answers (1)

geert-janklaps
Active Contributor
0 Kudos

Hi,

Assuming you're using S/4HANA, you should be able to use the Purchase Order API. The full documentation is available here (documentation is for S/4HANA Cloud, but same principles apply for on-premise version => you might miss some of the functionality depending on your system release):

https://help.sap.com/viewer/bb9f1469daf04bd894ab2167f8132a1a/2008.500/en-US/acd2da57df6cc525e1000000...

API Business Hub documentation:

https://api.sap.com/api/API_PURCHASEORDER_PROCESS_SRV/resource

Best regards,

Geert-Jan Klaps

0 Kudos

Thank you. Iam not using S/4HANA. Can you please provide the material to create the purchase order using odata service in sapui5 using bapi programming but the connection through RFC.