‎2007 Jul 24 10:43 AM
hi all,
i want to have date field in module pool with F4 help. m keeping format as DATS. but still its not taking F4 help for taking date from calender...how shud i do it.
‎2007 Jul 24 10:45 AM
Call this FM -
CALL FUNCTION 'F4_DATE'
EXPORTING
DATE_FOR_FIRST_MONTH = DATE
DISPLAY = HELPDISP
IMPORTING
SELECT_DATE = DATE
EXCEPTIONS
OTHERS = 4.
Regards,
Amit
Reward all helpful replies.
‎2007 Jul 24 10:45 AM
Call this FM -
CALL FUNCTION 'F4_DATE'
EXPORTING
DATE_FOR_FIRST_MONTH = DATE
DISPLAY = HELPDISP
IMPORTING
SELECT_DATE = DATE
EXCEPTIONS
OTHERS = 4.
Regards,
Amit
Reward all helpful replies.
‎2007 Jul 24 10:53 AM
thanks Amit but where to write this code i mean which process.....
‎2007 Jul 24 10:54 AM
thanks Amit but where to write this code i mean which process.....
‎2007 Jul 24 10:55 AM
Process on value-request.
Field <required-field>
Module xxx. (write you code..)
‎2007 Jul 24 11:00 AM
Hi ,
actualy there is no need for writing any code
instead of of taking the field from program take it from dictionary
say u can give TRDIR-udat for the field name and check the box `from dictionary'.
This will allow you to get the calendar without coding...
If u want to code write in
PROCESS on value request.