SAP Function Modules

Share |

HRGPBS_DRILL_READ_COVP SAP Function module - Read from table COVP

Pattern for FM HRGPBS_DRILL_READ_COVP - HRGPBS DRILL READ COVP
Associated Function Group: HRGPBS_DRILLDOWN
Released Date: Not Released
CALL FUNCTION 'HRGPBS_DRILL_READ_COVP' "Read from table COVP
  EXPORTING
    id_activity =               " c             C = create;R = reverse;G = get reposting
*   doc_type = 'HRPAY'          " awtyp         Reference procedure
    controlling_area =          " kokrs         Controlling Area
  TABLES
    r_kostl =                   " p08p_dlr_kostl_range  HRGBPS: Range of cost centers
    r_order =                   " p08p_dlr_order_range  HRGBPS: Range of orders
    r_wbs_id =                  " p08p_dlr_wbs_list  HRGBPS: Range of WBS elements
    r_wbs_orig =                " p08p_dlr_wbs_range  HRGBPS: Range of WBS elements
    r_budat =                   " p08p_dlr_budat_range  HRGBPS: Range of posting dates
    r_period =                  " p08p_dlr_perio_range  HRGBPS: Range of FI periods
    r_year =                    " p08p_dlr_gjahr_range  HRGBPS: Range of fiscal years
    r_elem =                    " p08p_dlr_acc_range  HRGBPS: Range of G/L accounts
    it_docnum =                 " p08p_dlr_docnum  HRGBPS:Document numbers for selection from HR posting tables
  EXCEPTIONS
    COVP_ERROR = 1              "               Error when reading COVP
    NO_HR_DOCS = 2              "               nor HR documents have been selected
    .  "  HRGPBS_DRILL_READ_COVP

SAP Documentation for FM HRGPBS_DRILL_READ_COVP


FUNCTIONALITY

Preselection of HR Document numbers from the cost object line item table COVP. The document numbers are then passed to function module HRGPBS_DRILL_SELECT_POST_LINE. The values for 'sign' and 'option' for the range tables of r_kostl r_wbs and r_order restricted to option = 'EQ'/'BT and sign = 'I'.
Documentation extract taken from SAP system, Copyright (c) SAP AG






Share |