![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwyRXkoUtjUrVWtAIEmDCH8cCgxD00WdjmfSh-UhfcCrt5BBRM4PpimXZQ291zTyyAzepi3IA8JBNWOjyl4kue8xZZrtxjpM0rzq0hEI_qIMsWShHasBT1MDk2UvNTGvvusAUdJWEMu38/w400-h225/SAP+ABAP.jpg)
- 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.