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

ParameterTypeDescriptionRequired
LOADHRRHAP-LOADLoad all infotypes into the buffer—
GDATEHRRHAP-GDATEDelimitation dateYes
HISTOHRRHAP-HISTOHistorical record flagYes
DEL_SUCCHRRHAP-DEL_SUCCDelimit or delete successor records—
VTASKHRRHAP-VTASKUpdate mode (B, D, V, S)Yes
ORDER_FLGHRRHAP-ORDER_FLGRespect the record sequence—
COMMIT_FLGHRRHAP-COMMIT_FLGCommit work flag—
AUTHYHRRHAP-AUTHYAuthorization check switch—
PPPAR_IMPPPPARImport structure PPPAR—
KEEP_LUPDHRRHAP-KEEP_LUPDKeep last changed by/on—
WORKF_ACTVHRRHAP-WORKF_ACTVTrigger workflow events—

Tables parameters

ParameterTypeDescriptionRequired
INNNN—Infotype records (HRInnnn)Yes
ILFCODEILFCODLogical 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.

Request a custom report