Hr Fi Payroll Comperision Report

Hi all,
      I want to generate on report for payroll which show given field.
can anybody help me with it.
i want to know is there any standerd report available?
if NO then which table or cluster i should use??
GL Acnt
Wage type
Hr Doc no
FI doc no
Hr Amount
FI Amount
Difference.
Thank YOu.

Hi
Check with the below Tcode
PC00_MNA_CC_ADM
Hope it is useful for you
with regards
partha
keep sharing and learning

Similar Messages

  • Can I download a spool file from ALV payroll recon report in Fixed Ascii?

    We have a process that imports the spool files from our various nightly payroll recon reports but have recently upgraded to ECC 6.0 and the ALV formatted report does not appear to create a fixed format spool file - the width of the columns changes from spool to spool based on the contents.
    Does anyone know how to accomplish our need?
    Thanks,
    DeWayne

    Does the printer show up in the Windows Printers folder?  We've used PDF995 or Cute pdfwriter for years.  All of these create virtual windows printers.  When you print to them, a dialog box pops up asking for the filename for the pdf.  If you have Activex calls to Excel in order to open a file, you should be able to make ActiveX calls to print it to a print driver such as this.  I don't know if any of these drives have a way to bypass the filename dialog box.  That may take some research and experimentation.  I don't know where the postscript file comes into play in the scenario you are describing.

  • Payroll Reconciliation Report - HR ABAP --- Urgent

    Hi Guys,
    I am having a doubt regarding a standard report very commonly used in HR Reporting in SAP.
    How does it selects the Payroll Results from the cluster ? Based on which date ...?
    Is it Check Date/Payment date or some other date ?
    Actually I have a requirement where i need to fetch the amount for a wagetype.
    In this I need to fetch the values of that wage type based on the check date, i.e. when the company has paid the amount to the person.
    I have to fetch the amount of this wage type for all the payroll runs :
    1 - Regular
    2 - Retro.
    3 - Offcycle.
    I have used the Payroll Reconciliation Report and exporting the final total table which has all the results for the wage type selected on the selection screen for the person between a particular start date and end date.
    But I want to be sure that this way I will get the accurate results.
    If anyone has any idea or know any link to follow please help me out.

    Hi ,
    sample code..
    LOOP AT fp_i_final INTO l_wa_final.
    FORM read_rgdir USING    fp_v_pernr    TYPE persno
                    CHANGING fp_i_rgdir    TYPE ty_t_rgdir.
                            fp_i_errorlog   TYPE ty_t_errorlog.
    *-- Local Declaration
    DATA: l_wa_errorlog TYPE ty_errorlog. " Errorlog Work Area
    *---->  FM for Read routines for cluster CD
      CALL FUNCTION 'CU_READ_RGDIR'
        EXPORTING
          persnr          = fp_v_pernr
        TABLES
          in_rgdir        = fp_i_rgdir
        EXCEPTIONS
          no_record_found = 0
          OTHERS          = 0.
    *---> Cluster Directory details for Payroll
    *---> Results is initial for perticular employee then continue .
        IF l_i_rgdir IS INITIAL.
          CONTINUE.
        ENDIF.
    *----> Off-cycle dates
        IF cb_ocy NE l_c_x.
        ELSE.
    *---> Off-cycle dates
          IF s_bondt-low IS NOT INITIAL AND
             s_bondt-high IS NOT INITIAL .
            DELETE l_i_rgdir WHERE fpbeg LT s_bondt-low  OR
                                   fpend GT s_bondt-high.
          ENDIF.
        ENDIF.
    *----> Check the ARRRES check box
        IF cb_arr = l_c_x.
    *---> Delete the cluster directory details from check date and check the low date.
          IF NOT s_paydt-low IS INITIAL.
            DELETE l_i_rgdir WHERE paydt LT s_paydt-low .
          ENDIF.
    *---> Delete the cluster directory details from check date and check the high and low dates.
          IF NOT s_paydt-low IS INITIAL AND
             NOT s_paydt-high IS INITIAL.
            DELETE l_i_rgdir WHERE paydt LT s_paydt-low OR
                                   paydt GT s_paydt-high .
          ENDIF.
        ENDIF.
    *-- Get the Payroll details for all Personnel Numbers entered
    *-- on Selection Screen
        LOOP AT l_i_rgdir INTO l_wa_rgdir.
    *---> Check for the flag
          IF l_wa_rgdir-srtza NE l_c_p AND
             l_wa_rgdir-srtza NE l_c_o .
    *----> Sub-Routine to get the Payroll results into the
    *----> Payroll RESULTS Table
    *-- Local Declaration
      DATA: l_wa_errorlog TYPE ty_errorlog. " Errorlog Work Area
    *----> FM to get Payroll Results table
      CALL FUNCTION 'PYXX_READ_PAYROLL_RESULT'
        EXPORTING
          employeenumber               = fp_v_pernr
          sequencenumber               = fp_v_seqnr
         read_only_international      = c_x
        CHANGING
          payroll_result               = fp_i_payresult
        EXCEPTIONS
          illegal_isocode_or_clusterid = 1
          error_generating_import      = 2
          import_mismatch_error        = 3
          subpool_dir_full             = 4
          no_read_authority            = 5
          no_record_found              = 6
          versions_do_not_match        = 7
          error_reading_archive        = 8
          error_reading_relid          = 9
          OTHERS                       = 10.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
               WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
               INTO l_wa_errorlog-line.
    *-- Populate Errorlog Int table
        APPEND l_wa_errorlog TO fp_i_errorlog.
        CLEAR  l_wa_errorlog.
      ENDIF.
    *----> Check the check boxs are either ARRRS,Deductions are not taken and Off-cycle.
            IF ( cb_arr = l_c_x AND cb_ded = l_c_x AND cb_ocy = l_c_x ) OR
               ( cb_arr = l_c_x AND cb_ocy = l_c_x ) OR ( cb_ded = l_c_x AND cb_ocy = l_c_x ).
    *----> Check for the Normal Run, Retroactive run and off-cycle run.
    *---> Check the Normal run in pc_payresult
              IF ( l_wa_rgdir-fpper EQ l_wa_rgdir-inper AND
                   l_wa_rgdir-ocrsn IS INITIAL AND  l_wa_rgdir-inocr IS INITIAL ) OR
    *----> Check the Retroactive run pc_payresult
                 ( ( l_wa_rgdir-fpper NE l_wa_rgdir-inper ) AND
                   ( l_wa_rgdir-ocrsn IS INITIAL ) AND ( l_wa_rgdir-inocr IS INITIAL ) ) OR
    *----> Check the Off-cycle run pc_payresult
                 ( ( l_wa_rgdir-fpper NE l_wa_rgdir-inper ) AND
                   ( l_wa_rgdir-ocrsn IS NOT INITIAL  ) OR ( l_wa_rgdir-inocr IS NOT INITIAL ) ).
    *---> Get the Amount for particular Wagetype based on Wagetype
    *---> entered on selection screen
      CLEAR l_wa_lgart.
      LOOP AT fp_p_lgart INTO l_wa_lgart.
       SORT fp_l_i_payresult-inter-rt BY lgart.
        CLEAR l_wa_rt.
    *---> Read the rt cluster results based on the wage type
        LOOP AT fp_l_i_payresult-inter-rt INTO l_wa_rt WHERE lgart = l_wa_lgart-lgart.
          l_wa_final-betrg =  l_wa_rt-betrg.
          l_wa_final-lgart =  l_wa_lgart-lgart.
    *---> Read the fp_i_vendor internal table based on wage type and
    *---> append the lifnr and ernam value to final internal table.
          SORT fp_i_vendor BY lgart.
          CLEAR l_wa_vendor.
          READ TABLE fp_i_vendor INTO l_wa_vendor WITH KEY lgart = l_wa_lgart-lgart BINARY SEARCH.
          IF sy-subrc EQ 0.
           l_wa_final-lifnr = l_wa_vendor-lifnr.
           l_wa_final-crenr = l_wa_vendor-ernam.
         ENDIF.
            l_v_lifnr = l_wa_vendor-lifnr.
            l_v_crenr = l_wa_vendor-ernam.
          ENDIF.
          l_wa_final-lifnr = l_v_lifnr.
          l_wa_final-crenr = l_v_crenr.
          CLEAR : l_v_crenr,l_v_lifnr.
          APPEND  l_wa_final TO i_final1.
    *---> Modify the tax authority to final internal table .
          SORT fp_l_i_payresult-nat-tcrt BY lgart.
          CLEAR l_wa_tcrt.
    *---> Read the tcrt cluster results based on the wage type and
    *---> Get the tax id and tax authority from tcrt cluster.
          READ TABLE fp_l_i_payresult-nat-tcrt INTO l_wa_tcrt
                                    WITH KEY lgart = l_wa_final-lgart BINARY SEARCH.
          IF sy-subrc = 0.
            READ TABLE i_final1 INTO l_wa_final WITH KEY lgart = l_wa_tcrt-lgart."l_wa_final-lgart.
            IF sy-subrc = 0.
              l_wa_final-txcmp =  l_wa_tcrt-txcmp.
              l_wa_final-taxau =  l_wa_tcrt-taxau.
              MODIFY i_final1 FROM l_wa_final INDEX sy-tabix.
            ENDIF.
          ENDIF.
        ENDLOOP.
    *---Crt
       SORT fp_l_i_payresult-inter-crt BY lgart.
        CLEAR l_wa_crt.
    *---> Read the crt cluster results based on the wage type
        LOOP AT fp_l_i_payresult-inter-crt INTO l_wa_crt
                                   WHERE  lgart = l_wa_lgart-lgart.
         l_wa_final-betrg =  l_wa_crt-betrg.
          l_wa_final-lgart =  l_wa_lgart-lgart.
          IF ( l_wa_crt-cumty = l_c_y ) OR ( l_wa_crt-cumty = l_c_k )
          OR ( l_wa_crt-cumty = l_c_d ).
            l_wa_final-ytd =  l_wa_crt-betrg.
          ELSEIF
          ( l_wa_crt-cumty = l_c_f ) OR ( l_wa_crt-cumty = l_c_m ).
            l_wa_final-mtd =  l_wa_crt-betrg.
          ELSEIF
          ( l_wa_crt-cumty = l_c_h ) OR ( l_wa_crt-cumty = l_c_q ).
            l_wa_final-qtd =  l_wa_crt-betrg.
          ENDIF.
          SORT fp_i_vendor BY lgart.
          CLEAR l_wa_vendor.
          READ TABLE fp_i_vendor INTO l_wa_vendor WITH KEY lgart = l_wa_lgart-lgart BINARY SEARCH.
          IF sy-subrc EQ 0.
           l_wa_final-lifnr = l_wa_vendor-lifnr.
           l_wa_final-crenr = l_wa_vendor-ernam.
         ENDIF.
            l_v_lifnr = l_wa_vendor-lifnr.
            l_v_crenr = l_wa_vendor-ernam.
          ENDIF.
          l_wa_final-lifnr = l_v_lifnr.
          l_wa_final-crenr = l_v_crenr.
          CLEAR : l_v_crenr,l_v_lifnr.
          APPEND  l_wa_final TO i_final1 .
    *---> Modify the tax authority to final internal table .
          SORT fp_l_i_payresult-nat-tcrt BY lgart.
          CLEAR l_wa_tcrt.
    *---> Read the tcrt cluster results based on the wage type and
    *---> Get the tax id and tax authority from tcrt cluster.
          READ TABLE fp_l_i_payresult-nat-tcrt INTO l_wa_tcrt
                                    WITH KEY lgart = l_wa_final-lgart BINARY SEARCH.
          IF sy-subrc = 0.
            READ TABLE i_final1 INTO l_wa_final WITH KEY lgart = l_wa_tcrt-lgart."l_wa_final-lgart.
            IF sy-subrc = 0.
              l_wa_final-txcmp =  l_wa_tcrt-txcmp.
              l_wa_final-taxau =  l_wa_tcrt-taxau.
              MODIFY i_final1 FROM l_wa_final INDEX sy-tabix.
            ENDIF.
          ENDIF.
          CLEAR : l_wa_crt.
        ENDLOOP.
    *---DDNTK
       SORT fp_l_i_payresult-inter-ddntk BY lgart.
        CLEAR l_wa_ddntk.
    *---> Read the ddntk cluster results based on the wage type
        LOOP AT fp_l_i_payresult-inter-ddntk INTO l_wa_ddntk
                                   WHERE lgart = l_wa_lgart-lgart .
          l_wa_final-betrg =  l_wa_ddntk-betrg.
          l_wa_final-lgart =  l_wa_lgart-lgart.
    *---> Read the fp_i_vendor internal table based on wage type and
    *---> append the lifnr and ernam value to final internal table.
          SORT fp_i_vendor BY lgart.
          READ TABLE fp_i_vendor INTO l_wa_vendor WITH KEY lgart = l_wa_lgart-lgart BINARY SEARCH.
          IF sy-subrc EQ 0.
           l_wa_final-lifnr = l_wa_vendor-lifnr.
           l_wa_final-crenr = l_wa_vendor-ernam.
         ENDIF.
            l_v_lifnr = l_wa_vendor-lifnr.
            l_v_crenr = l_wa_vendor-ernam.
          ENDIF.
          l_wa_final-lifnr = l_v_lifnr.
          l_wa_final-crenr = l_v_crenr.
          CLEAR : l_v_crenr,l_v_lifnr.
          APPEND  l_wa_final TO i_final1 .
    **---> Modify the tax authority to final internal table .
          SORT fp_l_i_payresult-nat-tcrt BY lgart.
          CLEAR l_wa_tcrt.
    *---> Read the tcrt cluster results based on the wage type and
    *---> Get the tax id and tax authority from tcrt cluster.
          READ TABLE fp_l_i_payresult-nat-tcrt INTO l_wa_tcrt
                                    WITH KEY lgart =  l_wa_final-lgart BINARY SEARCH.
          IF sy-subrc = 0.
            READ TABLE i_final1 INTO l_wa_final WITH KEY lgart = l_wa_tcrt-lgart."l_wa_final-lgart.
            IF sy-subrc = 0.
              l_wa_final-txcmp =  l_wa_tcrt-txcmp.
              l_wa_final-taxau =  l_wa_tcrt-taxau.
              MODIFY i_final1 FROM l_wa_final INDEX sy-tabix.
            ENDIF.
          ENDIF.
        ENDLOOP.
    *---ARRRS
       SORT fp_l_i_payresult-inter-arrrs BY lgart.
        CLEAR l_wa_arrrs.
    *---> Read the arrrs cluster results based on the wage type
        LOOP AT fp_l_i_payresult-inter-arrrs INTO l_wa_arrrs
                                   WHERE lgart = l_wa_lgart-lgart .
          l_wa_final-betrg =  l_wa_arrrs-betrg.
          l_wa_final-lgart =  l_wa_lgart-lgart.
          SORT fp_i_vendor BY lgart.
          CLEAR l_wa_vendor.
          READ TABLE fp_i_vendor INTO l_wa_vendor WITH KEY lgart = l_wa_lgart-lgart BINARY SEARCH.
          IF sy-subrc EQ 0.
           l_wa_final-lifnr = l_wa_vendor-lifnr.
           l_wa_final-crenr = l_wa_vendor-ernam.
         ENDIF.
            l_v_lifnr = l_wa_vendor-lifnr.
            l_v_crenr = l_wa_vendor-ernam.
          ENDIF.
          l_wa_final-lifnr = l_v_lifnr.
          l_wa_final-crenr = l_v_crenr.
          CLEAR : l_v_crenr,l_v_lifnr.
          APPEND  l_wa_final TO i_final1 .
    **---> Modify the tax authority to final internal table .
          SORT fp_l_i_payresult-nat-tcrt BY lgart.
          CLEAR l_wa_tcrt.
    *---> Read the tcrt cluster results based on the wage type and
    *---> Get the tax id and tax authority from tcrt cluster.
          READ TABLE fp_l_i_payresult-nat-tcrt INTO l_wa_tcrt
                                    WITH KEY lgart = l_wa_final-lgart BINARY SEARCH.
          IF sy-subrc = 0.
            READ TABLE i_final1 INTO l_wa_final WITH KEY lgart = l_wa_tcrt-lgart."l_wa_final-lgart.
            IF sy-subrc = 0.
              l_wa_final-txcmp =  l_wa_tcrt-txcmp.
              l_wa_final-taxau =  l_wa_tcrt-taxau.
              MODIFY i_final1 FROM l_wa_final INDEX sy-tabix.
            ENDIF.
          ENDIF.
        ENDLOOP.
      ENDLOOP.
              ENDIF.
      ENDLOOP.
    **---> Cluster Directory details for Payroll Results is initial
    IF l_i_rgdir IS INITIAL.
       MESSAGE i393 .   " no record found for the selection criteria
       LEAVE LIST-PROCESSING .
    ENDIF.
    *---> Final internal table details for Payroll Results is initial
      IF i_final1 IS INITIAL.
        MESSAGE i393 .   " no record found for the selection criteria
        LEAVE LIST-PROCESSING .
      ENDIF.
    If u have any further clarification i will send one sample program..
    Navin..

  • Related to payroll postings-Reports

    Hi all,
    Can anyone tell me what are the reports used to access Personal number, WBS element, amount and Assignment percentage after doing postings to G/L accounts.
    Regards,
    evani

    hi
    Payroll Postings -Report is : RPUPENC0
    Nag

  • Changes to Payroll Recon report in ECC 6.0

    The payroll recon report delivered with ECC 6.0 is very different from the one in 4.6C and we need the same report as 4.6C.
    SAP claims in release notes this is supported but we cannot make it work.
    Has anyone worked through this?
    Thanks

    You're right.  The Recon report is very different in ECC 6.0.  It is in ALV format, though, which is pretty user friendly.  My users were able to sort and subtotal in such a way to get the information they needed.  I would suggest just playing around with the capabilities of the ALV output to see if you can make it work. 
    We discussed reverting back to the old Recon report during the upgrade, but decided not to because it would get hit every time we applied support packs.

  • Check Writer & Payroll Activity report failing

    Hi,
    After upgrade from 10.2.0.3 to 11.2.0.2 database in R12.0.6 application, the Check Writer & Payroll Activity report is failing with following errors:
    REP-0069: Internal error
    REP-57054: In-process job terminated:Finished successfully but output is voided
    R_6990_HRPROC_CHQ_SRW2_FAILED
    APP-PAY-06990: Report Writer report failed with an error
    Pl let me know if anyone has had similar issue?
    thanks

    Please see the suggested solutions in these docs.
    Error Hr_6990_hrproc_chq_srw2_failed When Running Canadian Chequewriter [ID 1087796.1]
    Checkwriter Fails With APP-PAY-06859, APP-PAY-06990,APP-FND-00500: AFPPRN and kgepop Errors in 11.5 [ID 227408.1]
    Checkwriter Fails With Errors HR_6990_HRPROC_CHQ_SRW2_FAILED, APP-PAY-06990 [ID 263862.1]
    Check Writer Fails with Error HR_6990_HRPROC_CHQ_SRW2_FAILED [ID 242563.1]
    Error running the cheque writer process PAY-06990 HR_6990_HRPROC_CHQ_SRW2_FAILED [ID 402550.1]
    Thanks,
    Hussein

  • Payroll Reconciliation Report

    Hi Experts,
                     Can you please resolve this:
    1) Payroll was run for pay-period 12.2008 (2008.12.01 - 2008.12.31)
        FI Posting completed and Net pay paid out via check too.
    2) This payroll of pp 12.2008 was reversed on 9thJan 2009. through Off-Cycle
    3) HR FI Financial was processed and all necessary reversals for the reversed off cycle payroll was processed too.
    Issue: When executing the Payroll Reconciliation Report, it is including the reversals from the last payroll of Dec 2008 but should not, as the reversals were from a 2008 period and should not be on a 2009 Report.
    Thanks And Regards,
    Somdeb Banerjee.

    Hi Sikindar,
    In the payroll reconciliation report:
    In one variant i am giving period selection i.e. pp 01.2009
    In another variant I am giving date selection i.e. 2009.01.01 - 2009.01.31
    In both the cases the report is pulling data for the voided result of 2008. However If I select and check 'Process Last Result Only' in the selection screen, the result is coming fine i.e. the voided result of 2008 is not showing up.
    However my client says that she needs to run this report on a quarterly basis by. So Pay period will not work to run this report. Also if 'Process Last Result Only' is checked, then the report might not pick the retro's.
    Thanks And Regards,
    Somdeb banerjee.

  • Payroll Exception report not working

    Hi
    I am running payroll exception report with seeded report High Gross and High Net.
    The report runs fine but the output is not matching
    It shows correct current balance but previous balance is always zero.
    Steps i followed:
    1) ran the payroll for previous period
    2) pre-payment
    3) payroll archive
    4) run payroll for current payroll
    5) run the Payroll exception report with seeded Gross
    For double check , i also ran the generate run balance to validate all balances.
    So can you please suggest something or is any specific set up is required for this.
    Thanks
    Makarand

    I found out that the payroll message report is the payroll exception report.

  • /4xx wage type error in Payroll Reconciliation Report - wta C941

    We recently updated our 6.04 system to SP74.  Now when we run a Payroll Reconciliation Report with wage type application C941, we get a hard error message as follows:  "You must include the corresponding  /4XX wage type".  Also same error on CCW2 and TAXT wta.
    I have checked table VC_596A_F and it has entries for Y401 - Y406, with corresponding entries for /401 through /406 for all the listed wta's above.
    Any thoughts on what I could check next to find this problem solution?  Any help would be greatly appreciated.
    David Denman

    We recently updated our 6.04 system to SP74.  Now when we run a Payroll Reconciliation Report with wage type application C941, we get a hard error message as follows:  "You must include the corresponding  /4XX wage type".  Also same error on CCW2 and TAXT wta.
    I have checked table VC_596A_F and it has entries for Y401 - Y406, with corresponding entries for /401 through /406 for all the listed wta's above.
    Any thoughts on what I could check next to find this problem solution?  Any help would be greatly appreciated.
    David Denman

  • Magnetic Media is not reconciling with Payroll Reconciliation Report..

    Hello Team
    Can anyone help me how to proceed/what to look at if Magnetic Media is not reconciling with Payroll Reconciliation Report..
    Any insight into this will be highly appreciable.
    Regards
    Raspreet

    Hi Charlene,
    The Recommended way to Reconcile you tax fomrs is as follows.
    1. Take the actual 941's submitted to authority.
    2. Run 941 for all Quarters using SAP Tax reporter and Reconciliation report 941 application.
    3. Run W-2 in Tax reporter and take copy of W-3 and 6559
    4. Run Reconciliation report using W-2 Application.
    Now first match the all 941 totals for all Taxable and Taxes with W-3 total. Then match your W-3 with 6559.
    Remember the totals on your final report has to match by penny to penny. If there are any 941-C take them also into consideration.
    I hope this helps.
    Arti

  • What is payroll Exception report

    Hi All,
    what is an Exception report in Payroll.

    Please go through the below url...might be useful....
    [http://help.sap.com/saphelp_rc10/helpdata/en/61/6a510f539411d1898a0000e8322d00/content.htm]
    This report lists exception messages (per employee) for a given payroll run. For example, an allowance exceeds the maximum limit for the specified tolerance group.
    Mohan

  • Hr payroll reconciliation report

    Hello All,
    i have a Hr reconciliation payroll report and requirement is like
    After Payroll Monthly Run, Payroll Admin and FI needs to fetch detail report on employees actual and to be paid monthly earning components. Report will be used to analyze payroll result before confirming final salary payment.
    and the output should in alv grid format.
    Moderator Message: Refer your Functional specs
    Edited by: kishan P on Sep 9, 2010 5:32 PM

    Hello All,
    i have a Hr reconciliation payroll report and requirement is like
    After Payroll Monthly Run, Payroll Admin and FI needs to fetch detail report on employees actual and to be paid monthly earning components. Report will be used to analyze payroll result before confirming final salary payment.
    and the output should in alv grid format.
    Moderator Message: Refer your Functional specs
    Edited by: kishan P on Sep 9, 2010 5:32 PM

  • Authority check in hr payroll infotype report

    Hi all,
    We have developed a report which gives infotypewise employee details.here we are checking authority for reading employee data.we are applying authority check at selection-screen and while reading the data from database tables.following is the sample code.
    do .
    if  s_abkrs-high < s_abkrs-low.
        authority-check object 'P_PCR'
                  id 'ABRKS' field s_abkrs-high
                  id 'ACTVT' field '01'
                  id 'ACTVT' field '02'.
        if sy-subrc <> 0.
          message id 'ZHR_ERRMSGS' type 'E' number '292' with s_abkrs-low.
        endif.
    exit.
    endif.
        authority-check object 'P_PCR'
                  id 'ABRKS' field s_abkrs-low
                  id 'ACTVT' field '01'
                  id 'ACTVT' field '02'.
        if sy-subrc <> 0.
          message id 'ZHR_ERRMSGS' type 'E' number '292' with s_abkrs-low.
        endif.
      s_abkrs-low = s_abkrs-low + 1.
    enddo.
    my senior says this code is right but it is not checking authority for all infotypes.can anyone suggest what changes are required in this code so that it will check authority for all infotypes.
    Thanks in advance.
    Regards,
    Harshada

    Hi ,
          A select-option will have a structure with four fields (sign , option , low , high) .
          So if you want to use your below code : you cannot check authority.
    loop at s_abkrs.
    authority-check object 'P_PCR'
    id 'ABRKS' field s_abkrs  <-- is an internal table
    id 'ACTVT' field '01'
    id 'ACTVT' field '02'.
    if sy-subrc 0.
    message id 'ZHR_ERRMSGS' type 'E' number '292' with s_abkrs-low.
    endif.
    endloop.
    The other option is :
    If your select option has values only in low ... then you can loop thru it ...
    loop at s_abkrs.
    authority-check object 'P_PCR'
    id 'ABRKS' field s_abkrs-low
    endloop.
    Regards,
    Srini.

  • HR Payroll ALV Report

    Dear experts,
    i have one zreport which shows the Payroll of employee, I m getting the out put of Single Employe only how can i get all user list employee payroll, Selection screen is GET PERNR
    My Code which i need to pass all employee NUmber is
    CALL FUNCTION 'PYXX_GET_EVALUATION_PERIODS'
        EXPORTING
          clusterid                     = 'RX'
          employeenumber                = pernr-pernr      "if user leave the balnk on selection screen this function take all employee
    *   BONUS_DATE                    =
         inper_modif                   = pn-permo
         inper                         = dl_inper
    *   PAY_TYPE                      =
    *   PAY_IDENT                     =
    *   READ_ONLY_INTERNATIONAL       =
        TABLES
    *   RGDIR                         =
          evaluated_periods             = it_pay_result
    EXCEPTIONS
       no_payroll_results            = 1
       no_entry_found_on_cu          = 2
       import_error                  = 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.
    *  IF sy-subrc EQ 0.
      ELSE.
    Thanks in Advance.

    Hi,
    Check the FM - PYXX_READ_PAYROLL_RESULT.. ( This function module has in between ger Pernr & End of selection )
    Append the records to ut internal table..
    See the Sample snippet..
    get pernr.
    wirte this code under Perform (Routine).
    CALL FUNCTION 'PYXX_READ_PAYROLL_RESULT'
          EXPORTING
           clusterid                          = '40'
            employeenumber                     = wa_final-empno
            sequencenumber                     = wa_261-seqnr
          CHANGING
            payroll_result                     = i_payroll
         EXCEPTIONS
           illegal_isocode_or_clusterid       = 1
           error_generating_import            = 2
           import_mismatch_error              = 3
           subpool_dir_full                   = 4
           no_read_authority                  = 5
           no_record_found                    = 6
           versions_do_not_match              = 7
           error_reading_archive              = 8
           error_reading_relid                = 9
           OTHERS                             = 10
        IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
        IF i_payroll IS NOT INITIAL.
          LOOP AT i_payroll-inter-rt INTO i_rt_line.     
            CASE i_rt_line-lgart.
              WHEN '5098'.
                wa_final-car_remb = wa_final-car_remb + i_rt_line-betrg .
              WHEN '5099'.
                wa_final-tel_remb = wa_final-tel_remb + i_rt_line-betrg .
              WHEN '5440'.
                wa_final-med_remb =  wa_final-med_remb + i_rt_line-betrg .
              WHEN '5660'.
                wa_final-lta_remb = wa_final-lta_remb + i_rt_line-betrg .
            ENDCASE.
            CLEAR i_rt_line.
          ENDLOOP.
    Append your workarea to internal table,
        ENDIF.
    end-of-selection.
    Regards,
    Praveen

  • Concatenate fields in hr payroll attendance report

    Hi all,
    I need to concatenate three fields PERNR, BEGDA and  ATTIND  into a string.after concatenating I need to count no. of records present for this combination into internal table and compare this count with other oracle database records count.if both counts are not same then need to display these three fields mismatched records in the output.can anyone provide some help to achieve this.
    Thanks in advance,
    Regards,
    Harshada

    Hi,
    Create an internal table with 2 columns; first being the concatenated string field, the other being an integern (name it COUNT or something meaningful).
    Build up your internal table by doing the concatenation - move the concatenated value into the first field.  Set the second field to 1 then COLLECT the entries into the internal table.  After processing, there will be only one entry for each combination and the COUNT column will indicate the number of times that combination was found.
    Regards,   Andy

Maybe you are looking for

  • Failed to start Oracle Weblogic Server node in 11g

    Hello friends, I have a problem starting the Weblogic Server node Oracle 11g (10.3.5). Any suggestions to solve the problem Logs---------------------------------------------------------------------------------- <Nov 3, 2011 12:33:03 PM> <INFO> <NodeM

  • Can I put a 1 TB hard drive on my early 2011 8gb/2.4 ghz 13' macbook pro

    I would like to upgrade my early 2011 macbook pro with a 250 GB hard drive to a 1 TB drive.  Is this possible?  What internal hard drives will fit into the 13" macbook pro?  it has 8 GB of RAM and is the  2.4 GHZ model. Thanks Laurie

  • Difference Between SAP ECC. 6.0(standard) and Retail

    What is the difference between SAP with out Retail system and with retail system? when its compares to Manufacture industry, how its different in Retail Industry? This is general question and should understand before going for retail? appreciate who

  • Movement Type & Milestone conf

    Hi For Auto goods receipt which movement type system will use? what is the difference between movement types 101 and 131? what are the disadvantages of Milestone confirmation? Regards, Srihari.M

  • JTree: how to rename or substitute folders/leafs ?

    Try to work with JTree … Tutorial and api description is not really clear. Could someone tell me: 1. How can I change name of root or any folder/leaf from my program? 2. How can I substitute the whole showed tree or some part of it, without deleting