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

user exit

SG141
Active Participant
0 Likes
628

I am developed and activated a user in CMOD. When we did our initial test it triggered once...

however from next time onwards the we notice that the user exit was not triggering even though there was a break point in it.

Can someone help me with the problem

6 REPLIES 6
Read only

Former Member
0 Likes
611

Try putting some endless loop in the user exit. Execute the program, goto SM50-Program-Debugging. Check if it stops.

Thanks,

SKJ

Read only

SG141
Active Participant
0 Likes
611

how to put endless loops...

Read only

0 Likes
611

Endless loop?


WHILE 1 = 1.
ENDWHILE.

Greetings,

Blag.

Read only

0 Likes
611

But make it one that is easily escapable in debug, using varaible rather than literals.

While sy-subrc = 0. 

    check sy-subc = 0.

endwhile.

In this case, you can change the value of sy-subrc in debug mode, in the other example, it would be a little hard to do so.

Regards,

Rich Heilman

Read only

SG141
Active Participant
0 Likes
611

I still not see the transaction hitting the user exits

Read only

0 Likes
611

Your right Rich....Haven't think of that LOL

Greetings,

Blag.