HCM Function module Used the same way in S/4HANA

RH_DELETE_INFTY Delete Organizational Management Infotype Records

Deletes organizational management infotype records passed in INNNN. It is used to remove wrong relationships or test data loaded by upload programs. Prefer delimiting (RH_CUT_INFTY) for productive history; the first record of an object (DELETE_FIRST_RECORD) cannot be deleted this way.

Function group
RHAP
Remote-enabled (RFC)
No
Type
Function module

Importing parameters

ParameterTypeDescriptionRequired
LOADHRRHAP-LOADLoad all infotypes into the buffer—
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_DELETE — Error when deleting
  • NO_AUTHORIZATION — No authorization
  • DELETE_FIRST_RECORD — First record must not be deleted
  • 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_DELETE_INFTY'
  EXPORTING
    vtask = lv_vtask
  TABLES
    innnn = lt_innnn
    ilfcode = lt_ilfcode
  EXCEPTIONS
    error_during_delete = 1
    no_authorization = 2
    delete_first_record = 3
    corr_exit = 4
    OTHERS = 5.

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