0% found this document useful (0 votes)
28 views4 pages

BAPI Test (How To Test BAPI)

The document provides a step-by-step guide on how to test the BAPI FI_DOCUMENT_CHANGE in SAP. It emphasizes the necessity of using BAPI_TRANSACTION_COMMIT to ensure successful execution. The process involves entering specific parameters and executing the BAPIs in a defined sequence.

Uploaded by

jay koshti
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
28 views4 pages

BAPI Test (How To Test BAPI)

The document provides a step-by-step guide on how to test the BAPI FI_DOCUMENT_CHANGE in SAP. It emphasizes the necessity of using BAPI_TRANSACTION_COMMIT to ensure successful execution. The process involves entering specific parameters and executing the BAPIs in a defined sequence.

Uploaded by

jay koshti
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

 Test BAPI

We will see how to test BAPI in sap

Example,

I want to change FI posted document through BAPI in sap, BAPI is FI_DOCUMENT_CHANGE.

I have found this BAPI online,

(Mandatory BAPI to run any BAPI successfully BAPI_TRANSACTION_COMMIT)

Execute transaction code: SE37

Before executing any BAPI, we have to put BAPI test sequence to execute BAPI successfully.

Enter Main BAPI 1ST FI_DOCUMENT_CHANGE & Commit this BAPI in 2nd place
BAPI_TRANSACTION_COMMIT.

Main BAPI is the BAPI what we want to use for FI document change.
Our Main BAPI will show after execute.

FI document (FB03)
Enter below parameters

Double click on Table T_ACCCHG and enter field technical name, old value and new value.

You will get the technical name by technical details of the field assignment which is ZUONR)

Go back and execute.


Click back and execute again.

This is because first we have executed our first BAPI (main one) and then after going back we will
execute next BAPI (Commit).

After this our BAPI is successfully completed.

You might also like