Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to make NETPR and KEBTR fields display only on ME22N,

Hi All,

I want to make NETPR and KBETR fields display only on ME22N, I have used the BADI ME_ACTV_CANCEL_PO but there is no success. I cannot see the change on ME22N. Would somebody help me out with this. Here is my code

if sy-tcode = 'ME22N'.

assign ('(SAPLMEGUI)TC_1211-COLS') to <fs>.

if sy-subrc is initial.

loop at <fs> assigning <ls>.

assign component 'SCREEN' of structure <ls> to <lr_screen>.

if <lr_screen>-name = 'MEPO1211-NETPR'.

  • read table <lr> assigning <lr_screen> with table key name = 'MEPO1211-NETPR'.

if sy-subrc = 0.

loop at screen.

<lr_screen>-input = 0.

modify screen.







Former Member
Not what you were looking for? View more on this topic or Ask a question