Skip to Content
0
Former Member
Dec 11, 2007 at 07:36 PM

ABAP report date format

23 Views

Hello friends,

In my report I have to display the details of the selection screen.

I am having some problem with the date format

HOwever when the user changes the settings in the user profile the data

format on the report should display as what the user profile settings are.

for EG -

if the user has the settings as YYYY-MM-DD

the output should be 2007-12-11.

If the user changes the date format as MM/DD/YYYY

the output should be 12/11/2007.

Any suggestions.

Ster

REPORT ZCP0A128 NO STANDARD PAGE HEADING

LINE-SIZE 80

LINE-COUNT 65(0)

MESSAGE-ID ZZ.

TABLES : ZCAST.

SELECT-OPTIONS: S_PSTTR FOR ZCAST-ZEFDAT DEFAULT SY-DATUM.

WRITE : S_PSTTR-LOW.