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

RH_UPDATE_INFTY Change Organizational Management Infotype Records

Changes existing organizational management infotype records passed in INNNN; the key fields must match the database records. Upload and correction programs use it to update texts or other OM data. Read the records with RH_READ_INFTY first, change the fields and pass them back with the same key.

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

Importing parameters

ParameterTypeDescriptionRequired
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—
OLD_TABNR_NEW_LANGUHRRHAP-OLD_TNR_NLKeep the old pointer with a new language—
REPIDSY-REPIDReport for table infotypes—
FORM—FORM routine for table infotypes—
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_UPDATE — Error during change
  • NO_AUTHORIZATION — No authorization
  • REPID_FORM_INITIAL — Report/FORM name for table infotype is empty
  • 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_UPDATE_INFTY'
  EXPORTING
    vtask = lv_vtask
  TABLES
    innnn = lt_innnn
    ilfcode = lt_ilfcode
  EXCEPTIONS
    error_during_update = 1
    no_authorization = 2
    repid_form_initial = 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