Hi all,
using user exit MM06B005..am diabling the field in return po.please give me hint for" when ever user selects return po zmrp field to be disable".below mentioned code..How can i mention for return po only..help needed...
IF sy-tcode = 'me21n' OR sy-tcode = 'me22n'.
TYPES : BEGIN OF ty_konp,
kschl TYPE kscha,
END OF ty_konp.
DATA : wa_konp TYPE ty_konp,
it_konp TYPE TABLE OF ty_konp WITH HEADER LINE.
IF it_konp-kschl = 'X'.
"Do nothing
else.
"Do disable field
LOOp AT SCREEN.
if screen-name = 'konp-Kschl'.
screen-input = 0.
modify screen.
endif.
ENDLOOP.
ENDIF.
ENDIF.