Upload
phamkhuong
View
216
Download
3
Embed Size (px)
Citation preview
BAPI SALES ORDER CREATE
Subscribe in a reader
Subscribe in a reader
Enter your email address:
Delivered by FeedBurner
Follow me on Twitter
ABAPLOVERS.BLOGSPOT.COMBAPI SALES ORDER CREATE
LOGON TO ABAPLOVERS.BLOGSPOT.COM
Subscribe
BAPI to Create Sales Order.
We will see the functionality of BAPI_SALESORDER_CREATEFROMDAT1.
As shown below, run transaction SE37.
and enter the name of the BAPI BAPI_SALESORDER_CREATEFROMDAT1.
Follow me on Twitter
ABAPLOVERS.BLOGSPOT.COMBAPI SALES ORDER CREATE
LOGON TO ABAPLOVERS.BLOGSPOT.COM
Press F8 or click on execute. First we need to enter the header data.
Follow me on Twitter
ABAPLOVERS.BLOGSPOT.COMBAPI SALES ORDER CREATE
LOGON TO ABAPLOVERS.BLOGSPOT.COM
Click on the single entry Icon as shown below.
Follow me on Twitter
ABAPLOVERS.BLOGSPOT.COMBAPI SALES ORDER CREATE
LOGON TO ABAPLOVERS.BLOGSPOT.COM
Enter doc type and purchase order number. This will depend on your requirement and the data will vary from system to system.
Order type ---------- 'OR'
Follow me on Twitter
ABAPLOVERS.BLOGSPOT.COMBAPI SALES ORDER CREATE
LOGON TO ABAPLOVERS.BLOGSPOT.COM
Once the header data is entered we need to enter the line item data. Please note that in this example we would be entering minimum data required just to create a sample sales order. In real life scenario you need to enter all the fields as per the companies requirement.
Follow me on Twitter
ABAPLOVERS.BLOGSPOT.COMBAPI SALES ORDER CREATE
LOGON TO ABAPLOVERS.BLOGSPOT.COM
Enter the following fields.Item Number ---- 000010Material----------y-351Plant-------------1100Required quantity 1Purchase Order number 15393
Please note that all the above data is system specific and you need to enter the values available in your system. You can refer to an existing sales order with the help of transaction VA03.
Follow me on Twitter
ABAPLOVERS.BLOGSPOT.COMBAPI SALES ORDER CREATE
LOGON TO ABAPLOVERS.BLOGSPOT.COM
Need to enter the Partner Data. Namely Sold to Party and Ship to Party.
Follow me on Twitter
ABAPLOVERS.BLOGSPOT.COMBAPI SALES ORDER CREATE
LOGON TO ABAPLOVERS.BLOGSPOT.COM
Enter Sold to Party indicator 'SP'Ship to Party as 'SH'Enter the sold to and ship to party number as 7777
Follow me on Twitter
ABAPLOVERS.BLOGSPOT.COMBAPI SALES ORDER CREATE
LOGON TO ABAPLOVERS.BLOGSPOT.COM
Follow me on Twitter
ABAPLOVERS.BLOGSPOT.COMBAPI SALES ORDER CREATE
LOGON TO ABAPLOVERS.BLOGSPOT.COM
Go back and Save the data. This will help you to create another sales order just by retrieving the values again by clicking on Test Data button. Or in case you make a
mistake then you can just change the erroneous data.
Follow me on Twitter
ABAPLOVERS.BLOGSPOT.COMBAPI SALES ORDER CREATE
LOGON TO ABAPLOVERS.BLOGSPOT.COM
Once you save the data. Press F8 or click on execute. As you can see below. Sales Order 7708 is created. Again this number will be different in your system.
Follow me on Twitter
ABAPLOVERS.BLOGSPOT.COMBAPI SALES ORDER CREATE
LOGON TO ABAPLOVERS.BLOGSPOT.COM
Now you need to check the newly created Sales Order. Type /NVA02 or /NVA03 as the transaction code.
Follow me on Twitter
ABAPLOVERS.BLOGSPOT.COMBAPI SALES ORDER CREATE
LOGON TO ABAPLOVERS.BLOGSPOT.COM
Enter the sales order number.
Follow me on Twitter
ABAPLOVERS.BLOGSPOT.COMBAPI SALES ORDER CREATE
LOGON TO ABAPLOVERS.BLOGSPOT.COM
Follow me on Twitter
ABAPLOVERS.BLOGSPOT.COMBAPI SALES ORDER CREATE
LOGON TO ABAPLOVERS.BLOGSPOT.COM
Press enter. The new sales order is displayed.
Follow me on Twitter
If you liked this document please register. Enter your email address:
Delivered by FeedBurner
ABAPLOVERS.BLOGSPOT.COMBAPI SALES ORDER CREATE
LOGON TO ABAPLOVERS.BLOGSPOT.COM
Subscribe
Subscribe in a reader
Subscribe in a reader
Enter your email address:
Delivered by FeedBurner
Follow me on Twitter
ABAPLOVERS.BLOGSPOT.COMBAPI SALES ORDER CREATE
LOGON TO ABAPLOVERS.BLOGSPOT.COM
Subscribe