‎2007 Aug 08 1:25 PM
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.
‎2007 Aug 08 1:31 PM
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.
‎2007 Aug 08 2:15 PM
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.
‎2007 Aug 08 10:46 PM
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.
‎2007 Aug 08 2:19 PM
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
‎2007 Aug 14 2:19 PM