SAP Function RH_EXIST_OBJECT - Check Existence of an Object

Parameter Reference Type Length Default Optional Text
OBJID PLOG-OBJID N 8 '00000000' X Object ID
OTYPE PLOG-OTYPE C 2 Object type
PLVAR PLOG-PLVAR C 2 Plan version
REALO OBJEC-REALO C 45 SPACE X Object ID in SOBID Format

Parameter Reference Type Length Text
EXTERNAL_OBJECT HRRHDB-SORT C 1 External Object -> Not to be Checked

Exception Text
NOT_FOUND Object does not exist

Functionality
This function checks the existence of internal objects (PersonnelPlanning objects) If the object has never existed, the exceptionNOT_FOUND is triggered.

Notes
The function does not check external objects (see parameterEXTERNAL_OBJECT).
This function assumes that the object index PLOGI is up to date. Theupdate task usually ensures that this is the case. In cases of doubt,you can regenerate the index using the program RHPLOGI0

Description
This parameter indicates whether the object was ignored.

Value range
'X' = external object, check was not performed.
' ' = internal object, check performed