SAP Function RP_CHECK_DATE - Check date to ensure it is formally correct

Parameter Reference Type Length Default Optional Text
DATE 0 Date to Be Checked

Exception Text
DATE_INVALID Date Is Formally Invalid

Functionality
Function module RP_CHECK_DATE checks dates forformal correctness.
The date to be checked must be in the format YYYYMMDD.
If a date is not formatted correctly, the exception DATE_INVALIDis triggered.

Example
19910431 --> DATE_INVALID
19960229 --> OK
19970229 --> DATE_INVALID
19870311 --> OK