SAP Function RH_UPDATE_INFTY - Change infotype records

Parameter Reference Type Length Default Optional Text
AUTHY HRRHAP-AUTHY C 1 'X' X Authorization Check Switch
COMMIT_FLG HRRHAP-COMMIT_FLG C 1 'X' X Switch with COMMIT
FORM 0 SPACE X FORM Name for Transferring Table Infotypes
KEEP_LUPD HRRHAP-KEEP_LUPD C 1 X Retain Last Changed By/On
OLD_TABNR_NEW_LANGU HRRHAP-OLD_TNR_NL C 1 SPACE X Transfer Old Pointer with New Language
ORDER_FLG HRRHAP-ORDER_FLG C 1 'X' X Switch: Take Record Sequence Into Account
PPPAR_IMP PPPAR u 551 X Import Structure PPPAR
REPID SYST-REPID C 40 SPACE X Report Name for Transferring Table Infotypes
VTASK HRRHAP-VTASK C 1 Update (B=Buffer,D=Online,V=Update,S=Sync)
WORKF_ACTV HRRHAP-WORKF_ACTV C 1 'X' X Workflow Switch Active

Parameter Reference Length Optional Text
ILFCODE ILFCOD 8 X Table of Logical Function Codes
INNNN 0 Table of Infotype Records

Exception Text
CORR_EXIT Error/Termination While Assigning Correction Number
ERROR_DURING_UPDATE Change Error
NO_AUTHORIZATION No Authorization
REPID_FORM_INITIAL Report/FORM Name for Table Infotype is Initial

Functionality
With this function module you can change multiple infotype records forOM objects from Personnel Planning database tables (HRPnnnn). Theinfotype tables of the table parameter INNNN must all have thestructure Pnnnn (logical structure for the infotype nnnn). The recordsyou want to change must exist in the Personnel Planning databasetables. If not, this triggers the exception ERROR_DURING_UPDATE.
The values of the parameter VTASK (update type) mean the following:
- 'D' -> update in dialog
- 'S' -> synchronous update via the update task
- 'V' -> asynchronous update via the update task
- 'B' -> internal update in buffer only, no DB update
In HR applications the parameter should be set to 'D' for update indialog. If there are multiple operations that logically belong togetherto be updated internally in the buffer first and then saved together tothe database, you should set the parameter in each case to 'B' forinternal update in buffer only, no DB update. The DB update is thenexecuted by calling the function module 'RH_UPDATE_DATABASE'.

1045081Dump caused by PA-PD-integration when using PA40