08-21-2007 11:38 AM
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
08-21-2007 11: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
08-21-2007 11: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
08-21-2007 11: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.
08-22-2007 11:40 AM
Hi,
I got some idea hoe to do Testing of FM.
thankyou for quick response.
Regards,
Shobha Henry.