2008 Jul 16 4:06 AM
Hi Expert:
There is a problem in a self-implemented seach help which contains a user exit. the search help doesn't work very well, because the date doesn't change correspondingly with defaul date format which maintained by su3. for example, when the date format is DD.MM,YYYY, the start date should be 2006.01.01, but it turns out to be 20,06,0101.
If I change this setting to u201CYYYY.MM.DDu201D then the search help works perfectly.
I'd like to modify it the user-exit, but I don't know how to get the defalt date format and how to change the date according to default format ?
Are there any standard function modules or how you usually handle it, would you please give me a hand?
2008 Jul 16 4:09 AM
Hi,
Use fm: CONVERT_DATE_TO_INTERNAL to convert from you user setting date format to the SAP's standard internal format, which is YYYYMMDD.
Regards,
Subramanian
2008 Jul 16 4:09 AM
Hi,
Use fm: CONVERT_DATE_TO_INTERNAL to convert from you user setting date format to the SAP's standard internal format, which is YYYYMMDD.
Regards,
Subramanian
2008 Jul 16 4:27 AM
2008 Jul 16 6:08 AM