RSPO0040 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 RSPO0040 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.
Selection Text: L_PRIN = OutputDevice
Title: Where-Used List for Output Devices
Text Symbol: 100 = Results for Sought Output Devices
Text Symbol: 400 = No. of Entries
Text Symbol: 410 = Entries
Text Symbol: 700 = Long Printer Name
Text Symbol: 710 = LongName
Text Symbol: 800 = Short Printer Name
Text Symbol: 810 = ShrtName
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
RS_EU_CROSSREF CALL FUNCTION 'RS_EU_CROSSREF' EXPORTING i_find_obj_cls = 'DOMA' i_scope_obj_cls = 'DTEL' no_dialog = 'X' * EXPORTING * I_FULL_NAME = * I_SCOPE_OBJKEY = * IMPORTING * O_SCOPE_OBJ_CLS = * O_ANSWER = TABLES i_findstrings = findstrings o_founds = found_data_elements EXCEPTIONS not_executed = 1 not_found = 2 illegal_object = 3 no_cross_for_this_object = 4 batch = 5 batchjob_error = 6 wrong_type = 7 object_not_exist = 8 OTHERS = 9.
DD_TBHD_GET CALL FUNCTION 'DD_TBHD_GET' EXPORTING * GET_STATE = 'M' * LANGU = SY-LANGU * PRID = 0 tabl_name = wa_dd03vv-tabname withtext = 'X' IMPORTING dd02v_wa_a = tab_descr EXCEPTIONS illegal_value = 1 op_failure = 2 OTHERS = 3.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = my_program i_structure_name = 'PRINTER_LINE' i_grid_title = grid_title is_layout = gs_layout it_fieldcat = gt_fieldcat[] it_excluding = gt_exclude[] i_default = 'X' i_save = 'A' is_print = alv_print TABLES t_outtab = printer_table EXCEPTIONS program_error = 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.