Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

test bapi

Former Member
0 Likes
806

hi,

how we can test the bapi

1 ACCEPTED SOLUTION
Read only

uwe_schieferstein
Active Contributor
0 Likes
734

Hello Vikash

Of course you can test the BAPI within transaction SE37. However, I would recommend to create a simple eCATT script (recording pattern FUN, transaction SECATT ) because here you have a nice tree display of all available BAPI parameters and you can do the testing (in particular finding out the mandatory parameters).

Regards

Uwe

4 REPLIES 4
Read only

Former Member
0 Likes
734

Hi

You can do that from SE37..After entering in Display mode...click on Execute Button.

Also, you can go through the documentation to know more about an BAPI and the values you need to enter.

Regards,

Vishwa.

Read only

uwe_schieferstein
Active Contributor
0 Likes
735

Hello Vikash

Of course you can test the BAPI within transaction SE37. However, I would recommend to create a simple eCATT script (recording pattern FUN, transaction SECATT ) because here you have a nice tree display of all available BAPI parameters and you can do the testing (in particular finding out the mandatory parameters).

Regards

Uwe

Read only

Former Member
0 Likes
734

For testing the BAPI , i would prefer to go for Test Sequence.

in SE37, from menu Function module -> Test -> Test Sequence ->

in the popup input your BAPI, and next add this BAPI_TRANSACTION_COMMIT

then press ok. now it will give take you to the first BAPI execution, here you input data and execute. now it will come back to BAPI_TRANSACTION_COMMIT execution, execute this also to see commit the results.

Read only

Former Member
0 Likes
734

Hi

you can test the BAPI through se37

In the initial screen of se37 goto

Function Module->TEST->Test Sequences.

first wtite BAPI name in the box than call the function module

BAPI_TRANSACTION_COMMIT

this function midlue commit the database.

Hope this will help.

Regards,

Hiren Patel