SAP Function RH_STRUCTURE_FOR_ORGPUBLISHER - Prepare structure for OrgPublisher

Parameter Reference Type Length Default Optional Text
AKT_KEYDATE SYST-DATUM D 8 SY-DATUM X Key date for evaluation
AKT_OBJID OBJEC-OBJID N 8 Root object ID
AKT_OTYPE OBJEC-OTYPE C 2 'O ' X Root object type ('O' only)
AKT_PLVAR OBJEC-PLVAR C 2 SPACE X Plan Variant
AKT_TDEPTH HRRHAS-TDEPTH P 3 0 X Technical depth of evaluation
SCENARIO ORG_SCENARIO C 4 X Scenario for data extraction

Parameter Reference Type Length Default Optional Text
ORGPUB ORGPUB_CUSTOM_TAB h 424 Table with data for OrgPublisher (output)

Exception Text
GENERAL_ERROR General Error
NO_PLVAR_FOUND No plan version entered. Plan version not available.
ROOT_NOT_FOUND Root object not found

Functionality
Starting from a root object, a structure evaluation is carried outusing the function module RH_DATA_COLLECTOR_ORGCHART and thetransferred scenario.
The structures found as well as the additional information areformatted in such a way, that they can be sent to the OrgPublisher(TimeVision) program via "OLE Automation"..

Notes
The sceanrio determines the evaluation path for the structureevaluation using table T77SCEN_AW, it may also use table T77SCENQY.Queries that are used to obtain additional information on the objectscan be displayed in the OrgPublisher as "Custom Fields".

Further information
This function module is used by the function moduleRH_CALL_ORGPUBLISHER to check the existence of and start theOrgPublisher (TimeVision) program.

Description
Type of root objects used for structure evaluation. If you are usingthe OrgPublisher (TimeVision), 'O' (organizational unit), is the onlyone you will need to use.