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

class for calendar with input fields

Former Member
0 Likes
669

Hi everybody,

We were asked to write an application which would show a kind of interactive calendar on screen. So the user would see the days of the month, and under the days there would be input fields (one position long) where the user would give in some values, like D or N.

So on screen it would be like:

May 2006

Mo Tue Wed Thu Fri Sat Sun

1 2 3 4 5 6 7 "days of month

_ _ D D N _ _ "input fields

8 9 10 11 12 13 14

_ _ _ _ _ _

and so on and so forth until the end of the month...

Any idea if there's a class or a container somewhere which can get this job done?

Thanks in advance,

Ioana

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
514

Hi Ioana,

Does the SAP Calendar control suit your purpose ? There's a demo program which tells you how to use it. The name of the program is - SAPCALENDAR_DEMO1.

Try it out and lemme know how it goes.

Regards,

Anand Mandalika.

3 REPLIES 3
Read only

Former Member
0 Likes
515

Hi Ioana,

Does the SAP Calendar control suit your purpose ? There's a demo program which tells you how to use it. The name of the program is - SAPCALENDAR_DEMO1.

Try it out and lemme know how it goes.

Regards,

Anand Mandalika.

Read only

ssimsekler
Product and Topic Expert
Product and Topic Expert
0 Likes
514

Hi Iona

You can use the class <b>'CL_GU_CALENDAR'</b>. And you can see a demo with the program Anand mentioned. I've used this class in my programs and it is pretty good.

However, what you want as an editability property is <u>not</u> possible for this class since it is just a date picker. What I can suggest is to use this class to bind a calendar on the screen and handle data input via ordinary fields interacting with the calendar object via its events.

Regards

*--Serdar <a href="https://www.sdn.sap.com:443http://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.sdn.businesscard.sdnbusinesscard?u=qbk%2bsag%2bjiw%3d">[ BC ]</a>

Read only

0 Likes
514

Guys,

Thanks for the info.

I've had a look at the class and found some more demo reports which use it - some with setting up colors and texts as well - so I think I'll search some more in that direction and see if there's an acceptable solution for our problem in the programs.

Thanks again,

Ioana