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: 

calendar as f4 for a date field

Former Member
0 Kudos

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

Former Member
0 Kudos

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

former_member156446
Active Contributor
0 Kudos

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...

Former Member
0 Kudos

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.

0 Kudos

DATA: GV_DATA LIKE SY-DATUM.

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

Regards,

RAGHAV

Former Member
0 Kudos

hi

good

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

thanks

mrutyun^