Menu

SAP Function Module HRHAP_DOC_ROLE_GET_OBJECTS

Get all Objects with the given Role for the BASE OBJECT

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 HRHAP_DOC_ROLE_GET_OBJECTS (Get all Objects with the given Role for the BASE OBJECT) is a standard Function Module in SAP ERP and is part of the function group HRHAP_IF_DOC_ROLES within the package PAOC_HAP_DOCUMENT_IF.

Technical Information

Function Module HRHAP_DOC_ROLE_GET_OBJECTS
Short Text Get all Objects with the given Role for the BASE OBJECT
Function Group HRHAP_IF_DOC_ROLES
Package PAOC_HAP_DOCUMENT_IF
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
FROM_DATE TYPE HAP_DATE_FROM SY-DATUM From Date
ROLE_ID TYPE HAP_ROLE_ID Appraisal Role ID
TO_DATE TYPE HAP_DATE_TO SY-DATUM To Date
T_OBJECTS_BASE TYPE HAP_T_HRSOBID Top Objects
T_TARGET_TYPES TYPE HAP_T_TYPE Target Types for T_OBJECTS

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
S_RETURN TYPE BAL_S_MSG Application Log: Message Data
T_OBJECTS TYPE HAP_T_HRSOBID Found Objects

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

This function module does not define any TABLE parameters.

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
NOT_IMPLEMENTED BAdI is not implemented
NO_OBJECTS_FOUND No Objects Found for this Role