Delete every payroll results in the system

Hi experts,
There is a special Test system where External useres can login to the system, so we'd like to delete every paroll results in the system.
My question is how can I do that * correctly & efficiently*?
I know that there is a report for that:  "RPUDEL20"  but imagine a company with 14.000 employees. So using the logical databse, and deleteing the paroll results ony-by-one, will took more than a day
My idea is to delete every record in the tables:
HRPY_RGDIR
HRPY_WPBP
HRPY_GROUPING
P01O_ZVB_RR
This is definetelly the fastest way, but is a good solution?
I mean what about the 0003 infotype (payroll status)  and other relations to the payroll results? What will happen if I delete the tables?
There is no payroll testing in this system, we're using this system for  ESS testing, so the payroll results are not relevant, but all other masterdata (PA and PD infotypes) are relevant.
I'm happy to hear any idea
Bye
N.

Hi everyone,
Thank you for the answers,  but I don't understand how can the LSMW help me. As I know the LSMW is a data migration tool. I don't want to import anything to the sap system, I just want to delete the existing payroll results. How does the LSMW help me in this?
Thanks
N.

Similar Messages

  • Exceptions for deleting a payroll result

    Hello Experts,
    Is there any situation when system does not allow us to delete a payroll result????
    If yes.... in what all situations will the system not allow us to delete payroll result???
    All inputs are appreciated.........
    Thanks,
    Janga K.

    Hi,
    You can only delete a payroll result in the following cases:
    1. The employeeu2019s master data are no longer processed.
    2. Payment was not yet arranged for the employee.
    3. If you are working in a live system, the payroll control record for the payroll area to which the employee belongs should not yet have the status End of payroll.
    Source: help.sap.com
    Donnie

  • Deleting transferred payroll result

    Hi Gurus,
    I run the bank transfers through DME. But now management want some changes from back date.
    so I am trying to delete payroll result. but error message displays, that result alredy transferred.
    I not posted result to FI, but done the DME-document generated for the same.
    So, anybody can tell me how to delete the payroll result which has been transferred by DME.
    Thanks in advance
    Sandeep

    Hi Sandeep,
    When you say back dated changes, do you mean you will be changing the master data which will affect employees pay? If this is the case, then I think you can make the changes and run the payroll again without having to delete the payroll results. The system will consider the payments that have already been transferred and will transfer the remaining amount.
    I am not sure why you decided to delete the results but if it is because of the scenario above, then I don't think you need to delete the results.
    Akshay.

  • Bulk deleting of payroll results in production

    Dear all,
    I have run payroll for all employees into production as per client request, but now they want to delete all payroll results and again by maintaining few more details of employees they want to run payroll for all.
    Kindly tell me what tcode or program i can use to do this, as I already tried few tcodes like RPUDEL20, RH_DELETE_STORED_PAYROLL_RSLTS & HR_DELETE_LEGACY_DATA_PAYROLL to delete records, but all these are not existing into the DEV, QUA, PRD.
    Please suggest me some valuable solutions.
    Thanks & regards,
    N Verma

    Hi Verma,
    PU01 is always better to Delete the payresults in the Production system.
    If employees are huge in number,you have to go with BDC for PU01 tcode.
    If employees  are small  in number we can use PU01 for each employee to delete the payroll results.
    There would not be any negative effects by using PU01.
    Regards,
    Vsai.

  • ECC 6.0 with PU01 (Delete Current payroll result)

    Hi,
    We are going to SAP 4.7 to ECC 6.0. We are facing in problem PU01 (delete current payroll result).
    we have made a BDC for deleting payroll in mass. In ECC 6.0 output screen is changed, so my BDC is not
    working. In ECC 6.0,  PU01 when I directly run, it is correct. But I am going with SHDB TCode (for recording) Delete button
    is not working (Give SAP 4.7 version screen with SHDB). I can't delete payroll result. how can I record it?
    Plese help.
    Thanks & Regards
    Neelesh Sonkar

    HI
    While searching the forum I cam accross the following thead.
    Re: Unable to record transaction PU01 in ECC6 HR
    Hope this helps
    Param

  • Deleting existing payroll results.

    can we delete the existing fields in standard Infotypes.
    and how can we delete existing payroll results from RT and CRT. please give the procedure.
    how can we identify an employee termination date? using infotype(41) i 'mean which field.
    and tell the procedure.
    if possible please provide  the fields of infotypes to my id [email protected]
    Thanks in advance.

    Hi Vamsi,
    If you want to Code the syntax then this might help you
    DATA:  loeschkey LIKE pcl2-srtfd.
    * loeschkey  contains Pernr and the sequence number of the Payroll Result.
    * This statement can be used with a loop to delete the result if multipal records
    * have to be deleted.
    DELETE FROM pcl2 CLIENT SPECIFIED
                        WHERE relid  = " ID of the Cluster .... it is country specific
                        AND      client = sy-mandt " Client Number
                        AND      srtfd   = loeschkey. "
    There are also standard reports available for deleting single or multiple payroll results.
    Have a look at this <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/profile?userid=1894412">tread</a>
    ~Bhawanidutt.
    PS: Close the thread and reward points if solved.

  • T code to delete bulk payroll results

    Hi,
    Can anyone tell me the T Code for deleting Bulk Payroll Results.
    Thanks,
    Nikhat

    Try running report RPUDEL20, it will delete the cluster results
    - Ashish

  • Urgent : Posting Payroll results from legacy system to SAP Fi /C0

    Hi Experts,
                A client requirment is such that they have to post payroll results to FI/Co
                They are not using SAP HR- Payroll module . They use their own payroll 
                 processing system . 
                 Please tell what would be the best way of doing so 
                  Help is urgently required
    Nidhi

    To be more specific, Pavani is referring to create a new inbound - custom program, which can create IDOCs in SAP system and transfer the data to FI - CO module.
    If your client has all the infrastructure for a new interface development, like XI system or IBM - Mercator system, Out bound interface for Third party payroll system, Interface - ABAP team, then it could be planned to develop the SAP inbound interface.
    Hope this helps.
    Narasimha

  • Off cycle posting reversal and deletion of payroll results

    Hi Experts, We have an scenario employee was locked for payroll for past 4 periods in IT0003. Their was an off-cycle payment to employee and posted to accounting  ( when employee regular payroll was locked). Now  their is a requirement to reverse the posting of off-cycle payment as off cycle payment is not required. After the reversal of posting of off-cycle payment. Do we have to delete the payroll results of off-cycle through PU01 before running the current month payroll for the employee.Now the employee is regular payroll it will trigger retro for past 4 periods. Please advise. Regards, IFF

    Hi I FF,
    if you don't want that off-cycle amounts to be added in the employee gross must and should delete the payroll run after reversing the FI posting.

  • Urgent :Posting Payroll results from Legacy system to FI/co

    Hi Experts,
    A client requirment is such that they have to post payroll results to FI/Co
    They are not using SAP HR- Payroll module . They use their own payroll
    processing system .
    Please tell what would be the best way of doing so
    Help is urgently required
    Nidhi

    hai nidhi,
    Inform ABAP team to develop the programme for payroll results,and post the entry to FI through T.code F-02.
    govind.

  • How to delete an update icon in the system tray?

    I have an icon for an update to Bibg Bar, which I don't want and will only install into IE, which I don't have.
    How do I get rid of it?

    Thank you so much for the prompt reply.
    I have flushed the system restore points as sugested. But running the same SPYWARE DOCTOR program to scan the computer is appearing to be a tedious task! I have recieved blue screen errors for three consecutive times mid-way during the full system scans. The latest one being, "driver caused error in memory pool destined for disk use", exactly which I could not read, the system restarted immediately.
    history of the machine:
    norton anitvirus 2005 crashed during an update around the 20th march,2011. the live update said that the virus definitions were corrupted. I used norton removal tool. I downloaded the Norton antivirus2011 from its website. Initially it worked well but later it also crashed.  Looking in the hardware section for a faulty driver, it highlighted two such drivers:
    BHDrvx86 and Symantec iron Driver. After removing Symantec products completely , these drivers vanished!
    I have tried MS essentials and ENod32 by d/l the trial version from their websites. however, the same result.
    Using the PC Doctor tool through the service partition showed error in the memory and the dvdwriter. However, the drive reads the HP printer s/w but does not read the original music CDs!!
    I had also updated my Service partition by d/l the  R&R new version in january. The computer did not behave as erratically before doing this. Is it possible that a virus was introduced into the service partition and hence the memory is giving me errors?
    please help me out.!

  • .nomedia not working album showing every single image in the system

    there are same questions like this in this forum, I did my search but none of them has a solution.
    And this problem is annoying me. I see every single image present in my cell phone in the album app.
    from frames and stickers of a photo editor to the album arts of music files and profile images and what not.
    I was using another app to view images but i have to admit the default album app is better, but why doesn't it 
    recognize .nomedia files and go on displaying every image. 
    is there any solution to this. hope they fix this in the next update. sony are you listening.
    Solved!
    Go to Solution.

    I am using "quickpic" now. came across the name in this forum itself for the same problem.Thanks to that guy.
    quickpic does my job. it is less than 1Mb and performs better than the sony album app. it is fast, organized, elegant even plays videos what else can i ask for.

  • Delete P.R.permanantly from the system

    I s there any programme Or t-code available in sap mm that will delete the all the purchase requisitions (P.R) for selecting certain criteria.
      In other words,how to delete all the P.R. in sap mm with certain criteria so that they can not be displyed in the system

    Preeti,
    i belive field is not added in the config of MASS settings.
    do the below steps.
    go to TCode  MASSOBJ -->CAUTION MESSSAGE--> INGORE
    SELECT object type : BUS2105 MASS_CHANGE_PURCHASE_REQ, in field list
    option.
    Clcik --> APPLICABLE TABLES-->Select EBAN-->Go to Field List--> Add new entries--> EBAN-LOEKZ
    No go to MASS CHANGE you should be getting the field.
    refer below thread also
    http://scn.sap.com/thread/1872206
    Zubair
    If this field is not there then make a new entry, this is cross client table.

  • X1 Carbon - every kestroke results in the letter 'e' !!!

    Hi all,
    Well this was the most interesting thing brought to me today:
    User comes up with a locked account.  So I unlock it.  Laptop says password incorrect, so I reset the password.  Password still not accepted.  So I go to login as another user to make sure the keyboard is ok, and no matter what key you strike, only the letter 'e' comes up!  
    Capital E also works.
    Hit the windows button and the keys work fine.  
    Reboot fixed it - but Im stumped as to how this can come about.  Will also be handy to know to prank people. haha
    X1 20A7, X1 3443 and a Tab 8. Oh, plus some various T61's, T410s, T420s and a an old R40.

    I agree. Is there any possibility that i lose any data excluding machine configuration or sth else on hard reset?
    I read article you send me, it wasn't mentioned.
    Edit:
    I found reset button, pressed it for a few seconds, nothing changed. Looks like I have to call the service and take advantage of the privilege of having valid warranty. Carbon passed military tests, failed first day with me, what a shame

  • Delete Payroll Results in Bulk.

    HI
    I want to delete Bulk payroll results in Production system say for 1000 employees .
    I tried to create BDC/ LSMW but, iam not able to create BDC /LSMW for T-code PU01- Delete Payroll Results.
    Nor iam able to use Program RPUDEL20 in Production server.
    Experts plz advice any other Alternative solution.
    Rgds,
    Sekar,

    Hi
    You can copy this Z program to delete payroll result.
    This program will delete the payroll result by just giving employee number / perner in the input file.
    Regards
    Mani
    *******************************************Program Code **********************************************
             REPORT zhr_pydel
           NO STANDARD PAGE HEADING LINE-SIZE 255.
    *include bdcrecx1.
                               INTERNAL TABLES                           *
    DATA : BEGIN OF itab OCCURS 0,
            pernr TYPE rp50g-pernr,  " Personal No.
           END OF itab.
    DATA: l_subrc LIKE sy-subrc.
    DATA : messtab LIKE bdcmsgcoll OCCURS 0 WITH HEADER LINE.
    DATA : bdcdata LIKE bdcdata    OCCURS 0 WITH HEADER LINE.
    DATA : ctumode LIKE ctu_params-dismode VALUE 'N'.
                                        "A: show all dynpros
                                        "E: show dynpro on error only
                                        "N: do not display dynpro
    DATA : cupdate LIKE ctu_params-updmode VALUE 'S'.
                               SELECTION SCREENS                         *
    PARAMETERS:fname TYPE rlgrap-filename OBLIGATORY.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR fname.
      CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
    EXPORTING
      PROGRAM_NAME        = SYST-REPID
      DYNPRO_NUMBER       = SYST-DYNNR
      FIELD_NAME          = ' '
      STATIC              = ' '
      MASK                = ' '
        CHANGING
          file_name           = fname
       EXCEPTIONS
         mask_too_long       = 1
         OTHERS              = 2
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      CALL FUNCTION 'UPLOAD'
       EXPORTING
      CODEPAGE                      = ' '
         filename                      = fname
         filetype                      = 'DAT'
      ITEM                          = ' '
      FILEMASK_MASK                 = ' '
      FILEMASK_TEXT                 = ' '
      FILETYPE_NO_CHANGE            = ' '
      FILEMASK_ALL                  = ' '
      FILETYPE_NO_SHOW              = ' '
      LINE_EXIT                     = ' '
      USER_FORM                     = ' '
      USER_PROG                     = ' '
      SILENT                        = 'S'
    IMPORTING
      FILESIZE                      =
      CANCEL                        =
      ACT_FILENAME                  =
      ACT_FILETYPE                  =
        TABLES
          data_tab                      = itab
    EXCEPTIONS
      CONVERSION_ERROR              = 1
      INVALID_TABLE_WIDTH           = 2
      INVALID_TYPE                  = 3
      NO_BATCH                      = 4
      UNKNOWN_ERROR                 = 5
      GUI_REFUSE_FILETRANSFER       = 6
      OTHERS                        = 7
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    START-OF-SELECTION.
    *perform open_group.
      LOOP AT itab.
        PERFORM bdc_dynpro      USING 'RPCDPU01' '1000'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RP50G-PERNR'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'RP50G-PERNR'
                                       itab-pernr.              "'2019'.
        PERFORM bdc_dynpro      USING 'RPCDPU01' '1000'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RP50G-PERNR'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=STAR'.
        PERFORM bdc_field       USING 'RP50G-PERNR'
                                      itab-pernr.               "'2019'.
        PERFORM bdc_dynpro      USING 'SAPMSSY0' '0120'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=DELE'.
        PERFORM bdc_dynpro      USING 'SAPLSPO1' '0300'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=YES'.
        PERFORM bdc_dynpro      USING 'SAPLSPO1' '0300'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=YES'.
        PERFORM bdc_transaction USING 'PU01'.
        CLEAR itab.
      ENDLOOP.
    *perform close_group.
    *&      Form  bdc_dynpro
          text
         -->P_0118   text
         -->P_0119   text
    FORM bdc_dynpro USING  program dynpro.
      CLEAR bdcdata.
      bdcdata-program  = program.
      bdcdata-dynpro   = dynpro.
      bdcdata-dynbegin = 'X'.
      APPEND bdcdata.
    ENDFORM.                    " bdc_dynpro
    *&      Form  bdc_field
          text
         -->P_0128   text
         -->P_0129   text
    FORM bdc_field USING  fnam fval.
      DATA : nodata VALUE ' '.          "nodata
      IF fval <> nodata.
        CLEAR bdcdata.
        bdcdata-fnam = fnam.
        bdcdata-fval = fval.
        APPEND bdcdata.
      ENDIF.
    ENDFORM.                    " bdc_field
    *&      Form  bdc_transaction
          text
         -->P_0188   text
    FORM bdc_transaction USING  tcode.
      REFRESH messtab.
      CALL TRANSACTION tcode USING bdcdata
                       MODE   ctumode
                       UPDATE cupdate
                       MESSAGES INTO messtab.
      l_subrc = sy-subrc.
      REFRESH bdcdata.
    ENDFORM.                    " bdc_transaction

