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

calendar as f4 for a date field

Former Member
0 Kudos
1,653

hi,

How to provide calendar as f4 for a particular date field.

and it should show factory calendar, like it should gray out the holidays.

5 REPLIES 5
Read only

Former Member
0 Kudos
716

You can use FM 'F4_DATE' for displaying the calender.

Read only

former_member156446
Active Contributor
0 Kudos
716

parameter: pa_date type sy-datum.

this will automatically provide a calendar at F4. But to show the factory calendar, that depends on.. how your system is configured...

Read only

Former Member
0 Kudos
716

Hi,

Once u declare the selection screen as parameter for date.

Parameters : date like sy-datum.

And press F4 on the selection screen for this field, it automatically display the calender for you.

Thanks,

Sriram Ponna.

Read only

0 Kudos
716

DATA: GV_DATA LIKE SY-DATUM.

That is enough mate ...Do not use any FM..

Regards,

RAGHAV

Read only

Former Member
0 Kudos
716

hi

good

sy-datum will give you calendar for a particular field.

thanks

mrutyun^