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

RHSTRU00_OLD SAP ABAP Report - Structure Display/Maintenance







RHSTRU00_OLD is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Report RHSTRU00 displays a structure (hierarchy) defined in the database HRPnnnn...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 RHSTRU00_OLD 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 RHSTRU00_OLD. "Basic submit
SUBMIT RHSTRU00_OLD AND RETURN. "Return to original report after report execution complete
SUBMIT RHSTRU00_OLD 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: TDEPTH = D Technical Depth
Selection Text: RECURS = D Recursion
Title: Structure Display/Maintenance
Text Symbol: WEG = Evaluation Path:
Text Symbol: TDP = Technical Depth
Text Symbol: T05 = Validity Status (Rel'ship)
Text Symbol: T04 = Validity Status (Object)
Text Symbol: T03 = Object Key
Text Symbol: T02 = Abbreviation
Text Symbol: T01 = Long or Short Text
Text Symbol: RT2 = Hide Recursion
Text Symbol: RT1 = Display Recursion
Text Symbol: REC = Recursion Check
Text Symbol: PB2 = Hide Icons
Text Symbol: PB1 = Disp. Icons
Text Symbol: NOD = Virtual Root
Text Symbol: E02 = Problem displaying screen for:
Text Symbol: E01 = Recursion detected
Text Symbol: DEP = Depth:
Text Symbol: 001 = Further Conditions


INCLUDES used within this REPORT RHSTRU00_OLD

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:

RH_USER_VIEW_PARAMETER CALL FUNCTION 'RH_USER_VIEW_PARAMETER' IMPORTING object_key = user_view_key EXCEPTIONS OTHERS = 0.

RH_USER_VIEW_PARAMETER CALL FUNCTION 'RH_USER_VIEW_PARAMETER' IMPORTING object_key = display-fkey short = display-fshort object_date = display-fstatus relation_date = display-frelat EXCEPTIONS OTHERS = 0.

GET_ACCESSIBILITY_MODE call function 'GET_ACCESSIBILITY_MODE' importing accessibility = gx_acc_mode_on exceptions others = 1.

RH_OTYPE_COLOR CALL FUNCTION 'RH_OTYPE_COLOR' EXPORTING otype = objec-otype IMPORTING color = ocolor intensiv = ointensiv EXCEPTIONS OTHERS = 0.

RS_TREE_CONSTRUCT CALL FUNCTION 'RS_TREE_CONSTRUCT' TABLES nodetab = node EXCEPTIONS tree_failure = 1 id_not_found = 2 wrong_relationship = 3 OTHERS = 4.

RS_TREE_EXPAND CALL FUNCTION 'RS_TREE_EXPAND' EXPORTING node_id = node-id all = 'X' EXCEPTIONS OTHERS = 0.

RS_TREE_LIST_DISPLAY CALL FUNCTION 'RS_TREE_LIST_DISPLAY' EXPORTING callback_program = 'RHSTRU00_OLD' callback_user_command = 'CB_USER_COMMAND' callback_text_display = 'CB_TEXT_DISPLAY' callback_top_of_page = 'TOP_OF_PAGE' EXCEPTIONS OTHERS = 0.

PD_STRUCTURAL_GRAPHICS CALL FUNCTION 'PD_STRUCTURAL_GRAPHICS' EXPORTING context_id = 'GENERAL' index = waobjec-seqnr load_pd_toolbox = 'X' load_pd_profiles = 'X' EXCEPTIONS OTHERS = 0.

ARCHIV_DISPLAY_META CALL FUNCTION 'ARCHIV_DISPLAY_META' EXPORTING * ARCHIV_DOC_INDEX = ' ' ar_object = 'HRICOLFOTO' * AUTH_FLAG = ' ' display_flag = ' ' object_id = objectid sap_object = 'PREL' * WINDOW_ID = ' ' * WINDOW_TITLE = ' ' no_workflowinfos = 'X' EXCEPTIONS error_archiv = 1 error_communicationtable = 2 error_connectiontable = 3 error_kernel = 4 error_parameter = 5 error_version = 6 OTHERS = 7.

PD_STRUCTURAL_GRAPHICS CALL FUNCTION 'PD_STRUCTURAL_GRAPHICS' EXPORTING context_id = 'GENERAL' index = waobjec-seqnr load_pd_toolbox = 'X' load_pd_profiles = 'X' EXCEPTIONS OTHERS = 0.

RH_USER_VIEW_PARAMETER CALL FUNCTION 'RH_USER_VIEW_PARAMETER' EXPORTING change_short = 'X' IMPORTING short = display-fshort EXCEPTIONS OTHERS = 0.

RH_USER_VIEW_PARAMETER CALL FUNCTION 'RH_USER_VIEW_PARAMETER' EXPORTING change_relation_date = 'X' IMPORTING relation_date = display-frelat EXCEPTIONS OTHERS = 0.

RH_USER_VIEW_PARAMETER CALL FUNCTION 'RH_USER_VIEW_PARAMETER' EXPORTING change_object_key = 'X' IMPORTING object_key = display-fkey EXCEPTIONS OTHERS = 0.

RH_USER_VIEW_PARAMETER CALL FUNCTION 'RH_USER_VIEW_PARAMETER' EXPORTING change_object_date = 'X' IMPORTING object_date = display-fstatus EXCEPTIONS OTHERS = 0.

RH_COLOR_LEGEND CALL FUNCTION 'RH_COLOR_LEGEND' EXPORTING ltyp = 'OSTAT' refresh = ' ' EXCEPTIONS OTHERS = 0.

RH_COLOR_LEGEND CALL FUNCTION 'RH_COLOR_LEGEND' EXPORTING ltyp = 'ISTAT' refresh = ' ' EXCEPTIONS OTHERS = 0.

RS_TREE_PUSH CALL FUNCTION 'RS_TREE_PUSH' EXCEPTIONS OTHERS = 0.

RS_TREE_LIST CALL FUNCTION 'RS_TREE_LIST' EXPORTING node_id = node-id all = 'X' with_attributes = 'X' TABLES list = node2 EXCEPTIONS OTHERS = 0.

RS_TREE_CONSTRUCT





CALL FUNCTION 'RS_TREE_CONSTRUCT' TABLES nodetab = node2 EXCEPTIONS tree_failure = 1 id_not_found = 2 wrong_relationship = 3 OTHERS = 4.

RS_TREE_LIST_DISPLAY CALL FUNCTION 'RS_TREE_LIST_DISPLAY' EXPORTING callback_program = 'RHSTRU00_OLD' callback_user_command = 'CB_USER_COMMAND' callback_text_display = 'CB_TEXT_DISPLAY' callback_top_of_page = 'TOP_OF_PAGE' EXCEPTIONS OTHERS = 0.

RS_TREE_POP CALL FUNCTION 'RS_TREE_POP' EXCEPTIONS OTHERS = 0.

RH_OM_GENERATE_PATH CALL FUNCTION 'RH_OM_GENERATE_PATH' EXPORTING act_pathid = pc-wegid maint = ' ' mark_mode = 'X' EXCEPTIONS OTHERS = 0.

RS_TREE_POP CALL FUNCTION 'RS_TREE_POP' EXCEPTIONS OTHERS = 0.

RH_OTYPE_COLOR CALL FUNCTION 'RH_OTYPE_COLOR' EXPORTING otype = waobjec-otype IMPORTING color = ocolor intensiv = ointensiv EXCEPTIONS OTHERS = 0.

RH_ISTAT_COLOR CALL FUNCTION 'RH_ISTAT_COLOR' EXPORTING istat = waobjec-istat IMPORTING color = ocolor intensiv = ointensiv EXCEPTIONS OTHERS = 0.

RS_TREE_PUSH CALL FUNCTION 'RS_TREE_PUSH' EXCEPTIONS OTHERS = 0.

RS_TREE_POP CALL FUNCTION 'RS_TREE_POP' EXCEPTIONS OTHERS = 0.



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 RHSTRU00_OLD or its description.