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

PCSCRBR1 SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

OPEN_FORM CALL FUNCTION 'OPEN_FORM' EXPORTING DIALOG = SPACE FORM = P_SAPSCRIPT_FORM LANGUAGE = PBR99_LANGU OPTIONS = OPTIONS ARCHIVE_INDEX = MY_TOA_DARA EXCEPTIONS CANCELED = 1 DEVICE = 2 FORM = 3 OPTIONS = 4 UNCLOSED = 5 OTHERS = 6.

OPEN_FORM CALL FUNCTION 'OPEN_FORM' EXPORTING DIALOG = FL_POPUP FORM = P_SAPSCRIPT_FORM LANGUAGE = PBR99_LANGU DEVICE = 'SCREEN' EXCEPTIONS CANCELED = 1 DEVICE = 2 FORM = 3 OPTIONS = 4 UNCLOSED = 5 OTHERS = 6.

READ_FORM_ELEMENTS CALL FUNCTION 'READ_FORM_ELEMENTS' EXPORTING FORM = P_SAPSCRIPT_FORM LANGUAGE = PBR99_LANGU TABLES ELEMENTS = P_TEXT_ELEMENT EXCEPTIONS FORM = 1 UNOPENED = 2 OTHERS = 3.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING ELEMENT = P_TEXT_ELEMENT-ELEMENT WINDOW = P_TEXT_ELEMENT-WINDOW EXCEPTIONS ELEMENT = 1 FUNCTION = 2 TYPE = 3 UNOPENED = 4 UNSTARTED = 5 WINDOW = 6 OTHERS = 7.

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.

END_FORM CALL FUNCTION 'END_FORM' EXCEPTIONS UNOPENED = 1 BAD_PAGEFORMAT_FOR_PRINT = 2 OTHERS = 3.

CLOSE_FORM CALL FUNCTION 'CLOSE_FORM' EXCEPTIONS UNOPENED = 1 BAD_PAGEFORMAT_FOR_PRINT = 2 OTHERS = 3.

CLOSE_FORM CALL FUNCTION 'CLOSE_FORM' IMPORTING RESULT = RESULTS EXCEPTIONS UNOPENED = 1 BAD_PAGEFORMAT_FOR_PRINT = 2 OTHERS = 3.

SET_PRINT_PARAMETERS CALL FUNCTION 'SET_PRINT_PARAMETERS' EXPORTING LIST_TEXT = PRTXT IN_PARAMETERS = PRINT_PARAMETERS IN_ARCHIVE_PARAMETERS = ARCHIVE_PARAMETERS.

GET_PRINT_PARAMETERS CALL FUNCTION 'GET_PRINT_PARAMETERS' EXPORTING NO_DIALOG = 'X' MODE = 'CURRENT' IMPORTING OUT_PARAMETERS = PRI_PARAMS OUT_ARCHIVE_PARAMETERS = ARC_PARAMS EXCEPTIONS INVALID_PRINT_PARAMS = 1 INVALID_ARCHIVE_PARAMS = 2 OTHERS = 3.



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