SAP Reports / Programs

ROIO_RT_PRINT SAP ABAP Report - RLM Returns - sample output routine







ROIO_RT_PRINT 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 ROIO_RT_PRINT 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 ROIO_RT_PRINT. "Basic submit
SUBMIT ROIO_RT_PRINT AND RETURN. "Return to original report after report execution complete
SUBMIT ROIO_RT_PRINT VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: RLM Returns - sample output routine


INCLUDES used within this REPORT ROIO_RT_PRINT

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:

OIO_DOCFLOW_OBJ_DECODE call function 'OIO_DOCFLOW_OBJ_DECODE' exporting i_objty = roio_output-objty i_objid = roio_output-objid importing e_object_ref = gs_rthdr.

OIO_RT_PRINT_VIEW call function 'OIO_RT_PRINT_VIEW' exporting i_docnr = gs_rthdr-docnr i_option_mtl = 'X' i_option_ctr = 'X' i_option_flw = 'X' i_mtprof_id = roio_output-mtprof_id importing es_rthdr = gs_rthdr et_rtmtl = gt_rtmtl et_rtctr = gt_rtctr et_flow = gt_flow et_object = gt_object exceptions not_found = 1 others = 2.

OIO_DOCFLOW_OBJ_TEXTS call function 'OIO_DOCFLOW_OBJ_TEXTS' exporting is_object_key = roio_object_list-key is_object_data = roio_object_list-data importing es_object_text = roio_object_list-text.

CONTROL_FORM call function 'CONTROL_FORM' exporting command = 'ENDPROTECT'.

WRITE_FORM call function 'WRITE_FORM' exporting element = 'NEW_PAGE' exceptions others = 1.

CONTROL_FORM call function 'CONTROL_FORM' exporting command = 'PROTECT'.

WRITE_FORM call function 'WRITE_FORM' exporting element = p_element function = 'SET' type = 'BODY' window = 'MAIN' exceptions element = 1 function = 2 type = 3 unopened = 4 unstarted = 5 window = 6 bad_pageformat_for_print = 7 spool_error = 8 others = 9.

OPEN_FORM call function 'OPEN_FORM' exporting device = 'PRINTER' dialog = 'X' form = roio_output-tdform options = ls_itcpo language = sy-langu exceptions canceled = 1 device = 2 form = 3 options = 4 unclosed = 5 mail_options = 6 archive_error = 7 others = 8.

CLOSE_FORM call function 'CLOSE_FORM' exceptions others = 1.

FP_FUNCTION_MODULE_NAME CALL FUNCTION 'FP_FUNCTION_MODULE_NAME' EXPORTING i_name = lv_pdfformname IMPORTING e_funcname = fm_name.

FP_JOB_OPEN CALL FUNCTION 'FP_JOB_OPEN' CHANGING ie_outputparams = fp_outputparams EXCEPTIONS cancel = 1 usage_error = 2 system_error = 3 internal_error = 4 OTHERS = 5.

FP_JOB_CLOSE CALL FUNCTION 'FP_JOB_CLOSE' EXCEPTIONS usage_error = 1 system_error = 2 internal_error = 3 OTHERS = 4.

OIO_DOCFLOW_OBJ_TEXTS CALL FUNCTION 'OIO_DOCFLOW_OBJ_TEXTS' EXPORTING is_object_key = roio_object_list-key is_object_data = roio_object_list-data IMPORTING es_object_text = roio_object_list-text.

FP_FUNCTION_MODULE_NAME CALL FUNCTION 'FP_FUNCTION_MODULE_NAME' EXPORTING i_name = lv_pdfname IMPORTING e_funcname = fm_name.

FP_JOB_CLOSE CALL FUNCTION 'FP_JOB_CLOSE' EXCEPTIONS usage_error = 1 system_error = 2 internal_error = 3 OTHERS = 4.



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