Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Date Format Issue

Former Member
0 Likes
575

Hi All,

In table TCURR field GDATU holds the date and this is in a different format;

79949098 –> the actual value is -> 01.09.2005

How could I convert 79949098 –> to -> 01.09.2005 ?

Thanks,

Kishan

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
536

chk this

4 REPLIES 4
Read only

Former Member
0 Likes
536

REPORT ychatest.

TABLES:tcurr.
 
DATA: valid_from_date LIKE sy-datum.
 
SELECT SINGLE gdatu FROM tcurr INTO tcurr-gdatu.
 
CONVERT INVERTED-DATE tcurr-gdatu INTO DATE valid_from_date.
 
WRITE : valid_from_date.

Read only

0 Likes
536

Hi Kishan,

Points awarded. How could I now convert;

01.09.2005 –> to -> 79949098.

Thanks,

Kishan

Read only

0 Likes
536

Hi Kishan,

Check the Field in that TAble whether there is any COnversion Routine Written. If yes then you can find what logic have they used to convert it to that format .

Hope it helps you..........

Cheers,

Prashanth

Read only

Former Member
0 Likes
537

chk this