2007 Apr 05 9:32 PM
Hi all,
Is there any fm to check the is there any spaces in the date, need to convert mm/dd/yyyy to yyyymmdd and it should validate with date is less than or equal to 31 and month is less than or equal to 12.
please let me know?
Hi all,
Is there any fm to check the is there any spaces in the date, need to convert mm/dd/yyyy to yyyymmdd and it should validate with date is less than or equal to 31 and month is less than or equal to 12.
please let me know?
2007 Apr 05 9:36 PM
Hi,
You can use the function module CONVERT_DATE_TO_INTERNAL to convert it to internal format...
For checking the date DATE_CHECK_PLAUSIBILITY..It will check day and the month..
Thanks,
Naren
2007 Apr 05 9:39 PM
2007 Apr 05 9:40 PM
Priya,
You can simply use WRITE statement, lots of additions avaiable to on this like
WRITE SY-DATUM YYYYMMDD.
So Plz check help on WRITE statement.
Regards,
Amey
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |