SAP Reports / Programs

ROIU_DN_DISPLAY SAP ABAP Report - List Processing DN Downstream Node







ROIU_DN_DISPLAY is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This example shows a hierarchy with different coloring for hierarchical levels...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 ROIU_DN_DISPLAY into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

O3U_DNND9 - DNND Report


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 ROIU_DN_DISPLAY. "Basic submit
SUBMIT ROIU_DN_DISPLAY AND RETURN. "Return to original report after report execution complete
SUBMIT ROIU_DN_DISPLAY 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: P_WLNO =
Selection Text: P_WCNO =
Selection Text: P_MPNO = Measurement Point
Selection Text: P_EFFDT = Effective From Date
Selection Text: P_DNNO = Delivery Network
Title: List Processing DN Downstream Node
Text Symbol: WLN = Well
Text Symbol: WCN = Well Completion
Text Symbol: WC1 = WC: Well Completion
Text Symbol: T02 = List Processing Delivery Network Link
Text Symbol: T01 = Select
Text Symbol: S01 = Network construction error (check for loop)
Text Symbol: MPN = Measurement Point
Text Symbol: MP1 = MP: Measurement Point
Text Symbol: GRA = Hierarchy View
Text Symbol: ERR = Error
Text Symbol: EFT = Effective from MM/DD/CCYY
Text Symbol: EFF = effective date.
Text Symbol: EFD = Production Date
Text Symbol: DSP = Downstream split
Text Symbol: DSF = Display Format
Text Symbol: DNN = Delivery Network
Text Symbol: DNL = Delivery Network Link
Text Symbol: DN1 = DN: Delivery network
Text Symbol: AND = and
Text Symbol: ALV = List View
Text Symbol: A10 = ROOT
Text Symbol: 022 = PRA Messages
Text Symbol: 013 = due to multiple furthest downstream nodes.
Text Symbol: 012 = The Delivery Network is invalid
Text Symbol: 010 = Delivery Network Invalid
Text Symbol: 009 = DN Downstream Node for
Text Symbol: 008 = Delivery Network
Text Symbol: 006 = Delivery Network Validated
Text Symbol: 005 = Click on valid upstream node
Text Symbol: 004 = Click on valid node
Text Symbol: 003 = Create Delivery Network Link
Text Symbol: 002 = Do you want to create it?





Text Symbol: 001 = Delivery Network Link does not exist


INCLUDES used within this REPORT ROIU_DN_DISPLAY

INCLUDE: LOIU_COMMONTP2,


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:

OIUPR_GT_STATUS_SET CALL FUNCTION 'OIUPR_GT_STATUS_SET' EXPORTING i_action = 1.

RS_TREE_CONSTRUCT CALL FUNCTION 'RS_TREE_CONSTRUCT' EXPORTING insert_id = p_id * RELATIONSHIP = ' ' TABLES nodetab = p_list_tb EXCEPTIONS tree_failure = 1 id_not_found = 2.

RS_TREE_CONSTRUCT * CALL FUNCTION 'RS_TREE_CONSTRUCT' * TABLES * NODETAB = P_LIST_TB * EXCEPTIONS * TREE_FAILURE = 1.

RS_TREE_EXPAND CALL FUNCTION 'RS_TREE_EXPAND' EXPORTING all = 'X' node_id = 1 EXCEPTIONS not_found = 01.

RS_TREE_LIST_DISPLAY CALL FUNCTION 'RS_TREE_LIST_DISPLAY' EXPORTING callback_program = 'ROIU_DN_DISPLAY' callback_user_command = 'NODE_SELECT' callback_color_display = 'COLOR_DISPLAY' IMPORTING f15 = f15.

OIU_VALIDATE_NETWORK_STRUCTURE CALL FUNCTION 'OIU_VALIDATE_NETWORK_STRUCTURE' IMPORTING t_error_flag = w_error_flag TABLES t_request = w_request_tb t_ntwkmp = w_ntwkmp_tb t_ntwkwc = w_ntwkwc_tb EXCEPTIONS fatal_error = 1 OTHERS = 2.

