RFIDPH_ARCHIVE_WRITE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You use this program to archive official receipts...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter RFIDPH_ARCHIVE_WRITE 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.
Selection Text: TESTRUN = Delete Program (Test Run)
Selection Text: S_ORNUMB = Official Receipt Number
Selection Text: S_GJAHR = Fiscal Year
Selection Text: S_BUKRS = Company Code
Selection Text: S_BELNR = Document Number
Selection Text: PSTDATSX = Posting Date
Selection Text: GJAHRSX = Fiscal Year
Selection Text: CREATE = Generate Archive File
Selection Text: BUKRSX = Company Code
Selection Text: BRANCHSX = Branch
Title: Archiving of Official Receipts (Philippines)
Text Symbol: 001 = Open a New Archive File
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
ARCHIVE_OPEN_FOR_WRITE CALL FUNCTION 'ARCHIVE_OPEN_FOR_WRITE' EXPORTING CALL_DELETE_JOB_IN_TEST_MODE = TESTRUN COMMENTS = TEXT-001 CREATE_ARCHIVE_FILE = CREATE OBJECT = 'PH_PARCT' IMPORTING ARCHIVE_HANDLE = HANDLE EXCEPTIONS INTERNAL_ERROR = 1 OBJECT_NOT_FOUND = 2.
ARCHIVE_NEW_OBJECT CALL FUNCTION 'ARCHIVE_NEW_OBJECT' EXPORTING ARCHIVE_HANDLE = HANDLE OBJECT_ID = OBJECTID EXCEPTIONS INTERNAL_ERROR = 01.
ARCHIVE_PUT_RECORD CALL FUNCTION 'ARCHIVE_PUT_RECORD' EXPORTING ARCHIVE_HANDLE = HANDLE RECORD_STRUCTURE = 'PARCT' RECORD_FLAGS = ' ' RECORD = wa_it_parct EXCEPTIONS INTERNAL_ERROR = 01.
ARCHIVE_SAVE_OBJECT CALL FUNCTION 'ARCHIVE_SAVE_OBJECT' EXPORTING ARCHIVE_HANDLE = HANDLE EXCEPTIONS INTERNAL_ERROR = 02 TERMINATION_REQUESTED = 04.
ARCHIVE_WRITE_STATISTICS CALL FUNCTION 'ARCHIVE_WRITE_STATISTICS' EXPORTING ARCHIVE_HANDLE = HANDLE EXCEPTIONS INTERNAL_ERROR = 01.
ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING ARCHIVE_HANDLE = HANDLE EXCEPTIONS INTERNAL_ERROR = 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.
RFIDPH_ARCHIVE_WRITE - Archiving of Official Receipts (Philippines) RFIDPH_ARCHIVE_WRITE - Archiving of Official Receipts (Philippines) RFIDPH_ARCHIVE_READ - Reload Program for Official Receipt Archives (Philippines) RFIDPH_ARCHIVE_READ - Reload Program for Official Receipt Archives (Philippines) RFIDPH_ARCHIVE_DELETE - Deletion of Official Receipts (Philippines) RFIDPH_ARCHIVE_DELETE - Deletion of Official Receipts (Philippines)