ABAP Create Purchase Order by BAPI_PO_CREATE1



BAPI_PO_CREATE1 will be used when creating a purchase order slip with an add-on program.
Of course, you can do it with batch input, but it is quite difficult to control according to customization and control tab movement, so if you want to create it simply, use BAPI_PO_CREATE1.
In this article, the sample code that can be input at least at this point is described.However, depending on the customization, the required items may differ, so please change it according to your environment and requirements. I want to.

Sample Code