‎2007 Nov 19 4:42 AM
HI in selection screen i input date as in format "31.05.2007 "
so before processing i have to validate that date is correct in format so is there any way to this pls help me regarding this .
‎2007 Nov 19 4:46 AM
If you define it like:
PARAMETERS: P_DATE LIKE BKPF-BUDAT.and if you have the default settings as dd.mm.yyyy then system will take care of the validations.
Regards,
Naimesh Patel
‎2007 Nov 19 4:46 AM
If you define it like:
PARAMETERS: P_DATE LIKE BKPF-BUDAT.and if you have the default settings as dd.mm.yyyy then system will take care of the validations.
Regards,
Naimesh Patel
‎2007 Nov 19 4:47 AM
if you have given the select option as standard date type then SAP Validations are automatically done.. so no need of giving date validations...
‎2007 Nov 19 4:51 AM
Hi
You can get seperately day, month and year by using p_date(4) etc,where p_date is your selection screen parameter.After that concatenate these values in the sy-datum format and then you can directly validate with sy-datum using if condition.
<b>Reward if useful.</b>
Shibin