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

CL_GUI_CALENDAR problem

Former Member
0 Likes
496

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
401

Hi,

When you create the object pass in the parameter FOCUS_DATE.

Regards,

Darren

1 REPLY 1
Read only

Former Member
0 Likes
402

Hi,

When you create the object pass in the parameter FOCUS_DATE.

Regards,

Darren