SAP Reports / Programs | Basis Components | Business Management | Organizational Management(BC-BMT-OM) SAP BC

RHDBST50 SAP ABAP Report - Database Statistics: Generic Attributes







RHDBST50 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Database Statistics for Attributes This report is only intended for SAP Support...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RHDBST50 into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT RHDBST50. "Basic submit
SUBMIT RHDBST50 AND RETURN. "Return to original report after report execution complete
SUBMIT RHDBST50 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: DISP_ALE = Analysis of ALE Inbound Proc.
Selection Text: DISP_ATR = Analysis of Attributes
Selection Text: DISP_CUS = Analysis of Attribute Def.
Selection Text: DISP_SEL = Selectivity Analysis
Selection Text: DISP_STR = Ana
Selection Text: DISP_SYS = Analysis of System Parameters
Selection Text: DISP_WEG = D Evaluation Path
Selection Text: P_SCEN = D Attribute Maintenance Scenario
Title: Database Statistics: Generic Attributes
Text Symbol: 13B = Subtype:
Text Symbol: 13A = Value Check:
Text Symbol: 139 = Input Help:
Text Symbol: 138 = Mandatory
Text Symbol: 137 = Default Values
Text Symbol: 136 = Multiple Values
Text Symbol: 135 = Area
Text Symbol: 134 = Invisible
Text Symbol: 133 = Characteristics:
Text Symbol: 132 = Priority:
Text Symbol: 131 = Inheritance:
Text Symbol: 130 = Scenario is being buffered
Text Symbol: 120 = System is CRM/EBP system
Text Symbol: 100 = No plan version is set in your system
Text Symbol: 001 = Version
Text Symbol: 141 = DDIC Info Missing
Text Symbol: 142 = EBP 3.5 Attribute Conversion On
Text Symbol: 210 = Organizational Units:
Text Symbol: 211 = Positions:
Text Symbol: 220 = Runtime; read complete structure:
Text Symbol: 221 = Milliseconds
Text Symbol: 222 = Number of Root Objects:
Text Symbol: 223 = Greatest Depth of Structure:
Text Symbol: 140 = DDIC Info Ok Since
Text Symbol: 318 = Number of Objects with Function:
Text Symbol: 317 = Average
Text Symbol: 316 = Minimum
Text Symbol: 315 = Maximum
Text Symbol: 314 = Fragmentation (number of DB records per object):





Text Symbol: 313 = Number of attribute entries valid today:
Text Symbol: 312 = Total number of attribute entries:
Text Symbol: 311 = Number of Released Objects:
Text Symbol: 300 = Number of Attribute Entries:
Text Symbol: 225 = Runtime, Read Upper Tree:
Text Symbol: 224 = For Object
Text Symbol: H02 = Analysis of Organizational Structure
Text Symbol: H01 = System Parameters
Text Symbol: H00 = Analysis
Text Symbol: G23 = Width of Structure (number of child nodes)
Text Symbol: G22 = Structure Measurement
Text Symbol: G21 = Number of Objects
Text Symbol: G14 = Internal Parameters
Text Symbol: G12 = Active Components
Text Symbol: G11 = Active Plan Version
Text Symbol: 606 = Selection
Text Symbol: 605 = Intersection
Text Symbol: 604 = Number
Text Symbol: 603 = Maximum
Text Symbol: 602 = Minimum
Text Symbol: 601 = Attribute
Text Symbol: 505 = Number of Personnel Numbers in HRALETMP:
Text Symbol: 504 = Number of Entries in PCLHR:
Text Symbol: 503 = Number of Entries in HRALETMP (Future):
Text Symbol: 502 = Number of Entries in HRALETMP (Old):
Text Symbol: H03 = Analysis of Generic Attributes
Text Symbol: SL1 = Structure Analysis with Path
Text Symbol: SF2 = Attributes
Text Symbol: SF1 = System and Structure
Text Symbol: IM4 = Local
Text Symbol: IM3 = Only Inherited
Text Symbol: IM2 = Inherited with New Definition
Text Symbol: IM1 = Inherited Additively
Text Symbol: H06 = Analysis of Attribute Selectivity
Text Symbol: H05 = Analysis of ALE Inbound Processing (Future Data)
Text Symbol: H04 = Attribute Definition
Text Symbol: 501 = Number of Entries in HRALETMP:
Text Symbol: 13F = Scenario Class:
Text Symbol: 13E = Simulated





Text Symbol: 13D = Technical Type:
Text Symbol: 13C = Data Type:


INCLUDES used within this REPORT RHDBST50

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:

No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

