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: 

Enhancement for ME22N , Triggers at PBO

Former Member
0 Kudos

Dear all,

My Requiremnet Is to Trigger an Enhancement( BADI or USER-EXIT) during PBO, from which I want to fetch the PO Number,

so that i make the necessary validation to Enter into transaction 'ME22N' else simple throw an error message to the user.

Note : Some BADI are triggering but not providing the Purchase order Number(EBELN).

Frwd with any further issues.

Regards,

Niranjan.G

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

I i understand correctly what you are trying to do is when user goes into transaction ME22N and tries to view or change a purchase order you want to do certain validations on the purchase order number and if teh validations fail you want to raise an error. If thats what you wnat to do you can try enhancement > MM06E005 > EXIT_SAPMM06E_006 > Import parameter I_EKKO should have the PO number .

Regards,

Himanshu

1 REPLY 1

Former Member
0 Kudos

Hi,

I i understand correctly what you are trying to do is when user goes into transaction ME22N and tries to view or change a purchase order you want to do certain validations on the purchase order number and if teh validations fail you want to raise an error. If thats what you wnat to do you can try enhancement > MM06E005 > EXIT_SAPMM06E_006 > Import parameter I_EKKO should have the PO number .

Regards,

Himanshu