Ansicht
Dokumentation

HR_ECM_BW_EXTRACT_IS_COMP_MON - BW Extractor: Enterprise Compensation Status Monitor (0HR_PA_EC_15)

HR_ECM_BW_EXTRACT_IS_COMP_MON - BW Extractor: Enterprise Compensation Status Monitor (0HR_PA_EC_15)

RFUMSV00 - Advance Return for Tax on Sales/Purchases   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

The function module HR_ECM_BW_EXTRACT_IS_COMP_MON extracts the status and the budget values of compensation reviews for each organizational unit.

Usage

This function module is used in data source 0HR_PA_EC_15 with extract structure HRECM00BW_IS_COMP_MONITOR.

Possible selection fields are:

- CREVI (Compensation Review)

- ORGEH (Organizational Unit)

- BUDGET_TYPE (Budget Structure Element Type)

- BUDGET_PERIOD (Financial Year)

- CALDAY (Calendar Day)

- PROCESS_STATUS (Process Status)

- BD_AMT_CURCY (Currency Key)

- BD_AW_UNIT (Stock Unit)

Extracted key figures are:

- N_TOTAL (total number of eligible employees for the compensation review and organizational unit)

- N_PLANNING (number of employees with the status Planning)

- N_SUBMITTED (number of employees with the status Submitted)

- N_APPROVED (number of employees with the status Approved)

- N_ACTIVE (number of employees wtih the status Active)

- N_REJECTED (number of employees with the status Rejected)

- N_ORG_CREVI (Counter = 1)

- BD_AMT_TOT (total budget amount)

- BD_AMT_DIST (spent budget amount)

- BD_AMT_REM (remaining budget amount)

- BD_AW_TOT (total budget awards)

- BD_AW_DIST (distributed budget awards)

- BD_AW_REM (remaining budget awards)

Compensation Reviews

The compensation reviews valid on a given calendar day are taken into consideration. The table I_T_SELECT has to contain a single value entry for the field CALDAY (Calendar Day) that specifies the validity date of the compensation reviews. In addition, the table I_T_SELECT may contain selection criteria for the fields CREVI (Compensation Review), PROCESS_STATUS (Process Status), BUDGET_TYPE (Budget Structure Element Type), or BUDGET_PERIOD (Financial Year) to restrict the number of extracted compensation reviews further. All selection criteria are combined with the operator 'AND'.

Organizational Units

All organizational units that are specified using selection criteria in I_T_SELECT for the field ORGEH (Organizational Unit) are taken into consideration. In addition, the evaluation date of the compensation reviews is used to select only the organizational units that are valid at this date.

In general, only the relevant organizational units are extracted, but if an irrelevant organizational unit nevertheless has budget values, it is also extracted.

Selection Conditions for Fields BD_AMT_CURCY (Currency Key) and BD_AW_UNIT (Stock Unit)

If you specify a currency key in table I_T_SELECT, this results in the currency conversion of all budget amounts into this currency. If you specify a stock unit in table I_T_SELECT, this results in the conversion of all budget awards into this stock unit (this may be relevant in case of an stock split).

Table I_T_FIELDS

Only the fields specified in I_T_FIELDS are filled by the extractor. The fields ORGEH (Organizational Unit), CREVI (Compensation Review), BUDGET_TYPE (Budget Structure Element Type), BUDGET_PERIOD (Financial Year), and CALDAY (Calendar Day) are always extracted.

Determination of budget values

The budget units for all organizational units are determined using the table HRP1001 with the relation A300.

The budget header for the budget units is read using the infotype 1500. With this data it is possible to determine which budget unit is for which budget type and period.

The spent budget amounts and awards are determined using the table ADATA from the corresponding HRP1001 record.

For each budget Id top node, the budget Id hierarchy structure is determined with all budget Ids.

The total budget amounts and awards are determined using the infotype 1520. The total budget amounts/awards are aggregated; therefore, the non-aggregated values have to be calculated by subtracting the values of the subordinate nodes from the value of the actual node.

Example

Notes

You can use the BAdI HRECM00_PLANNING_UNIT_SERVICES to influence the organizational structure of the planning, the budgeting, or the responsibility of managers. The function module HR_ECM_BW_EXTRACT_IS_COMP_MON uses the BAdI methods to access the organizational structure or the manager assignments of Enterprise Compensation.

If there are multiple owners of budget values, several organizational units own the same budget. In this case, the total budget amount and the sum of the spent budget amounts are extracted only once for the first organizational unit. For all further organizational units that own the same budget, zero values are extracted.

Further information





Parameters

E_T_DATA
I_CALLMODE
I_DATAPAKID
I_DSOURCE
I_INITFLAG
I_MAXSIZE
I_READ_ONLY
I_REMOTE_CALL
I_REQUNR
I_T_FIELDS
I_T_SELECT
I_UPDMODE

Exceptions

ERROR_PASSED_TO_MESS_HANDLER
NO_MORE_DATA

Function Group

HRECM00BWEXTRACT

rdisp/max_wprun_time - Maximum work process run time   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 5464 Date: 20240523 Time: 110838     sap01-206 ( 98 ms )