How to make NETPR and KEBTR fields display only on ME22N,
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.