OIU_TCODE_AUTHORITY CALL FUNCTION 'OIU_TCODE_AUTHORITY' EXPORTING i_object = 'O_OI0_TCD' i_tcode = 'O3U_DNND1'.

OIU_TCODE_AUTHORITY CALL FUNCTION 'OIU_TCODE_AUTHORITY' EXPORTING i_object = 'O_OI0_TCD' i_tcode = 'O3U_DNND2'.

OIU_TCODE_AUTHORITY CALL FUNCTION 'OIU_TCODE_AUTHORITY' EXPORTING i_object = 'O_OI0_TCD' i_tcode = 'O3U_DNND3'.

OIU_TCODE_AUTHORITY CALL FUNCTION 'OIU_TCODE_AUTHORITY' EXPORTING i_object = 'O_OI0_TCD' i_tcode = 'O3U_DNND6'.

APPL_LOG_DISPLAY_INTERN CALL FUNCTION 'APPL_LOG_DISPLAY_INTERN' EXPORTING object = 'OIU' subobject = f_appl_obj * TITLE_LIST_SCREEN = 'E&P Messages'(022) title_list_screen = 'PRA Messages'(022) "SOGK016100 RL * COLUMN_SELECTION = '11112221122 ' column_selection_msg_jump = '1' external_number_display_length = 36 * I_S_DISPLAY_PROFILE = * IMPORTING * NUMBER_OF_PROTOCOLS = EXCEPTIONS object_not_found = 1 subobject_not_found = 2 OTHERS = 3 .

OIU_STORE_MESSAGE_WRITE CALL FUNCTION 'OIU_STORE_MESSAGE_WRITE' IMPORTING e_lognumber = w_log_num EXCEPTIONS no_header = 1 no_messages = 2 appl_log_error = 3 OTHERS = 4.

OIU_STORE_MESSAGE_WRITE * CALL FUNCTION 'OIU_STORE_MESSAGE_WRITE' * TABLES * T_LOG_NMBRS = W_LOG_TB * EXCEPTIONS * OBJECT_NOT_FOUND = 1 * SUBOBJECT_NOT_FOUND = 2 * INTERNAL_ERROR = 3 * OTHERS = 4.

OIU_DN_SET_STRT_NODE * CALL FUNCTION 'OIU_DN_SET_STRT_NODE' * EXPORTING * I_REF_NO = W_REF_NO * I_TYPE = L_TYPE * I_MP = L_MP_NO * I_WL = L_WL_NO * I_WC = L_WC_NO * IMPORTING ** E_LVL = ** E_FUN = * E_DSS = L_DSS ** EXCEPTIONS ** REF_NOT_FOUND = 1 ** NODE_NOT_FOUND = 2 ** OTHERS = 3 * .

OIU_DN_GET_NEXT_NODE_DWNSTRM * CALL FUNCTION 'OIU_DN_GET_NEXT_NODE_DWNSTRM' * EXPORTING * I_REF_NO = W_REF_NO ** I_OPTION = * IMPORTING ** E_LVL = ** E_FUN = * E_DSS = L_DSS ** E_TYPE = ** E_MP_TYPE = * E_MP = W_HOLD_MP * E_WL = W_HOLD_WL * E_WC = W_HOLD_WC ** EXCEPTIONS ** REF_NOT_FOUND = 1 ** END_OF_NETWORK = 2 ** END_OF_THE_LEG = 3 ** NODE_NOT_FOUND = 4 ** OTHERS = 5 * .

OIU_TCODE_AUTHORITY CALL FUNCTION 'OIU_TCODE_AUTHORITY' EXPORTING i_object = 'O_OI0_TCD' i_tcode = sy-tcode.

OIU_TCODE_AUTHORITY CALL FUNCTION 'OIU_TCODE_AUTHORITY' EXPORTING i_object = 'O_OI0_TCD' i_tcode = sy-tcode.

OIU_TCODE_AUTHORITY





