You are on page 1of 17

ABAPLOVERS.BLOGSPOT.

COM
BAPI SALES ORDER CREATE

BAPI SALES ORDER CREATE

Subscribe in a reader

Subscribe in a reader

Enter your email address:

Subscribe

Delivered by FeedBurner

Follow me on Twitter

LOGON TO ABAPLOVERS.BLOGSPOT.COM
ABAPLOVERS.BLOGSPOT.COM
BAPI SALES ORDER CREATE

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

LOGON TO ABAPLOVERS.BLOGSPOT.COM
ABAPLOVERS.BLOGSPOT.COM
BAPI SALES ORDER CREATE

Press F8 or click on execute. First we need to enter the header data.

Follow me on Twitter

LOGON TO ABAPLOVERS.BLOGSPOT.COM
ABAPLOVERS.BLOGSPOT.COM
BAPI SALES ORDER CREATE

Click on the single entry Icon as shown below.

Follow me on Twitter

LOGON TO ABAPLOVERS.BLOGSPOT.COM
ABAPLOVERS.BLOGSPOT.COM
BAPI SALES ORDER CREATE

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

LOGON TO ABAPLOVERS.BLOGSPOT.COM
ABAPLOVERS.BLOGSPOT.COM
BAPI SALES ORDER CREATE

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

LOGON TO ABAPLOVERS.BLOGSPOT.COM
ABAPLOVERS.BLOGSPOT.COM
BAPI SALES ORDER CREATE

Enter the following fields.


Item Number ---- 000010
Material----------y-351
Plant-------------1100
Required quantity 1
Purchase 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

LOGON TO ABAPLOVERS.BLOGSPOT.COM
ABAPLOVERS.BLOGSPOT.COM
BAPI SALES ORDER CREATE

Need to enter the Partner Data. Namely Sold to Party and Ship to Party.

Follow me on Twitter

LOGON TO ABAPLOVERS.BLOGSPOT.COM
ABAPLOVERS.BLOGSPOT.COM
BAPI SALES ORDER CREATE

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

LOGON TO ABAPLOVERS.BLOGSPOT.COM
ABAPLOVERS.BLOGSPOT.COM
BAPI SALES ORDER CREATE

Follow me on Twitter

LOGON TO ABAPLOVERS.BLOGSPOT.COM
ABAPLOVERS.BLOGSPOT.COM
BAPI SALES ORDER CREATE

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

LOGON TO ABAPLOVERS.BLOGSPOT.COM
ABAPLOVERS.BLOGSPOT.COM
BAPI SALES ORDER CREATE

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

LOGON TO ABAPLOVERS.BLOGSPOT.COM
ABAPLOVERS.BLOGSPOT.COM
BAPI SALES ORDER CREATE

Now you need to check the newly created Sales Order. Type /NVA02 or /NVA03 as the
transaction code.

Follow me on Twitter

LOGON TO ABAPLOVERS.BLOGSPOT.COM
ABAPLOVERS.BLOGSPOT.COM
BAPI SALES ORDER CREATE

Enter the sales order number.

Follow me on Twitter

LOGON TO ABAPLOVERS.BLOGSPOT.COM
ABAPLOVERS.BLOGSPOT.COM
BAPI SALES ORDER CREATE

Follow me on Twitter

LOGON TO ABAPLOVERS.BLOGSPOT.COM
ABAPLOVERS.BLOGSPOT.COM
BAPI SALES ORDER CREATE

Press enter. The new sales order is displayed.

Follow me on Twitter

If you liked this document please register.


Enter your email address:

Subscribe

Delivered by FeedBurner

LOGON TO ABAPLOVERS.BLOGSPOT.COM
ABAPLOVERS.BLOGSPOT.COM
BAPI SALES ORDER CREATE

Subscribe in a reader

Subscribe in a reader

Enter your email address:

Subscribe

Delivered by FeedBurner

Follow me on Twitter

LOGON TO ABAPLOVERS.BLOGSPOT.COM

You might also like