Maybe you are looking for

  • Link to page not working in browser

    Scenario: two .pdfs generated from FrameMaker with full Acrobat 7.0. Document A contains a cross-reference to a heading on page 7 of document B. Behaviour in desktop Reader: clicking on the link in Document A opens Document B, at page 7 Behaviour in

  • My xml post seems to work only i get a unknown error

    Hi Guys, Thanks to this forum my post finally works. But i get an unknown error in this script: # Setup data in variables$Login = "login" $Password = "password" $Reference = "Technisch beheer" $BodyType = "Text" $BodyHeader = "Test" $Message = "TestM

  • Script the database outline without data

    Hi All, how to copy the whole database to another server, without data. i know there is a function in management studio, there is a function to script database, however you are not able to apply the script directly to another server, because of the r

  • DI API Deadlocks in SQL 2005 database server

    Hello All, I have an Issue, which is coming on large databases ( > 50GB) and number of users >  20. I have read the following notes 1269591, 1489753, 1318311, 1231444 , 1344641 , 1316554 also contributed in the following thread: Workaround: Each SAP

  • Losing metadata presets applied to images

    I have one basic metadata preset that I apply to images after they have been imported. I've noticed that on a regular basis, every single image in my library loses its applied metadata preset and it reverts back to "none". For the life of me I cannot