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

hi

Former Member
0 Likes
619

I am working with hr report in that i am getting a date format mm/dd/yyyy in the development and it is working fine but when i move the program to quality ,the quality having the date format dd.mm.yyyy. so it's not working in the qulity.

How to solve it.is there any function module to solve this problem

Thanks in advance

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
599

Hi thangaraj,

1. Unless specified, the date format

depends upon the current logged on users settings.

regards,

amit m.

I am working with hr report in that i am getting a date format mm/dd/yyyy in the development and it is working fine but when i move the program to quality ,the quality having the date format dd.mm.yyyy. so it's not working in the qulity.

How to solve it.is there any function module to solve this problem

Thanks in advance

5 REPLIES 5
Read only

Former Member
0 Likes
600

Hi thangaraj,

1. Unless specified, the date format

depends upon the current logged on users settings.

regards,

amit m.

Read only

0 Likes
599

If you store dates in SAP standard data type (SYDATUM)then there should not any problem SAP automatically handles the formatting acording to user settings.

Hope this helps

Regards sandeep.

Read only

Former Member
0 Likes
599

Here the solutions differs depending on the Date that you are using in the development . Most of time if you have used sy-datum WilL NOT CREATE PROBLEM if hard coded or manually used then it can cause issue like this . Any way you can use SET DATE MASk , or EDIT mask

Read only

Former Member
0 Likes
599

Hi,

You need to change user profile for this. Go to SU01 transaction change the date format in Quality.

regards,

Chandra

Read only

Former Member
0 Likes
599

Hi ,

Refer sample code :

DATA: var TYPE char10 VALUE '20061010'.

DATA: date1 TYPE sy-datum.

*

write: var to date1.

write: <b>date1.</b>

Date1 will always have the Date format as per user setting.

Reward points if this helps.

Manish