2009 Sep 10 6:03 AM
I need to check the method IM_CALLED ( in the BADI WORKORDER_GOODSMVT ) is called while good movement save
or before saving the goods movement. How to check or put breakpoint and check whether is it called or not?
I tried to activate and to put break point in the above badi's method . however it is asking me the package (not accepting as local object)...
Please help me how to get hold on this ?
THANKS IN ADVANCE.
2009 Sep 10 7:05 AM
Himanchu,
I did not get much chance to work on BADIs....
sankumar ,
THANK YOU SO MUCH SIR.
I did as you suggested. I have three implementations as below :
/SAPMP/CONF_GM
/SAPTRX/PP_WOGOODSMV
ZWORKORDER_GOODSMVT
I tried to code in the first two implementations ..however it is aksing me access key.
When I tried last implementation "ZWORKORDER_GOODSMVT"
I tried to activate the method...however I got the below syntax error..
Class "ZCL_IM_WORKORDER_GOODSMVT" does not contain an interface
"IF_EX_WORKORDER_GOODSMVT".
I basically wanted to put Break sy-uname(my userid)...
Please suggest me ...
Thank you .
I need to check the method IM_CALLED ( in the BADI WORKORDER_GOODSMVT ) is called while good movement save
or before saving the goods movement. How to check or put breakpoint and check whether is it called or not?
I tried to activate and to put break point in the above badi's method . however it is asking me the package (not accepting as local object)...
Please help me how to get hold on this ?
THANKS IN ADVANCE.
2009 Sep 10 6:07 AM
Hi,
Please search the forum before posting.
If you want to implement the BADI using transaction se19.
Regards,
Himanshu
2009 Sep 10 7:04 AM
goto se18 in menu select Enhancement implementation ->Display
it will show the list of implementations.
select any implementaion and select some method which is relevant to u. double click on the ABAP code and put a breakpoint.
2009 Sep 10 7:05 AM
Himanchu,
I did not get much chance to work on BADIs....
sankumar ,
THANK YOU SO MUCH SIR.
I did as you suggested. I have three implementations as below :
/SAPMP/CONF_GM
/SAPTRX/PP_WOGOODSMV
ZWORKORDER_GOODSMVT
I tried to code in the first two implementations ..however it is aksing me access key.
When I tried last implementation "ZWORKORDER_GOODSMVT"
I tried to activate the method...however I got the below syntax error..
Class "ZCL_IM_WORKORDER_GOODSMVT" does not contain an interface
"IF_EX_WORKORDER_GOODSMVT".
I basically wanted to put Break sy-uname(my userid)...
Please suggest me ...
Thank you .
2009 Sep 10 7:36 AM
Hi,
Ya you have to check if the implemetation is created correctly or not when a BADI is implemeted a class is create which actually implemenmts the BADI and has a interface now in you case the interface if missing from teh implementing class go to se24 and check that class ZCL_IM_WORKORDER_GOODSMVT if in the interface tab you dont have just add interface IF_EX_WORKORDER_GOODSMVT there and then try.
REgards,
Himanshu
2009 Sep 16 7:54 AM
The /SAPTRX/... implementation is SAP's standard implementation for the SAP Event Management Application Interface. You should not be coding in there. You need to create your own implementation and code there!
2009 Sep 16 10:06 AM
Hi SAM,
Badi Implementation will save in local object and that is true.
U can go to se18 ->give the badi name and then say enhancement implementation -
>create
Give a zimplementation name and save in local object that implemantation.
Then go to the method and put a break-point there and check whter it is triggering when required.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |