Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Debugging issue in BADI UDM_WL_ITEM_CREATE_C in SAP

Former Member
0 Kudos

Hi Experts,

I have implemented a BADI UDM_WL_ITEM_CREATE_C. This BADI is called when tcode UDM_GENWL is executed in the background. The code in the BADI is getting executed. When i am trying to test the code by placing the debugger inside this BADI and using JDBG to debug in the background this BADI is not getting triggered. Two jobs are created and i tried debugging the entire code for both the jobs but this BADI is not getting hit in debugging.

Please provide your inputs for the same.

Thanks and Regards,

Chirag

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Chirag,

In Background Job cases, I think BADI's can not be debugged directly by putting a break point. There is another way round using SM50. Please follow the below link. It may help you.

https://scn.sap.com/thread/1307038

3 REPLIES 3

nabheetscn
Active Contributor
0 Kudos

Hi Chirag

If it is called in background and you want to debug you can try by putting an infinite loop and then debug it via SM50..

Nabhete

Former Member
0 Kudos

Hi Chirag,

In Background Job cases, I think BADI's can not be debugged directly by putting a break point. There is another way round using SM50. Please follow the below link. It may help you.

https://scn.sap.com/thread/1307038

Former Member
0 Kudos

Thanks a lot to both of you. Its solved now... Points awarded..