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

Problem with Date fromat

Former Member
0 Likes
445

Hi All,

I have a form, in the main window of the form i have an element

SET DATE MASK = 'MM/DD/YYYY' after this statement i have a perform statement.If i go to that subroutine and debug,In debug mode i will see the date fromat as dd.mm.yyyy not like mm/dd/yyyy.Even in my user profile also date format is like mm/dd/yyyy.I am not able to understand why??

Regards,

Sai Prasad

3 REPLIES 3
Read only

Former Member
0 Likes
425

Hi,

Set date mask is only in the context of output of date in SAP Script Layout . And if you see in the debug date field will always be in the format YYYYMMDD.

Hope that helps.

Regards

Mr Kapadia

Assigning points is the way to say thanks in SDN.

Read only

Former Member
0 Likes
425

in debugging no conversion exits are executed, since programmers are normally inter4ested in the real values in the fields.

Read only

Former Member
0 Likes
425

hi,

the SET DATE MASK = 'MM/DD/YYYY' control command is applicable to SAP SCRIPT FORM, it edit the date format only when u run the script form. it is not related to driver program....

you are debugging the subroutinee,it is exisisting in the driver program because of this cause u didn't get proper output like mm/dd/yyyy.

for your clarification, u can debugg the script form also, in that u will get proper out.

regards,

Ashokreddy.