SAP Reports / Programs

RFIDPH_ARCHIVE_WRITE SAP ABAP Report - Archiving of Official Receipts (Philippines)







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


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 RFIDPH_ARCHIVE_WRITE. "Basic submit
SUBMIT RFIDPH_ARCHIVE_WRITE AND RETURN. "Return to original report after report execution complete
SUBMIT RFIDPH_ARCHIVE_WRITE 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: 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


INCLUDES used within this REPORT RFIDPH_ARCHIVE_WRITE

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:

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.



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