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 an USER-EXIT which is present inside an INCLUDE

former_member190312
Active Participant
0 Likes
1,024

Hi folks,

i want to debug a include ' LVEDFF0E.' which is present in the program 'SAPLVEDF.

my user exit 'ZXEDFU02' is present in the include LVEDFF0E . This exit is to change the IDOC segmants.

i want to debug my user exit which is present inside a include.i tried so many times but control is not going to that point.

can anybody tell me how to debug that exit???

correct answers will be rewarded.

Thanks & Regards

1 ACCEPTED SOLUTION
Read only

former_member192429
Active Participant
0 Likes
785

Try to put the debuggers at different levels above the include. Put one debugger in the main program and then the function module and finally in the exit.

So that you can go step by step into the actual logic.

-Kriss

3 REPLIES 3
Read only

former_member192429
Active Participant
0 Likes
786

Try to put the debuggers at different levels above the include. Put one debugger in the main program and then the function module and finally in the exit.

So that you can go step by step into the actual logic.

-Kriss

Read only

former_member194669
Active Contributor
0 Likes
785

Hi,

Try this way

/h> choose "breakpoints" from menu> breakpoint at >function module> enter EXIT_SAPLVEDF_002 and press enter press f8

a®

Read only

Former Member
0 Likes
785

User exits are all called through logic that checks if the exit is active before executing it.

So if you have not created a CMOD project for the exit and activated it the include will never be called. Neither will the EXIT_... function module .

Andrew