Skip to Content
avatar image
Former Member

regarding date

Hi to every body,

I have change the date in system---->userprofile--->owndata as mm-dd-yyyy.But in my program whenever i am trying to print sy-datum it is coming in the format dd.mm.yyyy.format.

how can i get in desitred format.

thanks & Regards,

Venkat

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Aug 31, 2008 at 03:59 AM

    Make your output field a string or char(10).

    Than write the command concatenate in any way you want.

    Regards,

    Rebeka

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 31, 2008 at 05:05 AM

    create a variable of type sy-datum and try.

    or use this fm CONVERT_DATE_TO_INTERNAL

    Add comment
    10|10000 characters needed characters exceeded