HR_GENAT_DIALOG_SCENARIO_TXT CALL FUNCTION 'HR_GENAT_DIALOG_SCENARIO_TXT' IMPORTING scenario_text = gt_scent[].

RHGA_SCEN_GET_INSTANCES CALL FUNCTION 'RHGA_SCEN_GET_INSTANCES' IMPORTING scenarios = gt_scens[].

DDIF_NAMETAB_GET CALL FUNCTION 'DDIF_NAMETAB_GET' EXPORTING tabname = 'HRALETMP' EXCEPTIONS not_found = 1 OTHERS = 2.

RH_GET_ACTIVE_WF_PLVAR CALL FUNCTION 'RH_GET_ACTIVE_WF_PLVAR' IMPORTING act_plvar = g_plvar EXCEPTIONS no_active_plvar = 1 OTHERS = 2.

RHF4_TEXT_PLVAR CALL FUNCTION 'RHF4_TEXT_PLVAR' EXPORTING plvar = g_plvar IMPORTING ptext = g_ptext EXCEPTIONS OTHERS = 0.

TR_GET_SAPR3_TYPE CALL FUNCTION 'TR_GET_SAPR3_TYPE' TABLES tt_cvers = gt_cvers EXCEPTIONS OTHERS = 0.

RH_TYPE_STRUC_INDEX CALL FUNCTION 'RH_TYPE_STRUC_INDEX' EXPORTING act_plvar = g_plvar srk_otype = 'O' act_wegid = 'ORGEH' TABLES root_object_index = gt_root1 not_related_index = gt_root2 EXCEPTIONS OTHERS = 0.

STRUCTURE_BUILD_MULTIPLE_ROOTS CALL FUNCTION 'STRUCTURE_BUILD_MULTIPLE_ROOTS' EXPORTING plvar = g_plvar wegid = disp_weg authy = ' ' cbflag = 'X' * IMPORTING * cb_nr = g_cblock TABLES root_objects = gt_roots root_tab = gt_gdstr EXCEPTIONS OTHERS = 0.

STRUCTURE_DELETE CALL FUNCTION 'STRUCTURE_DELETE' EXPORTING pstru = -pstru.

OM_TURN_EVALUATION_PATH CALL FUNCTION 'OM_TURN_EVALUATION_PATH' EXPORTING pathid = disp_weg IMPORTING turned_pathid = g_wegiv int_path_flag = g_wegif.

STRUCTURE_BUILD CALL FUNCTION 'STRUCTURE_BUILD' EXPORTING plvar = g_plvar otype = g_maxobj-otype objid = g_maxobj-sobid wegid = g_wegiv 77aw_int = g_wegif authy = ' ' cbflag = ' ' EXCEPTIONS OTHERS = 0.

RH_READ_OBJECT CALL FUNCTION 'RH_READ_OBJECT' EXPORTING plvar = g_plvar otype = -otype realo = -objid check_stru_auth = ' ' IMPORTING obeg = g_object-begda oend = g_object-endda ostat = g_object-istat histo = g_object-histo short = g_object-short stext = g_object-stext EXCEPTIONS OTHERS = 0.

DDIF_NAMETAB_GET CALL FUNCTION 'DDIF_NAMETAB_GET' EXPORTING tabname = 'HRALETMP' EXCEPTIONS not_found = 1 OTHERS = 2.

DDIF_NAMETAB_GET CALL FUNCTION 'DDIF_NAMETAB_GET' EXPORTING tabname = 'PCLHR' EXCEPTIONS not_found = 1 OTHERS = 2.

RH_OM_ATTRIBUTES_DETERMINE CALL FUNCTION 'RH_OM_ATTRIBUTES_DETERMINE' EXPORTING scenario = gt_scens-scenario with_invisible = 'X' TABLES attr_prop = gt_attrs EXCEPTIONS OTHERS = 0.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = gt_attrd-refstruct fieldname = gt_attrd-reffield TABLES dfies_tab = gt_dfies EXCEPTIONS OTHERS = 0.

DDIF_NAMETAB_GET CALL FUNCTION 'DDIF_NAMETAB_GET' EXPORTING tabname = 'HRP5500' EXCEPTIONS not_found = 1 OTHERS = 2.




STRUCTURE_ENTRY_READ CALL FUNCTION 'STRUCTURE_ENTRY_READ' EXPORTING index = p_rootnr IMPORTING entry = l_struc.

STRUCTURE_ENTRY_READ CALL FUNCTION 'STRUCTURE_ENTRY_READ' EXPORTING index = l_struc-pnext IMPORTING entry = l_struc.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.

The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name RHDBST50 or its description.