SAP Reports / Programs

OAOTFPPI SAP ABAP Report - SAP ArchiveLink: Test program for creation of PP-PI document







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


Text pool values


Title: SAP ArchiveLink: Test program for creation of PP-PI document
Text Symbol: 001 = Test archiving with form
Text Symbol: 002 = Material-1234
Text Symbol: 003 = Text
Text Symbol: 004 = Short txt f. test


INCLUDES used within this REPORT OAOTFPPI

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 DESTINATION = SY-PDEST COPIES = COPIES LIST_NAME = LIST_NAME LIST_TEXT = LIST_TEXT IMMEDIATELY = 'X' RELEASE = 'X' NEW_LIST_ID = 'X' EXPIRATION = DAYS LINE_SIZE = LINE_SIZE LINE_COUNT = LINE_COUNT LAYOUT = LAYOUT SAP_COVER_PAGE = ' ' RECEIVER = SY-UNAME DEPARTMENT = 'PP-PI' SAP_OBJECT = SAP_OBJECT AR_OBJECT = AR_OBJECT ARCHIVE_MODE = '2' "nur Archivieren ARCHIVE_INFO = 'PPI' ARCHIVE_TEXT = ARC_TEXT NO_DIALOG = 'X' IMPORTING OUT_PARAMETERS = PARAMS OUT_ARCHIVE_PARAMETERS = ARPARAMS VALID = VALID EXCEPTIONS ARCHIVE_INFO_NOT_FOUND = 01 INVALID_PRINT_PARAMS = 02 INVALID_ARCHIVE_PARAMS = 03.

OPEN_FORM CALL FUNCTION 'OPEN_FORM' EXPORTING FORM = FORM LANGUAGE = SY-LANGU DEVICE = 'PRINTER' DIALOG = ' ' OPTIONS = PR_OPT ARCHIVE_INDEX = TOA_DARA ARCHIVE_PARAMS = ARPARAMS IMPORTING NEW_ARCHIVE_PARAMS = ARPARAMS RESULT = PR_RESULT EXCEPTIONS CANCELED = 01 DEVICE = 02 FORM = 03 OPTIONS = 04 UNCLOSED = 05.

START_FORM * call function 'START_FORM'.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING ELEMENT = 'SHORT_HEADER' WINDOW = 'MAIN'.

END_FORM * call function 'END_FORM'.

CLOSE_FORM CALL FUNCTION 'CLOSE_FORM' IMPORTING RESULT = PR_RESULT TABLES OTFDATA = PR_DATA EXCEPTIONS OTHERS = 01.



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