10-10-2006 9:03 AM
function module which convert date format in required date format means system date to user friendly like dd.mm.yyyy
mm/dd/yyyy yyyy/mm/dd like 8 type..
10-10-2006 9:05 AM
Hi,
Use the F.M. <b>CONVERT_DATE_TO_EXTERNAL</b>
Reward if helpful..
Cheers,
SImha.
10-10-2006 9:06 AM
10-10-2006 9:07 AM
Hi,
Check with this.
WRITE sy-datum USING EDIT MASK '__/__/____' TO lv_sydatum.
Regards
Satish
10-10-2006 9:11 AM
Hi,
You cna use CONVERT_DATE_TO_EXTERNAL
or you can write these lines in your code to get the user format, this will support all the SAP formats
DATA: date_1 like sy-datum.
data: Date2(8).
data: date_3(10).
date_1 = SY-DATUM.
Move DATE_ 1 to DATE_2.
Write: Date_2 to Date_3.
Write:/ Date_3.
so now, Date_3 will have the user format.
Regards
Sudheer