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

Former Member
0 Likes
691

How is the date stored in SAP?

YYYYMMDD or DDMMYYYY.

thanks in advance.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
672

hi,

YYYYMMDD only it stores.. if u go in debugging mode u can find that..

reward if useful

regards

karthik.T

5 REPLIES 5
Read only

Former Member
0 Likes
673

hi,

YYYYMMDD only it stores.. if u go in debugging mode u can find that..

reward if useful

regards

karthik.T

Read only

Former Member
0 Likes
672

Hello Sreenivasa Moorthy,

In SAP, Date will get stored in the format of YYYYMMDD, but while displaying it will be like DDMMYYYY.

You can see the YYYYMMDD format while debugging a report.

Regards

--

Sasidhar Reddy Matli.

Read only

Former Member
0 Likes
672

Hi Srinivasa,

its YYYYMMDD format.

Thanks,

Swati

Read only

RemiKaimal
Active Contributor
0 Likes
672

Hi,

In YYYYMMDD format

Use the FM : CONVERSION_EXIT_LDATE_OUTPUT to convert the date as desired

Usage:

DATA ldate(20).

CALL FUNCTION 'CONVERSION_EXIT_LDATE_OUTPUT'

EXPORTING

input = sy-datum

IMPORTING

OUTPUT = ldate.

Input : 20080208

output : 08.February2008

Cheers,

Remi

Read only

Former Member
0 Likes
672

Hi Srinivasa,

SAP stores date in the YYYYMMDD format. But this can be changed in the user masters record.

Edited by: p347633 on Feb 26, 2008 7:47 AM

Edited by: p347633 on Feb 26, 2008 7:48 AM