Beruflich Dokumente
Kultur Dokumente
1 of 2
http://wiki.scn.sap.com/wiki/display/ABAP/Function+Module+Test+Seq...
Welcome, Guest
Login
Register
2.
BAPI_PO_CREATE1 is used to create Purchase order but even after getting a success message as output we are not able to see the Purchase Order created because the work done by this BAPI is not
committed in database. That's why we have to use BAPI_TRANSACTION_COMMIT.
Go to transaction SE37. Go to menu Function Module->Test->Test Sequences as shown:
The BAPI_PO_CREATE test is opened. Give the Header and Item Data (Header and Item data may vary according to configuration of your system)
Click on the icon next to refresh or (Shift + F7) to have a better view to enter the DATA.
Enter the Values for POHEADERX
In POHEADERX you have to
put 'X' for the values you
entered in POHEADER
Enter the Values for POITEM
Enter the Values for POITEMX
06.07.2015 5:06 PM
2 of 2
http://wiki.scn.sap.com/wiki/display/ABAP/Function+Module+Test+Seq...
BAPI_TRANSACTION_COMMIT is useful.
So, once you get the success message go back. It will take you to the next
function module.
I hope this information is useful for ABAPers and for XI/PI guys as they need to test BAPIs like this.
function
module
test
sequance
xi_stepbystep_adapters
bc-xi-con-rfc
4 Comments
Sachin Dhingra
Suggestions and comments are always welcome.
Guest
Good
Guest
I have just used this method to test a bapi method. The problem is how to clear the test sequences?
Rohit Agarwal
Is it possible to execute both the BAPIs separately in se37 that is first using se37 Create the PO using bapi and just after that in another session through se37 call bapi transaction commit.
Will this work too?
Contact Us
Privacy
Legal Disclosure
Copyright
Follow SCN
06.07.2015 5:06 PM