Friday, February 22, 2008

SALES ORDER RELATED BAPIs

SALES ORDER RELATED BAPIsDownLoad PDF


The following SAP BAPI can be used to copy an existing Sales Order into a new Sales Order.

BAPI_SALESDOCUMENT_COPY.

We will see how to test this BAPI. You will find instructions on how to insert the BAPI in an ABAP program/report at CODE FOR BAPI



As we need to run 2 BAPIs in sequence, please follow the menu path as shown below.

Function module-------->Test---------->Test Sequences



Enter the BAPI names as shown below.



Enter the Sales order number and order type specific to your system. And execute the BAPI.



Sales order number as shown below is generated.



Press F3 or the back button



Save the sequence name



Check the copied Sales Order.