SAP Function RH_DELETE_OBJECT - Delete Object

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
CONFIRM HRRHAP-COMMIT_FLG C 1 SPACE X DIALOG BOX Show Deletion Confirmation
DELETE_1205_WFDID HRRHAP-COMMIT_FLG C 1 'X' X Delete Workflow Definition
DELETE_DEPENDENTS HRRHAP-COMMIT_FLG C 1 'X' X Delete Dependent Objects
DELETE_USER_PROFILES HRRHAP-COMMIT_FLG C 1 'X' X Delete User Profiles of Activity Group
KEEP_LUPD HRRHAP-KEEP_LUPD C 1 X Retain Last Changed By/On
NO_EXCEPT_FOREIGN_DATA HRRHAP-COMMIT_FLG C 1 SPACE X
OBJID WPLOG-OBJID N 8 X Object ID
ORDER_FLG HRRHAP-ORDER_FLG C 1 'X' X Switch: Take Record Sequence Into Account
OTYPE WPLOG-OTYPE C 2 X Object Type
PLVAR WPLOG-PLVAR C 2 X Plan Version
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 Type Length Text
CONFIRM_EXIT 0 User Action in Confirmation Dialog Box

Parameter Reference Length Optional Text
DEL_OBJECTS HROBJECT 12 X Objects to be deleted
ILFCODE ILFCOD 8 X Table of Logical Function Codes

Exception Text
BUFFER_UPD_WITH_FOREIGN_DATA Buffer Update with Foreign Data
CORR_EXIT Error/Termination While Assigning Correction Number
ERROR_DURING_DELETE Error during deletion
NO_AUTHORIZATION No Authorization

Functionality
This function module deletes one or more objects from the database.

Notes
If the authorization check switch is active, deletion will only beexecuted if the user has the required authorization for all objects andthe required delete authorization for all infotypes of the objects.

Description
In this parameter the user action in the popup is returned forconfirmation (only when CONFIRM = X).

  • N = User chose NO

  • C = User chose CANCEL