Application Development 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: 

F4 for field type DATE

Former Member
0 Kudos

Hi,

is any easy way (calling a FM) how to implement standard F4 screen (calendar) for fields type DATE what have not a reference to data dictionary ?

Thanks Marian

1 ACCEPTED SOLUTION

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

If it is of TYPE D, the help should be coming automatically, is this field in a selection screen or a dynpro?

Regards,

Rich Heilman

7 REPLIES 7

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

If it is of TYPE D, the help should be coming automatically, is this field in a selection screen or a dynpro?

Regards,

Rich Heilman

0 Kudos

Hi,

The field is in a dynpro.

Marian

0 Kudos

Declare a variable:

data: ws_date type sy-datum.

Use that field in the screen. F4 will come automatically.

Or if u assign a search help <b>BU_DATE_CHAR</b> to that field date search help will come.

Regards,

Prakash.

0 Kudos

Hi,

Please ignore this if this is not a dialog program.

Double Click on the date field and from Element list

Program-->Input --> choose Poosible from list box

Thanks,

Ramakrishna

Former Member
0 Kudos

Hi,

PARAMETERS : p_date type sy-datum.

Reward points if it helps.

Manish

Former Member
0 Kudos

Hi,

if you write type D then the Calender will come

Parameters: Date Type D, " or

Date1 like Sy-Datum.

If you want to write the code then, see the function module <b>CALENDER_FOR_F4_DATE.</b>

you can call this in PBO

Regards

Sudheer

former_member181962
Active Contributor
0 Kudos

That doesn't matter.

Declare a variable as type sy-datum or as Rich suggested.

Use that variable in the screen(Get from program option).

Regards,

ravi