Regarding payroll report abap hr

hi experts
i have developed one payroll report for indian payroll
its working fine for  For View payroll periods like PC00 M99 CWTR - Wage type reporter
i have used HRCM PAYROLL RESULTS GET this function module to fetch payroll results.
Problem is
my end user asking in view payroll perids like PC00 M99 CWTR - Wage type reporter 
plz tell me the alternative procedure for fetching in view payroll perids.
please send me sample payroll report
thanks advance

have a go at using this base code.
data: go_prr type ref to cl_hrpay99_prr_4_pnp_reps,
      gt_pernr_pr type h99_hr_pay_result_tab,
      go_pernr_pr type ref to cl_hr_pay_result_gb,
      g_retro     type h99_add_retroes,
      im_pnpabkrs type hrpy_tt_abkrs.
tables: pernr,
        t512t.
select-options r_lgart for t512t-lgart.
parameters:   p_inper  radiobutton group g1,
              p_frper  radiobutton group g1.
field-symbols <pernr_pr> type ref to cl_hr_pay_result.
field-symbols <wa_rt>    type pc207.
field-symbols <wa_crt>   type pc208.
start-of-selection.
  im_pnpabkrs = pnpabkrs[].
  if not p_inper is initial.
    g_retro = 'X'.
  else.
    g_retro = ' '.
  endif.
Call the method that gets the payroll info
  call method cl_hrpay99_prr_4_pnp_reps=>get_instance
    exporting
      im_pn_begda             = pn-begda
      im_pn_endda             = pn-endda
      im_ipview               = g_retro        "In period
      im_pnpabkrs             = im_pnpabkrs    "For sepecif payroll areas only
      im_molga                = '08'
      im_add_retroes_to_rgdir = g_retro        "In period Retors
    importing
      ex_prr                  = go_prr
    exceptions
      invalid_entries         = 1.
  if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  endif.
  write:/ 'Payroll Results from RT Table'.
  skip.
  write: / 'Emp No  ',
           'For Pd',
           'In PER',
           'S',
           'WTs ',
           '              AMOUNT',
           '                 RATE',
           '                UNITS',
           'FP PAY',
           'IN PAY'.
get pernr.
get the actual payments
  call method go_prr->get_pernr_payr_results_allin1
    exporting
      im_pernr                 = pernr-pernr
    importing
      ex_pernr_payroll_results = gt_pernr_pr
    exceptions
      others                   = 1.
  check sy-subrc = 0.
  loop at gt_pernr_pr assigning <pernr_pr>.
    go_pernr_pr ?= <pernr_pr>.
    loop at go_pernr_pr->inter-rt assigning <wa_rt>.
      check <wa_rt>-lgart in r_lgart.
Paid 'In Period' subtract any item that is a part payment
      if not p_inper is initial.
        if go_pernr_pr->period-srtza = 'P'.
          <wa_rt>-anzhl = <wa_rt>-anzhl * -1.
          <wa_rt>-betrg = <wa_rt>-betrg * -1.
          <wa_rt>-betpe = <wa_rt>-betpe * -1.
        endif.
        write : / pernr-pernr,
                  go_pernr_pr->period-fpper, go_pernr_pr->period-inper,
                  go_pernr_pr->period-srtza, <wa_rt>-lgart, <wa_rt>-betrg, <wa_rt>-betpe,
                  <wa_rt>-anzhl,
                 go_pernr_pr->inter-versc-abkrs, '   ', go_pernr_pr->inter-versc-iabkrs.
      else.
This part is 'For Period'
        check go_pernr_pr->period-srtza = 'A'.
        write : / pernr-pernr,
                 go_pernr_pr->period-fpper, go_pernr_pr->period-inper,
                 go_pernr_pr->period-srtza, <wa_rt>-lgart, <wa_rt>-betrg, <wa_rt>-betpe,
                <wa_rt>-anzhl ,
                 go_pernr_pr->inter-versc-abkrs, '  ', go_pernr_pr->inter-versc-iabkrs.
      endif.
    endloop.
  endloop.
Jules

