Thursday, April 16, 2020

Validation for Purchase requisition date before saving purchase requisition date.

                       
  • Validation for Purchase requisition date before saving purchase requisition date.

  • Purchase requisition date validation.

  • User exit MEREQ001.


Use this EXIT_SAPLMEREQ_005 function module for displaying error messages at the time of saving of  Purchase requisition.


DATA Fcode TYPE  Sy-UCOMM.
if im_data_new-badat < sy-datum.
    MESSAGE 'Purchase requisition Date not is less than the System Date' TYPE 'E'.
   endif.
   if im_data_new-FRGDT < sy-datum.
     MESSAGE 'PR Release Date not is less than the System Date' TYPE 'E.
   endif.


No comments:

Post a Comment