‎2005 Jun 16 8:15 AM
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
‎2005 Jun 16 8:45 AM
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.
‎2005 Jun 16 8:45 AM
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.
‎2005 Jun 16 9:19 AM
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>
‎2005 Jun 16 10:46 AM
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