SAP Reports / Programs

RFFMARIT SAP ABAP Report - Archiving Actual/Commitment Line Items







RFFMARIT is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Program RFFMARIT carries out document archiving in Funds Management and writes the documents which can be archived to one or more files...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 RFFMARIT 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 RFFMARIT. "Basic submit
SUBMIT RFFMARIT AND RETURN. "Return to original report after report execution complete
SUBMIT RFFMARIT 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: G_FLG_AZ = Down payments
Selection Text: G_FLG_ZG = Payments
Selection Text: P_FYR_FR = From Fiscal Year
Selection Text: P_FYR_TO = Fiscal year to
Selection Text: P_MINTAG = Minimum days in system
Selection Text: P_PER_FR = From Period
Selection Text: P_PER_TO = To Period
Selection Text: X_DETAIL = Detail log
Selection Text: X_TESTL = Test run
Title: Archiving Actual/Commitment Line Items
Text Symbol: 010 = Document type
Text Symbol: 009 = ----------------- ---- ---- -----------------------------------------------
Text Symbol: 008 = Document Year Company code Reason
Text Symbol: 007 = The following documents would be archived:
Text Symbol: 006 = Following documents were archived:
Text Symbol: 005 = ****TEST RUN****
Text Symbol: 004 = ****PRODUCTION RUN****
Text Symbol: 003 = Archive file ;; was created on;;
Text Symbol: 001 = Test run
Text Symbol: 041 = Select "
Text Symbol: 042 = Archive "
Text Symbol: 044 = Min.lfe"
Text Symbol: 045 = Doc.lfe"
Text Symbol: 046 = is not the same as the selection criterion
Text Symbol: 049 = System" System error
Text Symbol: 050 = Further"
Text Symbol: 054 = Overview log
Text Symbol: 100 = To load "
Text Symbol: 040 = Statistics
Text Symbol: 107 = Index "
Text Symbol: 106 = Lne itm"
Text Symbol: 104 = Doc.no."
Text Symbol: 102 = FY/per "
Text Symbol: 101 = CoCde "
Text Symbol: 410 = Down payment
Text Symbol: 405 = Detail log
Text Symbol: 404 = Archive and change database
Text Symbol: 403 = Archive without changing the database





Text Symbol: 402 = Test run
Text Symbol: 401 = to
Text Symbol: 400 = Fiscal year/period
Text Symbol: 305 = Log text
Text Symbol: 304 = Document no.
Text Symbol: 303 = Posting date
Text Symbol: 302 = Fiscal yr
Text Symbol: 301 = Posting date
Text Symbol: 300 = Detail log
Text Symbol: 200 = Archiving
Text Symbol: 411 = Invoice
Text Symbol: 500 = Min.no.of days in the system
Text Symbol: 430 = Fund
Text Symbol: 420 = FM area
Text Symbol: 412 = Payment
Text Symbol: 016 = Document type Period Year
Text Symbol: 015 = Document type Period Year
Text Symbol: 013 = The following documents would not be archived (min.retention period not achieved):
Text Symbol: 012 = The following documents were not archived (minimum retention period not achieved):
Text Symbol: 011 = CoCde" Company code


INCLUDES used within this REPORT RFFMARIT

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:

FM_AUTH_CHECK_FM_AREA CALL FUNCTION 'FM_AUTH_CHECK_FM_AREA' EXPORTING I_FIKRS = L_T_FIKRS-FKRS I_ACTVT = '57' "/Archivierung I_MSGTY = 'S' IMPORTING E_FLG_AUTH = L_BEREC.

ARCHIVE_OPEN_FOR_WRITE CALL FUNCTION 'ARCHIVE_OPEN_FOR_WRITE' EXPORTING CALL_DELETE_JOB_IN_TEST_MODE = X_TESTL CREATE_ARCHIVE_FILE = ARCHIVE_FILE OBJECT = OBJECT IMPORTING ARCHIVE_HANDLE = HANDLE EXCEPTIONS INTERNAL_ERROR = 01 OBJECT_NOT_FOUND = 02 OPEN_ERROR = 03.

ARCHIVE_NEW_OBJECT CALL FUNCTION 'ARCHIVE_NEW_OBJECT' EXPORTING ARCHIVE_HANDLE = HANDLE EXCEPTIONS INTERNAL_ERROR = 1 WRONG_ACCESS_TO_ARCHIVE = 2.

ARCHIVE_GET_INFORMATION CALL FUNCTION 'ARCHIVE_GET_INFORMATION' EXPORTING ARCHIVE_HANDLE = HANDLE IMPORTING ARCHIVE_CREATION_DATE = DATE ARCHIVE_CREATION_RELEASE = RELEASE ARCHIVE_CREATION_SYSTEM = SYSTEM ARCHIVE_NAME = NAME OBJECT = OBJECT EXCEPTIONS INTERNAL_ERROR = 1 WRONG_ACCESS_TO_ARCHIVE = 2.

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 WRONG_ACCESS_TO_ARCHIVE = 02.

FM_TEXT_GET_FROM_WRTTP CALL FUNCTION 'FM_TEXT_GET_FROM_WRTTP' EXPORTING I_WRTTP = G_T_SINGLE_ITEMS-WRTTP IMPORTING E_TEXT = L_SAV_WTEXT.

FM_TEXT_GET_FROM_WRTTP CALL FUNCTION 'FM_TEXT_GET_FROM_WRTTP' EXPORTING I_WRTTP = G_T_NICHTAR-WRTTP IMPORTING E_TEXT = L_SAV_WTEXT.






ARCHIVE_SAVE_OBJECT CALL FUNCTION 'ARCHIVE_SAVE_OBJECT' EXPORTING ARCHIVE_HANDLE = HANDLE EXCEPTIONS FILE_IO_ERROR = 01 INTERNAL_ERROR = 02 OPEN_ERROR = 03 TERMINATION_REQUESTED = 04 WRONG_ACCESS_TO_ARCHIVE = 05.

ARCHIVE_PUT_RECORD CALL FUNCTION 'ARCHIVE_PUT_RECORD' EXPORTING ARCHIVE_HANDLE = HANDLE RECORD = A_RECORD RECORD_FLAGS = ' ' RECORD_STRUCTURE = A_STRUCTURE EXCEPTIONS INTERNAL_ERROR = 01 WRONG_ACCESS_TO_ARCHIVE = 02 INVALID_RECORD_STRUCTURE = 03.



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