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: 

Disable input from PO quantity in ME22N

Former Member
0 Kudos

I would like to know where can I add the code in user-exit if I want to disable input for PO quantity in ME22N if the final invoice indicator is set.

I've tried on enhancement MM06E005, but dunno which component should I place the code.

I'm new to user-exits, and hope any one can solve my problem, thanks.

4 REPLIES 4

Former Member
0 Kudos

Hi,

The field which you need to disable is MEPO1211-MENGE.

You have to create an implementation for your enhancment and write your code there.

Loop at screen.

case screen-name.

when ' MEPO1211-MENGE '.

screen-active = 0.

endcase.

Endloop.

Regards,

Subhashini

0 Kudos

thanks for your reply.

But can I know where / which function module should I place the code?

0 Kudos

Hi,

You can try putting that code in the enhamcement MM06E005 which you suggested.

Try debugging the transaction and put a break point in your added code inside the enahmcement.

Check if the code you have added is working fine.

For creating enhancements follow this:-

www.sdn.sap.com/irj/sdn/nw-development?rid=/webcontent.

Regards,

Subhashini

0 Kudos

Can you provide me with more guidelines?? since I cannot access to the link you provided.

I just knew I need to put coding in MM06E005, but actually no idea which place inside the program should I add.

Really thanks for your help