09-24-2008 1:42 PM
Dear Gurus ,
I used the CL_GUI_CALENDAR method to display a calendar in a dynpro that i made .
My problem is that i want the calendar to start and end at specific dates that i will say ...
Can i do this ..?
Look my code ...
CREATE OBJECT CONTAINER1
EXPORTING
CONTAINER_NAME = 'CALENDAR1'.
MY_CALENDAR1_STYLE = CNCA_STYLE_V_NAVIGATOR +
CNCA_STYLE_DTPICKER.
MY_CALENDAR1_STYLE = CNCA_STYLE_V_NAVIGATOR +
CNCA_STYLE_DTPICKER +
CNCA_STYLE_ALIGNMENT_FIT.
CREATE OBJECT MY_CALENDAR1
EXPORTING
PARENT = CONTAINER1
VIEW_STYLE = MY_CALENDAR1_STYLE.
Please help ....
09-24-2008 1:45 PM
Hi,
When you create the object pass in the parameter FOCUS_DATE.
Regards,
Darren
09-24-2008 1:45 PM
Hi,
When you create the object pass in the parameter FOCUS_DATE.
Regards,
Darren