SAP Reports / Programs

RS_PREC_PLAN SAP ABAP Report - Program RS_PREC_PLAN







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


Text pool values


Selection Text: DEST = Precalculation Server
Selection Text: EMAIL = EMail Addresses (Single Value)
Selection Text: TEMPLATE = Web Template
Selection Text: VARIANT = Variant
Selection Text: WBID = Workbook
Title: Program RS_PREC_PLAN


INCLUDES used within this REPORT RS_PREC_PLAN

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:

RZ_WORKBOOK_F4_GET CALL FUNCTION 'RZ_WORKBOOK_F4_GET' EXPORTING i_objtype = 'WB' IMPORTING e_genuniid = l_wbid.

GET_PRINT_PARAMETERS CALL FUNCTION 'GET_PRINT_PARAMETERS' * EXPORTING * ARCHIVE_ID = C_CHAR_UNKNOWN * ARCHIVE_INFO = C_CHAR_UNKNOWN * ARCHIVE_MODE = C_CHAR_UNKNOWN * ARCHIVE_TEXT = C_CHAR_UNKNOWN * AR_OBJECT = C_CHAR_UNKNOWN * 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 = C_CHAR_UNKNOWN * EXPIRATION = C_NUM1_UNKNOWN * IMMEDIATELY = C_CHAR_UNKNOWN * IN_ARCHIVE_PARAMETERS = ' ' * IN_PARAMETERS = ' ' * LAYOUT = 'X_POSTSCRIPT' * LINE_COUNT = C_INT_UNKNOWN * LINE_SIZE = C_INT_UNKNOWN * LIST_NAME = C_CHAR_UNKNOWN * LIST_TEXT = C_CHAR_UNKNOWN * MODE = ' ' * NEW_LIST_ID = C_CHAR_UNKNOWN * PROTECT_LIST = C_CHAR_UNKNOWN * NO_DIALOG = C_FALSE * RECEIVER = C_CHAR_UNKNOWN * RELEASE = C_CHAR_UNKNOWN * REPORT = C_CHAR_UNKNOWN * SAP_COVER_PAGE = C_CHAR_UNKNOWN * HOST_COVER_PAGE = C_CHAR_UNKNOWN * PRIORITY = C_NUM1_UNKNOWN * SAP_OBJECT = C_CHAR_UNKNOWN * TYPE = C_CHAR_UNKNOWN * USER = SY-UNAME IMPORTING * OUT_ARCHIVE_PARAMETERS = out_parameters = l_pri_params valid = l_valid * EXCEPTIONS * ARCHIVE_INFO_NOT_FOUND = 1 * INVALID_PRINT_PARAMS = 2 * INVALID_ARCHIVE_PARAMS = 3 * OTHERS = 4 .

RSPO_SR_OPEN CALL FUNCTION 'RSPO_SR_OPEN' EXPORTING dest = l_pri_params-pdest * LDEST = layout = l_layout name = l_name * SUFFIX1 = * SUFFIX2 = * COPIES = * PRIO = immediate_print = l_pri_params-primm * AUTO_DELETE = titleline = 'this' receiver = l_pri_params-prrec " division = l_pri_params-prabt " abteilung authority = l_pri_params-prber " * POSNAME = * ACTTIME = * LIFETIME = '8' * APPEND = * COVERPAGE = * CODEPAGE = doctype = l_doctype * ARCHMODE = * ARCHPARAMS = * TELELAND = * TELENUM = * TELENUME = IMPORTING handle = l_spool_handle spoolid = l_spoolid * EXCEPTIONS * DEVICE_MISSING = 1 * NAME_TWICE = 2 * NO_SUCH_DEVICE = 3 * OPERATION_FAILED = 4 * OTHERS = 5 . "#EC DOM_EQUAL

RS_PREC_XSTRING_TO_C255 * CALL FUNCTION 'RS_PREC_XSTRING_TO_C255' * EXPORTING * i_file_length = l_counter * TABLES * et_c255 = lt_spool * it_bin = i_xstring * EXCEPTIONS * table_length_mismatch = 1 * length_processing_error = 2 * OTHERS = 3.

RSPO_SR_WRITE CALL FUNCTION 'RSPO_SR_WRITE' EXPORTING handle = l_spool_handle text = ls_spool length = l_length.

RSPO_SR_CLOSE CALL FUNCTION 'RSPO_SR_CLOSE' EXPORTING handle = l_spool_handle.



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