Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Enhancement for ME21N in MM Module

Hi experts,

My customer gives me a requirement is that when the end user uses ME21N to create a purchase order,he/she inputs the data and then click the button "save" to save the data,then it needs to check whether the vender is valid or not.If the vender is valid,then the end user can save data.Otherwise,we should not create the purchase order.

I find out many customer functions and some BADIs,but I don't know which enhancement I should use.Could you please help me to find out which enhancement I should use??

Thanks a lot.

best regards,


Former Member

Dear Villy,

You should use BADI ME_PROCESS_PO_CUST mathod CHECK. This mathod is called before saving the PO and also if you press check button. This is best place to put your check.

If you do not have this BADI (Below release 470) or you do not want to use BADI, a user exit will also give this opportunity.

You may use EXIT_SAPMM06E_012 (Enhancement MM06E005).

If you do not acess of required data for this check, please use set data / get data to bring data into the enhancement.

I am sure this will meet the purpose.


0 View this answer in context

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question