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

Similar Messages

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

  • What is vendor performance report what are the fields using in the report

    What is vendor performance report what are the fields using in the report and i need some sample reports for that particular topic (clasical report)not using any alvs or any advance topics.
    U R Satish Patnaik

    hi
    good
    *"Table declarations...................................................
    TABLES:
    EKKO, " Purchasing Document Header
    CDHDR, " Change document header
    SSCRFIELDS. " Fields on selection screens
    *"Selection screen elements............................................
    SELECT-OPTIONS:
    S_EBELN FOR EKKO-EBELN, " Purchasing Document Number
    S_LIFNR FOR EKKO-LIFNR, " Vendor's account number
    S_EKGRP FOR EKKO-EKGRP, " Purchasing group
    S_BEDAT FOR EKKO-BEDAT, " Purchasing Document Date
    S_UDATE FOR CDHDR-UDATE. " Creation date of the change
    " document
    *" Data declarations...................................................
    Field String to hold Purchase Document Number *
    DATA:
    BEGIN OF FS_EBELN,
    EBELN(90) TYPE C, " Purchase Document Number
    ERNAM TYPE EKKO-ERNAM, " Name of Person who Created
    " the Object
    LIFNR TYPE EKKO-LIFNR, " Vendor's account number
    EKGRP TYPE EKKO-EKGRP, " Purchasing group
    BEDAT TYPE EKKO-BEDAT, " Purchasing Document Date
    END OF FS_EBELN,
    Field String to hold Purchase Document Header *
    BEGIN OF FS_EKKO,
    EBELN TYPE EKKO-EBELN, " Purchasing Document Number
    ERNAM TYPE EKKO-ERNAM, " Name of Person who Created the
    " Object
    LIFNR TYPE EKKO-LIFNR, " Vendor's account number
    EKGRP TYPE EKKO-EKGRP, " Purchasing group
    BEDAT TYPE EKKO-BEDAT, " Purchasing Document Date
    END OF FS_EKKO,
    Field String to hold Account Number and name of the Vendor *
    BEGIN OF FS_LFA1,
    LIFNR TYPE LFA1-LIFNR, " Account Number of Vendor
    NAME1 TYPE LFA1-NAME1, " Name1
    END OF FS_LFA1,
    Field String to hold Change date and the name of the user *
    BEGIN OF FS_CDHDR,
    OBJECTCLAS TYPE CDHDR-OBJECTCLAS, " Object Class
    OBJECTID TYPE CDHDR-OBJECTID, " Object value
    CHANGENR TYPE CDHDR-CHANGENR, " Document change number
    USERNAME TYPE CDHDR-USERNAME, " User name
    UDATE TYPE CDHDR-UDATE, " Creation date of the change
    " document
    END OF FS_CDHDR,
    Field String to hold Change document items *
    BEGIN OF FS_CDPOS,
    OBJECTCLAS TYPE CDPOS-OBJECTCLAS," Object class
    OBJECTID(10) TYPE C, " Object Value
    CHANGENR TYPE CDPOS-CHANGENR, " Document change number
    TABNAME TYPE CDPOS-TABNAME, " Table Name
    FNAME TYPE CDPOS-FNAME, " Field Name
    VALUE_NEW TYPE CDPOS-VALUE_NEW, " New contents of changed field
    VALUE_OLD TYPE CDPOS-VALUE_OLD, " Old contents of changed field
    END OF FS_CDPOS,
    Field String to hold Date Element Name *
    BEGIN OF FS_DATAELE,
    TABNAME TYPE DD03L-TABNAME, " Table Name
    FIELDNAME TYPE DD03L-FIELDNAME, " Field Name
    ROLLNAME TYPE DD03L-ROLLNAME, " Data element (semantic domain)
    END OF FS_DATAELE,
    Field String to hold Short Text of the Date Element *
    BEGIN OF FS_TEXT,
    ROLLNAME TYPE DD04T-ROLLNAME, " Data element (semantic domain)
    DDTEXT TYPE DD04T-DDTEXT, " Short Text Describing R/3
    " Repository Objects
    END OF FS_TEXT,
    Field String to hold data to be displayed on the ALV grid *
    BEGIN OF FS_OUTTAB,
    EBELN TYPE EKKO-EBELN, " Purchasing Document Number
    ERNAM TYPE EKKO-ERNAM, " Name of Person who Created the
    " Object
    LIFNR TYPE EKKO-LIFNR, " Vendor's account number
    EKGRP TYPE EKKO-EKGRP, " Purchasing group
    BEDAT TYPE EKKO-BEDAT, " Purchasing Document Date
    WERKS TYPE LFA1-WERKS, " Plant
    NAME1 TYPE LFA1-NAME1, " Name1
    USERNAME TYPE CDHDR-USERNAME, " User name
    UDATE TYPE CDHDR-UDATE, " Creation date of the change
    " document
    DDTEXT TYPE DD04T-DDTEXT, " Short Text Describing R/3
    " Repository Objects
    VALUE_NEW TYPE CDPOS-VALUE_NEW, " New contents of changed field
    VALUE_OLD TYPE CDPOS-VALUE_OLD, " Old contents of changed field
    END OF FS_OUTTAB,
    Internal table to hold Purchase Document Number *
    T_EBELN LIKE STANDARD TABLE
    OF FS_EBELN,
    Internal table to hold Purchase Document Header *
    T_EKKO LIKE STANDARD TABLE
    OF FS_EKKO,
    Temp Internal table to hold Purchase Document Header *
    T_EKKO_TEMP LIKE STANDARD TABLE
    OF FS_EKKO,
    Internal table to hold Account number and Name of the Vendor *
    T_LFA1 LIKE STANDARD TABLE
    OF FS_LFA1,
    Internal Table to hold Change date and the name of the user *
    T_CDHDR LIKE STANDARD TABLE
    OF FS_CDHDR,
    Internal Table to hold Change document items *
    T_CDPOS LIKE STANDARD TABLE
    OF FS_CDPOS,
    Temp. Internal Table to hold Change document items *
    T_CDPOS_TEMP LIKE STANDARD TABLE
    OF FS_CDPOS,
    Internal Table to hold Data Element Name *
    T_DATAELE LIKE STANDARD TABLE
    OF FS_DATAELE,
    Temp. Internal Table to hold Data Element Name *
    T_DATAELE_TEMP LIKE STANDARD TABLE
    OF FS_DATAELE,
    Internal Table to hold Short Text of the Date Element *
    T_TEXT LIKE STANDARD TABLE
    OF FS_TEXT,
    Internal Table to hold data to be displayed on the ALV grid *
    T_OUTTAB LIKE STANDARD TABLE
    OF FS_OUTTAB.
    C L A S S D E F I N I T I O N *
    CLASS LCL_EVENT_HANDLER DEFINITION DEFERRED.
    *" Data declarations...................................................
    Work variables *
    DATA:
    W_EBELN TYPE EKKO-EBELN, " Purchasing Document Number
    W_LIFNR TYPE EKKO-LIFNR, " Vendor's account number
    W_EKGRP TYPE EKKO-EKGRP, " Purchasing group
    W_VALUE TYPE EKKO-EBELN, " Reflected Value
    W_SPACE VALUE ' ', " Space
    W_FLAG TYPE I, " Flag Variable
    W_VARIANT TYPE DISVARIANT, " Variant
    *--- ALV Grid
    W_GRID TYPE REF TO CL_GUI_ALV_GRID,
    *--- Event Handler
    W_EVENT_CLICK TYPE REF TO LCL_EVENT_HANDLER,
    *--- Field catalog table
    T_FIELDCAT TYPE LVC_T_FCAT.
    AT SELECTION-SCREEN EVENT *
    AT SELECTION-SCREEN ON S_EBELN.
    Subroutine to validate Purchase Document Number.
    PERFORM VALIDATE_PD_NUM.
    AT SELECTION-SCREEN ON S_LIFNR.
    Subroutine to validate Vendor Number.
    PERFORM VALIDATE_VEN_NUM.
    AT SELECTION-SCREEN ON S_EKGRP.
    Subroutine to validate Purchase Group.
    PERFORM VALIDATE_PUR_GRP.
    START-OF-SELECTION EVENT *
    START-OF-SELECTION.
    Subroutine to select all Purchase orders.
    PERFORM SELECT_PO.
    CHECK W_FLAG EQ 0.
    Subroutine to select Object values.
    PERFORM SELECT_OBJ_ID.
    CHECK W_FLAG EQ 0.
    Subroutine to select Changed values.
    PERFORM SELECT_CHANGED_VALUE.
    CHECK W_FLAG EQ 0.
    Subroutine to Select Purchase Orders.
    PERFORM SELECT_PUR_DOC.
    Subroutine to select Vendor Details.
    PERFORM SELECT_VENDOR.
    Subroutine to select Text for the Changed values.
    PERFORM DESCRIPTION.
    END-OF-SELECTION EVENT *
    END-OF-SELECTION.
    IF NOT T_EKKO IS INITIAL.
    Subroutine to populate the Output Table.
    PERFORM FILL_OUTTAB.
    Subroutine to build Field Catalog.
    PERFORM PREPARE_FIELD_CATALOG CHANGING T_FIELDCAT.
    CALL SCREEN 100.
    ENDIF. " IF NOT T_EKKO...
    CLASS LCL_EVENT_HANDLER DEFINITION
    Defining Class which handles events
    CLASS LCL_EVENT_HANDLER DEFINITION .
    PUBLIC SECTION .
    METHODS:
    HANDLE_HOTSPOT_CLICK
    FOR EVENT HOTSPOT_CLICK OF CL_GUI_ALV_GRID
    IMPORTING E_ROW_ID E_COLUMN_ID.
    ENDCLASS. " LCL_EVENT_HANDLER DEFINITION
    CLASS LCL_EVENT_HANDLER IMPLEMENTATION
    Implementing the Class which can handle events
    CLASS LCL_EVENT_HANDLER IMPLEMENTATION .
    *---Handle Double Click
    METHOD HANDLE_HOTSPOT_CLICK .
    Subroutine to get the HotSpot Cell information.
    PERFORM GET_CELL_INFO.
    SET PARAMETER ID 'BES' FIELD W_VALUE.
    CALL TRANSACTION 'ME23N'.
    ENDMETHOD. " HANDLE_HOTSPOT_CLICK
    ENDCLASS. " LCL_EVENT_HANDLER
    *& Module STATUS_0100 OUTPUT
    PBO Event
    MODULE STATUS_0100 OUTPUT.
    SET PF-STATUS 'OOPS'.
    SET TITLEBAR 'TIT'.
    Subroutine to fill the Variant Structure
    PERFORM FILL_VARIANT.
    IF W_GRID IS INITIAL.
    CREATE OBJECT W_GRID
    EXPORTING
    I_SHELLSTYLE = 0
    I_LIFETIME =
    I_PARENT = CL_GUI_CONTAINER=>SCREEN0
    I_APPL_EVENTS =
    I_PARENTDBG =
    I_APPLOGPARENT =
    I_GRAPHICSPARENT =
    I_NAME =
    I_FCAT_COMPLETE = SPACE
    EXCEPTIONS
    ERROR_CNTL_CREATE = 1
    ERROR_CNTL_INIT = 2
    ERROR_CNTL_LINK = 3
    ERROR_DP_CREATE = 4
    OTHERS = 5.
    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 <> 0
    CALL METHOD W_GRID->SET_TABLE_FOR_FIRST_DISPLAY
    EXPORTING
    I_BUFFER_ACTIVE =
    I_BYPASSING_BUFFER =
    I_CONSISTENCY_CHECK =
    I_STRUCTURE_NAME =
    IS_VARIANT = W_VARIANT
    I_SAVE = 'A'
    I_DEFAULT = 'X'
    IS_LAYOUT =
    IS_PRINT =
    IT_SPECIAL_GROUPS =
    IT_TOOLBAR_EXCLUDING =
    IT_HYPERLINK =
    IT_ALV_GRAPHICS =
    IT_EXCEPT_QINFO =
    IR_SALV_ADAPTER =
    CHANGING
    IT_OUTTAB = T_OUTTAB
    IT_FIELDCATALOG = T_FIELDCAT
    IT_SORT =
    IT_FILTER =
    EXCEPTIONS
    INVALID_PARAMETER_COMBINATION = 1
    PROGRAM_ERROR = 2
    TOO_MANY_LINES = 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 <> 0.
    ENDIF. " IF W_GRID IS INITIAL
    CREATE OBJECT W_EVENT_CLICK.
    SET HANDLER W_EVENT_CLICK->HANDLE_HOTSPOT_CLICK FOR W_GRID.
    ENDMODULE. " STATUS_0100 OUTPUT
    *& Module USER_COMMAND_0100 INPUT
    PAI Event
    MODULE USER_COMMAND_0100 INPUT.
    CASE SY-UCOMM.
    WHEN 'BACK'.
    LEAVE TO SCREEN 0.
    WHEN 'EXIT'.
    LEAVE PROGRAM.
    WHEN 'CANCEL'.
    LEAVE TO SCREEN 0.
    ENDCASE.
    ENDMODULE. " USER_COMMAND_0100 INPUT
    *& Form PREPARE_FIELD_CATALOG
    Subroutine to build the Field catalog
    <--P_T_FIELDCAT Field Catalog Table
    FORM PREPARE_FIELD_CATALOG CHANGING PT_FIELDCAT TYPE LVC_T_FCAT .
    DATA LS_FCAT TYPE LVC_S_FCAT.
    Purchasing group...
    LS_FCAT-FIELDNAME = 'EKGRP'.
    LS_FCAT-REF_TABLE = 'EKKO'.
    LS_FCAT-INTTYPE = 'C'.
    LS_FCAT-OUTPUTLEN = '10'.
    APPEND LS_FCAT TO PT_FIELDCAT.
    CLEAR LS_FCAT.
    Purchasing Document Number...
    LS_FCAT-FIELDNAME = 'EBELN'.
    LS_FCAT-REF_TABLE = 'EKKO' .
    LS_FCAT-EMPHASIZE = 'C411'.
    LS_FCAT-INTTYPE = 'C'.
    LS_FCAT-OUTPUTLEN = '10'.
    LS_FCAT-HOTSPOT = 'X'.
    APPEND LS_FCAT TO PT_FIELDCAT .
    CLEAR LS_FCAT .
    Name of Person who Created the Object...
    LS_FCAT-FIELDNAME = 'ERNAM'.
    LS_FCAT-REF_TABLE = 'EKKO'.
    LS_FCAT-OUTPUTLEN = '15' .
    APPEND LS_FCAT TO PT_FIELDCAT.
    CLEAR LS_FCAT.
    Purchasing Document Date...
    LS_FCAT-FIELDNAME = 'BEDAT'.
    LS_FCAT-REF_TABLE = 'EKKO'.
    LS_FCAT-INTTYPE = 'C'.
    LS_FCAT-OUTPUTLEN = '10'.
    APPEND LS_FCAT TO PT_FIELDCAT.
    CLEAR LS_FCAT.
    Vendor's account number...
    LS_FCAT-FIELDNAME = 'LIFNR'.
    LS_FCAT-REF_TABLE = 'EKKO'.
    LS_FCAT-INTTYPE = 'C'.
    LS_FCAT-OUTPUTLEN = '10'.
    APPEND LS_FCAT TO PT_FIELDCAT.
    CLEAR LS_FCAT.
    Account Number of Vendor or Creditor...
    LS_FCAT-FIELDNAME = 'NAME1'.
    LS_FCAT-REF_TABLE = 'LFA1'.
    LS_FCAT-INTTYPE = 'C'.
    LS_FCAT-OUTPUTLEN = '10'.
    LS_FCAT-COLTEXT = 'Vendor Name'(001).
    LS_FCAT-SELTEXT = 'Vendor Name'(001).
    APPEND LS_FCAT TO PT_FIELDCAT.
    CLEAR LS_FCAT.
    Creation date of the change document...
    LS_FCAT-FIELDNAME = 'UDATE'.
    LS_FCAT-REF_TABLE = 'CDHDR'.
    LS_FCAT-INTTYPE = 'C'.
    LS_FCAT-OUTPUTLEN = '10'.
    LS_FCAT-COLTEXT = 'Change Date'(002).
    LS_FCAT-SELTEXT = 'Change Date'(002).
    APPEND LS_FCAT TO PT_FIELDCAT.
    CLEAR LS_FCAT.
    User name of the person responsible in change document...
    LS_FCAT-FIELDNAME = 'USERNAME'.
    LS_FCAT-REF_TABLE = 'CDHDR'.
    LS_FCAT-INTTYPE = 'C'.
    LS_FCAT-OUTPUTLEN = '10'.
    LS_FCAT-COLTEXT = 'Modified by'(003).
    LS_FCAT-SELTEXT = 'Modified by'(003).
    APPEND LS_FCAT TO PT_FIELDCAT.
    CLEAR LS_FCAT.
    Short Text Describing R/3 Repository Objects...
    LS_FCAT-FIELDNAME = 'DDTEXT'.
    LS_FCAT-REF_TABLE = 'DD04T'.
    LS_FCAT-INTTYPE = 'C'.
    LS_FCAT-OUTPUTLEN = '15'.
    APPEND LS_FCAT TO PT_FIELDCAT.
    CLEAR LS_FCAT.
    Old contents of changed field...
    LS_FCAT-FIELDNAME = 'VALUE_OLD'.
    LS_FCAT-REF_TABLE = 'CDPOS'.
    LS_FCAT-INTTYPE = 'C'.
    LS_FCAT-OUTPUTLEN = '12'.
    APPEND LS_FCAT TO PT_FIELDCAT.
    CLEAR LS_FCAT.
    New contents of changed field...
    LS_FCAT-FIELDNAME = 'VALUE_NEW'.
    LS_FCAT-REF_TABLE = 'CDPOS'.
    LS_FCAT-INTTYPE = 'C'.
    LS_FCAT-OUTPUTLEN = '12'.
    APPEND LS_FCAT TO PT_FIELDCAT.
    CLEAR LS_FCAT.
    ENDFORM. " PREPARE_FIELD_CATALOG
    *& Form SELECT_PO
    Subroutine to select all the Purchase Orders
    There are no interface parameters to be passed to this subroutine.
    FORM SELECT_PO .
    SELECT EBELN " Purchasing Document Number
    ERNAM " Name of Person who Created
    " the Object
    LIFNR " Vendor's account number
    EKGRP " Purchasing group
    BEDAT " Purchasing Document Date
    FROM EKKO
    PACKAGE SIZE 10000
    APPENDING TABLE T_EBELN
    WHERE EBELN IN S_EBELN
    AND BEDAT IN S_BEDAT.
    ENDSELECT.
    IF SY-SUBRC NE 0.
    W_FLAG = 1.
    MESSAGE S401(M8).
    ENDIF. " IF SY-SUBRC NE 0
    ENDFORM. " SELECT_PO
    *& Form SELECT_OBJ_ID
    Subroutine to select Object ID
    There are no interface parameters to be passed to this subroutine.
    FORM SELECT_OBJ_ID .
    IF NOT T_EBELN IS INITIAL.
    SELECT OBJECTCLAS " Object Class
    OBJECTID " Object value
    CHANGENR " Document change number
    USERNAME " User name
    UDATE " Creation date
    FROM CDHDR
    INTO TABLE T_CDHDR
    FOR ALL ENTRIES IN T_EBELN
    WHERE OBJECTID EQ T_EBELN-EBELN
    AND UDATE IN S_UDATE
    AND TCODE IN ('ME21N','ME22N','ME23N').
    ENDSELECT.
    IF SY-SUBRC NE 0.
    W_FLAG = 1.
    MESSAGE S833(M8) WITH 'Header Not Found'(031).
    ENDIF. " IF SY-SUBRC NE 0.
    ENDIF. " IF NOT T_EBELN IS INITIAL
    ENDFORM. " SELECT_OBJ_ID
    *& Form SELECT_CHANGED_VALUE
    Subroutine to select Changed Values
    There are no interface parameters to be passed to this subroutine.
    FORM SELECT_CHANGED_VALUE .
    IF NOT T_CDHDR IS INITIAL.
    SELECT OBJECTCLAS " Object class
    OBJECTID " Object value
    CHANGENR " Document change number
    TABNAME " Table Name
    FNAME " Field Name
    VALUE_NEW " New contents of changed field
    VALUE_OLD " Old contents of changed field
    FROM CDPOS
    PACKAGE SIZE 10000
    APPENDING TABLE T_CDPOS
    FOR ALL ENTRIES IN T_CDHDR
    WHERE OBJECTCLAS EQ T_CDHDR-OBJECTCLAS
    AND OBJECTID EQ T_CDHDR-OBJECTID
    AND CHANGENR EQ T_CDHDR-CHANGENR.
    ENDSELECT.
    IF SY-SUBRC NE 0.
    W_FLAG = 1.
    MESSAGE S833(M8) WITH 'Item Not Found'(032).
    ENDIF. " IF SY-SUBRC NE 0.
    ENDIF. " IF NOT T_CDHDR IS INITIAL
    T_CDPOS_TEMP[] = T_CDPOS[].
    ENDFORM. " SELECT_CHANGED_VALUE
    *& Form SELECT_PUR_DOC
    Subroutine to select Purchase Order Details
    There are no interface parameters to be passed to this subroutine.
    FORM SELECT_PUR_DOC .
    IF NOT T_CDPOS IS INITIAL.
    SORT T_EBELN BY EBELN.
    LOOP AT T_CDPOS INTO FS_CDPOS.
    READ TABLE T_EBELN INTO FS_EBELN WITH KEY EBELN =
    FS_CDPOS-OBJECTID BINARY SEARCH.
    IF SY-SUBRC NE 0.
    DELETE TABLE T_EBELN FROM FS_EBELN.
    ENDIF. " IF SY-SUBRC NE 0.
    ENDLOOP. " LOOP AT T_CDPOS...
    LOOP AT T_EBELN INTO FS_EBELN.
    MOVE FS_EBELN-EBELN TO FS_EKKO-EBELN.
    MOVE FS_EBELN-ERNAM TO FS_EKKO-ERNAM.
    MOVE FS_EBELN-LIFNR TO FS_EKKO-LIFNR.
    MOVE FS_EBELN-EKGRP TO FS_EKKO-EKGRP.
    MOVE FS_EBELN-BEDAT TO FS_EKKO-BEDAT.
    APPEND FS_EKKO TO T_EKKO.
    ENDLOOP. " LOOP AT T_EBELN...
    T_EKKO_TEMP[] = T_EKKO[].
    ENDIF. " IF NOT T_CDPOS IS INITIAL
    ENDFORM. " SELECT_PUR_DOC
    *& Form SELECT_VENDOR
    Subroutine to select Vendor details
    There are no interface parameters to be passed to this subroutine.
    FORM SELECT_VENDOR .
    IF NOT T_EKKO IS INITIAL.
    SORT T_EKKO_TEMP BY LIFNR.
    DELETE ADJACENT DUPLICATES FROM T_EKKO_TEMP COMPARING LIFNR.
    SELECT LIFNR " Account Number of Vendor or
    " Creditor
    NAME1 " Name 1
    FROM LFA1
    INTO TABLE T_LFA1
    FOR ALL ENTRIES IN T_EKKO_TEMP
    WHERE LIFNR EQ T_EKKO_TEMP-LIFNR.
    IF SY-SUBRC NE 0.
    MESSAGE S002(M8) WITH 'Master Details'(033).
    ENDIF. " IF SY-SUBRC NE 0.
    ENDIF. " IF NOT T_EKKO IS INITIAL
    ENDFORM. " SELECT_VENDOR
    *& Form DESCRIPTION
    Subroutine to get the description
    There are no interface parameters to be passed to this subroutine.
    FORM DESCRIPTION .
    IF NOT T_CDPOS IS INITIAL.
    SORT T_CDPOS_TEMP BY TABNAME FNAME.
    DELETE ADJACENT DUPLICATES FROM T_CDPOS_TEMP COMPARING TABNAME FNAME
    SELECT TABNAME " Table Name
    FIELDNAME " Field Name
    ROLLNAME " Data element
    FROM DD03L
    INTO TABLE T_DATAELE
    FOR ALL ENTRIES IN T_CDPOS_TEMP
    WHERE TABNAME EQ T_CDPOS_TEMP-TABNAME
    AND FIELDNAME EQ T_CDPOS_TEMP-FNAME.
    IF NOT T_DATAELE IS INITIAL.
    T_DATAELE_TEMP[] = T_DATAELE[].
    SORT T_DATAELE_TEMP BY ROLLNAME.
    DELETE ADJACENT DUPLICATES FROM T_DATAELE_TEMP COMPARING ROLLNAME.
    SELECT ROLLNAME " Data element
    DDTEXT " Short Text Describing R/3
    " Repository Objects
    FROM DD04T
    INTO TABLE T_TEXT
    FOR ALL ENTRIES IN T_DATAELE_TEMP
    WHERE ROLLNAME EQ T_DATAELE_TEMP-ROLLNAME
    AND DDLANGUAGE EQ SY-LANGU.
    IF SY-SUBRC NE 0.
    EXIT.
    ENDIF. " IF SY-SUBRC NE 0.
    ENDIF. " IF NOT T_DATAELE IS INITIAL.
    ENDIF. " IF NOT T_CDPOS IS INITIAL.
    ENDFORM. " DESCRIPTION
    *& Form FILL_OUTTAB
    Subroutine to populate the Outtab
    There are no interface parameters to be passed to this subroutine.
    FORM FILL_OUTTAB .
    SORT T_CDHDR BY OBJECTCLAS OBJECTID CHANGENR.
    SORT T_EKKO BY EBELN.
    SORT T_LFA1 BY LIFNR.
    SORT T_DATAELE BY TABNAME FIELDNAME.
    SORT T_TEXT BY ROLLNAME.
    LOOP AT T_CDPOS INTO FS_CDPOS.
    READ TABLE T_CDHDR INTO FS_CDHDR WITH KEY
    OBJECTCLAS = FS_CDPOS-OBJECTCLAS
    OBJECTID = FS_CDPOS-OBJECTID
    CHANGENR = FS_CDPOS-CHANGENR
    BINARY SEARCH.
    IF SY-SUBRC EQ 0.
    MOVE FS_CDHDR-USERNAME TO FS_OUTTAB-USERNAME.
    MOVE FS_CDHDR-UDATE TO FS_OUTTAB-UDATE.
    READ TABLE T_EKKO INTO FS_EKKO WITH KEY
    EBELN = FS_CDHDR-OBJECTID
    BINARY SEARCH.
    IF SY-SUBRC EQ 0.
    MOVE FS_EKKO-EBELN TO FS_OUTTAB-EBELN.
    MOVE FS_EKKO-ERNAM TO FS_OUTTAB-ERNAM.
    MOVE FS_EKKO-LIFNR TO FS_OUTTAB-LIFNR.
    MOVE FS_EKKO-EKGRP TO FS_OUTTAB-EKGRP.
    MOVE FS_EKKO-BEDAT TO FS_OUTTAB-BEDAT.
    READ TABLE T_LFA1 INTO FS_LFA1 WITH KEY
    LIFNR = FS_EKKO-LIFNR
    BINARY SEARCH.
    IF SY-SUBRC EQ 0.
    MOVE FS_LFA1-NAME1 TO FS_OUTTAB-NAME1.
    ENDIF. " IF SY-SUBRC EQ 0.
    ENDIF. " IF SY-SUBRC EQ 0.
    ENDIF. " IF SY-SUBRC EQ 0.
    MOVE FS_CDPOS-VALUE_NEW TO FS_OUTTAB-VALUE_NEW.
    MOVE FS_CDPOS-VALUE_OLD TO FS_OUTTAB-VALUE_OLD.
    READ TABLE T_DATAELE INTO FS_DATAELE WITH KEY
    TABNAME = FS_CDPOS-TABNAME
    FIELDNAME = FS_CDPOS-FNAME
    BINARY SEARCH.
    IF SY-SUBRC EQ 0.
    READ TABLE T_TEXT INTO FS_TEXT WITH KEY
    ROLLNAME = FS_DATAELE-ROLLNAME
    BINARY SEARCH.
    IF SY-SUBRC EQ 0.
    MOVE FS_TEXT-DDTEXT TO FS_OUTTAB-DDTEXT.
    ENDIF. " IF SY-SUBRC EQ 0.
    ENDIF. " IF SY-SUBRC EQ 0.
    APPEND FS_OUTTAB TO T_OUTTAB.
    CLEAR FS_OUTTAB.
    ENDLOOP.
    ENDFORM. " FILL_OUTTAB
    *& Form GET_CELL_INFO
    Subroutine to get the Cell Information
    --> W_VALUE Holds the value of Hotspot clicked
    FORM GET_CELL_INFO .
    CALL METHOD W_GRID->GET_CURRENT_CELL
    IMPORTING
    E_ROW =
    E_VALUE = W_VALUE
    E_COL =
    ES_ROW_ID =
    ES_COL_ID =
    ES_ROW_NO =
    ENDFORM. " GET_CELL_INFO
    *& Form VALIDATE_PD_NUM
    Subroutine to validate Purchase Document Number
    There are no interface parameters to be passed to this subroutine.
    FORM VALIDATE_PD_NUM .
    IF NOT S_EBELN[] IS INITIAL.
    SELECT EBELN " Purchase Document Number
    FROM EKKO
    INTO W_EBELN
    UP TO 1 ROWS
    WHERE EBELN IN S_EBELN.
    ENDSELECT.
    IF SY-SUBRC NE 0.
    CLEAR SSCRFIELDS-UCOMM.
    MESSAGE E717(M8).
    ENDIF. " IF SY-SUBRC NE 0
    ENDIF. " IF NOT S_EBELN[]...
    ENDFORM. " VALIDATE_PD_NUM
    *& Form VALIDATE_VEN_NUM
    Subroutine to validate Vendor Number
    There are no interface parameters to be passed to this subroutine.
    FORM VALIDATE_VEN_NUM .
    IF NOT S_LIFNR[] IS INITIAL.
    SELECT LIFNR " Vendor Number
    FROM LFA1
    INTO W_LIFNR
    UP TO 1 ROWS
    WHERE LIFNR IN S_LIFNR.
    ENDSELECT.
    IF SY-SUBRC NE 0.
    CLEAR SSCRFIELDS-UCOMM.
    MESSAGE E002(M8) WITH W_SPACE.
    ENDIF. " IF SY-SUBRC NE 0
    ENDIF. " IF NOT S_LIFNR[]...
    ENDFORM. " VALIDATE_VEN_NUM
    *& Form VALIDATE_PUR_GRP
    Subroutine to validate the Purchase Group
    There are no interface parameters to be passed to this subroutine.
    FORM VALIDATE_PUR_GRP .
    IF NOT S_EKGRP[] IS INITIAL.
    SELECT EKGRP " Purchase Group
    FROM T024
    INTO W_EKGRP
    UP TO 1 ROWS
    WHERE EKGRP IN S_EKGRP.
    ENDSELECT.
    IF SY-SUBRC NE 0.
    CLEAR SSCRFIELDS-UCOMM.
    MESSAGE E622(M8) WITH W_SPACE.
    ENDIF. " IF SY-SUBRC NE 0
    ENDIF. " IF NOT S_EKFRP[]...
    ENDFORM. " VALIDATE_PUR_GRP
    *& Form FILL_VARIANT
    Subroutine to fill the Variant Structure
    There are no interface parameters to be passed to this subroutine
    FORM FILL_VARIANT .
    Filling the Variant structure
    W_VARIANT-REPORT = SY-REPID.
    W_VARIANT-USERNAME = SY-UNAME.
    ENDFORM. " FILL_VARIANT
    reward point if helpful.
    thanks
    mrutyun^

  • Creating an Exception Report with a Prompt

    All,
    Having difficulties with this report, and I wanted to see if I'm trying to make it do too much.
    Report: Opportunities Exception Report
    Prompt: List of exceptions we are tracking (ie...Custom Field #1 not populated, Source not populated, etc).
    I tried to combine criteria to account for each exception (since each exception is based on a seperate field), but doing so prevents me from then adding a Prompt. I have also created individual reports to account for each exception. I'm wondering what the best approach would be to achieve the results I need?
    Is it possible to:
    1. Combine all individual exception reports (all have same columns, with first column hard-coded to identify which exception type that report contains) into one master exception report, with a prompt on the column that lists the exception type?
    2. Create a prompt to a master report that, when selected, applies exception criteria that is appropriate for what is chosen from the Prompt?
    3. Somehow work with a Master that that has all the exceptions built into the combined criteria, but still gives a Prompt to select which criteria you're wanting to see?
    Thanks in advance for any/all help.
    Regards,
    JT

    Mike,
    Thanks for your response. Looking at the suggestions you gave, the first two wouldn't work for this scenario because of what it is we're trying to do. Essentially, we're just trying to find the missing pieces of data that the Sales Team didn't enter in on an Opportunity. So every report is going to be like this:
    1. Show me ALL Opportunities that do not have field 1 populated. (Exception Type 1)
    2. Show me ALL Opportunities that do not have field 2 populated. (Exception Type 2)
    3. Show me ALL Opportunities that do not have field 3 populated. (Exception Type 3)
    The report with combined analysis worked great in putting these exceptions into one report, but you're limited in what you can do with it.
    I've toyed with the pivot table, but if have a drop down list of the exception types, can I then change the filter of the complete Opportunity list to be the just the one you select?
    Thanks again for your response,
    JT

  • 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

  • Exception report failed_urgent

    Hi all ,
    we got a failure in the exception report process in one of the process chain when we saw the log it says the following error what it means what can i do ?
         "Processing terminated due to error. Alert level > 7"
    can any one help me plz
    cheers
    dp

    Hi DP,
    Can you provide with more details of your error?
    The information you provided is not enough, may be thats why no one is trying to suggest you how to solve your issue .
    Regards,
    Naveen Rao Kattela

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

  • 'No Lines Released. No exception reported. Release Order Concurrently'

    Hi,
    I am trying to Release a Sales Order in Oracle Apps Version 11.0.300. But while releasing Sales Order its giving an Error that 'No Lines Released. No exception reported. Release Order Concurrently'.
    Please suggest what is the reason behind this error and want is the solution for it so that the Sales Order can be released successfully.
    Thank You.
    Regards,
    Meghana.

    I am trying to Release a Sales Order in Oracle Apps Version 11.0.300. But while releasing Sales Order its giving an Error that 'No Lines Released. No exception reported. Release Order Concurrently'.
    Please suggest what is the reason behind this error and want is the solution for it so that the Sales Order can be released successfully.I do not see any errors reported in MOS website.
    Please log a SR and see if Oracle support can help (since your application release, is not longer supported).
    Thanks,
    Hussein

  • What is difference between report programming and dialog programming?

    hi,
    what is difference between report programming and dialog programming? plz provide some example code
    bye

    ABAP programming
    Basically reports are used to read database and represent the results in lists.
    Reports are collections of processing blocks that the system calls depending on events.
    We can use reports to evaluate data from database tables.
    Reports are stand alone programs and controlled by events.
    A report itself never creates events
    steps in report:
    Processing the selection screen
    Reading the database
    Evaluating the data and creating lists
    Outputting a list.
    1st u write simple logics, after that u can enhance the code as step by step.
    http://venus.imp.mx/hilario/Libros/TeachYrslfAbap4/index.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/d1/802cfc454211d189710000e8322d00/frameset.htm
    http://www.sapdev.co.uk/reporting/reportinghome.htm
    Dialog Programming
    Structure of a Dialog Program
    A dialog program consists of the following basic components:
    Screens (dynpros)
    Each dialog in an SAP system is controlled by dynpros. A dynpro (DYnamic PROgram) consists of a screen and its flow logic and controls exactly one dialog step. The flow logic determines which processing takes place before displaying the screen (PBO-Process Before Output) and after receiving the entries the user made on the screen (PAI-Process After Input).
    The screen layout fixed in the Screen Painter determines the positions of input/output fields, text fields, and graphical elements such as radio buttons and checkboxes. In addition, the Menu Painter allows to store menus, icons, pushbuttons, and function keys in one or more GUI statuses. Dynpros and GUI statuses refer to the ABAP/4 program that control the sequence of the dynpros and GUI statuses at runtime.
    ABAP/4 module pool
    Each dynpro refers to exactly one ABAP/4 dialog program. Such a dialog program is also called a module pool, since it consists of interactive modules. The flow logic of a dynpro contains calls of modules from the corresponding module pool. Interactive modules called at the PBO event are used to prepare the screen template in accordance to the context, for example by setting field contents or by suppressing fields from the display that are not needed. Interactive modules called at the PAI event are used to check the user input and to trigger appropriate dialog steps, such as the update task.
    All dynpros to be called from within one transaction refer to a common module pool. The dynpros of a module pool are numbered. By default, the system stores for each dynpro the dynpro to be displayed next. This dynpro sequence or chain can be linear as well as cyclic. From within a dynpro chain, you can even call another dynpro chain and, after processing it, return to the original chain.
    Check this link for basics.
    http://sap.mis.cmich.edu/sap-abap/abap09/index.htm
    Check this link for Dialog Programming/Table Control
    http://www.planetsap.com/Tips_and_Tricks.htm#dialog
    Check this SAP Help for Dialog Program doc.
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9cdc35c111d1829f0000e829fbfe/content.htm
    Check this SAP Help link for Subscreens.
    http://help.sap.com/saphelp_nw70/helpdata/en/9f/dbabfe35c111d1829f0000e829fbfe/content.htm
    Check this link for subscreen demo program.
    http://abapcode.blogspot.com/2007/05/demo-program-to-create-subscreen-in.html
    Also check this link too.
    http://abapcode.blogspot.com/2007/06/dialog-programming-faq.html
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9cdc35c111d1829f0000e829fbfe/frameset.htm
    http://sap.mis.cmich.edu/sap-abap/abap09/sld004.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/52/670ba2439b11d1896f0000e8322d00/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/52/670c17439b11d1896f0000e8322d00/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/52/670c17439b11d1896f0000e8322d00/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9ccf35c111d1829f0000e829fbfe/frameset.htm
    http://abapprogramming.blogspot.com/

  • What is equivalent ASCP report for Planned Order&Order Reschedule Report

    What is equivalent report for Supply Chain Planned Order Report & Supply Chain Order Reschedule Report
    We are currently on MRP and running Supply Chain Planned Order Report successfully. We are planning to go to ASCP(Decentralized) next month ,what is the equivalent reports in ASCP?
    Edited by: SanDan on Jan 9, 2013 1:57 PM

    Hi ,
    You can explore the Planning Detail Report which you can run against your ascp plan. However there are few standard reports available in ascp. I suggest you can explore option of building custom report which will be best suited to your business needs (i.e. using Discoverer or if you are also implementing obiee you can build a custom report based on standard views or noitex views (- for ascp)
    Regards
    narendra

  • What is an ageing report? What are the data sources used to develop an agin

    Hello BW gurus,
    I was going thru some of the BW resumes. I could not understand some of the points mentioned below. Kindly go thru them and please explain each of it.
    Thank you.
    TR.
    •     Developed AR ageing report, created invoice layout and processed invoices.
    What is an ageing report? What are the data sources used to develop an aging report
    •     Worked on month-end and year end processes such as Balance Sheet Statements and Profit and Loss Accounts. 
    What data sources does one use to get Balance sheet and P&L accounts tables and fields.
    •     Involved in the end to end implementation of BW at Reliance Group as a team member.
    What are the tasks a BW consultant normally performs when he is involved in an end to end implementation project or
    a full life cycle project?
    •     Extensively worked on BW Statistics to optimize the performance of Info Cubes and to create Aggregates.
    What do you mean when you say worked on BW statistics to optimize the performance of Info Cubes.
    What are aggregates why do you need them?
    •     Prepared design documents from the Business Requirement documents and identified the
    relevant data targets for satisfying the customer requirements.
    What are the design documents does one prepare, please give an example. 
    Is cube a data target?

    What is an ageing report? What are the data sources used to develop an aging report
    Aging refers to values in different time period ranges. Example, the customer (credit) aging report can look like this.
    customer (credit)  for current period, 0 to 30 days, 30 to 90 days, 90 to 120 days. This is the way aging is classified.
    What data sources does one use to get Balance sheet and P&L accounts tables and fields.
    For P&L information, you may use 0FI_GL_6 datasource (or 0FI_GL_10 if you use ERP 5.0 version). This datasource reads the same information used in R/3 transaction f.01 (table glt0).
    What are the tasks a BW consultant normally performs when he is involved in an end to end implementation project or a full life cycle project?
    Requirement gathering, blueprint creation, development etc
    Refer to posts on Sap Methodology  and Sap lifecyle
    What do you mean when you say worked on BW statistics to optimize the performance of Info Cubes. What are aggregates why do you need them?
    Please check these links
    http://help.sap.com/saphelp_nw04/helpdata/en/8c/131e3b9f10b904e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/f0/3c8c3bc6b84239e10000000a114084/plain.htm
    What are the design documents does one prepare, please give an example.
    Design document is basically a document to say  how the design is to be developed for a particular solution ex: FI it says what is the data fow and what are the data targets  to be used and how data shld be stored  for providing the client a solution they need.
    Is cube a data target?
    Yes cube is a data target.
    Hope this Helps
    Anand Raj

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

  • What is payment alignment report

    what is payment alignment report...is ther any standard one in sap

    Dear salsa :
    payment alignment report means Payments in regards to different vendors with different company codes.
    In this report, Document no.,Payment methods, house bank, date of payment and balance to be paid is displayed.
    you can use the standard report
    FBL1N - Display/Change Line Items for vendor
    You can also see the reports in General Ledger - Information systems .
    If this does not satisfy the client requirement, you have to do customized report with help of ABAPer
    Please let me know if you need more information.
    Assign points if useful.
    Regards
    MSReddy

Maybe you are looking for