‎2009 Apr 28 11:51 AM
‎2009 Apr 28 12:01 PM
Put a break-point in the BADI implementation.where you have added the custom code.And run the transaction.
Thanks
Jyo
‎2009 Apr 28 12:06 PM
hi,
write BREAK-POINT. in ur code and execute the transaction.
Regards,
‎2009 Apr 28 12:07 PM
Hi
If it runs in foreground, then put the external break point and run your transcation
else.
in the custom code, put the endless loop like
data : lv_cnt type char01
do.
if lv_cnt is not initial.
exit.
endif.
enddo.
Activate and run your transcation , go in sm50 and search your process in running mode
select the row and program/session-program-debugging -> it would come directly in loop, put the value for lv_cnt then it would come out from here.
Enjoying the debugging
Regards
Shashi
‎2009 Apr 28 12:09 PM
You have to activate external debugging first.
These are the few steps how to activate debugging
Go to SE19 > Provide implemented Badi name >click on display
then you will find the methods are available for your BADI
Click on suitable method means it will goes to your code.
in menu bar you can find menu item ( UTILITIES)
Select Utilities and select sub menu item settings then (USER SPECIFIC SETTINGS Pop-up box will display)
select tab ABAP EDITOR and select tab DEBUGGING
CLICK activ debugging and IP checkbox and select radio button new classic debugger.
Now go to your code and select your statement and put break point
A pop-up box will appear ,in that select HTTP Break point.
now external debugging activated.
Hope this Help ful
‎2009 Apr 28 12:17 PM
Hi,
In the BADI Implementation , keep a break point or write a statement "BREAK your user Id". It will stop at that point.
Thanks,
Sowmya
‎2009 Apr 28 12:27 PM
hello,
Put the External Break point in the BADI.
U will find a option in Debugging setting to give the user name also.
Utilities->Setting->Debugging option in the give u r User id.
Run the SRM application.