Similar Messages

  • HR-ABAP Payroll report

    Hi Gurus,
       I have to display payroll report ( With PNP logical data base ), where in I have to compare indicator 'P' & 'A' records of each personal number for given period.
      sample code & useful links will be  rewarded with points.
    Thanks,
    U.S.Raju

    refer program
    EXAMPLE_PNP_GET_PAYROLL.
    It might be useful to u....

  • Performance issue in HR Payroll Report

    Hi Experts
    I having performance issue in HR payroll report
    My issue as follows
    I have selection period to select date range
    if I select start date & end date Which is giving EMP name, wage type,wage text, amount, etc
    whenever I excute it takes morethan one hour to get the resust
    my code is some wht like this
    loop at GT_REDIR where
    begda(start date) ge pnpbegda and
    endat(end date) le pnpendat and
    paytyp eq ''
    move gt-sqnr to  lv_sqnr
    call function PYXX_READ_PAYROLL_RESULT
    here i am passing pernr  and sequence number
    please give me some idea to fix this issue
    Thanks in Advance
    Gopinath Subramanyam

    Hi Jhings
    Thanks for Your immediate reply
    data is  coming from cluster table and also I am using Logical database
    I will post my code here soon
    Regards
    Gopinath subramayam

  • Unable to read the wage type amount in payroll report output...

    Hi all,
    In the program below I am not able to see the car amount incurred by the office in the output, please find the error....
    Regards
    john
    *& Report  ZHR_PY_REPORT1                                              *
    REPORT  ZHR_PY_REPORT1                          .
             TABLES
    TABLES : PERNR.
          INFOTYPES
    INFOTYPES : 0000,
                0001,
                0002,
                0006,
                0105.
         STRUCTURES
    TYPES : BEGIN OF T_FINAL,
            PERNR  TYPE PERNR_D,
            STAT2  TYPE STAT2,
            BUKRS  TYPE BUKRS,
            PLANS  TYPE PLANS,
            ORGEH  TYPE ORGEH,
            ABKRS  TYPE ABKRS,
            VORNA  TYPE VORNA,
            NACHN  TYPE NACHN,
            GBDAT  TYPE GBDAT,
            STRAS  TYPE STRAS,
            ORT01  TYPE ORT01,
            PSTLZ  TYPE PSTLZ,
            MAILID TYPE CHAR255,
            CARAT  TYPE CHAR15,
            END OF T_FINAL.
          INTERNAL TABLES
    DATA : IT_FINAL TYPE STANDARD TABLE OF T_FINAL.
          WORK AREAS
    DATA : WA_FINAL  TYPE T_FINAL.
    PARAMETER : P_DOWN AS CHECKBOX.
    START-OF-SELECTION.
    GET PERNR.
    *SUBROUTINE TO FETCH DATA FROM INFOTYPES
      PERFORM F_FETCH_DATA_FROM_INFTY.
    END-OF-SELECTION.
    *SUBROUTINE TO DISPLAY DATA
      PERFORM F_DISPLAY_DATA.
    *&      Form  F_FETCH_DATA_FROM_INFTY
          text
    FORM F_FETCH_DATA_FROM_INFTY .
      RP_PROVIDE_FROM_LAST P0000 SPACE PN-BEGDA PN-ENDDA.
      IF PNP-SW-FOUND EQ '1'.
        WA_FINAL-PERNR = P0000-PERNR.
        WA_FINAL-STAT2 = P0000-STAT2.
      ENDIF.
      RP_PROVIDE_FROM_LAST P0001 SPACE PN-BEGDA PN-ENDDA.
      IF PNP-SW-FOUND EQ '1'.
        WA_FINAL-BUKRS = P0001-BUKRS.
        WA_FINAL-PLANS = P0001-PLANS.
      ENDIF.
      RP_PROVIDE_FROM_LAST P0002 SPACE PN-BEGDA PN-ENDDA.
      IF PNP-SW-FOUND EQ '1'.
        WA_FINAL-VORNA = P0002-VORNA.
        WA_FINAL-NACHN = P0002-NACHN.
      ENDIF.
      RP_PROVIDE_FROM_LAST P0006 SPACE PN-BEGDA PN-ENDDA.
      IF PNP-SW-FOUND EQ '1'.
        WA_FINAL-STRAS = P0006-STRAS.
        WA_FINAL-ORT01 = P0006-ORT01.
      ENDIF.
      RP_PROVIDE_FROM_LAST P0105 '0010' PN-BEGDA PN-ENDDA.
      IF PNP-SW-FOUND EQ '1'.
        WA_FINAL-MAILID = P0105-USRID_LONG.
      ENDIF.
    *SUBROUTINE TO FETCH EMPLOYEE PAYROLL RESULTS
      PERFORM F_FETCH_PAYROLL_DATA.
      APPEND WA_FINAL TO IT_FINAL.
      CLEAR WA_FINAL.
    ENDFORM.                    " F_FETCH_DATA_FROM_INFTY
    *&      Form  F_DISPLAY_DATA
          text
    FORM F_DISPLAY_DATA .
      LOOP AT IT_FINAL INTO WA_FINAL.
       AT FIRST.
         WRITE : / 'EMP.NO',
                 10 'FIRST NAME',
                 20 'COMPANY CODE'.
       ENDAT.
        WRITE : / WA_FINAL-PERNR,
                10 WA_FINAL-VORNA,
                20 WA_FINAL-BUKRS,
                30 WA_FINAL-CARAT.
      ENDLOOP.
    ENDFORM.                    " F_DISPLAY_DATA
    *&      Form  F_FETCH_PAYROLL_DATA
          text
    FORM F_FETCH_PAYROLL_DATA .
      DATA : W_MOLGA TYPE MOLGA,
             W_SEQNR TYPE CDSEQ,
             W_RELID TYPE RELID_PCL2.
      DATA : IT_RGDIR TYPE STANDARD TABLE OF PC261,
             IT_RESULT  TYPE PAY99_RESULT.
      DATA : WA_RT TYPE PC207.
      CALL FUNCTION 'CU_READ_RGDIR'
        EXPORTING
          PERSNR          = P0000-PERNR
        IMPORTING
          MOLGA           = W_MOLGA
        TABLES
          IN_RGDIR        = IT_RGDIR
        EXCEPTIONS
          NO_RECORD_FOUND = 1
          OTHERS          = 2.
      IF SY-SUBRC EQ 0.
        CALL FUNCTION 'CD_READ_LAST'
          EXPORTING
            BEGIN_DATE      = PN-BEGDA
            END_DATE        = PN-ENDDA
          IMPORTING
            OUT_SEQNR       = W_SEQNR
          TABLES
            RGDIR           = IT_RGDIR
          EXCEPTIONS
            NO_RECORD_FOUND = 1
            OTHERS          = 2.
        IF SY-SUBRC EQ 0.
          SELECT SINGLE RELID FROM T500L INTO W_RELID WHERE MOLGA = W_MOLGA
          IF SY-SUBRC EQ 0.
            CALL FUNCTION 'PYXX_READ_PAYROLL_RESULT'
              EXPORTING
                CLUSTERID                    = w_relid
                EMPLOYEENUMBER               = P0000-PERNR
                SEQUENCENUMBER               = W_SEQNR
                READ_ONLY_INTERNATIONAL      = 'X'
              CHANGING
                PAYROLL_RESULT               = IT_RESULT
              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
                OTHERS                       = 8.
            IF SY-SUBRC EQ 0.
              LOOP AT IT_RESULT-INTER-RT INTO WA_RT.
                IF WA_RT-LGART EQ 'M810'.
                  WA_FINAL-CARAT = WA_RT-BETRG.
                ENDIF.
              ENDLOOP.
            ENDIF.
          ENDIF.
        ENDIF.
      ENDIF.
    ENDFORM.                    " F_FETCH_PAYROLL_DATA

    Hi all,
    In the program below I am not able to see the car amount incurred by the office in the output, please find the error....
    Regards
    john
    *& Report  ZHR_PY_REPORT1                                              *
    REPORT  ZHR_PY_REPORT1                          .
             TABLES
    TABLES : PERNR.
          INFOTYPES
    INFOTYPES : 0000,
                0001,
                0002,
                0006,
                0105.
         STRUCTURES
    TYPES : BEGIN OF T_FINAL,
            PERNR  TYPE PERNR_D,
            STAT2  TYPE STAT2,
            BUKRS  TYPE BUKRS,
            PLANS  TYPE PLANS,
            ORGEH  TYPE ORGEH,
            ABKRS  TYPE ABKRS,
            VORNA  TYPE VORNA,
            NACHN  TYPE NACHN,
            GBDAT  TYPE GBDAT,
            STRAS  TYPE STRAS,
            ORT01  TYPE ORT01,
            PSTLZ  TYPE PSTLZ,
            MAILID TYPE CHAR255,
            CARAT  TYPE CHAR15,
            END OF T_FINAL.
          INTERNAL TABLES
    DATA : IT_FINAL TYPE STANDARD TABLE OF T_FINAL.
          WORK AREAS
    DATA : WA_FINAL  TYPE T_FINAL.
    PARAMETER : P_DOWN AS CHECKBOX.
    START-OF-SELECTION.
    GET PERNR.
    *SUBROUTINE TO FETCH DATA FROM INFOTYPES
      PERFORM F_FETCH_DATA_FROM_INFTY.
    END-OF-SELECTION.
    *SUBROUTINE TO DISPLAY DATA
      PERFORM F_DISPLAY_DATA.
    *&      Form  F_FETCH_DATA_FROM_INFTY
          text
    FORM F_FETCH_DATA_FROM_INFTY .
      RP_PROVIDE_FROM_LAST P0000 SPACE PN-BEGDA PN-ENDDA.
      IF PNP-SW-FOUND EQ '1'.
        WA_FINAL-PERNR = P0000-PERNR.
        WA_FINAL-STAT2 = P0000-STAT2.
      ENDIF.
      RP_PROVIDE_FROM_LAST P0001 SPACE PN-BEGDA PN-ENDDA.
      IF PNP-SW-FOUND EQ '1'.
        WA_FINAL-BUKRS = P0001-BUKRS.
        WA_FINAL-PLANS = P0001-PLANS.
      ENDIF.
      RP_PROVIDE_FROM_LAST P0002 SPACE PN-BEGDA PN-ENDDA.
      IF PNP-SW-FOUND EQ '1'.
        WA_FINAL-VORNA = P0002-VORNA.
        WA_FINAL-NACHN = P0002-NACHN.
      ENDIF.
      RP_PROVIDE_FROM_LAST P0006 SPACE PN-BEGDA PN-ENDDA.
      IF PNP-SW-FOUND EQ '1'.
        WA_FINAL-STRAS = P0006-STRAS.
        WA_FINAL-ORT01 = P0006-ORT01.
      ENDIF.
      RP_PROVIDE_FROM_LAST P0105 '0010' PN-BEGDA PN-ENDDA.
      IF PNP-SW-FOUND EQ '1'.
        WA_FINAL-MAILID = P0105-USRID_LONG.
      ENDIF.
    *SUBROUTINE TO FETCH EMPLOYEE PAYROLL RESULTS
      PERFORM F_FETCH_PAYROLL_DATA.
      APPEND WA_FINAL TO IT_FINAL.
      CLEAR WA_FINAL.
    ENDFORM.                    " F_FETCH_DATA_FROM_INFTY
    *&      Form  F_DISPLAY_DATA
          text
    FORM F_DISPLAY_DATA .
      LOOP AT IT_FINAL INTO WA_FINAL.
       AT FIRST.
         WRITE : / 'EMP.NO',
                 10 'FIRST NAME',
                 20 'COMPANY CODE'.
       ENDAT.
        WRITE : / WA_FINAL-PERNR,
                10 WA_FINAL-VORNA,
                20 WA_FINAL-BUKRS,
                30 WA_FINAL-CARAT.
      ENDLOOP.
    ENDFORM.                    " F_DISPLAY_DATA
    *&      Form  F_FETCH_PAYROLL_DATA
          text
    FORM F_FETCH_PAYROLL_DATA .
      DATA : W_MOLGA TYPE MOLGA,
             W_SEQNR TYPE CDSEQ,
             W_RELID TYPE RELID_PCL2.
      DATA : IT_RGDIR TYPE STANDARD TABLE OF PC261,
             IT_RESULT  TYPE PAY99_RESULT.
      DATA : WA_RT TYPE PC207.
      CALL FUNCTION 'CU_READ_RGDIR'
        EXPORTING
          PERSNR          = P0000-PERNR
        IMPORTING
          MOLGA           = W_MOLGA
        TABLES
          IN_RGDIR        = IT_RGDIR
        EXCEPTIONS
          NO_RECORD_FOUND = 1
          OTHERS          = 2.
      IF SY-SUBRC EQ 0.
        CALL FUNCTION 'CD_READ_LAST'
          EXPORTING
            BEGIN_DATE      = PN-BEGDA
            END_DATE        = PN-ENDDA
          IMPORTING
            OUT_SEQNR       = W_SEQNR
          TABLES
            RGDIR           = IT_RGDIR
          EXCEPTIONS
            NO_RECORD_FOUND = 1
            OTHERS          = 2.
        IF SY-SUBRC EQ 0.
          SELECT SINGLE RELID FROM T500L INTO W_RELID WHERE MOLGA = W_MOLGA
          IF SY-SUBRC EQ 0.
            CALL FUNCTION 'PYXX_READ_PAYROLL_RESULT'
              EXPORTING
                CLUSTERID                    = w_relid
                EMPLOYEENUMBER               = P0000-PERNR
                SEQUENCENUMBER               = W_SEQNR
                READ_ONLY_INTERNATIONAL      = 'X'
              CHANGING
                PAYROLL_RESULT               = IT_RESULT
              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
                OTHERS                       = 8.
            IF SY-SUBRC EQ 0.
              LOOP AT IT_RESULT-INTER-RT INTO WA_RT.
                IF WA_RT-LGART EQ 'M810'.
                  WA_FINAL-CARAT = WA_RT-BETRG.
                ENDIF.
              ENDLOOP.
            ENDIF.
          ENDIF.
        ENDIF.
      ENDIF.
    ENDFORM.                    " F_FETCH_PAYROLL_DATA

  • About PAYROLL in ABAP-HR

    Can anyone share some information about PAYROLL in ABAP-HR in specefic U.K

    Can be helpful for the Report generation like salary register and reconcile of payroll for certain periods by accessing tables, RT, CRT& LRT.
    all the best

  • Payroll report authorization

    Hi experts,
    I use P_ABAP in payroll report, COARS value is "1".
    I met a case that an employee was in personal area "0001"  from 2007.04.01  to 2007.05.31. Since 2007.06.01 he has been in in personal area "0002'.
    I run payroll report to query his payroll result from 2007.04.01  to 2007.05.31, but i failed. I get message;
    "Personnel numbers skipped by the database driver"
    "Reason 1: insufficient authorization, no. skipped personnel nos.:"
    How can i do query the employee's payroll result in Pa Aare "0001"?
    Thank you !
    NT

    Hi Om,
    Thank you for the kind help.
    I can query the employee by t_code PPOME from 2007.04.01 to 2007.05.31, so I think structural authorization seems fine.  And by t_code PA20 also can query him. 
    But I can't query his payroll result by running payroll report, and standard PNP report catorgary used in the payroll report.
    I don't know whether I took mistake in assignment authorization to the report with P_ABAP ?
    Best regards,
    NT

  • Want A Sample PayRoll Report

    Hi All Experts,
        I am new to ABAP-HR,I want One Sample PayRoll Report.Thanks in Advance.

    am providing you the e-link :
    http://cma.zdnet.com/book/abap/
    http://cma.zdnet.com/book/abap/index.htm
    http://www.sapdevelopment.co.uk/
    http://www.sap-img.com/
    http://juliet.stfx.ca/people/fac/infosys/abap.htm
    http://help.sap.com/saphelp_46c/helpdata/en/d3/2e974d35c511d1829f0000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_46c/helpdata/en/d6/0db357494511d182b70000e829fbfe/frameset.htm
    http://www.henrikfrank.dk/abapexamples/SapScript/sapscript.htm
    http://www.sapgenie.com/abap/example_code.htm
    http://www.geocities.com/SiliconValley/Campus/6345/abapindx.htm
    http://help.sap.com/printdocu/core/Print46c/en/Data/Index_en.htm
    http://help.sap.com/saphelp_40b/helpdata/en/4f/991f82446d11d189700000e8322d00/applet.htm
    http://www.sap-img.com/abap-function.htm
    http://www.sapgenie.com/abap/code/abap19.htm
    http://www.sap-img.com/abap/more-than-100-abap-interview-faqs.htm
    http://www.planetsap.com/Tips_and_Tricks.htm
    http://help.sap.com/saphelp_40b/helpdata/ru/d6/0dc169494511d182b70000e829fbfe/applet.htm
    http://www.henrikfrank.dk/abapexamples/SapScript/symbols.htm
    http://www.henrikfrank.dk/abapexamples/index.html
    http://sap.ittoolbox.com/documents/document.asp?i=752
    http://members.aol.com/_ht_a/skarkada/sap/
    http://sappoint.com/abap/
    http://members.tripod.com/abap4/SAP_Functions.html
    http://members.ozemail.com.au/~anmari/sap/index.html
    http://www.planetsap.com/Userexit_List.htm
    http://www.planetsap.com/Tips_and_Tricks.htm
    http://www.kabai.com/abaps/q.htm
    http://www.planetsap.com/Userexit_List.htm
    http://help.sap.com/saphelp_bw21c/helpdata/en/c4/3a8090505211d189550000e829fbbd/frameset.htm
    http://www.sapgenie.com/abap/bapi/example.htm
    http://help.sap.com/saphelp_45b/helpdata/en/65/897415dc4ad111950d0060b03c6b76/content.htm
    http://www.sap-basis-abap.com/index.htm
    http://help.sap.com/saphelp_40b/helpdata/en/fc/eb2c46358411d1829f0000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_46c/helpdata/en/aa/aeb23789e95378e10000009b38f8cf/frameset.htm
    http://www.geocities.com/ResearchTriangle/1635/system.html
    http://www.sapdesignguild.org/resources/MiniSG/3_Managing/3_Functions_Table_Control.htm
    http://help.sap.com/saphelp_45b/helpdata/en/d1/801bdf454211d189710000e8322d00/content.htm
    http://www.sapfans.com/sapfans/repos/saprep.htm
    http://www.planetsap.com/howdo_a.htm
    http://help.sap.com/saphelp_util464/helpdata/en/69/c2516e4ba111d189750000e8322d00/content.htm
    http://www.sapgenie.com/abap/smartforms_detail.htm
    http://www.sap-img.com/abap.htm
    http://help.sap.com/saphelp_46c/helpdata/en/fc/eb2d67358411d1829f0000e829fbfe/content.htm
    http://www.geocities.com/victorav15/sapr3/abap.html
    http://www.henrikfrank.dk/abapexamples/SapScript/sapscript.htm
    http://abap4.tripod.com/Other_Useful_Tips.html
    http://help.sap.com/saphelp_45b/helpdata/en/cf/21ee2b446011d189700000e8322d00/content.htm
    http://www.sap-basis-abap.com/sapmm.htm
    http://sap.ittoolbox.com/nav/t.asp?t=303&p=448&h1=303&h2=322&h3=448
    http://sapfans.com/
    http://cma.zdnet.com/book/abap/ch03/ch03.htm
    http://help.sap.com/saphelp_40b/helpdata/en/4f/991f82446d11d189700000e8322d00/applet.htm
    http://sappoint.com/abap/
    http://www.henrikfrank.dk/abapuk.html
    http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/abapindx.htm
    http://www.sapgenie.com/abap/index.htm
    http://www.sap-img.com/abap.htm
    http://www.sapdevelopment.co.uk/tips/tipshome.htm
    http://help.sap.com/printdocu/core/Print46c/en/Data/Index_en.htm
    http://sap.ittoolbox.com/nav/t.asp?t=322&p=322&h1=322
    http://sap.ittoolbox.com/nav/t.asp?t=448&p=448&h1=448
    http://www.thespot4sap.com/
    http://www.kabai.com/abaps/q.htm
    http://www.geocities.com/mpioud/Abap_programs.html
    http://www.sapgenie.com/abap/tips_and_tricks.htm
    http://www.sapassist.com/code/d.asp?whichpage=1&pagesize=10&i=10&a=c&o=&t=&q=&qt=
    For FAQ
    http://www.sap-img.com/abap/more-than-100-abap-interview-faqs.htm
    http://www.sapgenie.com/faq/abap.htm
    BAPI-step by step
    http://www.sapgenie.com/abap/bapi/example.htm
    Weblog for receive email and processing it through ABAP
    /people/thomas.jung3/blog/2004/09/09/receiving-e-mail-and-processing-it-with-abap--version-610-and-higher
    For Logical database
    http://help.sap.com/saphelp_46c/helpdata/en/9f/db9bed35c111d1829f0000e829fbfe/frameset.htm
    very useful
    http://help.sap.com/saphelp_46c/helpdata/EN/35/2cd77bd7705394e10000009b387c12/frameset.htm
    Useful link to websites
    http://www.hernangn.com.ar/sap.htm
    Useful for background
    http://www.sappoint.com/basis/bckprsng.pdf
    http://help.sap.com/saphelp_nw04/helpdata/en/6f/08703713bf277ee10000009b38f8cf/frameset.htm
    http://publib.boulder.ibm.com/infocenter/wbihelp/index.jsp?topic=/com.ibm.wbix_adapters.doc/doc/mysap4/sap4x41.htm
    Table control in BDC
    http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm
    For posting weblog,
    /people/sap.user72/blog/2005/06/28/sdn-weblogs-making-it-easier
    Dynamic Internal table -weblog in sdn
    /people/subramanian.venkateswaran2/blog/2004/11/19/dynamic-internal-table
    Smartforms
    http://www.sap-basis-abap.com/sapsf001.htm
    http://www.sap-press.com/downloads/h955_preview.pdf
    http://www.ossincorp.com/Black_Box/Black_Box_2.htm
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    How to trace smartform
    http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
    Workflow
    http://www.sap-img.com/workflow/sap-workflow.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/a5/172437130e0d09e10000009b38f839/frameset.htm
    For examples on WorkFlow...check the below link..
    http://help.sap.com/saphelp_47x200/helpdata/en/3d/6a9b3c874da309e10000000a114027/frameset.htm
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
    http://help.sap.com/saphelp_47x200/helpdata/en/4a/dac507002f11d295340000e82dec10/frameset.htm
    http://www.workflowing.com/id18.htm
    http://www.e-workflow.org/
    http://web.mit.edu/sapr3/dev/newdevstand.html
    ALV
    http://www.geocities.com/mpioud/Abap_programs.html
    Mail
    http://www.geocities.com/mpioud/Z_EMAIL_ABAP_REPORT.html
    http://www.thespot4sap.com/Articles/SAP_Mail_SO_Object_Send.asp
    http://www.sapdevelopment.co.uk/reporting/email/attach_xls.htm
    BOM Explosion
    /people/prakash.singh4/blog/2005/05/15/explode-boms-in-enterprise-portal-using-htmlb-tree--part-1-abap
    BOM
    http://help.sap.com/saphelp_erp2005/helpdata/en/ea/e9b7234c7211d189520000e829fbbd/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/d1/2e4114a61711d2b423006094b9d648/frameset.htm
    http://www.sap-img.com/sap-sd/sales-bom-implementation.htm
    http://www.sap-basis-abap.com/sappp007.htm
    OLE
    http://www.sapgenie.com/abap/ole.htm
    http://help.sap.com/saphelp_46c/helpdata/en/59/ae3f2e488f11d189490000e829fbbd/frameset.htm
    ALVGRID with refresh
    http://www.geocities.com/mpioud/Z_DEMO_ALV_REFRESH_BUTTON.html
    For language setting and decimal separator
    /people/horst.keller/blog/2004/11/16/abap-geek-7-150-babylonian-confusion
    Oracle queries
    http://sqlzoo.net/
    To format SQL
    http://www.sqlinform.com/
    SCOT settings
    http://www.sap-img.com/basis/basis-faq.htm
    Status Icon ALV,Table Control,Tab Strip
    http://www.sapdesignguild.org/resources/MiniSG-old/from_develop/norm_status_icons.htm#positioning_4
    ALV Group Heading
    http://www.sap-img.com/fu037.htm
    For multiMedia
    /people/thomas.jung3/blog/2005/05/11/using-classic-activex-controls-in-the-abap-control-framework
    Uploading LOGO in SAP
    http://www.sap-img.com/ts001.htm
    LSMW
    http://www.sap-img.com/sap-data-migration.htm
    http://www.sapgenie.com/saptech/lsmw.htm
    http://sapabap.iespana.es/sapabap/manuales/pdf/lsmw.pdf
    http://www.sap.info/public/INT/int/glossary/int/glossaryletter/Word-17643ed1d6d658821_glossary/L#Word-17643ed1d6d658821_glossary
    Here are the two links which contains lots of PDFS:
    http://www.easymarketplace.de/online-pdfs-q-s.php
    http://www.consolut.de/saphelp/sap_online_help.html

  • Information about UK payroll in ABAP HR

    1)Can anyone share some information about UK payroll in ABAP HR especially INCLUDES that need to be used while getting payroll results from clusters.
    2)Interface programs in ABAP-HR.

    Can be helpful for the Report generation like salary register and reconcile of payroll for certain periods by accessing tables, RT, CRT& LRT.
    all the best

  • How to insert a value in the Validity Table with Report ABAP

    Hi,
    I should insert in the validity table in the field "To Mode" the value "R" through a report ABAP.
    Is possible? Have I seen that the exist FM RSDV_INSERT_VALID_TAB. Is possible to use ? As?
    Thanks.

    Hi, thanks the same to everybody. I have already resolved.
    Regards.
    Charly1

  • Certified Payroll Report: WH347

    Hi Gurus,
    I am in the process of creating the Certified Payroll Report for US. It is a very common report for US tax processes, and it is hard to believe that, it does NOT come seeded.
    It would be great, if you could share it with me, if you have it.
    Thanks a bunch!
    - Viky

    try wage type reporter.
    PC00_M99_CWTR 
    you can select the specific wage types you are needing.
    regards
    stefan

  • Standard HR & Payrol Reporting

    Hi all,
    This may or may not be int he right threat (so apologies).
    Just starting out with Oracle and was wondering if there is a document somewhere out there that lists:
    - all standard HR & Payroll reports
    - the name of each report
    - what parameters are used within that report
    I have looked here http://download.oracle.com/docs/cd/B53825_08/current/html/docset.html and at this document Oracle HRMS Window Navigation and Reports Guide, but it doesnt really contain a lot of the infomation that I am looking for.
    Thanks again for any help you are able to offer me.
    Regards
    Ant

    HI,
    Pls check below links for simialr discussion:-
    List of HR standard reports and description
    standard reports for Core HR/SSHR
    Thanks,
    JD

  • IN HR PAYROLL REPORT USING PNP LOGICAL DATABASE

    Dear abapers,
                            when i ab runing HR payroll report usin PNP Logical database there are some error occurs.
                INCLUDE  DBPNPCOM
                         IN UNICODE PROGRAMS, THE "-" CHARECTOR CAN NOT APPEAR IN NAME , AS IT DOES HERE IN THE NAME
                        PNP-SW-FOUND.
         INCLUDE  DBPNPCOM
                       IN UNICODE PROGRAMS , THE "-" THE CHARECTOR CAN NOT APPEAR  IN NAMES, AS IT DOES HERE IN THE NAME
                       PNP-SW-IGNORELOCKEDRECORDS.
         INCLUDE  DBPNPCOM
                       IN UNICODE PROGRAMS , THE "-" THE CHARECTOR CAN NOT APPEAR  IN NAMES, AS IT DOES HERE IN THE NAME
                       PNP-SW-ENQUEUEPERNR.
                            PLEASE GIVE ME SOLUTIONS .
                                                                         THANK YOU SIR.

    Hi, please check, these might be warnings, not errors.

  • Help needed regarding ALV report

    Hi,
    I have a query regarding ALV report.
    The requirement is as follows:-
    When the user executes the ALV report and if he sums one numeric field column values and filters out some of the field columns ( for example there r 5 columns in the report and the user has filtered out 2 of them and viewing only 3 columns)
    and now the requirements is that when the user runs the report later he should see the modified report ( i mean only 3 cloumns and the total value of the column which he has made) but not the original output which was there when the report was developed.
    First of all i wanna know is it possible to do r not. If yes then how
    Hope u have got what i want.
    eagerly waiting for ur reply.
    regards,
    maqsood

    Hi
    Yes you can! You have to manage the layout variant.
    So when you call your ALV you have to set the parameter I_SAVE = 'A'.
    In this way you'll allow the user to save the variants for layout.
    After you has to have a chance to choose the variant in selection-screen.
    See the demo program BCALV_GRID_11 to manage the variant in selection-screen.
    Max

  • HR payroll reporting

    Hi ALL
    Just a quick question.....I am doing payroll reporting using logical database PNPCE, do I need to use standard includes for payroll. if yes why these includes are used for.
    cheers
    AJ

    you need not use any standard includes
    Use the following code
    NODES: payroll TYPE paygb_result.
    * after Get pernr event
    GET payroll.
      CLEAR:wa_empdets-total_sum,wa_empdets-amt_deduc,wa_empdets-balance.
    * fetch arrestable earnings from results table
      LOOP AT payroll-inter-rt INTO wa_rt WHERE lgart = '/141'.
    *    IF wa_rt-lgart = '/141'.
        MOVE: wa_rt-betrg TO wa_empdets-earnings.
    *    ENDIF.
      ENDLOOP.

  • Regarding Interactive reports

    Hi All,
    Yesterday i submitted a query regarding Interactive reports.and i recieved lots of reply .But the replies are all about ALV interactive report.I want to know just about the interactive reports where ew use AT LINE OF SELECTION, HIDE e.c.
    PLZ send methe documents related that.
    Thanks and Regards
    RASHMI

    Hi
    Interactive Reports
    As the name suggests, the user can Interact with the report. We can have a drill down into the report data. For example, Column one of the report displays the material numbers, and the user feels that he needs some more specific data about the vendor for that material, he can HIDE that data under those material numbers. And when the user clicks the material number, another report (actually sub report/secondary list) which displays the vendor details will be displayed.
    We can have a basic list (number starts from 0) and 20 secondary lists (1 to 21). Events associated with Interactive Reports are: 1. AT LINE-SELECTION 2. AT USER-COMMAND 3. AT PF<key> 4. TOP-OF-PAGE DURING LINE-SELECTION. HIDE statement holds the data to be displayed in the secondary list. sy-lisel : contains data of the selected line. sy-lsind : contains the level of report (from 0 to 21)
    Interactive Report Events:
    AT LINE-SELECTION : This Event triggers when we double click a line on the list, when the event is triggered a new sublist is going to be generated. Under this event what ever the statements that are been return will be displayed on newly generated sublist.
    AT PFn: For predefined function keys...
    AT USER-COMMAND : It provides user functions keys.
    REPORT ZTEJ_INTAB1 LINE-SIZE 103 LINE-COUNT 35(5) NO STANDARD PAGE
    HEADING.
    *TABLES DECLARATION
    TABLES : KNA1, VBAK, VBAP.
    *SELECT OPTIONS
    SELECT-OPTIONS: CUST_NO FOR KNA1-KUNNR.
    *INITIALIZATION
    INITIALIZATION.
    CUST_NO-LOW = '01'.
    CUST_NO-HIGH = '5000'.
    CUST_NO-SIGN = 'I'.
    CUST_NO-OPTION = 'BT'.
    APPEND CUST_NO.
    *SELECTION SCREEN VALIDATION
    AT SELECTION-SCREEN ON CUST_NO.
    LOOP AT SCREEN.
    IF CUST_NO-LOW < 1 OR CUST_NO-HIGH > 5000.
    MESSAGE E001(ZTJ1).
    ENDIF.
    ENDLOOP.
    *BASIC LIST SELECTION
    START-OF-SELECTION.
    SELECT KUNNR NAME1 ORT01 LAND1 INTO
    (KNA1-KUNNR, KNA1-NAME1,KNA1-ORT01,KNA1-LAND1)
    FROM KNA1
    WHERE KUNNR IN CUST_NO.
    WRITE:/1 SY-VLINE,
    KNA1-KUNNR UNDER 'CUSTOMER NO.' HOTSPOT ON,
    16 SY-VLINE,
    KNA1-NAME1 UNDER 'NAME',
    61 SY-VLINE,
    KNA1-ORT01 UNDER 'CITY',
    86 SY-VLINE,
    KNA1-LAND1 UNDER 'COUNTRY',
    103 SY-VLINE.
    HIDE: KNA1-KUNNR.
    ENDSELECT.
    ULINE.
    *SECONDARY LIST ACCESS
    AT user-command.
    IF SY-UCOMM = 'IONE'.
    PERFORM SALES_ORD.
    ENDIF.
    IF SY-UCOMM = 'ITWO'.
    PERFORM ITEM_DET.
    ENDIF.
    *TOP OF PAGE
    TOP-OF-PAGE.
    FORMAT COLOR 1.
    WRITE : 'CUSTOMER DETAILS'.
    FORMAT COLOR 1 OFF.
    ULINE.
    FORMAT COLOR 3.
    WRITE : 1 SY-VLINE,
    3 'CUSTOMER NO.',
    16 SY-VLINE,
    18 'NAME',
    61 SY-VLINE,
    63 'CITY',
    86 SY-VLINE,
    88 'COUNTRY',
    103 SY-VLINE.
    ULINE.
    FORMAT COLOR 3 OFF.
    *TOP OF PAGE FOR SECONDARY LISTS
    TOP-OF-PAGE DURING LINE-SELECTION.
    *TOP OF PAGE FOR 1ST SECONDARY LIST
    IF SY-UCOMM = 'IONE'.
    ULINE.
    FORMAT COLOR 1.
    WRITE : 'SALES ORDER DETAILS'.
    ULINE.
    FORMAT COLOR 1 OFF.
    FORMAT COLOR 3.
    WRITE : 1 SY-VLINE,
    3 'CUSTOMER NO.',
    16 SY-VLINE,
    18 'SALES ORDER NO.',
    40 SY-VLINE,
    42 'DATE',
    60 SY-VLINE,
    62 'CREATOR',
    85 SY-VLINE,
    87 'DOC DATE',
    103 SY-VLINE.
    ULINE.
    ENDIF.
    FORMAT COLOR 3 OFF.
    *TOP OF PAGE FOR 2ND SECONDARY LIST
    IF SY-UCOMM = 'ITWO'.
    ULINE.
    FORMAT COLOR 1.
    WRITE : 'ITEM DETAILS'.
    ULINE.
    FORMAT COLOR 1 OFF.
    FORMAT COLOR 3.
    WRITE : 1 SY-VLINE,
    3 'SALES ORDER NO.',
    40 SY-VLINE,
    42 'SALES ITEM NO.',
    60 SY-VLINE,
    62 'ORDER QUANTITY',
    103 SY-VLINE.
    ULINE.
    ENDIF.
    FORMAT COLOR 3 OFF.
    *END OF PAGE
    END-OF-PAGE.
    ULINE.
    WRITE :'USER :',SY-UNAME,/,'DATE :', SY-DATUM, 85 'END OF PAGE:',
    SY-PAGNO.
    SKIP.
    *& Form SALES_ORD
    *& FIRST SECONDARY LIST FORM
    FORM SALES_ORD .
    SELECT KUNNR VBELN ERDAT ERNAM AUDAT INTO
    (VBAK-KUNNR, VBAK-VBELN, VBAK-ERDAT, VBAK-ERNAM, VBAK-AUDAT)
    FROM VBAK
    WHERE KUNNR = KNA1-KUNNR.
    WRITE:/1 SY-VLINE,
    VBAK-KUNNR UNDER 'CUSTOMER NO.' HOTSPOT ON,
    16 SY-VLINE,
    VBAK-VBELN UNDER 'SALES ORDER NO.' HOTSPOT ON,
    40 SY-VLINE,
    VBAK-ERDAT UNDER 'DATE',
    60 SY-VLINE,
    VBAK-ERNAM UNDER 'CREATOR',
    85 SY-VLINE,
    VBAK-AUDAT UNDER 'DOC DATE',
    103 SY-VLINE.
    HIDE : VBAK-VBELN.
    ENDSELECT.
    ULINE.
    ENDFORM. " SALES_ORD
    *& Form ITEM_DET
    *& SECOND SECONDARY LIST FORM
    FORM ITEM_DET .
    SELECT VBELN POSNR KWMENG INTO
    (VBAP-VBELN, VBAP-POSNR, VBAP-KWMENG)
    FROM VBAP
    WHERE VBELN = VBAK-VBELN.
    WRITE : /1 SY-VLINE,
    VBAP-VBELN UNDER 'SALES ORDER NO.',
    40 SY-VLINE,
    VBAP-POSNR UNDER 'SALES ITEM NO.',
    60 SY-VLINE,
    VBAP-KWMENG UNDER 'ORDER QUANTITY',
    103 SY-VLINE.
    ENDSELECT.
    ULINE.
    ENDFORM. " ITEM_DET
    REPORT demo_list_at_pf.
    START-OF-SELECTION.
    WRITE 'Basic List, Press PF5, PF6, PF7, or PF8'.
    AT pf5.
    PERFORM out.
    AT pf6.
    PERFORM out.
    AT pf7.
    PERFORM out.
    AT pf8.
    PERFORM out.
    FORM out.
    WRITE: 'Secondary List by PF-Key Selection',
    / 'SY-LSIND =', sy-lsind,
    / 'SY-UCOMM =', sy-ucomm.
    ENDFORM.
    After executing the program, the system displays the basic list. The user can press the function keys F5 , F6 , F7 , and F8 to create secondary lists. If, for example, the 14th key the user presses is F6 , the output on the displayed secondary list looks as follows:
    Secondary List by PF-Key Selection
    SY-LSIND = 14
    SY-UCOMM = PF06
    Example for AT USER-COMMAND.
    REPORT demo_list_at_user_command NO STANDARD PAGE HEADING.
    START-OF-SELECTION.
    WRITE: 'Basic List',
    / 'SY-LSIND:', sy-lsind.
    TOP-OF-PAGE.
    WRITE 'Top-of-Page'.
    ULINE.
    TOP-OF-PAGE DURING LINE-SELECTION.
    CASE sy-pfkey.
    WHEN 'TEST'.
    WRITE 'Self-defined GUI for Function Codes'.
    ULINE.
    ENDCASE.
    AT LINE-SELECTION.
    SET PF-STATUS 'TEST' EXCLUDING 'PICK'.
    PERFORM out.
    sy-lsind = sy-lsind - 1.
    AT USER-COMMAND.
    CASE sy-ucomm.
    WHEN 'FC1'.
    PERFORM out.
    WRITE / 'Button FUN 1 was pressed'.
    WHEN 'FC2'.
    PERFORM out.
    WRITE / 'Button FUN 2 was pressed'.
    WHEN 'FC3'.
    PERFORM out.
    WRITE / 'Button FUN 3 was pressed'.
    WHEN 'FC4'.
    PERFORM out.
    WRITE / 'Button FUN 4 was pressed'.
    WHEN 'FC5'.
    PERFORM out.
    WRITE / 'Button FUN 5 was pressed'.
    ENDCASE.
    sy-lsind = sy-lsind - 1.
    FORM out.
    WRITE: 'Secondary List',
    / 'SY-LSIND:', sy-lsind,
    / 'SY-PFKEY:', sy-pfkey.
    ENDFORM.
    When you run the program, the system displays the following basic list with a the page header defined in the program:
    You can trigger the AT LINE-SELECTION event by double-clicking a line. The system sets the status TEST and deactivates the function code PICK. The status TEST contains function codes FC1 to FC5. These are assigned to pushbuttons in the application toolbar. The page header of the detail list depends on the status.
    Here, double-clicking a line no longer triggers an event. However, there is now an application toolbar containing five user-defined pushbuttons. You can use these to trigger the AT USER-COMMAND event. The CASE statement contains a different reaction for each pushbutton.
    For each interactive event, the system decreases the SY-LSIND system field by one, thus canceling out the automatic increase. All detail lists now have the same level as the basic list and thus overwrite it. While the detail list is being created, SY-LSIND still has the value 1.
    Regards
    Anji

Maybe you are looking for