SAP Reports / Programs

COMPONENT_PRINT SAP ABAP Report - Prepares Query Definition for Printing







COMPONENT_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 COMPONENT_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 COMPONENT_PRINT. "Basic submit
SUBMIT COMPONENT_PRINT AND RETURN. "Return to original report after report execution complete
SUBMIT COMPONENT_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: Prepares Query Definition for Printing


INCLUDES used within this REPORT COMPONENT_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:

RSZ_COMPONENT_TREE_GET call function 'RSZ_COMPONENT_TREE_GET' importing e_compid = compid.

RSZ_COMPONENT_TREE_GET call function 'RSZ_COMPONENT_TREE_GET' importing e_compuid = compuid.

RSZ_X_COMPONENT_GET call function 'RSZ_X_COMPONENT_GET' exporting i_compuid = compuid importing e_subrc = l_subrc tables c_t_eltdir = l_t_eltdir c_t_eltprop = l_t_eltprop c_t_eltprio = l_t_eltprio c_t_eltattr = l_t_eltattr c_t_eltxref = l_t_eltxref c_t_compdir = l_t_compdir c_t_compic = l_t_compic c_t_select = l_t_select c_t_range = l_t_range c_t_calc = l_t_calc c_t_cell = l_t_cell c_t_var = l_t_var c_t_uid_server = l_t_uid_server.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING filename = l_fullpath * FILETYPE = 'ASC' * APPEND = ' ' * WRITE_FIELD_SEPARATOR = ' ' * HEADER = '00' TRUNC_TRAILING_BLANKS = 'X' WRITE_LF = ' ' * COL_SELECT = ' ' * COL_SELECT_MASK = ' ' * DAT_MODE = ' ' tables data_tab = l_t_component_xml.



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