ROIR_DBT_STRUCT_GEN is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.
If you would like to execute this report or see the full code listing simply enter ROIR_DBT_STRUCT_GEN into the relevant SAP transactions such as SE38 or SE80
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.
Title: Generate include structure field for the document base table.
Text Symbol: 01A = Customer include for DBT subsequent processes
Text Symbol: 02A = You are about to create new fields in the database table
Text Symbol: 02B = OIRADBT for the DBT subsequent processes you have
Text Symbol: 02C = defined in customizing.
Text Symbol: 03A = Do you want to continue?
Text Symbol: 04A = Confirm database table changes
INCLUDE ROIR_DBT_STRUCT_GEN_TOP.
No SAP DATABASE tables are accessed within this REPORT code!
TR_SYS_PARAMS CALL FUNCTION 'TR_SYS_PARAMS' "LTH IMPORTING "LTH systemname = g_sysname "LTH systemtype = g_systype "LTH EXCEPTIONS "LTH no_systemname = 1 "LTH no_systemtype = 2 "LTH OTHERS = 3. "LTH
TR_OBJECTS_CHECK CALL FUNCTION 'TR_OBJECTS_CHECK' EXPORTING iv_no_standard_editor = ' ' iv_no_show_option = char_x iv_externalps = ' ' iv_externalid = ' ' iv_no_ps = ' ' IMPORTING we_order = g_order we_task = g_task we_objects_appendable = g_object_appendable TABLES wt_ko200 = gt_ko200 wt_e071k = gt_e071k tt_tadir = gt_tadir EXCEPTIONS cancel_edit_other_error = 1 show_only_other_error = 2 OTHERS = 3.
DDIF_TABL_GET CALL FUNCTION 'DDIF_TABL_GET' EXPORTING name = c_oira_dbt_ind_def "LTH state = 'A' langu = sy-langu IMPORTING * GOTSTATE = dd02v_wa = wa_dd02v * DD09L_WA = WA_DD09L TABLES dd03p_tab = t_dd03p * DD05M_TAB = T_DD05M * DD08V_TAB = T_DD08V * DD12V_TAB = T_DD12V * DD17V_TAB = T_DD17V * DD35V_TAB = T_DD35V * DD36M_TAB = T_DD36M EXCEPTIONS illegal_input = 1 OTHERS = 2.
DDIF_DTEL_GET CALL FUNCTION 'DDIF_DTEL_GET' EXPORTING name = c_oira_ind "LTH state = 'A' langu = sy-langu IMPORTING * GOTSTATE = dd04v_wa = wa_dd04v * TPARA_WA = EXCEPTIONS illegal_input = 1 OTHERS = 2.
POPUP_TO_CONFIRM_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' EXPORTING * DEFAULTOPTION = 'Y' diagnosetext1 = text-02a diagnosetext2 = text-02b diagnosetext3 = text-02c textline1 = text-03a titel = text-04a start_column = 25 start_row = 6 cancel_display = 'X' IMPORTING answer = g_popup_answer.
DDIF_TABL_GET CALL FUNCTION 'DDIF_TABL_GET' "LTH EXPORTING "LTH name = c_ci_oira_dbt_ind_def "LTH state = 'A' "LTH langu = sy-langu "LTH IMPORTING "LTH dd02v_wa = wa_dd02v2 "LTH TABLES "LTH dd03p_tab = t_dd03p2 "LTH EXCEPTIONS "LTH illegal_input = 1 "LTH OTHERS = 2. "LTH
TR_OBJECTS_INSERT CALL FUNCTION 'TR_OBJECTS_INSERT' EXPORTING wi_order = g_order iv_no_standard_editor = ' ' iv_no_show_option = char_x iv_externalps = ' ' iv_externalid = ' ' iv_no_ps = ' ' IMPORTING we_order = g_order we_task = g_task TABLES wt_ko200 = gt_ko200 wt_e071k = gt_e071k tt_tadir = gt_tadir EXCEPTIONS cancel_edit_other_error = 1 show_only_other_error = 2 OTHERS = 3.
DDIF_TABL_PUT CALL FUNCTION 'DDIF_TABL_PUT' "LTH EXPORTING "LTH name = g_tabdef "LTH dd02v_wa = wa_dd02v "LTH TABLES dd03p_tab = t_dd03p_new "LTH EXCEPTIONS "LTH tabl_not_found = 1 "LTH name_inconsistent = 2 "LTH tabl_inconsistent = 3 "LTH put_failure = 4 "LTH put_refused = 5 "LTH OTHERS = 6. "LTH
DDIF_TABL_PUT CALL FUNCTION 'DDIF_TABL_PUT' "LTH EXPORTING "LTH name = g_tabdef "LTH * dd02v_wa = ' ' * DD09L_WA = ' ' TABLES dd03p_tab = t_dd03p_new EXCEPTIONS tabl_not_found = 1 name_inconsistent = 2 tabl_inconsistent = 3 put_failure = 4 put_refused = 5 OTHERS = 6.
DDIF_TABL_ACTIVATE CALL FUNCTION 'DDIF_TABL_ACTIVATE' EXPORTING name = g_tabdef "LTH * AUTH_CHK = 'X' * PRID = -1 IMPORTING rc = rc_code2 EXCEPTIONS not_found = 1 put_failure = 2 OTHERS = 3.
RS_DD_ACTIVATE_INTERN CALL FUNCTION 'RS_DD_ACTIVATE_INTERN' EXPORTING * EXTERN = ' ' objname = c_oiradbt "LTH objtype = objtyp3 IMPORTING ok = ok1.
RS_DD_ACTIVATE_INTERN CALL FUNCTION 'RS_DD_ACTIVATE_INTERN' EXPORTING * EXTERN = ' ' objname = c_oira_dbt_ind_name "LTH objtype = objtyp4 IMPORTING ok = ok2.
OIR_DBT_UPD_VIEWS_GEN CALL FUNCTION 'OIR_DBT_UPD_VIEWS_GEN' EXPORTING i_systype = g_systype TABLES t_oiradbtsubproc = t_oiradbtsubproc EXCEPTIONS no_systype = 1 no_view_definition = 2 unknown_error = 3 put_error = 4 object_check_error = 5 activation_error = 6 OTHERS = 7.
DDIF_OBJECT_RESET CALL FUNCTION 'DDIF_OBJECT_RESET' EXPORTING type = objtyp5 name = g_tabdef "LTH * ID = EXCEPTIONS illegal_input = 1 OTHERS = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
ROIR_DBT_STRUCT_GEN - Generate include structure field for the document base table. ROIR_DBT_STRUCT_GEN - Generate include structure field for the document base table. ROIR_DBT_CFIELD_GEN_TOP - Include ROIR_DBT_CFIELD_GEN_TOP ROIR_DBT_CFIELD_GEN - Generate customer field include for the document base table (OIRADBT) ROIR_DBT_CFIELD_GEN - Generate customer field include for the document base table (OIRADBT) ROIRX_UPDATE_NETWORK_LOG - IS-Oil SSR Pricing network log update