‎2010 Mar 17 6:16 PM
Hi Experts,
I want to debug FM IDOC_INPUT_ORDERS, I am looking at one of the custom codes in this FM, I am putting break point in the custom code, Creating new Idocs through WE19, But it is not stopping at the break point.
Can some one help me understand why, Is thery any other way that i can debug the code?
Thank you
Kris
‎2010 Mar 17 6:20 PM
Hi,
Place a break point in the beginning of the FM and debug. Is this FM called for your IDOC? From WE19, click on foreground mode.
Thanks,
Vinod.
‎2010 Mar 17 6:20 PM
Hi,
Place a break point in the beginning of the FM and debug. Is this FM called for your IDOC? From WE19, click on foreground mode.
Thanks,
Vinod.
‎2010 Mar 17 6:39 PM
Thanks for you reply Vindod, I have put a break point at two plces at the begining of the code IDOC_INPUT_ORDERS and at the custom code, So it is stopping at the begining of FM but not at the custom code.
Thank you
Kris
‎2010 Mar 17 6:45 PM
Hi,
Your custom code might be called based on some conditions. Check the code above your break point. There may be some IF or CHECK statements. Just put the break point in the beginning of the customer exit and debug.(Check where used listnof that include to know the exit name (FM name will be EXIT_....).)
You can search for CALL CUSTOMER-FUNCTION in the main FM and place break points in all the resulting places.
Thanks,
Vinod.