Restrict creation of appraisals for inactive employees using BADI

Please could someone guide or assist me.
When we use Tx APPCREATE to create an appraisal for an employee, it allows us to create an appraisal for an inactive employee. When we drop down the appraisee field (search for the appraisee), we can view & select employees that are inactive.
I would like to exclude the inactive employees from the appraisee list.
I have tried to use BADI HRHAP00_TMPL_RESTR, and created an implementation, but it doesn't seem to be called when i created the appraisal, i have tried debugging it to see if i get out to this badi, but no luck.
Any help in this regards will be greatly appreciated.
Regards,
Chantal

Hi Chantal
As far as I know, you are using the right BADI for your requirement. Can you plz. try creating appraisal documents through PHAP_CREATE_PA or PHAP_PREPARE instead of APPCREATE Tcode.
BTW, have you incorporated the BADI (filter) to your appriasal template?
Hope this helps
Best Regards
Reddy

Similar Messages

  • Manger wants to create a leave request for inactive employee

    is this requirement possible ?
    my client is asking that the manger wants to create a leave request for inactive employee on his behalf
    when the manger is trying to create a leave request it is throwing the error message as Invalid personal number.
    Comments required from the experts

    Hi solomon,,
    I dont know the reason behind
    the inactive employee is showing under the mss Home page of manger.
    Is there something wrong functionally/technically ?
    I Know what would be the status of inactive employee. I tried to convenience my client,but no luck
    Requirement is in this way :
    Manger wants to create a leave request for inactive employee( on the behalf of inactive employee, the manger wants to create a leave request ) in manager self service tab from Home

  • Error message while creating commitment for an employee using PBC

    We implemented Position and Budgeting control (PBC) in SAP ECC 6.0. While running the commitment creation against each employee using infotype 724 (Financing status), we are getting error message for few employees as below.
    Line item (20/1000000010/ 1) has not yet been approved in Accting; See long text
    Message no. HRFPM495
    Diagnosis
    The posting status of the line item has a value that does not allow further changes.
    This can be for example when the change transferred to Accounting has not yet been approved there, or the posting status has not yet been reconciled with the processing status of the document in Accounting.
    System Response
    Further changes for this document will continue to be rejected until the change transferred to Accounting has been approved.
    Procedure
    Perform the Report for Reconciling the Posting Status and the Approval Status to reconcile the status of the document with the current status of the document in Accounting.
    We executed the program RHRFPM_WF_RECON and try to post the document but the document status u201CZu201D is not changing and the amount is showing under u201CParked changeu201D field. The workflow is not active in PBC and in Fund Management. For few employees, we are able to create commitment successfully and for few employees the above error message is coming. We are not able to understand why only for few employees are happening like this.
    The relevant note for this error message is 1261042 but when we checked itu2019s already applied in the system. Now our system highest support package is SAPK-60037INSAPHRGXX (for soft ware component EA-HRGXX), SAPKE60037 (SAP-HR), SAPKGPHD37 (EA-HR). We have not implemented any EHP for ECC 6.0.
    Kindly Assist.
    Regards,
    Reddy

    Hi Reddy,
    I believe you should report this issue in HCM forum (ERP HCM Forum) there the experts will be able to help you better.
    Best Regards,
    Vanessa.

  • Job Search issue for inactive employee in E-Recruiting.

    Inactive employee is unable to see all job postings in the search result compared to active employee. Please provide any inputs   on this, it will be a great help.
    Thanks.

    Hi,
    inactive employees, indicated in sap e-recruiting by the flag IS_INACTIVE in IT 5102 are in the understanding of sap e-recruiting no longer employees, so they are counted and treated as external and not internal candidates. E.g. if you use a get_candidate method which returns the IS_EMPLOYEE flag this will be false for them.
    Some of the job search applications use the same implementation for external and internal candidates. They will determine if the current user is an internal or external and depending on that show internal or external published jobs. So if you call such an application for an inactive employee you will see another result than if calling for an active one - at least if you do not have every single posting publish for internal and external channel.
    Of course not every inactive employee is really an external candidate. This is right for employees who quit or were fired but employees on maternity leave, on sabbatical or a company supported education are often set inactie but in a companies understanding still persons which should be allowed to apply on internal postings. This is a usual issue on projects for internal job market. Other way around there are also employee groups like interns which sometimes should not be allowed to apply as the are "no real" employees.
    There are posibilities to take influence on the ALE handling / HR-Erec integration to set IS_INACTIVE not purely based on STAT2 of IT 0001 but so far most companies decided to handle this topic off system due to the bad cost / result ratio.
    Kind regards
    Roman

  • Error when trying to enter time data for hourly employees using CAT2

    Hi Experts!
    I'm trying to enter time data for an absence type using CAT2 for hourly employees and it's giving me an error saying "for attendance type, function or/and one of the URA is required".
    I'm not sure what that means, the system has no functions available. Entering time data for full-time salaried employees is working just fine.
    Any insight would be greatly appreciated!
    Thanks.

    hI,
    Firstly check infotype 0315
    In that check sender cost centre
    Next chek whether the Attendent / Absende Tyep which you are trying to enter is configured
    That meas it should pop up (F4) when u try to enter using CAT2
    in the Attnendence /Abence field
    REWARD POINTS

  • TCODE PRAA and inactive employees

    Hi all!
    I'm new to tcode PRAA and I'd like to know if it's possible to create vendors from inactive employees.
    For example: I have an expatriate. His original file is inactive - expatriate file active in HR - and I want to create the vendor using his original file.
    Is it possible?
    Thanks for your help!

    Hello Matthieu
    I wonder if this relates to how you have configured your leaving action for inactive employees? Please check if the flag 'Maintenance permitted after leaving' is maintain in table V_T582A, for the relevant HR infotypes 0000, 0001 and
    0017.
    Then check if you configured a leaving action for Travel relevant employees?
    You can find these under the tree menu for Person Related master data.
    When an employee leaves the company, the general process is to create an action for the master data. You can either use the standard delivered action 'Org reassignment' or create/copy your own based on the standard.
    You can do this in transaction PR05, menu point environment > personnel actions. Here you activate the radiobutton "Organizational reassignment"and press enter. Then you can create an action. You should use the action type 'leaving' (10).
    That said, I am not sure if this will extend to PRAA as I could find no specific support issues from FI-TV side whereby the same checks will then allow vendor to be created  - it seems to only be the case that bank update can occur for already created and previously active employess in which case would leave me to believe you would have to run PRAA in update mode to update having manually created the vendor in FI.
    Sally

  • Trip expense report settlement in case of Inactive Employee

    Hi T&E Experts,
    We are facing a typical problem, in settlement of inactive employee trip expense report.
    Details are as below:
    - One of the employee moved from 1 Organisation to other. His personnel number status in old organisation is showing as "Withdrawn".
    - Some of the credit-card charges on his personnel number are still pending for settlement.
    - The current trip created to settle these charges is in "Approved - To be settled" status.
    - Now we are trying to use "PREC" transaction to settle the trip. Transaction is rejecting the trip, as personnel number is invalid (inactive).
    - Because the trip is still not in "Settled" status, we cannot use PRFI transaction to manually release the trip payment in next posting run.
    We have tried different ways like making the employee active, but nothing is working here.
    > Requesting your inputs to provide way-out in above case.
    > Also is there any standard procedure, which is to be followed in case of settlement of Inactive Employee pending charges ?
    Thanks in advance,
    Aditya

    Would agree with Mathieu in this case, changing the SYS_DATE on the authorization check is probably the most effective way of avoiding this as the authorization check is very strong in Travel for infotype 0000/0002/0017 etc.
    FM CHECK_AUTH_AUTHP.
    *    AUTHORITY-CHECK OBJECT 'P_TRAVL'
    *       ID 'AUTHP' FIELD authp
    *       ID 'BUKRS' FIELD p0001-bukrs
    *       ID 'PERSA' FIELD p0001-werks
    *       ID 'KOSTL' FIELD check_kostl
    *       ID 'PERSG' FIELD p0001-persg
    *       ID 'PERSK' FIELD p0001-persk
    *       ID 'VDSK1' FIELD p0001-vdsk1
    *       ID 'PTZUO' FIELD p0017-ptzuo
    One other point is how you configure the leaving action for an employee who will be terminated (this is done via PR05 in the radio button "Organizational reassignment")
    Whilst it should not be possible to create a trip/expense report for a terminated employee, however as there may still be a need to process expenses with posting to FI/Payroll etc after the termination date
    (Table V_T582A, for the relevant HR infotypes 0000, 0001 and IT017 is relevant here and needs to be maintained) then the leaving action also becomes important.
    Finally, keep in mind that credit card expenses if you use CC clearing go to the error file for inactive employees
    This is mentioned in the wiki Processing credit card receipts and expenses for inactive employees - ERP Human Capital Management - SCN Wiki
    Hope it helps
    Sally

  • Dynamic Payslips for multiple employees?

    Post Author: bhappy
    CA Forum: Formula
    Hi All,I need to generate pay slips for multiple employees using Crystal Reports.I can able to generate pay slip for one employee.But I can't generate pay slips for multiple employees.Can any one tell me any idea plz..............Thanks.

    Post Author: bhappy
    CA Forum: Formula
       Hi,Thanks for ur replay,Here i am not passing any
    table to crystal report.All values i am passing to formula fields bcuz
    all fields are dynamic i am not using any database field directly in my
    crystal report.All calculations i am doing in code behind (earnings and
    deductions calculations) so in code behind i will get one dataset with
    all data to generate payslips(all dynamic data for all employees) but
    formula field can hold only one value ???Any idea plz...........Thanks.

  • Who are inactive employees in SAP in regards to Personnel Administration?

    HI folks,
    In PA an ee becomes inactive or withdrawn after we terminate someone. I was wondering why there is a distinction between inactive and withdrawn. So, the question arises who are inactive and who are withdrawn ees. and one more question on that Can inactive or withdrawn ees be paid in SAP or does it always have to be an active ee?
    Thanks,
    JEss..

    Hi,
    Employment status:
    0: Employee not with company
    1: Employee with company, but inactive
    2: Employee with company, but as retiree
    3: Employee active in company
    – Value 0 - The employee has left the company and should no longer be
    included in the payroll run. An individual retroactive run is permitted for
    him or her in the system.
    – Value 1 - The employee belongs to the company, but is granted leave for
    military service, maternity leave, or other absence reasons. In reality,
    most inactive contracts are not entered in the system as status changes
    but as absences. Payroll is run for inactive employees, but their pay can
    be reduced according to special factoring rules.
    – Value 2 - The employee is retired. If this person is entitled to a company
    pension, the system still includes this employee in the payroll run. If not,
    the system assigns specification 0 to this employee.
    – Value 3 - The employee belongs to the company and is active.
    hope it is helpful to you
    Olivia Yang

  • Enrolling benefits for an employee

    Hi all,
      Please can anyone provide me the screen-shots for enrolling benifit plans for an employee using T-code 'HRBEN0001'.
    TKS in advance,
    Dharani

    Hi Dharani,
    HRBEN0001 is for Enrolling an employee to the Benefit Plans configured in the System.
    Screenshot for enrolments? anyway, you can google to find tonnes of information on the same..
    Best of Luck !!!
    Kumarpal Jain.

  • How to Save Screen data using BADI for Screen Exit

    Hi All,,
    I have requirement got MIGO Transaction. Customer wants one tab besides VENDOR on header level. For that i used BADI 'MB_MIGO_BADI'. Also i created Append Structure in MKPF Table for two fields and designed sreen using SE51.
    Now i want to save this data ( with added new fields ) into Data base table MKPF. I don't know where to place code .
    Also pl confirm me that, when i copy Sample Code from
    Go to -> Sample Code -> Copy . All the code is copied from BADI. So is it necessary to keep the code for each method as it or i have to comment all the code i each methos. i am littel bit confused abt it. Please tell me in detial.
    Also tell where to put logic for saving newly added fields .
    waiting
    Thanks and Regards.
    Ulhas

    is this the one you are looking for?
    Learning Series SAP NetWeaver Process Orchestration, Business to Business Add-on 2d OFTP Adapter

  • Custom Screen using BADI seen in ME23N, ME22N Display, but not in ME21N

    Hi,
    I have developed a custom screen for purchase order using badi ME_PROCESS_PO_CUST and ME_GUI_PO_CUST.
    But, its not visible in ME21N, whereas its dipalyed in ME23N, ME22N .
    Please advise.
    Thanks,
    Shivaa....

    In TC CMOD you can create a new proyect and use the component MEREQ001 with this component you can see adicional tab in those TC.

  • How to lock down the ipad for employee use

    I would like to know if they is any app or something that I can use to lock the ipad down for small business use.
    The last thing I want is my employees checking their facebook on my ipads.

    What's the need for a business plan thousands of people buyt touch pads and computers every day and don't know how to use them. More or less they end up being paper weights. Beside the restrictions are instented to stop misuse. And who said he didn't have a business plan. the ipads replace pen and paper and so employee enter information directly into the server. This lets the employee be mobile and still do their work. It's being done in places all around the world.  Ipad is an computer for the most part.
    U going to tell me he should not use computers next?  Maybe he should enter track important information at all?
    it's funny how one question of how do I restrict access on an ipad turns into an inquisition.
    Name any major corporation that let's their employee do whatever they want on their computers?  Name a College?
    That's why these companies build in this security stuff any way. You are protecting your investment by taking the proper steps to make sure that the equiptment is not misused. Where do you work where your Boss let's you do whatever you want on his or her computer. Play games? Get viruses?
    You seem to making some kind of special assumptions because it's a ipad.
    Same this goes for printers, copying machines, and coffee machines. You never give people unlimited access to any thing unless you wan to call the service man 20 times a week.

  • Restrict creation of sales order for specific customer

    Hello All,
    I want to restrict creation of sales order (of particular sales order type) for specific customer, please let me know how can I do it.
    Your early reply will be highly appreciated.
    Thanks & Regards,
    Mahavir

    HI
    As per My knowledge it is not possible in Standard SAP , you need to go with Enhancement
    Go to SE38 : MV45AFZB, User Exit: USEREXIT_CHECK_VBAK
    Regards,
    Prasanna

  • Creation of material Documents for RMPM adjustments using BAPI

    Hi
    can any one help me Creation of material Documents for RMPM adjustments using BAPI...
    i should be grateful to you...
    advance thank you
    with regards
    venkat

    You can check MB_CREATE_GOODS_MOVEMENT which has mkpf as inporting parameter.

Maybe you are looking for