‎2006 Oct 18 3:17 PM
Hello Friends,
I am working on Purchase Order creation process in SAP ECC 6.0. To enhance the process I have used BAdi 'ME_PROCESS_PO_CUST'. But I am strugling to finding the exact point from where its being called.
Please help me identifying the calling point.
Regards,
Shabbar
‎2006 Oct 18 4:03 PM
Hi Ali,
Please check main program SAPLMEPOBADI.
You can place break point in one of the function modules (select the pone that you are delaing with) in include program LMEPOBADIUXX.
Hope this will help.
Regards,
Ferry Lianto
‎2006 Oct 18 3:21 PM
Activate your implementation, put in the code break-point or break xxxx, where xxxx stands for your user name and keep playing with PO transaction to figure out where it stops.
‎2006 Oct 18 3:31 PM
Hi,
Thanks for the prompt reponse. I already have tried this. It certainly stops at break point but I want to know the exact calling point from where this BAdi is being called.
Hope I am able to make myself clear.
Regards,
Shabbar
‎2006 Oct 18 3:34 PM
Hi Ali,
go to se18 transaction.
GIve the badi name.
Click on the where-used-list.Ctrlshiftf3)
and continue(Press enter on the 2 pop ups).
YOu can see where is the point of call in the main program.
Regards,
ravi
‎2006 Oct 18 3:48 PM
Hi Ravi,
When I search BAdi it takes me to its implementation which I myself did. And if I search Z<BAdi> (implementation) it shows nothing.
Am I missing something or going on wrong track?
Regards,
Shabbar
‎2006 Oct 18 4:07 PM
HI Ali,
In that case there must be some dynamic calls.
Now that you are getting the control to your badi, in debug mode, press the CALLS button in debug screen.
YOu would get the program which called this method.
Regards,
ravi
‎2006 Oct 18 4:03 PM
Hi Ali,
Please check main program SAPLMEPOBADI.
You can place break point in one of the function modules (select the pone that you are delaing with) in include program LMEPOBADIUXX.
Hope this will help.
Regards,
Ferry Lianto
‎2006 Oct 18 4:08 PM
Follow the below steps to find out what all BADI's are called when you press any button in any transaction.
1) Goto se24 (Display class cl_exithandler)
2) Double click on the method GET_INSTANCE.
3) Put a break point at Line no.25 (CASE sy-subrc).
Now
4) Execute SAP standard transaction
5) Press the required button for which you need to write an exit logic, the execution will stop at the break point.
6) Check the values of variable 'exit_name', it will give you the BADI name called at that time.
7) This way you will find all the BADIs called on click of any button in any transaction.
Regards,
Prakash.
‎2006 Oct 18 6:55 PM