cancel
Showing results for 
Search instead for 
Did you mean: 

IDOC and BAPI

Former Member
0 Kudos

Hi,

Before starting the development. Client has given the Idoc and bapi How to test the IDOC AND BAPI which is given by the client that is working or not

regards

walter stephen

Accepted Solutions (1)

Accepted Solutions (1)

prabhu_s2
Active Contributor
0 Kudos

BAPI is a f/nn module which is remote enabled. so u can test in SE37 by keying the required values. Alos upon execution of the BAPI u can check the result set parameter for success or error messages. But before that check for which transaction the BAPI is provided. If it is for material master then u can check the table MARA or run MM01 to see if material is created,

IDOC on the other side is totlayy different WRT to execution. You need to set the partner profile, ports etc. You use transaction WE19 to test your idoc. If it is customized idoc u need to check if the process code is implemented...becoz here only the segment values are populated.

Answers (6)

Answers (6)

Former Member
0 Kudos

Hi,

Thank you .you have given good ideas .

Former Member
0 Kudos

Hello Walter

one more

Check this....

/people/suraj.sr/blog/2005/12/29/generate-test-case-for-an-idoc-scenario

With Regards,

Raju.

*************Please give some points if found useful

Former Member
0 Kudos

Hello Walter ,

Go thru this

For IDOC...

http://help.sap.com/saphelp_nw04/helpdata/en/dc/6b80e943d711d1893e0000e8323c4f/content.htm

For BAPI...

Check it using the Test data in SE 37 and normally the client will provide it. If you want to check then give some dummy data according to the Client requirement and cross the tables.

former_member181959
Contributor
0 Kudos

Hi,

For testing the BAPI

goto se37 and enter the BAPI name and execute it for testing. You can execute and debug it as well.

For IDoc, you can see the structure of it in WE02 or WE19. or you can view the XML structure of IDoc after loading it in the IR.

Hope this helps.

-Prasad Babu.

former_member184619
Active Contributor
0 Kudos

Hi Walter,

login to R/3

The IDOC you can test through WE19 nased on the data provided.

The BAPI u can Test through se37 based on data provided

However these test not ensure that it will work fine in the scenario. So Start developement and then check what's working or not.

Sachin

Former Member
0 Kudos

Walter,

If the client has given the meta data, load the same values in R/3 system using transaction we19 which is a test idoc and test it.