How to change colors for record working time calendar

Hi,
I would like to change the colors in the calendar displayed in record working time based on some conditions.
How do i do that is there any BADI associated with that
Thanks
Bala Duvvuri

Hi Bala ,
Yes its possible to change that .
You need to implement BADI for this ..
BADI name : "PT_ABS_REQ"
In the BADI "PT_ABS_REQ"   interface "IF_EX_PT_ABS_REQ" you can find the method
"SET_CALENDAR_COLOR" in that you can set the colure for the Absent type ......
Adjust Colors of Calendar and Team Calendar
Functionality
You can use this method to change the colors in the team calendar.
In the standard system, the different statuses for requests have different colors. You can use this method to differentiate the colors of requests depending on the following aspects:
Status of requests (status)
Action that an employee has executed: new request, delete, change (UIA operation)
Subtype of absence (SUBTY)
Full-day or partial-day absence (BEGMT, where BEGMT = 0 signifies a full-day absence)
Application mode ( mode). You specify the application mode in the Select Employees for the Team Calendar IMG activity.
Color Display of Status of Leave Requests(COLORS_ACTIVE). You specify this status in the Specify How Leave Is Displayed and Default Values IMG activity.
Available Colors
You have a choice of 16 colors. The 16 colors are hard coded, that is, you cannot change them or add other ones.
The available colors are stored with their RGB value as constants of the CL_PT_REQ_CONST class. Use these constants if you want to change the colors.
Notes
If you change the colors in the team calendar, you should also adapt the legend accordingly. You can use the Adjust Legend for Calendar and Team Calendar method to do so.
Hope this work!!!

