User-exit before saving the purchase requisition
Try the user exit MEREQ001. You can Use the function module
EXIT_SAPLMEREQ_005 for displaying error messages at the time of saving the
BREAK rohinik.
DATA : Fcode TYPE Sy-UCOMM.
if im_data_new-badat < sy-datum.
MESSAGE 'Purchase requisition Date should not be less than the System Date' TYPE 'E'.
endif.
if im_data_new-FRGDT < sy-datum.
MESSAGE 'PR Release Date should not be less than the System Date' TYPE 'E'.
endif.
Is it valid?
ReplyDelete