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: 

Changing field acces in ME22N

Former Member
0 Kudos

Hi experts,

- In ME22N

- For a standard PO

- For some items of the PO

I need to restrict the acces of fields :

- Amount (in 'Conditions' tab)

- Tax Code (in 'Invoice' tab)

I don't know how to put my controls and screen modifications and I don't even know wher I can get the current item the user is trying to edit.

I tried BADI and EXITS but I never get what I want...

Has somebody a clue for me ?

Thanks in advance.

Regards,

YC.

2 REPLIES 2

Former Member
0 Kudos

HI ,

Use Enahancement points for this requirement.

Debug the t-code find a place where you are getting these values.

Use loop at screen statement to grayout the values or to make invisible.

Regards .

surajarafath
Contributor
0 Kudos

Use BADI ME_PROCESS_PO_CUST

and Interface IF_EX_ME_PROCESS_PO_CUST

Method PROCESS_ITEM, PROCESS_ACCOUNT

Get the import parameters from Process_account method.

GET_CONDITIONS

GET_ACCOUNTINGS

There you can do your validations

Thanks & Regards,

SUJI,