Similar Messages

  • How to implement Manager Selfservice - Recording Working Time - BP

    Hi!
    I would like to have a stepby step approach to implement business package for recording working time.
    What I need is the following information?
    1. Pre-requisites
    2. How to create the iview ?
    3. What R3 configurations need?
    you can email if you have good documentation on this to [email protected]
    Thank you
    Ramesh

    The primary limitation you will encounter when trying to do high speed
    digital I/O using your E-Series hardware is that the digital lines are
    all software timed.  This means that for each and every digital
    read it is necessary for your software to issue a command to your
    hardware, read a single point, then receive the response from the
    board.  This prevents you from performing digital operations at
    very high speed.  In general, I would say that 100 microseconds is
    a very good response using software-timed digital I/O on a Windows
    computer.
    It is difficult to make a good recommendation without more detail about
    what you are trying to do.  You may need to consider switching to
    a Real-Time operating system, or upgrading your DAQ hardware to a board
    that will allow you to time your digital acquisitions on the board
    itself.  These devices, such as the m-Series DAQ or the PCI-653x
    series, would allow you to use hardware triggers for your digital
    acquisitions, change detection, and buffered data acquisitions to
    reduce the software overhead involved in a rapid acquisition.

  • Can i change colors for events in the calendar?

    Can I change colors for different events in Calendars on Ipad 2?

    Philly - I always respect your opinion and what you have to say but please hear me out.
    Philly_Phan wrote:
    I see one iCal window and that makes me conclude that I have one calendar with multiple event types.
    You understand how the app works and how to create calendars. As I pointed out - I explained to one user that you have to tap the Calendar button in the upper left corner and then select the calendars that you want to view. In fact, if you have accidentally tapped Hide All Calendars - you see no events.
    I totally understand what you are saying and I rarely take an argumentative approach in this forum, but what I am trying to point out to the OP is that you cannot create different colors for "events" in one single calendar.
    For instance, if you have one calendar called "Home" and that is the one calendar that you use - if Billy has a soccer game at 6:00 PM, Jessica has band practice at 7:00 PM and you have a bridge club meeting (I'm stuck for another idea at the moment ) at 7:30 PM - and you want all of these "Events" to appear in different colors within the same calendar - it cannot be done.
    Sometimes I think this is what users want to do - differentiate the different "Events" within a single calendar - and that cannot be done - at least AFAIK.
    I didn't mean to cause confusion nor was I trying to complicate things. I just thought that I was giving a complete answer as to how the feature works.
    After all - I could have just used the "please get the iPAD user guide" line.  I just love that response.

  • Authorizations for Record Working Time

    hi experts,
    I assigned the copied role Z_SAP_EMPLOYEE_ERP to a ESS user on R/3 side. The user is trying to access Record Working Time web dynpro application on Portal. He gets an error "there is no authorization to this activity". Does the standard role SAP_EMPLOYEE_ROLE not have the required authorizations?
    If not, what authroization is needed for accessing CATS Web Dynpro on portal?
    I appreciate your help.
    Regards

    Hi
    Also check these:
    1. In IT105 create a record assigning the user id to the personnel number in subtype 0001.
    2. Ensure that the profile you have provided in CVR parameter and the profile you have customized are one and the same. Else, SAP will default 'ESS' profile to the employee on Portal.
    3. If the above doesn't work out, create a new user in HRUSER - tcode, assign proper R/3 & ESS roles, parameter and then test.
    If this helps, pl do reward.
    Thanks
    Narasimha

  • Can we display Approved Times as marked in Record Working Time Calendar

    Hi All,
    In the Calendar provided by Record Working Time iview,I could see the following three types of dates as marked
    1)Rejected
    2)Not Released
    3)Excess Time Recorded
    Similarly is it possible for us to mark the dates for which the OT is approved.
    Can some thing be done at the backend with configuration to achieve the same.
    We do not have NWDI to modify webdynpro code of the iview
    Regards,
    Santhosh

    The reason behind this was
    the descision to keep the interface simple: Highlighting should be used
    for records (or days on the calendar) for which action might be required
    by the user. No matter if a record is approved or still to be approved,
    the next step in the workflow is not for the user to perform but for
    the approver.
    If a record has been rejected, action is required by the user and
    therefore the record is highlighted. Currently, there are no plans to
    change this.
    This could be changed on a project-basis, of course. Such a change
    would require action in Java as well as in ABAP, since we do not
    transfer the status to the frontend except for the detail screen, which
    is for one record only. What would have to be done?
    1) Add a new semantic state "approved" to the DDic element used for
       semantic states.
    2) Set this semantic sate within the RFC-layer (using the method
       "build_timesheet", IIRC).
    3) Possibly do the same for the calendar as well.
    4) Adopt the Java-side to take this new semantic state into account.
    This would of course be a modification, so please understand that I
    just wrote down a rough outline of the changes that would have to
    be introduced. I didn't actually do an analysis or design for such
    a modification but simply noted all the steps that I am aware of that
    would have to be performed.
    Please refer the help.sap.com for further information on this
    or SPRO path.

  • Register exact clock times (4 digits) instead of half-hour increments in Record Working Time (Calendar User Interface)?

    Hello
    Is it possible to register the exact working times in the HRESS_A_CATS_CALUI WDA instead of half an hour increments?
    Now:
    choose between 0800 to 0830
    Need:
    0810 to 0825

    In calendar interface, standard is 30, but if you need 15 etc you need to a modification etc, use the normal interface with clock times or in details screen you can enter clock times enable fore the cats profile using CAC1 http://scn.sap.com/thread/3678682

  • ToggleButtonBar - how to change color for only one button

    I have a tooglebuttonbar (with 4 buttons) and I'd like to change the color of only one or two button according particular data. Is someone has experience to do that.
    I try to do like that
    var child:Button;
       child = Button(tbbAction2.getChildAt(0));
    child.setStyle('color', '#CC33CC');
    But there's no effect. Thanks a lot.

    I have a tooglebuttonbar (with 4 buttons) and I'd like to change the color of only one or two button according particular data. Is someone has experience to do that.
    I try to do like that
    var child:Button;
       child = Button(tbbAction2.getChildAt(0));
    child.setStyle('color', '#CC33CC');
    But there's no effect. Thanks a lot.

  • MSS Record Working Times header

    I am losing the employee's name in the screen header when I use a custom Webdynpro Application Configuration for Record Working Times on Behalf of Employee in MSS.
    Here is what I've done...
    The ZHRESS_AC_CATS_1_CP_1 in the screenshot below is an exact copy of HRESS_AC_CATS_1. I did not make any changes to it.
    When I specify the standard HRESS_AC_CATS_1 in the Launchpad:
    This is what the Record Working Times header looks like:
    But when I specify ZHRESS_AC_CATS_1_CP_1 (EXACT copy of HRESS_AC_CATS_1) in the Launchpad:
    This is what the header looks like:
    Does anyone know why I'm losing the employee's name, and how I get it back?

    Hello David,
    I guess this is a limitation of CATS application.
    Please go through the below thread carefully. You can find the hint in Martin's reply.
    http://scn.sap.com/thread/2123734
    BR,
    RAM.    

  • Extra fields in search help window in Record working time EHP5

    Hi Experts,
    Can you please let me know how to add additional fields/select options in search help window for Record Working Time ?
    My system is EHP5 NW 7.02
    I have added the custom search help for the respective filed in table " TCATS_SHLP_ITS".
    I can see this table is having entry for only 4 selection options and 6 value fields for search help display.
    But in my custom search help programme is having 8 select options(for advance search) and 10 display fields on the search window. It's working from CAT2 transaction but when I am running through webdynpro timesheet, I can only get 4 select options and 6 value fields.
    Please let me know how to make the other fields available.
    Thanks in advance.
    Sonia

    Hi Siddharth,
    Thanks for your response. In that modify possible entries screen (Details view) I can see the search help is only having 4 select options and 6 display fields.
    So as per my understanding max 6 display fields/4 select options can only be displayed on search window.
    My requirement is to display more fields on search help OVS window.
    Can you please suggest.
    Thanks ,
    Sonia

  • ESS Record Working Time .. Restrict Time Entry with Relative limit

    Hi SDN Users,
    We are using ERP 2005 and EP 7.0 with webdynpro java ESS applications for Time, Travel and Personal Information.
    In the ESS Record Working Time application, a user can scroll to any date he wants in the past or in the future and record/edit working times. The application does not take into consideration the setting made in the time entry profile for relative limit.
    Please suggest the best way I can include this in the webdynpro application for Record Working Time. (in other words I would like to restrict the users to NOT be able to scroll before and later than 1 week from the current week).
    Can this be achieved by modifying any ABAP program / BADI / User Exit (OR)
    Would this require Webdynpro Code changes ?
    Please suggest some changes if any one has gone through a similar requirement.
    Thank You,
    Salome

    Hello Salome ,
    You can use the following way out for this :
    Lets say you want to allow one week before Begda , rest entries not allowed .
    1. VcCatRecordentry View - make a method called dateValid(); this would return true / flase
    we can get begda and endda.
    wdcontext.currentcontextelement.gettimesheetBegda();
    wdcontext.currentcontextelement.gettimesheetendda();
    Date sysDate =  new Date(Calendar.getInstance().getTimeInMillis());
         int sysDay = sysDate.getDay();
    2. Instantiate the Calendar  Calendar c1 =  new GregorianCalendar();
    3. c1.add(c1.DATE,-7);
        Date dt_end =  c1.getTime();
    now compare the dt_end to begda if it return >0
    then in on action navigation nxt  - report exception
    this would work , since I did the same and it worked absolutely well for me  .
    Regards
    Sandeep Sharma
    Edited by: Sandeep Sharma on Jul 8, 2009 7:41 PM

  • ESS: Record working time - employee name and number

    Hi All,
    I'd like to display the employee number and name in the Record working time screen.
    Please help me with the configuration I need to do in IMG or on the portal side.
    Any help is greatly appreciated.
    Thanks,
    Rajit
    Points will be awarded.

    Hi Siddharth,
    On the General Information page, there's a Related Activity iview which contains a link for Record Working Time.
    A manager can select an employee in the Data View and then can click on the Record Working Time link which opens up that emp's time sheet.
    In such a case, display of employee number and name is very useful and I'm trying to solve this.
    In IMG's "Define Field Selection" -> Data entry section, there are employee number and name fields that I set for the data entry profile. But they are not displayed in the portal.
    Any ideas are welcome.
    Thanks,
    Rajit

  • How to change color of a button for specific time interval in jsp

    How to change color of a button for specific time interval in jsp.
    Please help.
    Thanks in advance.

    This was driving me crazy, too--and the previous answers did not seem to work. I eventually found that if I click one of the data symbols in the graph in exactly the right spot (see below), it selects only the data symbols and not the line. I can tell this because the little selection dots will be around each data symbol, but no selection dots will be on the line between the data symbols - like the graphic in Yvan's answer. Then and only then will the color symbol in the tool bar show the color of the data symbol, instead of the color of the line. I believe that you then have to first click on the color swatch in the toolbar and then select your color (or choose Show Colors and select from the color tool). Just clicking a color in the crayon box, for example, did not seem to work unless I first clicked on the color swatch in the toolbar, then clicked Show Colors on that dropdown, and +only then+ clicked the crayon or whatever.
    _The right spot to click_ seems to be just above the exact center of the data symbol, at least for the diamond shape symbol that I prefer. Sometimes it takes several tries to hit the right spot. If I miss it, the whole line is selected, which is indicated by the little selection dots on the line, between the data symbols. When I click the right spot, those selection dots go away, leaving only the data symbols selected. Then I can change the color, as described above.
    I hope this works for you too.

  • How to change the text under RECORD WORKING TIME IN ESS.

    Hi,
    How to change the text under RECORD WORKING TIME in ESS.
    Is there any setting at page or iview level?
    Please help me.
    Regards,
    Thirun.

    Hi,
    If it is standard business package ,then check home page framework
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/b0e3a488-cdc2-2b10-209b-e01a0ed934b4
    Regards
    Koti Reddy

  • How to restrict the dropdown values in Att/abs type in Record Working Time

    Hello experts,
    We are implementing ESS business package.  In the Record Working time, within the Weekly View and Daily View tabs, there is a column Att/abs.type which has several drop down values - like:  floating value, Funeral Leave, Military Reserve, Regular Attendance, etc.   Our requirement is to restrict the dropdown values  by means of showing only one of these values (say:  Regular Attendance) and others should not be shown.   How do we achieve this?
    Thanks
    Vicky R.

    Hi Siddarth,
    Thanks for the info.  By the way, this table info is not mentioned in the Business Package documentation.  Which documentation are you referring to?
    Thanks
    Vicky R.

  • I have two time capsules, one for work and one for home, how do I set up the work time capsule to only back up my work files?

    I have two time capsules, one for work and one for home, how do I set up the work time capsule to only back up my work files?  Also, how do I add co-workers to my work time capsule and wife to my home time capsule?  Thank you!

    You cannot have two different TC setups.. at least until Mountain Lion.. it did introduce some changes but I am not sure if you can setup two different configurations for TM.. you can use two different devices to back up to. I doubt this will help you.
    You might be better using a real backup software.. superduper, CCC, chronosync etc.
    The TC by default is available to any Mac in the network to do backups. TM will sort itself out and put each computer on a different backup. These are kept in separate sparsebundles.. so that is all fine.

Maybe you are looking for

  • ORA-01017 error while using a database link

    Hi all, I have a TNS entry as below HOME= (DESCRIPTION= (ADDRESS=(PROTOCOL=tcp)(HOST=10.66.205.110)(PORT=1521)) (CONNECT_DATA=(SID=HOME)) I have created a database link as create public database link link92.com using 'HOME'. This was created successf

  • After upgrade to v12 all my playlists are now empty

    thanks for that. really helpful. or is this another hidden setting i've got root around to find.

  • Use Backup (Alternate) List View for Favorites/Wishlist

    Can anyone tell me, is it possible to use the alternate/backup list view item from a web app for the favorites/wishlist?  Right now, when some ads a webapp item (from within the detail view) to favorites, I'm getting the regular list view layout when

  • Putting videos into imovie

    how do i pull videos from my hd on my sony camera into iphoto. I copied them onto my hardrive and they will not go into imovie

  • War inside ear; Classpath problem

    I have a deployment structure like the following: app.ear + META-INF --application.xml  --lib -- commons*.jar --ejb.jar --web.war --WEB-INF --META-INF  I have all the common jars inside top level lib directory. The war file references them through an