Menu

SAP Function Module RH_SELECT_OBJECTS_FOR_OTYPE

Select Objects of Specified Object Type

Recommended Now

All-new Echo Dot Smart speaker with Alexa

This bundle includes Echo Dot (3rd Gen) Charcoal and Philips Hue White A19 Medium Lumen Smart Bulb, 1100 Lumens. Built in Smart Home hub. Ask Alexa to control Zigbee-compatible devices. No additional Philips Hue hub required. Two choices for easy smart lighting - Start setting the mood with Hue Smart bulbs and your Echo device, supporting up to 5 Hue Bluetooth & Zigbee smart bulbs. Add the Hue Hub for whole-home smart lighting (up to 50 light points) and bonus features.

Check it out on amazon.com →

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