Report for deleting Leave Entitlement in Infotype 5

Hi all
I would like to know if there is a Standard Report to delete leave entitlement in Infotype 5: I made a mistake in generating the leave entitlement for 2007, so I would like to delete all the records inserted.
I'm working in SAP 46C, and I used HR_RPILVA00 to create leave entitlement.
TIA
Paolo

Hello,
I would advise you to use at customizing level which is achievable on your case.
The best way to proceed on your case would be to use IT0041 and on T559L for the relevant rule, you would use the Accrual Period Rel. to date type in which the period is defined in relation to a date type from the Date Specifications infotype (0041). You determine the accrual period using the length fields (for example, the date the employee joined the company, with the period you require, for example one year).
Then, you can accrue via RPTIME00 or RPTQTA00.
This would be much more scalable than doing customizing at code level.
Regards,
Bentow.

Similar Messages

  • Report for deleted line-items in Transfer Orders

    Dear All,
    Please help me in writing the code for "Report for deleted line-items in Transfer Orders".
    regards,
    nishu

    Thanks. Repor completed.

  • How to get report for deleted line items from sales orders

    Dear FRIENDS,
    please infirm the t.code or report for viewing the deleted line items from sales ordrers.
    Kindly do the neeedful.
    regards,
    N.M.PAWAR

    Hi,
    With transaction SE16 you can view table CDHDR for header changes and
    CDPOS for item changes. This includes deletion.
    OR
    GO to VA03 - Display Sales order -> Put order no : don't press enterbutton. -> Go to Enviornment -> changes -> You will get details
    Date ItmNo. SLNo Action
    Hope this help please close the thread if answers

  • Report for Deleted Materials,vendos

    Hi Friends,
    How can I see the list of deleted materials, deleted vendors and rejected PRs for approval.???????
    Please advice...
    Thanks & Regards
    Satya

    Hi,
    The user wants to see the repor. User does not have access to SE11 to see the databaase report. Is there any standard report to see how many Materials and vendor are flagged for deletion??????
    Thanks & Regards
    Satya

  • Need to develope report for Deleting user profiles

    Hi All,
    I need to develop a report to delete inactive user profiles from SAP system. We have  a found out a list of valid users but need to delete all the users which are not contained in this list.
    If anybody is having any inputs, they are welcome.
    Thanks & Regards
    Abhii

    REPORT  ztest5.
    PERFORM delete_user USING 'TEST' .
    *&      Form  DELETE_USER
    *       text
    *      -->USERNAME   text
    FORM delete_user USING username TYPE bapibname-bapibname .
      DATA : li_mess TYPE TABLE OF bapiret2 ,
             ls_mess TYPE          bapiret2 ,
             lv_mess TYPE          string   .
      CALL FUNCTION 'BAPI_USER_DELETE'
        EXPORTING
          username = username
        TABLES
          return   = li_mess.
      LOOP AT li_mess INTO ls_mess .
        CLEAR lv_mess .
        MESSAGE ID     ls_mess-id
                TYPE   ls_mess-type
                NUMBER ls_mess-number
                INTO   lv_mess
                WITH  ls_mess-message_v1
                      ls_mess-message_v2
                      ls_mess-message_v3
                      ls_mess-message_v4.
        WRITE : / ls_mess-type , lv_mess .
      ENDLOOP .
    ENDFORM .                    "DELETE_USER

  • How to create a report which shows leave entitlement balances on a eff date

    Hi,
    customer would like to get a report, or sql statement, which shows employees net entitlements for an accrual plan. Because it is a calculated amount, I am not able to get my own quick paint or standard report.
    Who can help?
    ruud

    You can do this in 3 steps.
    1) First of all you'll need a package that wraps one of the Oracle-delivered PLSQL procedures into a SQL-callable function:
    create or replace package xx_pto_balance AS
    FUNCTION get_net_entitlement
    (p_assignment_id in number
    ,p_plan_id in number
    ,p_calculation_date in date) return number;
    end xx_pto_balance;
    create or replace package body xx_pto_balance AS
    FUNCTION get_net_entitlement
    (p_assignment_id in number
    ,p_plan_id in number
    ,p_calculation_date in date) return number IS
    l_net_entitlement number;
    l_last_accrual_date date;
    BEGIN
    hr_pto_views.get_pto_ytd_net_entitlement
    (p_assignment_id => p_assignment_id
    ,p_plan_id => p_plan_id
    ,p_calculation_date => p_calculation_date
    ,p_net_entitlement => l_net_entitlement
    ,p_last_accrual_date => l_last_accrual_date);
    RETURN l_net_entitlement;
    END get_net_entitlement;
    end xx_pto_balance;
    2) Next you'll need to initialize your apps session (if calling from SQL):
    exec fnd_global.apps_initialize(<user_id>, <responsibility_id>, <responsibility_application_id>, <security_group_id>);
    insert into fnd_sessions values (userenv('sessionid'), trunc(sysdate));
    3) Then you can you use a SQL statement like this one (noting the call to the above package function):
    SELECT papf.employee_number
    ,papf.full_name
    ,pap.accrual_plan_name
    ,xx_pto_balance.get_net_entitlement
    (paaf.assignment_id
    ,pap.accrual_plan_id
    ,trunc(sysdate)) net_entitlement
    FROM per_all_people_f papf
    ,per_all_assignments_f paaf
    ,pay_element_entries_f pee
    ,pay_accrual_plans pap
    WHERE papf.person_id = paaf.person_id
    AND nvl(papf.current_employee_flag, 'N') = 'Y'
    AND paaf.assignment_type = 'E'
    AND paaf.primary_flag = 'Y'
    AND paaf.assignment_id = pee.assignment_id
    AND pee.element_type_id = pap.accrual_plan_element_type_id
    AND trunc(sysdate) BETWEEN
    papf.effective_start_date AND papf.effective_end_date
    AND trunc(sysdate) BETWEEN
    paaf.effective_start_date AND paaf.effective_end_date
    AND trunc(sysdate) BETWEEN
    pee.effective_start_date AND pee.effective_end_date
    ORDER BY papf.full_name;
    This gets the net entitlement for all employees' accrual plans. You can of course tweak this as you like.
    Don't expect this to be fast! In fact, expect it to be painfully slow: because balances are calculated on-the-fly and run Fast Formula it takes a couple of seconds per person, depending on your Fast Formula code. To improve performance these are some things you can do:
    a) Put the above SQL into a materialized view and refresh it regularly (eg, daily)
    b) Build a Concurrent Program that populates a 'snapshot' table of balances and then report off that
    c) Use the Accrual Plan Payroll Balance architecture to store entitlements in payroll balances and then retrieve the payroll balances
    I hope that helps.

  • Report for deleted documents

    Hi
    How can we get the report of all the deleted documents.
    The documents were deleted for many times by running MCDOKDEL program. Now the client wants the report of all the deleted documents with user & date information.
    Regards
    Harshini

    Dear Harshani,
    As far as I know there is no report which gives list of DIR deleted with name of User and date. As this program deletes the record completely from data base.
    But for future you can design report which will create a report which gives details of deletion.
    With warm Regards
    Mangesh Pande

  • Report for Pending Leave requests

    Hi,
    We are trying to use existing transaction codes which would give details of all ess leave requests submitted by employees in the portal during a certain timeframe and which are still pending action by managers (whether to reject or accept).
    The R3 report needs to include the following information:
    Leave Requestor - Name / ID
    Type of Leave Request
    Date Submitted in ESS
    From date of Leave
    To Date of Leave
    No. Hours of Leave
    Current Status of Leave Request
    Leave Approver - Name /ID
    Can anyone suggest if there is any Tcode ( apart from SWIA, SWI5, SWI6 etc..) which could be helpful to get information on whose side the action is pending.
    Regards
    Murali.

    Hi,
    you can use Tcode se38for running this report .
    Or else give a Tcode - PTARQ
    It gives you the total functionalities of Leave Requests.
    Its the sap standard interface provided to test the functionalities in R/3 side .
    Hope this helps .
    Reward if found useful .
    regards
    SureshP.

  • Editing schema for leave entitlement

    Hi All,
    I am basically a abaper. We have a change in company policy for annual leave entitlement.
    I want to know how to make this change? I can see from my sytem that there are some customized rules available. But i don't know how to change it? can anyone help me out
    I basically don't know much about schema and how customized settings are done for HR.
    under set base entitlements i choose modify schema, how to proceed?
    Regards,
    Anu

    Hi Anuradha Ramanathan,
    If you are using the RPTQTA00 report to generate the absence quota then you can follow the foolowing steps.
    To increase the quota of Annual leave you need to change the Base entitlement of this Quota Type.
    First find the Quota type of Annual Leave. Also find the appropriate ESG Grouping and PSG Grouping for which you want increase the entitlement of annual leave.
    now go to SPRO->Time Management->Time Data Recording and Administration->Managing time Accounts Using Attendance/Absence Quotas->Calculating Absence Entitlement->Rules for generating Absence Quotas->Define Generation Rules for Quota type Selection.
    Here in selection rules select the appropriate ESG and PSG and check the rule for Base entitlement.
    Now go to Base entitlement and change the Constant in Entitlement.
    Just pay attention to dates while changing the entry.
    also check if the same rule of base entitlement is used else where then it will effect those entries as well.
    to see the effect you will have to genetrate Absence quota for that employee again using the report RPTQTA00.
    Regards,
    Umesh Chaudhari

  • BDC Report to Roll Forward Negative Statutory Leave Entitlement

    Hi experts,
    Please let me know any standard program is there for this requirement: BDC Report to Roll Forward Negative Statutory Leave Entitlement.
    Tel me how to solve this requirement.....
    Thanks,
    Brahma

    thanks experts

  • Report for material flaged for deletion

    Dear Experts,
    Is there any report to see the list of material which are flagged for deletion.
    Regards,
    Manish Jain

    Hi,
    Go to MM04, give only the material code and execute. System will display the changes made with TCode. If the system shows MM06 alongwith other TCodes, then that material is marked for deletion.
    Please run the program MMREO001 in se38 (Selection of Materials Flagged for Deletion)
    Edited by: venkatesh kumar on May 10, 2010 4:34 PM

  • Report for update of Material with deletion Flag from R/3 to SRM

    Hi All,
               Is any report for Updating material in SRM with deletion indicator for those  deletion flag set in R/3...

    Check material status
      IF mat_mmsta EQ '--'.
        lv_msgv1 = iv_ordered_prod.
        CALL FUNCTION 'BBP_PD_MSG_ADD'
          EXPORTING
            i_msgty       = c_msgty_e
            i_msgid       = 'BBP_PD'
            i_msgno       = 426
            i_msgv1       = lv_msgv1
          EXCEPTIONS
            log_not_found = 1
            OTHERS        = 2.
        IF sy-subrc <> 0.
          PERFORM abort.
        ENDIF.
        IF c_on = c_off.
          MESSAGE e426(bbp_pd) WITH lv_msgv1.
        ENDIF.
      ENDIF.
      if not mat_lvorm is initial.
        lv_msgv1 = iv_ordered_prod.
        call function 'BBP_PD_MSG_ADD'
    program name LBBP_PDIGPF2R
    Check material in backend
      CALL FUNCTION 'META_MATERIAL_READ'
        EXPORTING
          i_mtcom        = ls_mtcom_eci
          logical_system = iv_log_system
        IMPORTING
          e_mmsta        = mat_mmsta
          e_lvorm        = mat_lvorm
        EXCEPTIONS
          mat_not_found  = 1
          OTHERS         = 2.
      IF sy-subrc <> 0.
        lv_msgv1 = iv_ordered_prod.
        lv_msgv2 = iv_plant.
        CALL FUNCTION 'BBP_PD_MSG_ADD'
          EXPORTING
            i_msgty       = c_msgty_e
            i_msgid       = 'BBP_PD'
            i_msgno       = 275
            i_msgv1       = lv_msgv1
            i_msgv2       = lv_msgv2
          EXCEPTIONS
            log_not_found = 1
            OTHERS        = 2.
        IF sy-subrc <> 0.
          PERFORM abort.
        ENDIF.
        IF c_on = c_off.
          MESSAGE e275(bbp_pd) WITH lv_msgv1 lv_msgv2.
        ENDIF.
      ENDIF.
          EXPORTING
            i_msgty       = c_msgty_e
            i_msgid       = 'BBP_PD'
            i_msgno       = 345
          EXCEPTIONS
            log_not_found = 1
            others        = 2.
        if sy-subrc <> 0.
          perform abort.
        endif.
        if c_on = c_off.
    IN SRM PROGRAM LBBP_PDIGPF2R BBP_PD 345 throws message "product x is designed for deletion"
    but it is validationg from fm 'META_MATERIAL_READ'
    please close this thread
    br
    muthu

  • Report to display current leave entitlement

    Hi,
    I am using report RPTQTA10 to display absence quota.
    For current year and for a quota type, I expected the report will show projected quota based on current anniversary for an employee. But the report shows past and accrued quotas? It shows quota for e.g.03/10/2007 to 03/09/2008 and 03/10/2008 to 03/09/2009 for an employee (his anniversary date is 03/10).
    For employees who's anniversary was in 03/01/2008 to 06/04/2008 (current date), second line is being displayed, which only shows the accrued not projected.
    Can you please guide what parameters to use to display the eligibility quota based on his anniversary?
    Thanks.
    Edited by: Somar on Jun 4, 2008 10:01 AM

    Hi,
    Ram . we have run a customising report and the leave balance is coming incorrect.
    Ram i want to run report RPTQTA10 but i wonder when i run report nothing comes out in output.
    i dont know what to select in the DISPLAY field  and LAYOUT field
    PLease suggest that how can i test that by running report  that my balance is right or not.
    regards,
    shruti

  • Standard report for SAP HR Infotype 8 India

    Hi,
    I would like to know if SAP has provided standard report for infotype 8.
    1) I would like to download personal no wise wage type data from infotype 8 for a period.
    2) And I would like to compare the basic rate data prior to increment or promotion of a personal no?
    Can you please suggest a standard SAP HR report present in SAP 4.7?
    Shankar

    Hi,
    Use wage type repoter (TC-pc00_m99_cwtr) OR best to use ADHOC query (TC - PAAH)

  • Function modules for Leave Entitlement

    Hi All,
    Are there any function modules avaialble in HR to find the Total leave entitlement for an employee .
    Let me know ASAP.
    Regards,
    C.Bharath Kumar

    Hi,
    use this function module:
    <b>RSS_UNIQUE_CONVERT_TO_HEX</b>
    regards
    Debjani
    Rewards point for helpful answer

Maybe you are looking for

  • Apple Mobile Device Service installation rolls back

    Hey there, I've been having problems installing iTunes 9 or even 8 on my computer. While running the iTunes setup, part of the installation rolls back and when I launch iTunes after that, I get the message saying that "This iPod cannot be used becaus

  • Ical broken help?

    ical will open with month calendar populated but can't click on any item and can't move between weekly, daily or monthly view. After opening the only active function is quit ical. Any suggestions?

  • Workflow Redesign

    Hi, I have to redesign my workflow . Existing Design This Workflow is for Blocked Invoices where the blocking reason can be due to price,qantity etc(some 6 reasons)  . The invoice can be blocked due to all 6 reasons also.Now my workflow is designed w

  • How to go to the parent dir using java code

    I want to store a file in a directory. That directory is in the parent directory of present working directory. So how can I do this using java. i want to store the file "datafile" in c:\super\datadir now i am in the directory called c:\super\programd

  • Client activity not refreshed in console

    We have SCCM R2 server. In SCCM console where I see all devices and by clicking each device I can see General information, Client Activity, endpoint Protection information. So question is why info under Client Activity is not refreshed - Hardware and