SAP Reports / Programs | Basis Components | Use Subcomponents | Print and Output Management(BC-CCM-PRN) SAP BC

RSPO0040 SAP ABAP Report - Where-Used List for Output Devices







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


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 RSPO0040. "Basic submit
SUBMIT RSPO0040 AND RETURN. "Return to original report after report execution complete
SUBMIT RSPO0040 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: 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


INCLUDES used within this REPORT RSPO0040

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:

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.



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