Menu

SAP Function Module RH_SELECT_OBJECTS_FOR_OTYPE

Select Objects of Specified Object Type

The Function Module RH_SELECT_OBJECTS_FOR_OTYPE (Select Objects of Specified Object Type) is a standard Function Module in SAP ERP and is part of the function group HRBAS00SEARCH within the package SP00.

Technical Information

Function Module RH_SELECT_OBJECTS_FOR_OTYPE
Short Text Select Objects of Specified Object Type
Function Group HRBAS00SEARCH
Package SP00
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
BEGDA LIKE WPLOG-BEGDA $LOW_DATE Start of Search Period
ENDDA LIKE WPLOG-ENDDA $HIGH_DATE End of Search Period
ISTAT LIKE WPLOG-ISTAT SPACE Search Status
OTYPE LIKE WPLOG-OTYPE Object Type
PLVAR LIKE WPLOG-PLVAR Plan Version

Exporting Parameters

This function module does not define any EXPORTING parameters.

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

These are the TABLE parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
OBJEC_TAB LIKE OBJEC Return of Object Data
OBJID_TAB LIKE HROBJECT Return of Object Keys

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
INTERNAL_ERROR System Error: Unknown Error
INVALID_DATE_RANGE System Error: Search Period not Permitted
INVALID_OTYPE System Error: Object Type not Permitted
INVALID_PLVAR System Error: Plan Version not Permitted
NOTHING_FOUND No Objects Found That Meet Conditions