Skip to Content
avatar image
Former Member

Testing of Function Module

Hi,

I want to test the BAPI Function mudule for PO.how to test it in SE37.

please tell me the Step by Step procedure like how to give values and how to know the errors etc.

Regards,

Shobha Henry

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Aug 21, 2007 at 10:43 AM

    Hi Shobha,

    Just go to SE37 give ur FM name and put Breakpoint whereever u want.

    and just give ur Tcode in ur command bar and execute .

    and so on ,

    Reward points if helpful.

    Thanks

    Naveen khan

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 21, 2007 at 10:45 AM

    hi,

    It similar to like testing any function module. after execution you have to check the RETURN parameter to see how the bapi was executed.

    you might want to call commit bapi in order to see if bapi really does the changes that you want ot do... In such case you to call commit bapi after your bapi call in se37 itself..

    To do so

    1. Go to trasanction SE37

    2. Menu path: Function Module --> Test --> Test Sequence..

    3. On the popup menu enter the sequence of func mode want to execute in series...

    4. For example, for one of my test I executed bapis in these order.

    BAPI_PS_INITIALIZATION

    BAPI_BUS2054_CREATE_MULTI

    BAPI_PS_PRECOMMIT

    BAPI_TRANSACTION_COMMIT

    Hope this helps you.

    Enjoy SAP.

    Pankaj Singh.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 22, 2007 at 10:40 AM

    Hi,

    I got some idea hoe to do Testing of FM.

    thankyou for quick response.

    Regards,

    Shobha Henry.

    Add comment
    10|10000 characters needed characters exceeded