2013 Apr 03 8:26 AM
Hi all ,
plz anyone can u tel me , where sud write the custom code and how to implement for disable screen field values in va01 tcode within order tab and inside the ship to party .
thanks
2013 Apr 03 8:56 AM
Hello,
Check Userexit_field_modification in include MV45AFZZ. Just use the loop at screen and set the screen attributes input = 0 and that should do it.
Do it like below.
in MV45AFZZ OF SUBROUTINE userexit_field_modification.
WHEN 'VBAP-POSNR'.
if sy-dynnr eq '4902'.
IF sy-tcode = 'VA01' OR sy-tcode = 'VA02' AND
(vbak-posnr = ' '.
screen-input = 0.
ENDIF.
ENDIF.
Thanks,
Abhijit
Hi all ,
plz anyone can u tel me , where sud write the custom code and how to implement for disable screen field values in va01 tcode within order tab and inside the ship to party .
thanks
2013 Apr 03 8:56 AM
Hello,
Check Userexit_field_modification in include MV45AFZZ. Just use the loop at screen and set the screen attributes input = 0 and that should do it.
Do it like below.
in MV45AFZZ OF SUBROUTINE userexit_field_modification.
WHEN 'VBAP-POSNR'.
if sy-dynnr eq '4902'.
IF sy-tcode = 'VA01' OR sy-tcode = 'VA02' AND
(vbak-posnr = ' '.
screen-input = 0.
ENDIF.
ENDIF.
Thanks,
Abhijit
2013 Apr 03 8:59 AM
Check USEREXIT_FIELD_MODIFICATION in MV45AFZZ. (ref: User Exits In Sales Document Processing, this is a must be read before asking for exits in SO processing)
Regards,
Raymond