Skip to Content
avatar image
Former Member

IDOC and BAPI

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

7 Answers

  • Best Answer
    Jul 27, 2007 at 08:50 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 27, 2007 at 08:44 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 27, 2007 at 08:35 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 27, 2007 at 08:50 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 27, 2007 at 08:51 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 27, 2007 at 08:50 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 27, 2007 at 10:54 AM

    Hi,

    Thank you .you have given good ideas .

    Add comment
    10|10000 characters needed characters exceeded