Application Development 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: 

userexit to update purchase docs like sales orders

Former Member
0 Kudos
125

Hi,

For sales documents, there is a user exit MV45AFZZ which has lot of form routines, that get invoked before saving the sales document. Similarly for purchase orders which is the user exit include which will have such form routines. I want to modify a single field in a purchase order before saving it based on some criteria. How do I achieve that. Thanks for the help in advance,

Regards,

Vijay

5 REPLIES 5

Former Member
0 Kudos
89

Hi Vijay,

You can use BADI ME_PROCESS_PO_CUST for changes & updations to the PO's.You can implement this from SE18.

Former Member
0 Kudos
89

For Purchase order you can use the following enhancement.

Check the Enhancement MM06E005 and below mentioned Exit FMs.

EXIT_SAPMM06E_013

EXIT_SAPMM06E_012

ferry_lianto
Active Contributor
0 Kudos
89

Hi Vijay,

You can use this user exit <b>EXIT_SAPMM06E_017</b> - Export Data to Customer Subscreen for Purchasing Document Item (PAI).

Hope this will help.

Regards,

Ferry Lianto

0 Kudos
89

hey i'm unable to find out which enhancement these FM's come under. Ideally they should come under some enhancement and i've gotta assign it to a project and activate the project right? What is the enhancement name that these FM's come under?

Regards,

Vijay

0 Kudos
89

In my previous report I have already mentioned the enhancement name "MM06E005"

Goto T-code SMOD Enter enhancement name "MM06E005"

Click on components, you will get all the FMS.

Message was edited by: Amandeep Singh