Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

F4_DATE

Former Member
0 Likes
1,567

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,142

hi

check these threads

hope this helps

regards

Aakash Banga

3 REPLIES 3
Read only

Former Member
0 Likes
1,142

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.

Read only

Former Member
0 Likes
1,143

hi

check these threads

hope this helps

regards

Aakash Banga

Read only

faisalatsap
Active Contributor
0 Likes
1,142

Hi,

Please Have a look at my post the following link this code sample is working fine.

[F4 Search Help|]

Kind Regards,

Faisal