Ansicht
Dokumentation
HR_CA_GET_CLASSIFICATION_GROUP - Read the classification group for WCB
Vendor Master (General Section) ABAP Short ReferenceThis documentation is copyright by SAP AG.
Functionality
The function is used to determine the assignment to WCB classification groups. The assignment can be made on the position, job, organizational unit level.
Therefore, to search for assignment, the function requires entries for the position, job, organizational unit, and evaluation date.
The processing searches for assignment on position level first. If no information is found, then assignment on job level is checked. Finally, assignment on organization level is checked. If no information is found that is directly associated with the organizational unit, the function checks whether or not the object has a parent organizational unit. This is done by looking for a relationship "A002" (reporting to). Only relationships with the Active planning status (ISTAT) are taken into consideration. The function checks whether the assignment is kept on a higher level in the organization structure. The search runs until it finds an assignment. If no parent organizational unit is found, then the search ends.
The assignment is stored in table T5KWB for all objects (position, job, organizational unit). An object can be assigned to multiple classification groups using a percentage split. The result is returned in the WCB table. Entries are added, but the table is not refreshed.
The return parameters OTYPE and OBJID indicate the object level on which the assignment was finally found. In case the search routine moves up in the organizational structure to search for the assignment, this parameter provides the object level on which the assignment was found.
Parameters
ENDDAOBJID
ORGEH
OTYPE
PLANS
STELL
WCB1
Exceptions
NO_ACTIVE_PLVARNO_ASSIGNMENT
NO_DATE_PROVIDED
NO_PARENT_FOUND
OBJ_NOT_FOUND
OBJ_NOT_MAINTAINED_IN_PD
Function Group
HRPAYCA01BAL Application Log Documentation Addresses (Business Address Services)
This documentation is copyright by SAP AG.
Length: 1999 Date: 20240523 Time: 090124 sap01-206 ( 57 ms )