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

Exit for ME21n while saving

Former Member
0 Likes
633

Hi,

Let me know if there is any exit while saving ME21n tran.

Requirement is while while saving the PO,a pop-up information message should be displayed depending on certain purchase organization validation.

Do let me know.

Regards,

SP

Hi,

Let me know if there is any exit while saving ME21n tran.

Requirement is while while saving the PO,a pop-up information message should be displayed depending on certain purchase organization validation.

Do let me know.

Regards,

SP

4 REPLIES 4
Read only

Former Member
0 Likes
597

Hi,

Below is the enhancement: MM06E005 (Check in SMOD) and in that enhancement, there is an customer exit: EXIT_SAPMM06E_012 where in you can perform the validations for the purchasing document.

Since your requirement is at header data(Purch Org) the same is available in I_EKKO parameter of the customer exit EXIT_SAPMM06E_012.

Implement this exit and throw an information/error message upon validation

Hope this helps

regards

Shiva

Read only

0 Likes
597

Hi Shiva,

I did the programming in EXIT_SAPMM06E_012.

But while I activated the exit through CMOD all the Screen exit are getting activated due to which the screens are created and it its is giving dump in transactions ME31K,ME32K.

Any idea how to activate the exit without activating the screen exit.

Regards,

Sandeep

Read only

david_lees
Product and Topic Expert
Product and Topic Expert
0 Likes
597

Hi,

I don't believe that is possible - if you want to use enhancement MM06E005 then you must create all the screens, even if you do not use them. There is more info in the standard documentation from SMOD for this enhancement.

Regards, David

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
597

hi use badi ME_PROCESS_PO_CUST