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

Problem in Screen Exit

Former Member
0 Likes
557

Hi all,

I have a problem in Screen Exit. My requirement is to create one new field in ME21N transaction code, I did that using screen exit, which offers me a tab of Customer Data. That is working fine. My problem here is when the user enters the value in that(costcenter) field tax jurisdication code should populate automatically for the particular entry. I used user exit for this purpose to update taxjurcode field in the table. But after the user exit execution the rest of the program code executes and it updates the EKPO table which over writes the entries which i was updating using my user exit code. How can i get rid off this problem. Please throw some light on that. Thanks.

5 REPLIES 5
Read only

Former Member
0 Likes
523

i have written one screen exit long back. to my knowledge the code needs to be written in the SAVE user exit so that after the EKPO gets entered this code gets reflected and saves the data accordingly.

Read only

0 Likes
523

You are right. My user exit is also triggering that place only for the ME22n and ME23n...........it is strange for me as it is not working for ME21n. Which is not updating with the statements that i provided in User exits.

When i am debugging the program after the user exit it is taking me to some std program where the entries were overwritten. That is where i face the problem.

Any suggestions.

Read only

0 Likes
523

Hi Feddie

As you said ME22n and 23n are working fine, then that means there is nothing wrong in the way you have executed the solution for this particular problem. If I was you I would have written to SAP.

Read only

Former Member
0 Likes
523

make use of BADI . I dont know which user exit u are using and at what point of time it has been called by SAP.

Regardsram

Peram

Read only

Former Member
0 Likes
523

Thanks to All