04-27-2011 8:03 AM
Hi,
I am using POPUP_GET_VALUES FM for Smartforms in initialization for end user...where he enters the Date...
But the date is picked wrongly from the F4 Help
CLEAR FIELDS.
FIELDS-TABNAME = 'STERM_INDX'.
FIELDS-FIELDNAME = 'AEDAT'.
FIELDS-VALUE = SY-DATUM.
FIELDS-FIELD_ATTR = '00'.
APPEND FIELDS.
Have checked the user settings ...it is in YYYY/MM/DD but it is displyed in popup input field as DD.MM.YYYY after selecting from F4 Help.
04-27-2011 3:24 PM
Did user change settings without relog? I can't make this fail if I reset to yyyy/mm/dd and relog then test the FM in SE37. After selection with F4, I see 2011/04/27.
04-28-2011 5:12 AM
Hi,
From se38 have coded a test program and tested its working fine.....From initialization properties of smartforms its taking as
dd.mm.yyyy...Checked also by relog...