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

code in user exit

Former Member
0 Likes
557

hi every1

i created a project , added some codes in the user exit EXIT_SAPMM06E_013(tcode me21n) and activated it

but when i execute the transaction ME21N, the code i added are not effective

its only wen i add a break point in the code, the code is effective

does anybody kno why happen?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
522

May be before that project is not active. How do you know it is active or not.

if you don't place the break point then how can you find it is working or not.

adding break points to test the Triggering of Exit.

if it triggering for the second then it will trigger for the first.

Regards

Vijay

3 REPLIES 3
Read only

Former Member
0 Likes
523

May be before that project is not active. How do you know it is active or not.

if you don't place the break point then how can you find it is working or not.

adding break points to test the Triggering of Exit.

if it triggering for the second then it will trigger for the first.

Regards

Vijay

Read only

Former Member
0 Likes
522

Hi Anjali,

May be you r testing wrongly... each time the peace of user exit code will be executed. Test the program once again... may be user save the data with out making any changes to the purchase order...

If noting is changes in the purchase order the execution will not perform all the code which is related to the save command....

Regards,

Satya.

Read only

Former Member
0 Likes
522

activate the project and execute...When ever u execute the cde works well...Break-point is just used to cheeck whether the cursor comes to the code or not..If it is coming in break-point then automatically the code gets triggered when ever the transaction is executed.