Application Development and Automation 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: 
Read only

Debug IDOC_INPUT_ORDERS

Former Member
0 Likes
729

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

1 ACCEPTED SOLUTION
Read only

vinod_vemuru2
Active Contributor
0 Likes
568

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.

3 REPLIES 3
Read only

vinod_vemuru2
Active Contributor
0 Likes
569

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.

Read only

0 Likes
568

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

Read only

0 Likes
568

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.