2009 Feb 03 6:48 AM
hi,
i am using f4_date function module to get search help for date field in screen painter.
here the help is coming but whenever i select the date its not displaying on the I/O field.
the code as follows..
POV is written in flow logic of screen.
PROCESS ON VALUE-REQUEST.
FIELD FROMDATE MODULE VALUE_FRDATE. " FROMDATE is the IO field name
the below module code is written in se38 pool program.
MODULE VALUE_FRDATE INPUT.
DATA: FRDATE TYPE SY-DATUM.
CALL FUNCTION 'F4_DATE'
EXPORTING
DATE_FOR_FIRST_MONTH = SY-DATUM
IMPORTING
SELECT_DATE = FRDATE.
RETURN.
ENDMODULE. " VALUE_FRDATE INPUT
Thanks,
Sri
Edited by: Sri on Feb 3, 2009 7:48 AM
2009 Feb 03 6:52 AM
hi,
i am using f4_date function module to get search help for date field in screen painter.
here the help is coming but whenever i select the date its not displaying on the I/O field.
the code as follows..
POV is written in flow logic of screen.
PROCESS ON VALUE-REQUEST.
FIELD FROMDATE MODULE VALUE_FRDATE. " FROMDATE is the IO field name
the below module code is written in se38 pool program.
MODULE VALUE_FRDATE INPUT.
DATA: FRDATE TYPE SY-DATUM.
CALL FUNCTION 'F4_DATE'
EXPORTING
DATE_FOR_FIRST_MONTH = SY-DATUM
IMPORTING
SELECT_DATE = FRDATE.
RETURN.
ENDMODULE. " VALUE_FRDATE INPUT
Thanks,
Sri
Edited by: Sri on Feb 3, 2009 7:48 AM
2009 Feb 03 6:50 AM
You need not create a value help for date fields. If you refer your screen field with reference to a dictionary date field / data element, it should automatically show you the F4 help pulling the date calendar from where you should be able to pull any date into your screen field.
2009 Feb 03 6:52 AM
2009 Feb 03 6:52 AM
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |