SAP Reports / Programs | Personnel Management | Personnel Administration | Mexico(PA-PA-MX) SAP PA

PCSCRMX0 SAP ABAP INCLUDE - Rutinas generales para impresion de SapScript







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


Text pool values


Title: Rutinas generales para impresion de SapScript


INCLUDES used within this REPORT PCSCRMX0

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:

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 = 'SET' * FUNCTION = W_FUNCTION * TYPE = 'BODY' WINDOW = TEXT_ELEMENT-WINDOW * importing * pending_lines = EXCEPTIONS ELEMENT = 1 FUNCTION = 2 TYPE = 3 UNOPENED = 4 UNSTARTED = 5 WINDOW = 6 OTHERS = 7.

START_FORM call function 'START_FORM' exceptions others = 1.

END_FORM CALL FUNCTION 'END_FORM' EXCEPTIONS OTHERS = 1.

OPEN_FORM CALL FUNCTION 'OPEN_FORM' EXPORTING * APPLICATION = 'TX' ARCHIVE_INDEX = P_ARCHIVE_INDEX ARCHIVE_PARAMS = P_ARCHIVE_PARAMETERS * DEVICE = 'PRINTER' DIALOG = P_DIALOG FORM = P_FORM * LANGUAGE = SY-LANGU OPTIONS = L_OPTIONS * MAIL_SENDER = ' ' * MAIL_RECIPIENT = ' ' * MAIL_APPL_OBJECT = ' ' * RAW_DATA_INTERFACE = '*' IMPORTING * LANGUAGE = * NEW_ARCHIVE_PARAMS = 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.

CLOSE_FORM CALL FUNCTION 'CLOSE_FORM' IMPORTING RESULT = P_RESULT * tables * OTFDATA = EXCEPTIONS UNOPENED = 1 OTHERS = 2.

START_FORM CALL FUNCTION 'START_FORM' EXPORTING ARCHIVE_INDEX = P_ARCHIVE_INDEX * FORM = ' ' * LANGUAGE = ' ' * STARTPAGE = ' ' * PROGRAM = ' ' * MAIL_APPL_OBJECT = ' ' * IMPORTING * LANGUAGE = EXCEPTIONS FORM = 1 FORMAT = 2 UNENDED = 3 UNOPENED = 4 UNUSED = 5 OTHERS = 6.

GET_PRINT_PARAMETERS CALL FUNCTION 'GET_PRINT_PARAMETERS' EXPORTING * ARCHIVE_ID = C_CHAR_UNKNOWN ARCHIVE_INFO = 'AAA' ARCHIVE_MODE = P_ARMOD ARCHIVE_TEXT = 'MX' AR_OBJECT = P_AROBJECT * ARCHIVE_REPORT = C_CHAR_UNKNOWN * AUTHORITY = C_CHAR_UNKNOWN * COPIES = C_NUM3_UNKNOWN * COVER_PAGE = C_CHAR_UNKNOWN * DATA_SET = C_CHAR_UNKNOWN * DEPARTMENT = C_CHAR_UNKNOWN DESTINATION = L_PDEST * EXPIRATION = C_NUM1_UNKNOWN * IMMEDIATELY = C_CHAR_UNKNOWN * IN_ARCHIVE_PARAMETERS = ' ' IN_PARAMETERS = P_PRINT_PARAMETERS * LAYOUT = C_CHAR_UNKNOWN * LINE_COUNT = C_INT_UNKNOWN * LINE_SIZE = C_INT_UNKNOWN * LIST_NAME = C_CHAR_UNKNOWN * LIST_TEXT = C_CHAR_UNKNOWN MODE = 'CURRENT' * NEW_LIST_ID = C_CHAR_UNKNOWN NO_DIALOG = TRUE * RECEIVER = C_CHAR_UNKNOWN * RELEASE = C_CHAR_UNKNOWN * REPORT = C_CHAR_UNKNOWN * SAP_COVER_PAGE = C_CHAR_UNKNOWN SAP_OBJECT = P_SAPOBJECT * TYPE = C_CHAR_UNKNOWN IMPORTING OUT_ARCHIVE_PARAMETERS = P_ARCHIVE_PARAMETERS OUT_PARAMETERS = P_PRINT_PARAMETERS * VALID = EXCEPTIONS ARCHIVE_INFO_NOT_FOUND = 1 OTHERS = 2.

GET_PRINT_PARAMETERS CALL FUNCTION 'GET_PRINT_PARAMETERS' EXPORTING IN_ARCHIVE_PARAMETERS = P_ARCHIVE_PARAMETERS IN_PARAMETERS = P_PRINT_PARAMETERS NO_DIALOG = FALSE IMPORTING OUT_ARCHIVE_PARAMETERS = P_ARCHIVE_PARAMETERS OUT_PARAMETERS = P_PRINT_PARAMETERS VALID = P_VALID EXCEPTIONS OTHERS = 4.



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