‎2008 Aug 21 11:24 AM
Hi,
I am working with module pool program and have a date field on the screen. The date mask should be DD/MM/YYYY.
How can I achieve the same? By default the date mask is DD.MM.YYYY.
Thanks.
‎2008 Aug 21 11:35 AM
Hi....
I dont thing there is a screen attribute for this.
So you can change it programitically.
Suppose the screen field is DATE.
You are passing the ERDAT say.
Now....
Declare one variable.
data: VDATE(10) type c.
concatnate ERDAT+6(2) ERDAT+4(2) ERDAT+0(4) into VDATE seperated by '/'.Pass the VDATE to screen field DATE.
Thanks,
Naveen.I
‎2008 Aug 21 11:32 AM
Hi,
We have FM in SAP to change the format of date ..
Conversion_exitdate search in SE37..
Raghunath.S
‎2008 Aug 21 11:35 AM
Hi....
I dont thing there is a screen attribute for this.
So you can change it programitically.
Suppose the screen field is DATE.
You are passing the ERDAT say.
Now....
Declare one variable.
data: VDATE(10) type c.
concatnate ERDAT+6(2) ERDAT+4(2) ERDAT+0(4) into VDATE seperated by '/'.Pass the VDATE to screen field DATE.
Thanks,
Naveen.I
‎2008 Aug 21 12:09 PM
Hi,
HRGPBS_HESA_DATE_FORMAT
try this above function module.
Thanks,
Durai.V
‎2008 Aug 27 7:00 AM
Hi,
I think not many have understood the issue.
I want to enable the user to enter date in dd/mm/yyyy format on the screen field (Module pool program). I am not talking abt the storage format of the date field.
Can anybody help?
‎2008 Aug 27 7:09 AM
hi,
u can validate the selection screen field ,if the date format is dd/mm/yyyy,than proceed.
‎2008 Aug 27 7:32 AM
Hi kumar g,
Goto su01 then put username:(your system SAP username) then
click change button, find default which tabstrip values.
click change date format . and save the button.
next logout and again login the username..
u can find date format in output field..
Regards,
S.Suresh.
‎2008 Aug 27 7:44 AM
hi dear,
use FM 'CONVERSION_EXIT_PDATE_OUTPUT' for conversion.
enjoy.
Manish
‎2008 Oct 07 9:36 AM