cancel
Showing results for 
Search instead for 
Did you mean: 

Need to add warning message in me22n tcode purchase order

Junaidshaik284
Participant
0 Kudos

pi7-image-img-20221216-104256.jpgHi team, I need to display and add a warning message in that tcode me22n purchase order and when clicking on check then it has to display warning message using badi enhancement only and if anyone know this , please provide code and badi definition name. it helps me.

Former Member

Thank you for visiting SAP Community to get answers to your questions. Since you're asking a question here for the first time, I recommend that you familiarize yourself with: https://community.sap.com/resources/questions-and-answers, as it provides tips for preparing questions that draw responses from our members.

For example, you can:

- outline what steps you took to find answers (and why they weren't helpful)

- share screenshots of what you've seen/done

- make sure you've applied the appropriate tags

- use a more descriptive subject line

The more details you provide, the more likely it is that members will be able to respond. Feel free to also take our Q&A tutorial at: https://developers.sap.com/tutorials/community-qa.html

Should you wish, you can revise your question by selecting Actions, then Edit.

By adding a picture to your profile you encourage readers to respond: https://developers.sap.com/tutorials/community-profile.html

Questions on how to draw responses from members? Check out this discussion on how to improve questions. https://groups.community.sap.com/t5/welcome-corner-discussions/advice-from-sap-champions-questions-a...

Accepted Solutions (0)

Answers (1)

Answers (1)

sagarprusty1988
Explorer
0 Kudos

Hi Juneed,

Please use exit EXIT_SAPMM06E_012 for the message population you want to.

Refer the attached Link for the stepwise solution.

Call macro mmpur_message to populate the message.

Thanks

Sagar

Junaidshaik284
Participant
0 Kudos

Hi Sagar,

Can you tell me that enhancement using badi only please ?

Junaidshaik284
Participant
0 Kudos

Hi Sagar,

I implemented that code but it will not trigger and It will not reflect my error pop up and I did the same as u told me in the above steps and I tried different field names also but It didn't reflect in that tcode me22n and please help me with this and my requirement is to use badi only

Junaidshaik284
Participant
0 Kudos

It is not working

sagarprusty1988
Explorer
0 Kudos

It should work. In my last project we had a similar requirement.

You can also try with BADI ME_PROCESS_PO_CUST for the implementation but i don't think it will allow to add the message.

You can check the other customer exit under the enhancement MM06E005 ( check in tcode SMOD ) and I think you can also give a try for *012.

One more thing is that you should activate using tcode:CMOD project creation. Without that it will not get hit.

For better reach please connect me in the LinkedIn.