HR report-salary

Requirement:
The salary should be payed off in May, but actually it payed off 3 months later,
How to actualize this in HR report?

Hi,
If I understood it. You need to display two dates/month in report against every transaction (Salary paid) which will be expected and Actual month.
You may compare both as well if required. If it doesn't fit as per your need please elaborate a bot regarding your trequirement.
I hope it will help.
Thanks,
S

Similar Messages

  • HR Reports SALARY SURVEY SUBMISSION

    Hi,
    i new to ABAP HR i need to write a program for the
    SALARY SURVEY SUBMISSION , can any one explain how to start my program and if possible can any one send me the related code for it ,
    Please it is bit urgent.
    Thanks
    A LAxmi

    Hi ,
    Check this prog. if it helps u its an exp. program for HR ......
    REPORT zp_postcode.
    type-pools: slis. "ALV Declarations
    NODES: pernr.
    INFOTYPES: 0000, 0001, 0002, 0006, 0008, 0014, 0105, 0121.
    SELECTION-SCREEN BEGIN OF BLOCK pcode WITH FRAME TITLE text-s01.
    SELECT-OPTIONS: so_pcode FOR p0006-pstlz.
    SELECTION-SCREEN END OF BLOCK pcode.
    TYPES: BEGIN OF t_output,
    pernr TYPE p0001-pernr, "personnel name
    anredtxt TYPE t522t-atext, "title (based on p0002-anred)
    fname TYPE p0002-vorna, "first name
    lname TYPE p0002-nachn, "last name
    orgtx TYPE t527x-orgtx, "dept
    fte TYPE p0008-bsgrd, "fte
    parking(20) TYPE c,
    payslip TYPE t526-sachn, "payslip address
    telno TYPE p0105-usrid_long, "tel number(p0105-usrty = 0020)
    email TYPE p0105-usrid_long, "email (p0105-usrty = MAIL)
    postcode type p0006-pstlz,
    END OF t_output.
    DATA: it_output TYPE STANDARD TABLE OF t_output INITIAL SIZE 0,
    wa_output TYPE t_output.
    *ALV data declarations
    data: fieldcatalog type slis_t_fieldcat_alv with header line,
    gd_tab_group type slis_t_sp_group_alv,
    gd_layout type slis_layout_alv,
    gd_repid like sy-repid,
    gt_events type slis_t_event,
    gd_prntparams type slis_print_alv,
    gd_count(6) type n,
    gd_outtext(70) type c,
    gd_lines type i.
    *START-OF-SELECTION.
    START-OF-SELECTION.
    clear: gd_count.
    GET pernr.
    Infotype 0121 is used to store multiple contracts for personnel.
    Field p0121-hpern contains the personnel number for the main contract.
    PROVIDE * from p0121 between pn-begda and pn-endda.
    Check if main contract
    if p0121-pernr ne p0121-hpern.
    reject.
    endif.
    ENDPROVIDE.
    add 1 to gd_count.
    concatenate 'Processing personnel data'(m10) gd_count into gd_outtext
    separated by ' '.
    Display indicator for employee count
    perform progress_indicator using gd_outtext.
    Retrieve datd from infotypes
    rp_provide_from_last p0000 space pn-begda pn-endda.
    rp_provide_from_last p0001 space pn-begda pn-endda.
    rp_provide_from_last p0002 space pn-begda pn-endda.
    rp_provide_from_last p0006 space pn-begda pn-endda.
    rp_provide_from_last p0008 space pn-begda pn-endda.
    rp_provide_from_last p0014 space pn-begda pn-endda.
    Check post code
    CHECK p0006-pstlz IN so_pcode. "cp
    Post code
    wa_output-postcode = p0006-pstlz.
    Personnel number
    wa_output-pernr = pernr-pernr.
    Personnel title
    SELECT SINGLE atext
    FROM t522t
    INTO wa_output-anredtxt
    WHERE sprsl EQ sy-langu AND
    anred EQ p0002-anred.
    First name
    wa_output-fname = p0002-vorna.
    Last name
    wa_output-lname = p0002-nachn.
    Organizational Unit text (dept)
    SELECT SINGLE orgtx
    FROM t527x
    INTO wa_output-orgtx
    WHERE sprsl EQ sy-langu AND
    orgeh EQ p0001-orgeh AND
    endda GE sy-datum.
    FTE
    wa_output-fte = p0008-bsgrd.
    Parking / travel deducted?
    CASE p0014-lgart.
    WHEN '7180' OR '7181' OR '7182'.
    wa_output-parking = text-002.
    WHEN '7183'.
    wa_output-parking = text-001.
    WHEN '7171' OR '7172' or '7173' or '7174' or
    '7175' or '7176' or '7177' or '7178'.
    wa_output-parking = text-003.
    ENDCASE.
    Payslip Address
    SELECT SINGLE sachn
    FROM t526
    INTO wa_output-payslip
    WHERE werks EQ p0001-werks AND
    sachx EQ p0001-sacha.
    PROVIDE * from p0105 between pn-begda and pn-endda.
    Telephone numbers
    if p0105-usrty = '0020'.
    wa_output-telno = p0105-usrid_long.
    endif.
    Email address
    if p0105-usrty = 'MAIL'.
    wa_output-email = p0105-usrid_long.
    endif.
    ENDPROVIDE.
    append wa_output to it_output.
    clear: wa_output.
    *END-OF-SELECTION.
    END-OF-SELECTION.
    describe table it_output lines gd_lines.
    if gd_lines gt 0.
    perform build_fieldcatalog.
    perform build_layout.
    perform display_alv_report.
    else.
    message i003(zp) with 'No records found'.
    endif.
    *& Form PROGRESS_INDICATOR
    Displays progress indicator on SAP screen
    form progress_indicator using p_text.
    call function 'SAPGUI_PROGRESS_INDICATOR'
    exporting
    PERCENTAGE = 0
    text = p_text.
    endform. " PROGRESS_INDICATOR
    *& Form BUILD_FIELDCATALOG
    Build Fieldcatalog for ALV Report
    form build_fieldcatalog.
    fieldcatalog-fieldname = 'PERNR'.
    fieldcatalog-seltext_m = 'Personnel No.'.
    fieldcatalog-col_pos = 0.
    fieldcatalog-outputlen = 10.
    fieldcatalog-emphasize = 'X'.
    fieldcatalog-key = 'X'.
    fieldcatalog-do_sum = 'X'.
    fieldcatalog-no_zero = 'X'.
    append fieldcatalog to fieldcatalog.
    clear fieldcatalog.
    fieldcatalog-fieldname = 'ANREDTXT'.
    fieldcatalog-seltext_m = 'Title'.
    fieldcatalog-col_pos = 1.
    append fieldcatalog to fieldcatalog.
    clear fieldcatalog.
    fieldcatalog-fieldname = 'FNAME'.
    fieldcatalog-seltext_m = 'First Name'.
    fieldcatalog-col_pos = 2.
    append fieldcatalog to fieldcatalog.
    clear fieldcatalog.
    fieldcatalog-fieldname = 'LNAME'.
    fieldcatalog-seltext_m = 'Last Name'.
    fieldcatalog-col_pos = 3.
    append fieldcatalog to fieldcatalog.
    clear fieldcatalog.
    fieldcatalog-fieldname = 'ORGTX'.
    fieldcatalog-seltext_m = 'Department'.
    fieldcatalog-col_pos = 4.
    append fieldcatalog to fieldcatalog.
    clear fieldcatalog.
    fieldcatalog-fieldname = 'FTE'.
    fieldcatalog-seltext_m = 'FTE'.
    fieldcatalog-col_pos = 5.
    append fieldcatalog to fieldcatalog.
    clear fieldcatalog.
    fieldcatalog-fieldname = 'PARKING'.
    fieldcatalog-seltext_m = 'Parking/Metrocard'.
    fieldcatalog-col_pos = 6.
    append fieldcatalog to fieldcatalog.
    clear fieldcatalog.
    fieldcatalog-fieldname = 'PAYSLIP'.
    fieldcatalog-seltext_m = 'Payslip Add.'.
    fieldcatalog-col_pos = 7.
    append fieldcatalog to fieldcatalog.
    clear fieldcatalog.
    fieldcatalog-fieldname = 'TELNO'.
    fieldcatalog-seltext_m = 'Telephone'.
    fieldcatalog-col_pos = 8.
    append fieldcatalog to fieldcatalog.
    clear fieldcatalog.
    fieldcatalog-fieldname = 'EMAIL'.
    fieldcatalog-seltext_m = 'E-mail'.
    fieldcatalog-col_pos = 9.
    append fieldcatalog to fieldcatalog.
    clear fieldcatalog.
    fieldcatalog-fieldname = 'POSTCODE'.
    fieldcatalog-seltext_m = 'Post code'.
    fieldcatalog-col_pos = 10.
    append fieldcatalog to fieldcatalog.
    clear fieldcatalog.
    endform. " BUILD_FIELDCATALOG
    *& Form BUILD_LAYOUT
    Build layout for ALV grid report
    form build_layout.
    gd_layout-no_input = 'X'.
    gd_layout-colwidth_optimize = 'X'.
    gd_layout-totals_text = 'Totals'(201).
    gd_layout-zebra = 'X'.
    endform. " BUILD_LAYOUT
    *& Form DISPLAY_ALV_REPORT
    Display report using ALV grid
    form display_alv_report.
    gd_repid = sy-repid.
    call function 'REUSE_ALV_GRID_DISPLAY'
    exporting
    i_callback_program = gd_repid
    is_layout = gd_layout
    it_fieldcat = fieldcatalog[]
    i_save = 'X'
    tables
    t_outtab = it_output
    exceptions
    program_error = 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.
    endform. " DISPLAY_ALV_REPORT
    Regards,
    vind.

  • Payroll India - (Karchi report)

    Karchi Report (Salary Advance report)
    Hi All,
    I need help in the paying salary in advance.... how it can be calculated in the payroll
    Example:
    Employee X works from 1th dec - 31th dec.... His pay will be done in Jan 1st
    But the employee X wants his salary b4 the regular pay date.... tht is b4 Jan 1st.....
    For instance he askin on 17th dec...... usually what my clients do is they calculate 15 days (Only 15 days) salary for tht month which includes daily allowance n all other allowance.... and also attendance too if he s absent n that 15 days they will deduct and then they will minus the amount with previous month deduction divided by 2
    15 days of salary - (Prev month Deduction / 2)
    N later when they pay salary n the month end they will deduct this amount
    So some body help me how to do this.... They want report for tht also....
    Raj

    Based on the EE's work schedule, you can pay him on the 17th itself. If the EE takes any un-paid vacation between 17th and 31st, it will be included in the next month's pay and the EE will get reduced pay.

  • Job Pricing Reports - Exporting to Excel

    Hi,
    I am testing the standard reports that are availabe in Job Pricing from within the portal.  Example the one report Salary Survey Participation, which is a report that is accessed from ERP, the option to Export to Excel is not working.  In the selection screen if I choose the Output format 'Spreadsheet' I get the error message 'It is not possible to download Excel in the WebGui.  If I then change the Output format to 'SAP List Viewer' then choose the from the Menu - List - Export - Spreadsheet nothing happens.  If I also select 'Print Preview' and then 'Spreadsheet' nothing happens.
    Thanks

    Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with you directly

  • Generating reports

    I have migrated from windows to linux. I can not generate any report using the adadmin tool. I can relink executables, I can generate graphics. I can do everything else in with in the adadmin tool, I just can not generate reports. I simply get reports not generated. Any ideas anyone.
    jeff

    Hi, I still couldn't really understand how SRW.RUN_REPORT works eventhough I have read the Help from ReportBuilder.
    For example, what does it mean by:
    SRW.RUN_REPORT('report=MAIL_IT desname='||:ename ||' desformat=dflt batch=yes mgr_no='|| TO_CHAR(:empno) );
    In this example, do I have to create another query called MAIL_IT? Do I have to append the command line with "desname='<name>' desformat=dflt batch=yes number='<char>"?
    If so, what do these 3 lines mean?
    SRW.RUN_REPORT('batch=yes report=SALARY destype=file desformat=dflt desname=salary.lis')
    SRW.RUN_REPORT('batch=yes report=COMMISS destype=file desformat=dflt desname=comiss.lis');
    SRW.RUN_REPORT('batch=yes report=TAXES destype=file desformat=dflt desname=taxes.lis');
    e.g. The new reports names will be SALARY, COMMISS and TAXES or salary.lis, comiss.lis and taxes.lis?
    Please help.
    Thank you.

  • Setting up a job

    1) Can I run RWRUN60.EXE(oracle reports) from within PL/SQL to generate a PDF file? I would like to run the bat file below from PL/SQL - The report server and the oracle DB are on different machines.
    ---run.bat end-----
    RWRUN60.EXE REPORT=SummaryReport.RDF P_Parameter1=123
    USERID=report_user/[email protected] server=Rep60_XYZ BATCH=YES
    DESFORMAT=PDF DESTYPE=FILE DESNAME=123.PDF
    ---run.bat end-----
    Can we schedule to run reports from the report server as a job, with the output being saved to a PDF file.
    Oracle reports version: 6i
    Oracle DB version: 9.2.0.4
    Thank you

    Hi,
    Reports Builder Help has more detailed info. Let me quote completely from there since it answers your specific Q's:
    About the Reports Builder built-in package (SRW)
    Reports Builder is shipped with a built-in package (SRW), a collection of PL/SQL constructs that include many functions, procedures, and exceptions you can reference in any of your libraries or reports.
    The PL/SQL provided by the SRW package enables you to perform such actions as change the formatting of fields, run reports from within other reports, create customized messages to display in the event of report error, and execute SQL statements.
    You can reference the contents of the SRW package from any of your libraries or reports without having to attach it. However, you cannot reference its contents from within another product, e.g., from SQL*Plus. Constructs found in a package are commonly referred to as "packaged"; i.e., packaged functions, packaged procedures, and packaged exceptions.
    SRW.RUN_REPORT built-in procedure
    This procedure invokes rwrun with the string that you specify. Syntax SRW.RUN_REPORT (command_line CHAR);
    ParametersDescriptioncommand_lineIs a valid rwrun command. 
    Example
    Suppose you have the following two reports: MGR_RUN, which queries manager names, and invokes a second report named MAIL_IT.MAIL_IT, which queries employee names for the manager that MGR_RUN passes it, and sends the report output to the manager via e-mail. The description of MGR_RUN could be as follows:
    Query:
    SELECT ENAME, EMPNO FROM EMP WHERE JOB='MANAGER'
    Group Filter:
    FUNCTION FOO RETURN BOOLEAN IS BEGIN
    SRW.RUN_REPORT('report=MAIL_IT
    desname='||:ename ||' desformat=dflt batch=yes
    mgr_no='|| TO_CHAR(:empno) );
    RETURN (TRUE);
    EXCEPTION
    when SRW.RUN_REPORT_FAILURE then
    SRW.MESSAGE(30, 'Error mailing reports.');
    raise SRW.PROGRAM_ABORT;
    END;
    This PL/SQL invokes MAIL_IT, specifies that MAIL_IT's output should be sent to the manager via e-mail, and passes the manager number, so that the MAIL_IT report can query only the manager's employees. Note: EMPNO's values must be converted to characters (TO_CHAR in the PL/SQL above), because SRW.RUN_REPORT requires a character string. Layout: None is needed, because this report only fetches data, then passes it to a second report. The description of MAIL_IT could be as follows: Query: SELECT DEPTNO, ENAME, SAL FROM EMP WHERE MGR=:MGR_NO
    Layout: Master/Detail Suppose that you have three reports that you almost always run together. The reports are named SALARY, COMMISS, and TAXES. To run these reports with one rwrun command, you create a driver report named PAYROLL. The description of PAYROLL could be as follows:
    Query:
    SELECT DEPTNO FROM DEPT
    Before Report Trigger:
    FUNCTION FOO RETURN BOOLEAN IS
    BEGIN
    SRW.RUN_REPORT('batch=yes report=SALARY
    destype=file desformat=dflt desname=salary.lis')
    SRW.RUN_REPORT('batch=yes report=COMMISS
    destype=file desformat=dflt desname=comiss.lis');
    SRW.RUN_REPORT('batch=yes report=TAXES
    destype=file desformat=dflt desname=comiss.lis');
    RETURN (TRUE);
    END;
    Layout:
    Tabular
    When you run PAYROLL from the designer or rwrun, the other three reports will all be run. (Note that, in this case, the query and the layout for Payroll could be anything. They are only used here in order to make it possible to run PAYROLL.)
    Navneet.

  • Function HR_DISPLAY_BASIC_LIST

    Hi, I modifying some reports that leave by the previous consultant, i meet this function HR_DISPLAY_BASIC_LIST in the programs, for value field with CURRENCY USD, its didnt list out in a proper format of USD, eventho i have already add waers field to catalog structure.
    Any idea ?
    Thanks.

    REPORT (SY-REPID)
           LINE-COUNT 65(3)
           LINE-SIZE 132
           MESSAGE-ID ZZ
           NO STANDARD PAGE HEADING.
    TABLES: PERNR, PCL1, PCL2,T549T,T001P,T500L,T005U,T512T.
    INFOTYPES :  0001,0002.
    DATA: TAB LIKE TEXTPOOL OCCURS 10 WITH HEADER LINE.
    DATA: ORG_TEXT LIKE P1000-SHORT.
    DATA:NEW_WERKS(4) TYPE C.
    DATA:WF-TEXT1(079)  TYPE C.
    DATA:WF-TEXT2(132)  TYPE C.
    DATA:WF-TEXT3(132)  TYPE C.
    DATA:WF-TEXT4(132)  TYPE C.
    DATA INAME LIKE P0001-ENAME.
    DATA SNAME LIKE P0001-SNAME.
    DATA: CALCMOLGA LIKE T500L-MOLGA VALUE '10'.
    DATA : CALC_CURRENCY LIKE T001-WAERS VALUE 'USD'.
    DATA: RT_KEY(5) TYPE C.
    INCLUDE RPC2CD09.                      "Cluster CD Data-Definition
    INCLUDE RPC2CA00.                      "Cluster CA Data-Definition
    INCLUDE RPC2RUU0.                      "Cluster RU Data-Definition
    INCLUDE RPC2RX09.           "Cluster RU Data-Definition internat. part
    INCLUDE RPPPXD00.                      "Data befinition buffer PCL1/PCL2
    INCLUDE RPPPXD10.                      "Common part buffer PCL1/PCL2
    INCLUDE RPPPXM00.                      "Buffer handling routine
    INCLUDE RPC2ROX3.           "Data definition RPCLSTRs (only J,K,U)
    DATA: BEGIN OF REPORT OCCURS 0,
           KOSTL LIKE PC205-KOSTL,
           PERNR LIKE PERNR-PERNR,
           ENMAE LIKE PERNR-ENAME,         "  LIKE P0001-ORGEH,
           SALARY LIKE PC207-BETRG,
           OTHER  LIKE PC207-BETRG,
           BONUS  LIKE PC207-BETRG,
           COMMIS LIKE PC207-BETRG,
           FICA   LIKE PC207-BETRG,
           MEDICA LIKE PC207-BETRG,
           FI_MED LIKE PC207-BETRG,
           FEDERA LIKE PC207-BETRG,
           STATE  LIKE PC207-BETRG,
           LOCAL  LIKE PC207-BETRG,
           SDI    LIKE PC207-BETRG,
           401K   LIKE PC207-BETRG,
           UNITED LIKE PC207-BETRG,
           CU     LIKE PC207-BETRG,
           MISC   LIKE PC207-BETRG,
           TOTAL  LIKE PC207-BETRG,
           NET    LIKE PC207-BETRG,
    END OF REPORT.
    DATA: BEGIN OF FIELDNAMES2 OCCURS 20,
            FIELD1(60), FIELD2(10), FIELD3(10),
          END OF FIELDNAMES2.
    DATA: IFPPER LIKE RGDIR-FPPER.
    DATA AMOUNT(15) TYPE C.
    DATA AMT(15)    TYPE C.
    DATA: EMPL_ID(8) TYPE C,
          HOLDNAME(25) TYPE C.
    PARAMETERS:MOLGA LIKE T500L-MOLGA DEFAULT '10',
               FILENAME(128) TYPE C.
    SELECT-OPTIONS: CCENTER FOR  WPBP-KOSTL.
    AT SELECTION-SCREEN OUTPUT.
      DATA: DUMMY TYPE C.
      AUTHORITY-CHECK OBJECT 'PLOG'
               ID 'PLVAR'   FIELD DUMMY
               ID 'OTYPE'   FIELD DUMMY
               ID 'INFOTYP' FIELD DUMMY
               ID 'SUBTYP'  FIELD DUMMY
               ID 'ISTAT'   FIELD DUMMY
               ID 'PPFCODE' FIELD DUMMY.
      IF SY-SUBRC <> 0.
        MESSAGE E000(ZZ): WITH 'You are not Authorized to run this abap'.
      ENDIF.
    * get rid of ACHIVE checkbox.
      LOOP AT SCREEN.
        IF SCREEN-NAME = 'ARCHIVE' OR
           SCREEN-NAME = '%_ARCHIVE_%_APP_%-TEXT'.
          SCREEN-INVISIBLE = '1'.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    START-OF-SELECTION.
      FIELDNAMES2-FIELD1 = 'Cost Center'.
      APPEND FIELDNAMES2.
      FIELDNAMES2-FIELD1 = 'Empl Number'.
      APPEND FIELDNAMES2.
      FIELDNAMES2-FIELD1 = 'Name'.
      APPEND FIELDNAMES2.
      FIELDNAMES2-FIELD1 = 'Salary'.
      APPEND FIELDNAMES2.
      FIELDNAMES2-FIELD1 = 'Other'.
      APPEND FIELDNAMES2.
      FIELDNAMES2-FIELD1 = 'Bonus'.
      APPEND FIELDNAMES2.
      FIELDNAMES2-FIELD1 = 'Commission'.
      APPEND FIELDNAMES2.
      FIELDNAMES2-FIELD1 = 'FICA'.
      APPEND FIELDNAMES2.
      FIELDNAMES2-FIELD1 = 'Medicare'.
      APPEND FIELDNAMES2.
      FIELDNAMES2-FIELD1 = 'FICA/Medicare'.
      APPEND FIELDNAMES2.
      FIELDNAMES2-FIELD1 = 'Federal'.
      APPEND FIELDNAMES2.
      FIELDNAMES2-FIELD1 = 'State'.   .
      APPEND FIELDNAMES2.
      FIELDNAMES2-FIELD1 = 'Local'.
      APPEND FIELDNAMES2.
      FIELDNAMES2-FIELD1 = 'SDI'.
      APPEND FIELDNAMES2.
      FIELDNAMES2-FIELD1 = '401K'.
      APPEND FIELDNAMES2.
      FIELDNAMES2-FIELD1 = 'United Way'.
      APPEND FIELDNAMES2.
      FIELDNAMES2-FIELD1 = 'Credit Union'.
      APPEND FIELDNAMES2.
      FIELDNAMES2-FIELD1 = 'Misc'.
      APPEND FIELDNAMES2.
      FIELDNAMES2-FIELD1 = 'Total Deductions'.
      APPEND FIELDNAMES2.
      FIELDNAMES2-FIELD1 = 'Net Pay'.
      APPEND FIELDNAMES2.
      IF PNPTIMR9 = 'X'.
        CONCATENATE  PNPDISPJ PNPDISPP INTO IFPPER.
      ELSE.
        CONCATENATE PNPPABRJ PNPPABRP  INTO IFPPER.
      ENDIF.
    GET PERNR.
    * FIND MOLGA
      RP-PROVIDE-FROM-LAST P0001 SPACE PN-BEGDA PN-ENDDA.
      RP-READ-T001P P0001-WERKS P0001-BTRTL SPACE.
      IF T001P-MOLGA <> MOLGA.
        REJECT.
      ENDIF.
      CALL FUNCTION 'RP_EDIT_NAME'
           EXPORTING
                FORMAT    = '05'
                LANGU     = SPACE
                MOLGA     = '10'
                PP0002    = P0002
    *         PP0021    = ' '
    *         PP0148    = ' '
           IMPORTING
                EDIT_NAME = INAME
    *         RETCODE   =
           EXCEPTIONS
                OTHERS    = 1.
      CD-KEY-PERNR = PERNR-PERNR.
    * this routine gets the number of payroll results for the Employee and
    * puts in internal table RGDIR
      RP-IMP-C2-CU.
      IF SY-SUBRC <> 0.
        MESSAGE I002 WITH:'No payroll results for Employee' PERNR-PERNR.
      ELSE.
    *     BREAK JLONGO.
        LOOP AT RGDIR WHERE FPPER = IFPPER AND
                            ABKRS = PNPXABKR AND
                            SRTZA = 'A'."INPER = IFPPER.
    * fill the key to read payroll results from cluster 2
          RX-KEY-PERNR = PERNR-PERNR.
          UNPACK RGDIR-SEQNR TO RX-KEY-SEQNO.
    * this routine gets the payroll results.
          RP-IMP-C2-RU.
          IF  RP-IMP-RU-SUBRC <> 0.
            REJECT.
          ENDIF.
          READ TABLE WPBP INDEX 1.
          IF WPBP-KOSTL IN CCENTER.
            REPORT-KOSTL = WPBP-KOSTL.
          ELSE.
            CLEAR REPORT.
            CONTINUE.
          ENDIF.
          LOOP AT RT." WHERE "LGART."N WAGETY01."D CUMTY IN CUMTY.
            REPORT-PERNR = PERNR-PERNR.
            REPORT-ENMAE = INAME.          "  LIKE P0001-ORGEH,
    *       REPORT-MOLGA = T001P-MOLGA.
            CASE RT-LGART.
              WHEN '0002' OR '0003' OR '0020' OR '0025'.
                REPORT-SALARY = REPORT-SALARY + RT-BETRG.
              WHEN '1020'.
                REPORT-COMMIS = RT-BETRG.
              WHEN '/403'.
                REPORT-FICA = RT-BETRG.
                REPORT-FI_MED = REPORT-FI_MED +  REPORT-FICA.
              WHEN '/405'.
                REPORT-MEDICA = RT-BETRG.
                REPORT-FI_MED = REPORT-FI_MED +  REPORT-MEDICA.
              WHEN '/401'.
                IF RT-CNTR1 = '01'.
                  REPORT-FEDERA = RT-BETRG.
                ELSEIF RT-CNTR1 = '02'.
                  REPORT-STATE = RT-BETRG.
                ELSEIF RT-CNTR1 = '03'.
                  REPORT-LOCAL = RT-BETRG.
                ENDIF.
              WHEN '/441'.
                REPORT-SDI = RT-BETRG.
              WHEN '4000' OR '4001'.
                REPORT-401K = REPORT-401K + RT-BETRG.
              WHEN '4600' OR '4610' OR '4620' OR '4630'.
                REPORT-UNITED = REPORT-UNITED + RT-BETRG.
              WHEN '7500' OR '7510' OR '7520' OR '7525' OR '7530'.
                REPORT-CU = REPORT-CU + RT-BETRG.
              WHEN '/110'.
                REPORT-TOTAL = RT-BETRG.
              WHEN '/560'.
                REPORT-NET = RT-BETRG.
              WHEN '0040' OR '0050' OR '0060' OR '1000' OR '1010' OR
                   '1030' OR '1040' OR '1042' OR '1050' OR '1051' OR
                   '1060' OR '1070' OR '1080' OR '1160'.
                REPORT-OTHER = REPORT-OTHER + RT-BETRG.
            ENDCASE.
            IF RT-LGART  BETWEEN '1120' AND '1132'.
              REPORT-BONUS = RT-BETRG.
            ENDIF.
          ENDLOOP.
          REPORT-MISC = REPORT-TOTAL - ( REPORT-CU + REPORT-UNITED +
                                         REPORT-401K ).
          APPEND REPORT.
          CLEAR REPORT.
        ENDLOOP.
      ENDIF.
    END-OF-SELECTION.
      CHECK FILENAME <> ' '.
      CALL FUNCTION 'HR_DISPLAY_BASIC_LIST'
           EXPORTING
                BASIC_LIST_TITLE     = 'Payroll results'
                FILE_NAME            = FILENAME
                HEAD_LINE1           = FILENAME
           TABLES
                DATA_TAB             = REPORT
                FIELDNAME_TAB        = FIELDNAMES2
    *           SELECT_TAB           =
    *           ERROR_TAB            =
           EXCEPTIONS
                DOWNLOAD_PROBLEM     = 1
                NO_DATA_TAB_ENTIRIES = 2
                TABLE_MISMATCH       = 3
                PRINT_PROBLEMS       = 4
                OTHERS               = 5.
    *       FORM 8000_GET_CC                                              *
    *  -->  ORGUNIT                                                       *
    FORM 8000_GET_CC USING ORGUNIT.
      CALL FUNCTION 'READ_INTEGRATION_ORGUNIT'
           EXPORTING
                OBJID             = ORGUNIT
                BEGDA             = SY-DATUM
                ENDDA             = SY-DATUM
           IMPORTING
    *             ORGUNIT_BEGDA     =
    *             ORGUNIT_ENDDA     =
                ORGUNIT_SHORT     = ORG_TEXT
    *             ORGUNIT_STEXT     =
           EXCEPTIONS
                ORGUNIT_NOT_FOUND = 1
                NO_INTEGRATION    = 2
                OTHERS            = 3.
    ENDFORM.
    what about this ...
    Regards
    vijay

  • Simple formula using hierarchy ??

    Hi,
    I'm building a prototype cube to report salary payroll information. The cube is using a Wagetype Hierarchy that I've built. I would like to be able to do calculation <u><b>based on that hierarchy</b></u>. Ex: (non-productive hours) / (productive hours).
    Is there a way to do what I want ?
    Ps: I'm using BW version 3.1

    To build my hierarchy, I used an external characteristic and each node represent a group of wage type. When I then build my query, I don't know how to use those nodes in a formula, since I don't see them in the formula builder.
    Maybe my question is very simple, but please don't hesitate to give me lots of details, it may only be that I don't know the commands.
    Thanks

  • Cannot View the Employee Salary Report in BI Publisher

    Hi, everyone,
    I have installed the Standalone version of bi publisher for windows (bipublisher_windows_x86_101341).
    I have logged in as administrator, I have connected to my oracle database 11g thru jdbc succesfully. i cannot view the Employee Salary report. It gives me the error
    Paramter name: dept Io exception: Invalid number format for port number.
    The sample schemas are also installed on my database.
    Could anyone guide me as i am very new to bi publisher.
    Thanks in advance....

    Hi Can you please let me know what did you do to fix this issue. I am having same issue. Thanks in advance.

  • Gross Salary Report Need to develop in ABAP Query -sap-hr

    Dear Experts,
    i need to create salary report through ABAP-query.
    i have following below stops.
    1)Create user group thorugh SQ03.
    2) Having problem in creating Infosets,as i need to use PNPCE as ldb and p9001,p9002,p9008,p9000,p90402.but when i am created infoset it is showing in order p9000,p9001,p9002,p9008,p90402.and i am not finding any where join condition,how will i join these.
    Didnt find any tutorials..for HR abap-query
    please advice.
    Thanks & Regards
    Anwar

    Dear Experts,
    i need to create salary report through ABAP-query.
    i have following below stops.
    1)Create user group thorugh SQ03.
    2) Having problem in creating Infosets,as i need to use PNPCE as ldb and p9001,p9002,p9008,p9000,p90402.but when i am created infoset it is showing in order p9000,p9001,p9002,p9008,p90402.and i am not finding any where join condition,how will i join these.
    Didnt find any tutorials..for HR abap-query
    please advice.
    Thanks & Regards
    Anwar

  • Report to show salary increase based on rating

    Hi,
    I want to get a report which will show the final rating of the appraisal for an employee and the salary increase which he has got for the given financial year. There will be only one appraisal cycle so there will be only one final rating which will be stored in the appraisal document only.
    Can anyone please let me know how to go about with the report?
    With Regards,
    Kaustuv Goswami.

    You have to develop a custom program.. the salary incr part is straightforwrd.. you can get it from Infotype 0008.. the Appraisal Ratings for OSA are stored in HRHAP_FINAL table but cannot be accessed directly..you will firts have to get the appraisal id for the appraisee(pernr) for the relevant Apprasial Template.. you can use the the function modules HRHAP_DOCUMENT_GET_LIST & 'HRHAP_DOCUMENT_GET_DETAIL' for that..
    For Old Appraisals, you can use the function modules 'RHPA_APPRAISALS_SEARCH_ENGINE'  & 'RHPA_APPRAISAL_READ' and get the rating.
    ~Suresh

  • SQL Report with Total Salary

    I have a select statement like this:
    Select first_name, last_name, salary From Employee
    I am getting report properly with this query. But my question is : How can get total salary at the bottom of report?
    If I crate another region with a new SQL, I could do that but I want in single SQL or PL/SQL.
    Any help would be appreciated.
    Thanks,
    Mushtak

    Hi, you can do something like this:
    Select first_name, last_name, salary From Employee
    Union
    Select null first_name, 'Total salary' last_name, Sum(salary) From Employee
    order by first_name
    Hope this helps
    George

  • Employee salary details report

    dear abaper ,
                         please send a HR report in which employee salary details are given.
                                                           Thank you sir.
    Moderator Message: Warned many times. UserID sent for deletion.
    Edited by: kishan P on Dec 23, 2011 1:42 PM

    Hi,
    1.) Check the RT , generate the WT reporter for the IN period view
    2.) Run the simulation document only for this employee
    3.) If the RT exist for the current month the posting document will be created
    4.) You might be making some error in the selection screen.just run only for this employee
    Regards
    Hemant V. Mahale

  • GL wise salary Report !!!

    Hi Seniors,
    Is there any standard SAP report for GL wise salary.
    If I have to create a Custom Report for GL wise Salary Register then what would be the essential input in order to share the same to abapers.
    Please suggest.
    Regards,
    Ritu

    Hi Ritu,
    Your requirement is simple. Explain to the Abaper like this
    you want processed salary of the Employee for that month right ? then take from RT tables or go with report PC00_M40_ANN. And then check this report RPDKON00 for the assignment of WT --> Symbolic --> G/L Account. Abaper will create the report.
    Report input/selection screen:
    Company code:
    Personnel area:
    Employee Grp:
    Payroll Area:
    Personnel No:     from .........   to .........
    Periods:
    upto date        till date     current year     current month
    other dates
    Report output:
    Empl.No.  Empl.Name   Period & Year   Wage type  Symbolic  G/L   Amount
    *if you don't want symbolic ask them to hide.
    * you have to confirm with the client if any retro happen which amount you have to consider in the report ? accordingly you have to ask abaper to take from the tables.
    Best Regards,
    Praneeth kumar

  • Report that  display salary for employee from this year and prvious year

    Hi
    How to do a report that display salary for employee from this year an previous year, my table has from period and two perid?
    Thanks

    You could try something like this but you MUST learn how to post questions! Very few members will help you if you word your question poorly or forget to mention vital imformation!
    select distinct ty.id, ty.emp, ty.sal, ly.sal
    from (select distinct id, userid, sal
    from salary_table
    where id = 123456
    and from_period = '01-JAN-2010'
    and to_period = '31-DEC-2010') LY,
    salary_table TY
    where ty.id = 123456
    and ty.from_period = '01-JAN-2011'
    and ty.to_period = '31-DEC-2011'

