‎2008 May 29 7:06 AM
i am retriving data from TCURR table. there is one field GDATU when i display that date......its coming in another format......it displays like '80029898'......can anybody pls check out this
‎2008 May 29 7:09 AM
Hi,
The date is in the internal format of SAP ie YYYYMMDD
use some of the FM
like CONVERT_DATE_TO_EXTERNAL
to change it to DDMMYYYY or you can use the following also
write tcurr-gudat to lv_date using edit-mask dd/mm/yyyy.
Regards,
Himanshu Verma
‎2008 May 29 7:09 AM
Hi,
The date is in the internal format of SAP ie YYYYMMDD
use some of the FM
like CONVERT_DATE_TO_EXTERNAL
to change it to DDMMYYYY or you can use the following also
write tcurr-gudat to lv_date using edit-mask dd/mm/yyyy.
Regards,
Himanshu Verma
‎2008 May 29 7:12 AM
hi
GDATU is a char field of length 8 so you will not get the date fromat in o/p.
take a variable like sy-datum and move gdatu to that and display
data : date like sy-datum.
move itab-gdatu to date.
write : date.
regards
prasanth