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
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.
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
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
OAOTFPPI - SAP ArchiveLink: Test program for creation of PP-PI document OAOTFPPI - SAP ArchiveLink: Test program for creation of PP-PI document OAOBJTES - Program for object type BUS: ArchiveLink test OAOBJTES - Program for object type BUS: ArchiveLink test OANEXTCO - Subsequent assignment of stored documents OANEXTCO - Subsequent assignment of stored documents