cancel
Showing results for 
Search instead for 
Did you mean: 

User exit or BADI while saving purchase order

Former Member
0 Kudos

Hello,

I want to use an user exit or BADI while saving of purchase order. The objective is to check the material group of the line item while saving. We don´t want to allow to save purchase orders for one material group.

Can you please guide me.

Thanks

Srinivasan

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

You can use either of the below User exits.

Enhancement: MM06E005 ==>

EXIT_SAPMM06E_012

EXIT_SAPMM06E_013

Regards,

S Anand

Former Member
0 Kudos

Thanks

Former Member
0 Kudos

Hi

The Business Add-In (BAdI) ME_PROCESS_PO_CUST enables you to extend the business logic of the Enjoy purchase order on an individual basis.

You can thus influence the dialog transactions ME21N, ME22N, ME23N, and ME29N, and the BAPIs BAPI_PO_CREATE1 and BAPI_PO_CHANGE.

Typical applications for this BAdI include:

Processing of own objects

Processing of additional data on standard objects

Implementation of additional checks and derivationsChange of data in standard fields

Change in field selection

you can use this BADI for checking the material group

Thanks & Regards

Kishore

Former Member
0 Kudos

Hi

I am not finding this BADI. I am using 4.6C.

Can you suggest me alternate exit.

Thanks

Srini

Former Member
0 Kudos

Hi

I am not usre about the existing BAdi's in 4.6 C but you can checkout your self using transaction SE18 & development class as ME. Select the BAdi, click on display & Click on documentation. The doucmentation will give you complete details on its usage.

Thanks & Regards

Kishore

Former Member
0 Kudos

Hi

You can try using the user exit MM06E005 - Customer fields in purchasing document, use the Function module exit EXIT_SAPMM06E_012 - Check Customer-Specific Data Before Saving. if you have already used the enhancement for some other usage include the sam development in the same Zproject.

Former Member
0 Kudos

Thanks

Srini