Skip to Content
avatar image
Former Member

there is a field GDATU in table TCURR.. what is the format in which date in

there is a field GDATU in table TCURR.. what is the format in which date in this field is stored. How do i convert it to sy-datum format.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Aug 22, 2007 at 05:23 AM

    Hi Rama,

    Try this.

    Data : Temp like Sy-datum,

    Date1 like TCURR-GDATU.

    Select the value from DB table and store the value in Date1.

    Then,

    Temp = Date1.

    Thanks.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 22, 2007 at 05:36 AM

    hi Rama Krishna,

    GDATU is stored as inverted format in TCURR table .

    use the Conversion routine CONVERSION_EXIT_INVDT_OUTPUT to convert that date into sy-datum format.

    <b>Reward points if useful</b>

    Cheers,

    Chandra

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 22, 2007 at 05:40 AM

    Hi,

    The Field GDATU in Table TCURR is stored in Format '<b>YYYY-MM-DD</b>'.

    The Format is same like the SY-.DATUM. So no need to convert it into SY-DATUM Format.

    Regards,

    Padmam.

    Add comment
    10|10000 characters needed characters exceeded