SAP Function Module RH_GENERATE_POSITION_AT_ORG

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_GENERATE_POSITION_AT_ORG () is a standard Function Module in SAP ERP and is part of the function group RHW0_EC within the package SP00.

Technical Information

Function Module RH_GENERATE_POSITION_AT_ORG
Short Text
Function Group RHW0_EC
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
ACT_BEGDA LIKE OBJEC-BEGDA SY-DATUM
ACT_ENDDA LIKE OBJEC-ENDDA '99991231'
ACT_HOLDER LIKE SY-UNAME
ACT_HOLDER_TYPE LIKE HROBJECT-OTYPE 'US'
ACT_JOB LIKE HROBJECT-OBJID
ACT_ORGUNIT LIKE HROBJECT-OBJID
ACT_PLVAR LIKE HROBJECT-PLVAR Plan Version
IS_MANAGER TYPE FLAG
NEW_ORG_SHORT LIKE OBJEC-SHORT
NEW_ORG_STEXT LIKE OBJEC-STEXT
POSITION_ID LIKE OBJEC-OBJID '00000000'
WORKF_ACTV LIKE HRRHAP-WORKF_ACTV 'X' Event creation switch for updating database

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
ACT_POSITION LIKE HROBJECT-OBJID
NEW_ORG_ID LIKE HROBJECT-OBJID

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
NEWORG_INNNNEXP LIKE
NEWPOS_INNNNEXP LIKE

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
ENQUEUE_ERROR Locking Error
ERROR_DURING_INSERT Error writing to the database
ERROR_TO_GET_NEW_NUMBER
HOLDER_ALREADY_ASSIGNED
HOLDER_NOT_VALID
NO_ACTIVE_PLVAR
ORGUNIT_NOT_VALID