Skip to Content
0
Former Member
Jul 07, 2009 at 06:47 AM

how to convert userprofile dateformat to system date format

43 Views

Hi All ,

I am working on BSP with smart form.

When i tested smartform its working fine with date. on smartform i have to print date like " jul 07,2009" which is sy-datum.

But problem is when i am testing the BSP which is calling my Smartform.

For one user it is giving correct date as expected " jul 07,2009" which is sy-datum.

but for other user while testing same BSP, its giving wrong date format like 07J UL ,2009.

I Think we need to handle the date of user settings. What ever may be the date setting in user profile, we need to conver it into

sy-datum format ( yyyymmdd).

Pleaase help to solve the above issue.

Regards,

Kishan