Skip to Content
0
Former Member
Sep 24, 2008 at 12:42 PM

CL_GUI_CALENDAR problem

95 Views

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