Maybe you are looking for

  • Export ready project to camcorder

    In iMovie '09 I can't find out how I export a ready projekt (video-film) to my camcorder to save a copy on a mini DVCassette. With iMovie '06 it has been easy - You just used the button "export" in the menue. Who can help?

  • ICal Calendar Get Info Window not appearing

    MB Pro Lion 10.7.2 I'm trying to change the color of a calendar in iCal. The calendar is syncing to an Exchange server. I click the Calendars button in the upper left corner of the iCal window, then right click on the calendar. From the contextual me

  • Problem in printer please help

    I am using HP k209a, When I started my printer with or without connected to PC, all the lights (power light, warning light, plain A4, Ph.. ... plain A4, Photo A4, Photo 10x15 lights) are glowing (not blinking) and nothing happens

  • BC 2.1 cant run on my vista 64bit, can anyone help?

    Hi, I did my installation of vista 64bit on my 2.4ghz macbook pro 15" (quite old model, about a year ago) and yes, i did download BC 2.1 and try to run on it.( i think most of the people cant use 2.0 for installing all of the driver.) i saw someone w

  • Multidimensional Array in TableView

    I'm working on a program that stores some variables in a multidimensional array (NSMutableArrays in a NSMutableArray). My array looks something like this: hopSoort hopDosering alfaZuur kookTijd Saaz (CZ) 16 3.2 60 EK Goldings 20 5.6 60 I've made a cl