SAP Reports / Programs | Payroll | Brazil(PY-BR) SAP PY

PCSCRBR2 SAP ABAP INCLUDE - documentation and ABAP source code







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


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


INCLUDES used within this REPORT PCSCRBR2

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:

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.



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