CALL FUNCTION 'OIU_TCODE_AUTHORITY' EXPORTING i_object = 'O_OI0_TCD' i_tcode = sy-tcode.

OIU_TCODE_AUTHORITY CALL FUNCTION 'OIU_TCODE_AUTHORITY' EXPORTING i_object = 'O_OI0_TCD' i_tcode = sy-tcode.

OIU_TCODE_AUTHORITY CALL FUNCTION 'OIU_TCODE_AUTHORITY' EXPORTING i_object = 'O_OI0_TCD' i_tcode = sy-tcode.

OIU_DN_EXPAND_ALL

OIU_DN_EXPAND **CALL FUNCTION 'OIU_DN_EXPAND_ALL' CALL FUNCTION 'OIU_DN_EXPAND' EXPORTING i_dn = p_dnno i_eff_dt = p_effdt i_starting_mp = l_mp_no i_show_rlf_cp = 'X' IMPORTING e_ref_no = w_ref_no EXCEPTIONS dn_not_found = 1 no_fdn_found = 2 many_fdn_found = 3 OTHERS = 4.

OIU_DN_DATED_READ **CALL FUNCTION 'OIU_DN_DATED_READ' * EXPORTING * dn_no = P_DNNO * eff_dt = P_EFFDT * force_db = 'X' * IMPORTING * E_OIU_PR_DNVD = S_DNVD * EXCEPTIONS * NONE_FOUND = 1 * OTHERS = 2.

OIU_DN_SET_STRT_NODE CALL FUNCTION 'OIU_DN_SET_STRT_NODE' EXPORTING i_ref_no = w_ref_no i_type = space IMPORTING e_lvl = w_lvl e_fun = w_fun e_dss = w_dss EXCEPTIONS ref_not_found = 1 node_not_found = 2 OTHERS = 3.

OIU_DN_GET_NEXT_NODE_UPSTRM CALL FUNCTION 'OIU_DN_GET_NEXT_NODE_UPSTRM' EXPORTING i_ref_no = w_ref_no IMPORTING e_lvl = w_lvl e_fun = w_fun e_dss = w_dss e_type = w_type e_mp_type = w_mp_typ e_mp = w_mp e_wl = w_wl e_wc = w_wc EXCEPTIONS ref_not_found = 1 end_of_network = 2 end_of_the_leg = 3 OTHERS = 4.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = g_program i_internal_tabname = g_itabname * I_STRUCTURE_NAME = ' ' * I_CLIENT_NEVER_DISPLAY = 'X' i_inclname = g_program * I_BYPASSING_BUFFER = * I_BUFFER_ACTIVE = CHANGING ct_fieldcat = gt_fieldcat[] EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3 .

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_buffer_active = 'X' "performance in WAN "KH * KH: always same i_structure_name W_LINKS_TB2, therfore buffer=on "KH * I_INTERFACE_CHECK = ' ' i_callback_program = g_program * I_CALLBACK_PF_STATUS_SET = ' ' i_callback_user_command = 'USER_COMMAND' * I_CALLBACK_TOP_OF_PAGE = ' ' * I_CALLBACK_HTML_TOP_OF_PAGE = ' ' * I_CALLBACK_HTML_END_OF_LIST = ' ' i_structure_name = g_itabname * I_BACKGROUND_ID = ' ' * I_GRID_TITLE = * I_GRID_SETTINGS = is_layout = gs_layout it_fieldcat = gt_fieldcat[] * IT_EXCLUDING = * IT_SPECIAL_GROUPS = * IT_SORT = * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = 'X' * I_SAVE = ' ' * IS_VARIANT = * IT_EVENTS = * IT_EVENT_EXIT = * IS_PRINT = * IS_REPREP_ID = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES t_outtab = w_links_tb2 EXCEPTIONS program_error = 1 OTHERS = 2 .

OIU_TCODE_AUTHORITY CALL FUNCTION 'OIU_TCODE_AUTHORITY' EXPORTING i_object = 'O_OI0_TCD' i_tcode = 'O3U_DNND3'.



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