Restricting employee to avail the casual leave in a quarter

Hi Experts,
I would like to know where is the setting in Time Management for restricting the no. of days to be availed in quarter for a casual leave i.e. employee should not avail more than 3 casual leaves in a quarter.
Regards
Santosh Rajam

Hi,
There is no standard functionality to meet this requirement. you can write login in "PBAS0001" user-exit.
Regards
Raju

Similar Messages

  • Restricting P_ORGIN checks to the current state of an employee

    Hello everyone,
    as part of our authorization concept, we are using the field PERSG in authorization object P_ORGIN (and P_ORGINCON) to determine whether a user has access to the infotypes of a given employee.
    In the current example, the user may access employees with a personnel group (PERSG) '1' - '9', but not 'M', because our PERSG 'M' stands for 'manager', so his P_ORGIN and P_ORGINCON are restricted to PERSG BETWEEN '1' AND '9'. Basically, this works nicely.
    However, there are cases in which an employee is promoted to manager level. His former PERSG in infotype 0001 is '1', but beginning from a certain date, his PERSG changes to 'M'. The autorization system now lets the user still see the former periods of time of this employee during which his PERSG was still '1', even though now he is 'M'. I understand that this is correct system behavior as SAP designed it. However, in our case it is undesired by the management. Once an employee has been promoted to PERSG 'M', none of his infotype periods should be visible to any user who does not have the 'M' authorization level.
    Is there a way to achieve this?

    Hello Eva,
    thank you very much, that appears to be the right track already. Trouble is, HRPAD00AUTH_TIME is very poorly documented. It has two methods "CONSIDER_SY_DATUM_EXIT" and "BEGDA_ENDDA_COMPARE_EXIT" which have documentations of their own.
    The documentation of CONSIDER_SY_DATUM_EXIT says that this method is only applicable if T528A-VALDT is set to 'X'. However, the whole table T528A does not even exist in our system?! (7.40)
    Documentation of BEGDA_ENDDA_COMPARE_EXIT leaves me pretty clueless how to interpret the IMPORTING parameters. I would have expected to be able to set the new time for which the system shall check the authorization. However, the only available export parameters allow me to set whether authorization is given or not, overriding the standard coding. So it seems that with this method I am not changing the time period for the check, but overriding the whole authorization process altogether?!
    My other hope was note 570161, but the BADI HRPAD00CHECK_TIME which is referred to there does not seem to exist in our release anymore, so I assume it is obsolete.
    Do you happen to know anything more about the BADI that would make its usage for my purpose more transparent?

  • Error while employee accessing the rejected leave request workitem in UWL

    Hi
    I am getting this following error while employee accessing his rejected leave request workitem in UWL.
    Leave application is working properly to place the leave request and to approve the request, But am getting this below error when employee try to open the rejected leave request workitem through UWL.
    Application error occurred during request processing.
      Details:   com.sap.tc.webdynpro.services.sal.core.DispatcherException: Wrong WebDynpro-URL: no application name specified
    Exception id: [CA42F00060020059000017BD000630E2000492E154FAEE4C]
    Thanks
    Ram

    Resolved self.
    Applied Note 779075.

  • Add the recent leaves taken by the employee in the workitem

    Dear,
    in ESS, ITS version, Portal 6.0, SAP 4.6c ... For leave workflow, can we add the recent leaves taken by the employee? So that when the leave approval / leader received it he/she will be aware about these leaves before approving / rejecting it? lets say last 5 leaves as example ..
    thanks
    Abdulrahman

    Hi ,
    Please use the below logic  to get absence days. iam using this logic.we are getting correct output.
    Please check it.
            LOOP AT P2001 WHERE BEGDA BETWEEN WA_MNTAB-BEGDA AND WA_MNTAB-ENDDA.
                C_DATE = PN-ENDDA + 1.
                G_DAYS = P2001-ABWTG + G_DAYS.
                IF P2001-ENDDA GT C_DATE.
                  CLEAR G_CALC.
                  PERFORM GET_CALCULATION_DAYS USING C_DATE P2001-ENDDA CHANGING G_CALC.
                  G_DAYS = G_DAYS - G_CALC.
                ELSEIF P2001-BEGDA LT PN-BEGDA.
                  CLEAR G_CALC.
                  PERFORM GET_CALCULATION_DAYS USING P2001-BEGDA PN-BEGDA CHANGING G_CALC.
                  G_DAYS = G_DAYS - G_CALC.
                ENDIF.
               ENDLOOP.
    *&      Form  GET_CALCULATION_DAYS
    *       Get Days
    FORM GET_CALCULATION_DAYS  USING    P1 TYPE ANY
                                        P2 TYPE ANY
                               CHANGING P3 TYPE ANY.
    *Function Module to Get Days
      CALL FUNCTION 'HR_ES_CALC_YRS_MTHS_DAYS'
        EXPORTING
          BEG_DA        = P1
          END_DA        = P2
        IMPORTING
          NO_CAL_DAY    = P3
        EXCEPTIONS
          DATEINT_ERROR = 1
          OTHERS        = 2.
    ENDFORM.                    " GET_CALCULATION_DAYS
    Thanks,
    Venkat.

  • Unable to run app in Restricted access or Available to developers modes.

    Hi
    We want to run the application in either Restricted access or Available to developers modes. so that we can move the changes from our QA to production and test it. We are trying to login as ADMIN (having Workspace administrators access) user but unable to run the application. getting Access to this application is restricted to application developers, please try again later. and Access to this application is restricted, please try again later errors.
    Our apex version:3.0.1.00.08
    Changing application def attributes for Restricted access
    status = Restricted access
    Build status = Run and build application
    Restrict to comma separated user list (status must equal Restricted Access) : ADMIN
    Changing application def attributes for Available to developers
    status = Available to developers
    Build status = Run and build application
    Restrict to comma separated user list (status must equal Restricted Access) : (leaving blank)
    using sso authentication (do not know whether this impacts) for our application.
    Thanks for the help in advance.
    Ram

    Ram,
    1) not able change notification, application access restricted, Please try later(any way to put customized notification.?)I don't think so.
    2) Edit links are not available (any availability status to have these..?, other than available with edit links)No.
    You might want to implement this using authorization schemes. You would need a way to determine what privileges the authenticated user has then you could restrict access to the whole application or to certain pages based on the privilege.
    Scott

  • Error while generating the annual leave quota.

    Hi All,
    For all the employee group's for the past 2 years we are generating the Annual leave quota.
    For one employee group, management decided not to give annual leave quota. i have done the necessary configuration so that the quota will not get generated for them.
    For the new employees quota is not getting generated.
    For the old employees i have deleted the annual leave absence quota and run PT60. For these employees system is throwing the following error.
        Error entry no. 83 Error when creating absence quota
         General information
         Rule: 000 quota type 00
        No quota type for key 7 99 01 20110930
    Please suggest the solution.
    Thanks & Regards,
    Sumathi.

    Hi ERP12345,
    This is for employee Group,
    We have 2 employee groups, 1. Permanent
                                                    2. Contract
    For all the contract employees, we have generated the annual leave quota for the past 2 years.
    Now management doesn't want any annual leave quota to be generated for this particulat employee group. so i have deleted all the configuration related to this employee group from base entitlement, accrual of quota generation, deduction rule,selection rule & couting rule.
    When i am hiring a new empoyee the quota is generating correctly, means annual leave quota is not generating, remaining leaves are generating.
    Is it a right way of doing, normally if this is the scenario, what we have do to,
    For the old employees, after deleting the 2006 IT also, system if thwoing the error as i mentioned in my first conversation.
    Please suggest.
    Thanks & Regards,
    Sumathi.

  • Restrict user to see the contents of a transparent table

    Hi fnds,
    i want to restrict users in seeing the contents of a database table..
    ithat is, when they go to se16 and hit enter.. and try to execute F8 button.. it should not show any records and no access should be available to that user...
    Can this be possible with auth object - whoever is authorizeed they only shoud see the contents..
    how to do this.. this table doenst not have table maintanence -- no SM30 data maintancne..
    help me,
    thanks
    Niraja

    This is part of the table definition in the data dictionary (not sure with what release that was introduced, but if you're not on an old system you should probably have it). I.e. in the data dictionary (SE11) on the Delivery and Maintenance tab for the table you have a field Data Browser/Table View Main., which you should set to N Display/Maintenance not allowed. If you check the F1 help on the field you'll get a nice long explanation.
    If you don't have this option (on an old release) check out OSS note [26909 - SE16 - Security|https://service.sap.com/sap/support/notes/26909], which explains your other option via authorization object S_TABU_DIS (access control might be a bit too coarse). See also OSS note [546797 - FAQ Data Browser (SE16)|https://service.sap.com/sap/support/notes/546797].
    Cheers, harald

  • Create Employee code with the mix of alphabets & numeric

    Hai,
    Is there any possibility to create Employee code with the mix of alphabets & numeric instead of the system generated employee code in employee master data? If so,   pls explain.
    Any suggestion is appreciated.
    Thanks,
    Parvatha Solai.N

    Hi Solai,
    You can do a work around for it. Just Leave the Employee ID field as it is. Create a new User Defined field (Alpha Numeric Type) And make it visible on the the employee master data form.
    Step2 : Depending upon your need  write the code that is if it should be auto generated write the code for else leave it blank for the user to enter the employee code.
    Step3: In before action = True. Make the newly created field as mandatory and check whether the value in the field is unique.
    Refer Route Class. Hope you understand
    Regards,
    P. Anand
    Edited by: Anand peter on Jan 2, 2012 11:59 AM

  • How can we restricted not to change the bach no in GR

    Hi All,
    When we do MIGO with ref to P.O or With ref to Out bound delivery , how can we restricted not to  change the bach no.
    Please guide me.
    Thanks and Regards
    Chandru

    Hi Chandrashekar,
    I am assuming that, you dont want batch to be changed duirng GR for a PO, but you can choose from existing batches in the system.
    in SPRO->logistic General->batch management->Creation of New batches->Define Batch creation for goods movement.
    Here you can control the way the batches can be popolated. Varous option are available which can be used too.
    Please make detail process validation defore usign this option.
    Please reward if useful.
    thx,
    MJ

  • How to restrict employees from accessing managers data using custom security profile

    Hi,
    I am using custom security profile for restricting the employees from accessing supervisors details(PG.SEGMENT2=4). I have written the custom code as below :
    Responsibility :US Super HRMS Manager
    ASSIGNMENT.PERSON_ID
    IN
    (SELECT PAF.PERSON_ID FROM PER_ALL_PEOPLE_F PAF,
    PER_ALL_ASSIGNMENTS_F PF,
    PAY_PEOPLE_GROUPS PG,
    PER_PERSON_TYPE_USAGES_F PPU,
    FND_USER FNU
    WHERE PAF.PERSON_ID=PF.PERSON_ID
    AND :EFFECTIVE_DATE BETWEEN PAF.EFFECTIVE_START_DATE
    AND PAF.EFFECTIVE_END_DATE
    AND PF.PEOPLE_GROUP_ID=PG.PEOPLE_GROUP_ID
    AND :EFFECTIVE_DATE BETWEEN PF.EFFECTIVE_START_DATE AND PF.EFFECTIVE_END_DATE
    AND PPU.PERSON_ID=PAF.PERSON_ID
    AND PPU.PERSON_ID=PF.PERSON_ID
    AND :EFFECTIVE_DATE BETWEEN PPU.EFFECTIVE_START_daTE AND PPU.EFFECTIVE_END_DATE
    AND PAF.PERSON_ID=FNU.EMPLOYEE_ID
    AND PAF.PERSON_TYPE_ID =2
    AND PPU.PERSON_TYPE_ID
    IN(2,62)
    and PAF.person_id = FND_PROFILE.value('user_id')
    AND PG.SEGMENT2=8)
    and using "restrict the people visible to each other using this profile".
    I have assigned the security profile to HR user responsibility
    But when I query the supervisor name in HR User responsibility , it is not restricting me from viewing supervisor details.
    When I query for first time, its restricting me to view others details, but when I close that click on torch button and try searching, its allowing me to access manages details.
    Can any one please let me know what setups need to be done for restricting employees from viewing supervisors data.
    I have gone through the document "Understanding and Using HRMS Security in Oracle HRMS" but didn't got any idea.
    Please suggest.
    Thanks & Regards,
    Anusha.

    Hi All ,
    i solved the problem by using event 01 of header view and using the table "Extract" .
    Regards,
    Neha

  • Employee is trying to apply leave through ESS

    When an employee is trying to apply leave through ESS he is getting a error message. below is the error " employee 00000000 has no valid organization assignment for 27.08.2010". we have checked all the configurations in SAP back end.

    Navigate to t.code HRUSER and see the assignment.
    This should resolve the issue.
    Cheers-
    Pramod

  • Restricting Employees from enrolling or changing benefits

    Hi All,
    We have a new Legal plan introduced this year in employee benefits. I want to restrict employees from enrolling or changing this benefit if the life event is not Hire or Open.
    I made the Hire and Open life events eligible. Do I need to make all other life events Ineligible or making these two eligible is enough? Having only these two eligible is not stopping me from enrolling in them when "Dependent lost eligibility" event triggered.
    Any help or any pointers greatly appreciated.
    Thanks,
    CAH

    Bump

  • PA30 Display Employee details on the Header Screen

    Dear Team:
    Sometimes I see that using transaction PA20 or PA30, when I give the Personnel Number, in the header screen, I do not see any employee information for some employees and could able to see other employees.
    Anything that restricts us to see the employee details in the header screen.
    If it is an authorization issue, what is the check that is restricting the same. Which authorization details should the I have to look for the employee details in the header screen.
    Thanks and Regards
    Team Member.

    Below are already avialable in the table.
    00     A     60
    00     B     80
    01     A     01
    01     B     21
    02     A     02
    02     B     22
    03     A     03
    03     B     23
    04     A     04
    04     B     24
    05     A     18
    10     A     00
    10     B     20
    45     A     45
    Regards
    Team Member

  • How the system automatically calculate the sick leave

    Dear All,
    Please let me know the procedures how the SYSTEM AUTOMATICALLY WILL CALCULATE THE SICK LEAVE OF AN EMPLOYEE.Kindly let me know the full steps how to do it.
    Regards
    AM.

    Hi,
    For this are you using time evaluation or rptqta00 only.
    Then tell me the ur conditions of the sick leave also.
    Thanks and Regards,
    Revathi.

  • Employee number in the Asset Report

    We have a requirement to see a report of Assets assigned to employees.  We have created assets filled with Personnel Numbers in the master data.
    In the asset report, we have given the employee number in the dynamic selection and got the report.  But in the report output, the field 'personnel number' is not available. 
    Is there any asset report wherein the employee number is also displayed ?

    Hello Atif
    As you said, I created a sort variant and included the fields Personnel Number and Cost Centre. 
    I have the requirement to add the Personnel Name & Department also in the report.  Is it possible to bring those fields also ?

Maybe you are looking for

  • How do I find the model number on my keyboard?

    How do I find the model number on my keyboard? I have an anodised aluminium (short with no numeric pad on it) keyboard that came with my iMac that I bought in 2009, and I am wanting to find out what model it is. Any suggestions? Thanks.

  • Failed to create Proxy for EMFBuilder Service

    Hi, Am installing Eclipse Gemini & Eclipselink as JPA provider in Felix container. Both bundles are installed fine. After having my persistence bundle that has entity classes & persistence.xml, am getting below error. Though the persistence bundle al

  • Microsoft SQL Server JDBC Drivers 4.0.2206 timeout on first connection to SQL Server Express after it sleeps

    Our builds kick off and run integration tests. They are configured to hit a SQL Server Express server. If the builds have been quiet for a while, the first test to connect fails after stalling for 20 minutes. Subsequent tests are fine. Reversing test

  • Conversion Issue

    Hello, I have a query about currency conversion. we have our company in different countries. so i want to show the amount in dollars but they are coming from different countries and stored in different currencies too. Do I need to store those currenc

  • PE51 condition on the text of the wage type

    HI All, I have to implement a rule in PE51 payslip ie when there are certian wagetypes in the RT table then the 1000 wt  -Basic Salary should be displayed as Notional Salary To Make it more clear; If WT 4800 exits in RT table then 1000 wt should be d