cancel
Showing results for 
Search instead for 
Did you mean: 

Reg : Change of Date Format in Output Display of SAPScripts

Former Member
0 Kudos

Can anyone give the solution for the change of date format of output display of SAPScripts.

In my user settings - (Own data ) default settings is dd.mm.yyyy.

But in the output display where the date values are printing is shown in the format of yyyy.mm.dd.

This is happening for all the programs which are using SAPScripts for output display.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi

TRy with EDIT MASK command for the data

/: SET DATE MASK 'DD:MM:YYYY' and see

Regards

Anji

Former Member
0 Kudos

Hi,

U can change the default settings of date by including following code in print program.

data: gd_date(10).

write sy-datum to gd_date yyyy/mm/dd .

or u can call the function module 'CONVERT_DATE_TO_EXTERNAL'.it can Converts date from system storage format to users specified display format .

Please check .

Reward points if useful.

Thanks,

Usha

Former Member
0 Kudos

Hi,

You can do it by providing the date format in formatting options,

&VAR1(DD.MM.YY)&

not sure of the syntax, pls check it .

Regards,

Raghavendra

Former Member
0 Kudos

Hi,

Check if there is any SET COUNTRY in your sap script or in the program

As this might take precedence over the user settings..

Thanks

Naren

Former Member
0 Kudos

where to check country in sap scripts