HCM
Function module
Used the same way in S/4HANA
RH_CUT_INFTY Delimit Organizational Management Infotype Records
Delimits organizational management infotype records at the date given in GDATE, for example to end a relationship between a position and an organizational unit. It works for infotypes with time constraints other than 0 and 1. Use VTASK to control the update mode and handle GDATE_BEFORE_BEGDA.
- Function group
- RHAP
- Remote-enabled (RFC)
- No
- Type
- Function module
Importing parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| LOAD | HRRHAP-LOAD | Load all infotypes into the buffer | — |
| GDATE | HRRHAP-GDATE | Delimitation date | Yes |
| HISTO | HRRHAP-HISTO | Historical record flag | Yes |
| DEL_SUCC | HRRHAP-DEL_SUCC | Delimit or delete successor records | — |
| VTASK | HRRHAP-VTASK | Update mode (B, D, V, S) | Yes |
| ORDER_FLG | HRRHAP-ORDER_FLG | Respect the record sequence | — |
| COMMIT_FLG | HRRHAP-COMMIT_FLG | Commit work flag | — |
| AUTHY | HRRHAP-AUTHY | Authorization check switch | — |
| PPPAR_IMP | PPPAR | Import structure PPPAR | — |
| KEEP_LUPD | HRRHAP-KEEP_LUPD | Keep last changed by/on | — |
| WORKF_ACTV | HRRHAP-WORKF_ACTV | Trigger workflow events | — |
Tables parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| INNNN | — | Infotype records (HRInnnn) | Yes |
| ILFCODE | ILFCOD | Logical function codes | — |
Exceptions
- ERROR_DURING_CUT — Error while delimiting
- NO_AUTHORIZATION — No authorization
- GDATE_BEFORE_BEGDA — Delimitation date is before start date
- CUT_OF_TIMCO_ONE — Time constraint 1 cannot be delimited
- CORR_EXIT — Error assigning the correction number
Call template (ABAP)
A skeleton generated from the interface. It lists mandatory importing parameters, exporting parameters and tables; declare the variables with suitable types in your own program.
CALL FUNCTION 'RH_CUT_INFTY'
EXPORTING
gdate = lv_gdate
histo = lv_histo
vtask = lv_vtask
TABLES
innnn = lt_innnn
ilfcode = lt_ilfcode
EXCEPTIONS
error_during_cut = 1
no_authorization = 2
gdate_before_begda = 3
cut_of_timco_one = 4
corr_exit = 5
OTHERS = 6.Can't find the report you need?
We also build anything that is not in the catalog. Describe it briefly and we will suggest the right solution.