Skip to Content
0
Former Member
Feb 18, 2009 at 04:46 PM

problem with date field with different user formats

57 Views

Hi friends,

I have a Requirement.

on my screen i want default values as current years ist date ie : 01/01/2009 in FRMDATE field on the screen and last date of the year 31/12/2009 In TODATE field

CODE

frmdate = sy-datum

frmdate +4(4) = '0101'

todate = sy-datum

todate + 4(4)

But my problem is iam gettin the value when i execute but my user is facing a problem

as his date format is dffernt.

can any one tell me how can i do that

Regards

Priyanka..