PCSCRBR2 is a standard ABAP INCLUDE 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 PCSCRBR2 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.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
GET_PRINT_PARAMETERS call function 'GET_PRINT_PARAMETERS' exporting archive_info = 'AAA' archive_mode = p_armod archive_text = 'BR' ar_object = g_arobj mode = 'CURRENT' no_dialog = pbr99_on sap_object = g_sap_object destination = p_pdest importing out_archive_parameters = g_arc_params out_parameters = g_pri_params exceptions archive_info_not_found = 1 * invalid_print_params = 2 * invalid_archive_params = 3 others = 4.
SET_PRINT_PARAMETERS * call function 'SET_PRINT_PARAMETERS' * exporting * in_parameters = g_pri_params * in_archive_parameters = g_arc_params.
OPEN_FORM call function 'OPEN_FORM' EXPORTING archive_index = p_archive_index archive_params = p_archive_parameters dialog = p_dialog form = p_form options = l_options IMPORTING result = p_result EXCEPTIONS canceled = 1 device = 2 form = 3 options = 4 unclosed = 5 mail_options = 6 archive_error = 7 more_params_needed_in_batch = 8 others = 9.
START_FORM call function 'START_FORM' EXPORTING archive_index = p_archive_index EXCEPTIONS form = 1 format = 2 unended = 3 unopened = 4 unused = 5 others = 6.
READ_FORM_ELEMENTS call function 'READ_FORM_ELEMENTS' EXPORTING form = form language = sy-langu TABLES elements = text_element_tab EXCEPTIONS form = 1 unopened = 2 others = 3.
WRITE_FORM call function 'WRITE_FORM' exporting element = text_element-element * function = w_function window = text_element-window exceptions element = 1 function = 2 type = 3 unopened = 4 unstarted = 5 window = 6 others = 7.
CLOSE_FORM call function 'CLOSE_FORM' IMPORTING result = p_result EXCEPTIONS unopened = 1 bad_pageformat_for_print = 2 others = 3.
END_FORM call function 'END_FORM' IMPORTING result = g_result EXCEPTIONS others = 1.
START_FORM CALL FUNCTION 'START_FORM' EXPORTING FORM = P_SAPSCRIPT_FORM LANGUAGE = PBR99_LANGU EXCEPTIONS form = 1 format = 2 unended = 3 unopened = 4 unused = 5 others = 6.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.