Payroll results from pc_payresult

Hello there,
I am developing an ABAP report for HR Payroll, and have a very basic question about the results data (RT) that can be found in PC_PAYRESULT.
For each sequenctial number (In-Period & For-Period), is this result ONLY the values in the "FOR-PERIOD" of the payroll period and not cumulative with the "IN" period?
For example, if I am viewing a result with a "for-period: 2006/07" and "in-period: 2006/08", are the results only reflective of the payroll for the period of 2006/07 and exclude any figures from the "for-period of 2006/08"?
Thanks for your help.

Th in-period is just to indicate the period in which the Payroll was run..& yes if you are looking for results of 2006/07 , then you must look for RGDIR-FPPER in your report.. with SRTZA = 'A' (Actual Result). Each line in the RGDIR is for a single period.. You can however find the cumulative results in the CRT table once you expand the Cluster...
~Suresh

Similar Messages

  • How to import payroll result from 3rd party system to SAP

    Hi Experts,
    May i know how to import payroll result from legacy system / 3rd party payroll system into SAP.
    i need to import the payroll result from Jan - April (from 3rd party payroll system) and system go live on May. I using payroll malaysia.
    Thanks.

    check this link
    http://help.sap.com/saphelp_40b/helpdata/en/91/80e9087834d111a4620060b03c3b0e/content.htm

  • Modify payroll result from ABAP

    How can I modify the some fields of payroll result from a ABAP program ???
    I need modify some fields from rgdir. For example "juper" field"
    Thanks

    you will have to include some definitions:
    RPC2RDD0  (this is for Germany, find out your country definition)
    RPC2CD00
    RPUPC200
        rp-init-buffer.
        cd-key = YOUR-pernr.
    *--- read directory
        perform import_directory_national using errcode.
        if errcode ne 0.
          perform write_error using 'CD1'.
          continue.
        endif.
        sort rgdir by fpper descending.
        loop at rgdir where fpbeg >= YOUR-begda
                            and   fpbeg <= YOUR-endda.
          rx-key-pernr = YOUR-pernr.
          rx-key-seqno = rgdir-seqnr.
    *---  Import of the PCL2-record
          perform import_cluster_national using errcode.
          if errcode ne 0.
            perform write_error using 'RD1'.
            continue.
          endif.
    *---  Transformation of the data
          z_rd = z_rd + 1.
          loop at wpbp.
            break-point.
          endloop.
    *---  Export of the transformed data
          if p_test = no.
            rd-version = ord-version.         
          rd-version-uname = sy-uname.
          rd-version-pgmid = sy-repid.
          rd-version-datum = sy-datum.
          rd-version-uzeit = sy-uzeit.
            perform export_cluster_national using errcode.
            if errcode ne 0.
              perform write_error using 'RD3'.
            else.
              perform prepare_update using 'V'.
              if rx-key-pernr ne rxpernr_alt.
                commit work and wait.
              endif.
            endif.
            rxpernr_alt = rx-key-pernr.
          endif.
        endloop.
        pernr_alt = keytab-pernr.
         FORM IMPORT_DIRECTORY_NATIONAL                                 *
    form import_directory_national using $errcode.
      rp-imp-c2-cd.
      $errcode = rp-imp-cd-subrc.
    endform.
         FORM IMPORT_CLUSTER_NATIONAL                                   *
    form import_cluster_national using $errcode.
      rp-imp-c2-rd.
      if rp-imp-rd-subrc ne 0.
        perform write_error using 'RD1'.
        add 1 to nreject.
      else.
        if ord-version-number ne rd-version-number.
          perform write_error using 'RD2'.
          add 1 to nreject.
          rp-imp-rd-subrc = 4.
        endif.
      endif.
      $errcode = rp-imp-rd-subrc.
    endform.
         FORM EXPORT_CLUSTER_NATIONAL                                   *
    form export_cluster_national using $errcode.
      rp-exp-c2-rd.
      $errcode = rp-imp-rd-subrc.
    endform.

  • 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

  • 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.

  • Can PU12 fetch results from 3rd-party payroll systems?

    Gurus:
    We have configured PU12 to export master data or master/payroll data to 3rd-part systems.
    Could you tell us how to fetch the results from external 3rd-party systems back to our ECC system?
    Thanks!

    Hi Ashley,
    You can import the wage types from 3rd party systems into SAP. Then you can run the payroll in SAP system.
    Check the following description taken from help.sap.com.
    You use the Import wage types function to transfer wage types from a third-party system to the
    payroll results of the SAP System.
    For more information, see the Implementation Guide (IMG) for Cross Application
    Components under Predefined ALE Business Processes   Human Resources 
    HR External Systems   Connection With an External Payroll System   Import
    Payroll Results or in the SAP Library under CA Cross Application Components 
    Business Framework Architecture (CA-BFA)   Library of ALE Business Processes
      Human Resources   Human Resources - External Applications   Process Flow:
    Import Payroll Results from a Third-Party System [Ext.].
    Starting the Import
    Prerequisites
    You have successfully run payroll in a third-party system.
    Procedure
    1. In the menu, choose Import wage types   Create IDocs.
    You access the IDoc Inbound Processing Via File screen.
    2. In the Complete file name field, enter the name of the input file.
    3. Choose Execute.
    The system message contains the number of created IDocs.
    4. In the menu, choose File   Import wage types   Create IDocs.
    You access the Inbound Processing of IDocs Ready for Transfer screen.
    5. Enter MANAGEREXTPAYROLL_INSERTOUT as the Message type and, if required, enter the
    Creation date and the Creation time.
    6. Choose Execute.
    Result
    The wage types created in the third-party system are available for further processing in the
    interface tables of the SAP System.
    You can then start payroll in the SAP System and perform the subsequent payroll activities:
      Create a remuneration statement
      Run posting to Accounting
    Regards,
    Dilek

  • 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.

  • Transfer Payroll Results

    Hi All,
    Does anyone know a BAPI to transfer the payroll results from one server to another? Or settings for ALE.

    Us can use ALE idocs For transfer of the data from one system to anothere
    Idoc's are userfull
    REARD POINTS

  • Reading latest payroll run results from CRT table

    Please find below my code to retrieve the cluster table crt.
    Could you please let me know which HR report category I need to assign while giving the attributes in executable program. I am novice in this area, I didnu2019t even know whether we need to give the hr report category or not.
    I am not able to see the selection screen with pernr input though I gave the pnp logical database in the attributes of my executable program.
    tables: PERNR.
    data: payresult TYPE table of pay99_result,
          wa_payresult type pay99_result.
    data: it_rgdir like table of PC261,v_seqnr type pc261-seqnr,wa_rgdir
    type pc261,
          v_clusterid like pcl2-relid value 'RX',v_betrg type pc208-betrg.
       data begin of crt occurs 0.
          include structure pc208.
        data end of crt.
    get pernr.
    if pnp-sw-found = 1.
    CALL FUNCTION 'CU_READ_RGDIR_NEW'
      EXPORTING
        PERSNR                      = pernr-pernr
      CHECK_READ_AUTHORITY        = 'X'
      IMP_CLIENT                  =
    IMPORTING
      MOLGA                       =
      TABLES
        IN_RGDIR                    = it_rgdir
    EXCEPTIONS
      NO_RECORD_FOUND             = 1
      IMPORT_MISMATCH_ERROR       = 2
      NO_READ_AUTHORITY           = 3
      OTHERS                      = 4
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    sort it_rgdir DESCENDING.
    read table it_rgdir into wa_rgdir index 1.
    v_seqnr = wa_rgdir-seqnr.
    CALL FUNCTION 'PYXX_READ_PAYROLL_RESULT'
      EXPORTING
       CLUSTERID                          = v_clusterid
        EMPLOYEENUMBER                     = pernr-pernr
        SEQUENCENUMBER                     = v_seqnr
      CHANGING
        PAYROLL_RESULT                     = payresult.
    IF SY-SUBRC <> 0.
    ENDIF.
    loop at payresult into wa_payresult.
      loop at crt.
         if crt-lgart = '\405' and crt-CUMTY ='Y'.
           V_BETRG = CRT-BETRG.
           write:/' payroll result amt',v_betrg.
           EXIT.
          ENDIF.
       ENDLOOP.
    ENDLOOP.
    endif.

    Hi Maqsood.
    In attributes section section.
    first tick on the Master data(infotypes) and leave it blank....... and save it.......
    secondly go in to your code.
    comment all your code except.
    tables: pernr.
    now check if the selection screen is coming with pernr or not...
    Thanks
    Saurabh

  • Any Standard Class to Fetch the PayRoll Result

    Hi Experts,
    There is any standard class or method to fetch the details in the Pay Result(RT CRT Tables) from PC_payresult T-code in HR PayRoll module.
    Thanks,
    P.s.Raj

    Check classes CL_HR_PAY_RESULT*
    Personally I never used it. Classical FM approach for getting payroll results is a confident and reliable way of extracting clusters, you may use these
    CU_READ_RGDIR
    PYXX_READ_PAYROLL_RESULT
    CD_READ_DATE_RANGE_ACTUAL_NV
    CD_EVALUATION_PERIODS
    CD_READ_PREVIOUS
    CD_READ_PREVIOUS_ORIGINAL
    CD_RETROCALC_PERIOD
    CD_PAYROLL_UNTIL
    CD_HIGHEST_PAYDT
    H99_DISPLAY_PAYRESULT
    Regards
    Marcin

  • DELETED PAYROLL RESULTS

    Friends,
    I was accidently deleted previous payroll results of an individual employee. Is there any way to restore the results again in pc_payresults.
    Thanks in anticipating reply
    Regards
    PratyushReddy

    Hi,
    Are you refering to Production system ?
    You cant restore the Deleted results from RT.Just check up with your Basis Team if they have any prior back up and if they can restore the RT table
    Regards
    Hemant V. Mahale

  • Payroll results could not be imported/Error in Finance Posting of Payroll

    Hi friends,
    Please help me.
    I have created three wage types
    2001-Basic Pay
    2002-HRA
    2003-Conveyance
    When I generated remuneration statement all these three wage types where displayed along with EE EPF contribution and VPF contribution which I have assigned earlier in infotype.
    After that for posting to FI, I created three symbolic accounts
    (Basic, HRA and Conveyance together as 0001 symbolic account I(accounted posting to expense report)
    Employees contribution to PF ( i.e.EE EPF contribution and EE VPF contribution) to (PFEE) symbolic account II (accounted posting to balance sheet)
    Employers contribution to PF ( i.e Employer PF contribution and Employer pension contribution) to (PFER) symbolic account III (accounted posting to expense report)
    After this I have grouped employees as 3 for salaried employees, after this I have assigned the same to number 3 to PPMOD under three (I am not sure this is correct, please advise)
    Then with the help of an FI consultant, I assigned PFEE to balance sheet and 0001 and PFER to expense account.
    Now when I activated 'Execute Run' for finance posting of payroll of a personal number an error is shown 'Errors Occured! Check Error Log' “ payroll results could not be imported”.
    I doubt I missed some steps. Please help

    Dear Naveen and Stephen
    This is the message which I got
    <b><b>Payroll results could not be imported
    Message no. 3G112
    Diagnosis
    The payroll results for this employee could not be imported from the database.
    Procedure
    Check the consistency of the payroll results for this employee.</b></b>
    Please help
    Regards
    Santhosh.S

  • Help Required : Adding new Wagetype to IT 0402 Payroll Results

    Dear Experts,
    I am adding a new Wagetype to show in Payroll results. At the step of setting up payroll infotypes a workbench request is created. When I transport this request from my Development server to Quality server I get the following error
       "Table CI_P0402 could not be activated"
    Can anyone please guide me regarding this issue.
    Regards,
    Talha Aftab

    For anyone else facing the same issue : You have to make sure the data elements part of CI_P0402, like ZZTELXXXXX are transported as well. They were not automatically part of my transport, which is why it worked fine on my DEV server, but couldn't be activated when I transported to QAS (The data elements are created for each new wagetype when they are added to 0402, and it is set up)
    Regards,
    Talha Aftab

  • Error while posting payroll results to FI -IN PY

    Dear Consultants,
    When I am posting Payroll results to FI I am able to see the + amount and - amount is equal still it giving error and when I check PCP0 it says incorrect document generated. Please do needful.
    Error message: Error in document: HRPAY 0000000094 DEVCLNT200
    Error in document: HRPAY 0000000094 DEVCLNT200
    Message no. RW609
    Diagnosis
    Errors occurred when checking or posting the document
    Reference type = HRPAY
    Reference key = 0000000094
    Logical system = DEVCLNT200
    You can find the errors in the log.
    System Response
    The document cannot be posted.
    Procedure
    Remove the error in the document and create and post the document again.
    Second error message : Posting period 012 2012 is not open
    Message Text
    Posting period 012 2012 is not open
    Technical Data
    Message type__________
    E (Error)
    Message class_________
    F5 (Document Editing)
    Message number________
    201
    Message variable 1____
    012
    Message variable 2____
    2012
    Message variable 3____
    +
    Message variable 4____
    COSM
    Message Attributes
    Level of detail_______
    2 (Level of detail 2)
    Problem class_________
    Sort criterion________
    Number________________
      1
    Environment Information
    Item__________________
    000
    Please do needful, why this error is coming even though the +and - amount are equal.
    Regards,
    Naresh.KM

    Dear Siva,
    Sorry for delay in reply, as per my understanding I have done the assignment correctly, and the same arrears are coming in RT table as well as in payslip. When I checked the report RPDKON00 I have got a list of wage types assigned to GL account under Country grouping 40,
    A.Define wage type posting characteristics : I have copied arrears, carryforward wage types from their original wage types.
    Example : From Basic pay (which is using in infotype 0008)  I have copied Basic arrear wage type and basic carryforward wage type. and assigned the same in ZN42, ZN43, ZN44 and did the assignment.
    B. Define symbolic account : I have copied the symbolic account which is assigned to Basic wage type and copied the same and created new symbolic account and assigned to only basic arrear wage type which is coming in RT table.
    C .Assigned wage type to symbolic account : I have not assigned arrear wage type symbolic account to Original wge type in V_T53EL. Only Basic wage type symbolic account is mapped here.
    D Mapping symbolic account to G/L account : I have assigned the arrear wage type Symbolic account to the same GL which is assigned to original Basic wage type symbolic account.
    I have followed the same process for all the arrear wage types, and even the report RPDKON00 it is showing the same there is no error message.
    Apart from that I have created a New Symbolic account for /ZF5 and did all assignment, and assigned /ZF5 wage type symbolic account to /3F1 wage type symbolic account and GL mapping also same as /3F1.
    In Standard /552 arrear process there is no /ZF5 postings it will directly deduct the amount.
    Please suggest do I need to check any other area or how can I solve this error. kindly do needful.
    Regards,
    Naresh.KM 

  • Error while posting the payroll results to accounts

    Dear all,
    Im facing a issue while posting the payroll results to the accounts in T.code PC00_M99_CIPE,
    The error log says...
    Inconsistence in payroll results (tables V0/RT)
    Diagnosis:
    An inconsistency results has been found during the evaluation of the payroll results. No referenced entry has been found in table V0.
    Can anybody suggest me wat i hav to do...
    Thanks & regards
    Gopinath.Balakrishnan

    Hi
    Check whether the user is having the authorisation for the t.code PC_PAYRESULT or PC00_M40-PAYRESULT.
    Because some times HR user will run the payroll and FI user will do the postings. If FI user is doing the postings, in general he will not have the authorisation for HR T.codes, then system will give such kind of errors.
    If not check the paryoll results and control record.
    Thanks & Regards
    Bharathi

Maybe you are looking for