SAP Reports / Programs | Public Sector Management | Funds Management(PSM-FM) SAP PSM

RFFMARCFTW SAP ABAP Report - Archiving of FYC Totals in FM: Write Program







RFFMARCFTW is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program is used to archive FM totals records for the fiscal year change (archiving object FM_FYC_TT) from database tables FMCFAA, FMCFAB and FMCFBAPP...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 RFFMARCFTW 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 RFFMARCFTW. "Basic submit
SUBMIT RFFMARCFTW AND RETURN. "Return to original report after report execution complete
SUBMIT RFFMARCFTW 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: P_PROT_O = D .
Selection Text: P_COMENT = D .
Selection Text: P_DELTST = D .
Selection Text: P_PROT = D .
Selection Text: P_WRIPRD = D .
Selection Text: P_WRITST = D .
Selection Text: SO_FIKRS = D .
Selection Text: SO_FUND = D .
Selection Text: SO_YEAR = D .
Title: Archiving of FYC Totals in FM: Write Program
Text Symbol: 001 = FM Totals
Text Symbol: 002 = Additional Selection Criteria
Text Symbol: 003 = Processing Options


INCLUDES used within this REPORT RFFMARCFTW

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_PROTOCOL_WRITE_APPL CALL FUNCTION 'ARCHIVE_PROTOCOL_WRITE_APPL'.

PROGRESS_INDICATOR_APPL CALL FUNCTION 'PROGRESS_INDICATOR_APPL' EXPORTING i_msgid = 'FMAR' i_msgno = 010 i_output_immediately = 'X'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'. "force immediate output of message

GET_CTR_OBJNR_FROM_FICTR CALL FUNCTION 'GET_CTR_OBJNR_FROM_FICTR' EXPORTING ip_fictr = '%' ip_fikrs = -fikrs ip_read_db = space IMPORTING op_ctr_objnr = l_objnr.

PROGRESS_INDICATOR_APPL CALL FUNCTION 'PROGRESS_INDICATOR_APPL' EXPORTING i_msgid = 'FMAR' i_msgno = 011 i_output_immediately = 'X'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'. "force immediate output of message

PROGRESS_INDICATOR_APPL CALL FUNCTION 'PROGRESS_INDICATOR_APPL' EXPORTING i_msgid = 'FMAR' i_msgno = 058 i_msgv1 = l_dbcnt IMPORTING e_progress_sent = l_msg_sent.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'. "force immediate output of message

PROGRESS_INDICATOR_APPL CALL FUNCTION 'PROGRESS_INDICATOR_APPL' EXPORTING i_msgid = 'FMAR' i_msgno = 058 i_msgv1 = l_dbcnt IMPORTING e_progress_sent = l_msg_sent.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'. "force immediate output of message

PROGRESS_INDICATOR_APPL CALL FUNCTION 'PROGRESS_INDICATOR_APPL' EXPORTING i_msgid = 'FMAR' i_msgno = 058 i_msgv1 = l_dbcnt IMPORTING e_progress_sent = l_msg_sent.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'. "force immediate output of message

PROGRESS_INDICATOR_APPL CALL FUNCTION 'PROGRESS_INDICATOR_APPL' EXPORTING i_msgid = 'FMAR' i_msgno = '058' i_msgv1 = l_cnt_cum i_output_immediately = 'X'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'. "force immediate output of message

ARCHIVE_NEW_OBJECT CALL FUNCTION 'ARCHIVE_NEW_OBJECT' EXPORTING archive_handle = u_archive_handle.

ARCHIVE_PUT_TABLE CALL FUNCTION 'ARCHIVE_PUT_TABLE' EXPORTING archive_handle = u_archive_handle record_structure = 'FMCFAA' TABLES table = u_t_fmcfaa.

ARCHIVE_SAVE_OBJECT CALL FUNCTION 'ARCHIVE_SAVE_OBJECT' EXPORTING archive_handle = u_archive_handle EXCEPTIONS termination_requested = 4.

ARCHIVE_NEW_OBJECT CALL FUNCTION 'ARCHIVE_NEW_OBJECT' EXPORTING archive_handle = u_archive_handle.

ARCHIVE_PUT_TABLE





CALL FUNCTION 'ARCHIVE_PUT_TABLE' EXPORTING archive_handle = u_archive_handle record_structure = 'FMCFAB' TABLES table = u_t_fmcfab.

ARCHIVE_SAVE_OBJECT CALL FUNCTION 'ARCHIVE_SAVE_OBJECT' EXPORTING archive_handle = u_archive_handle EXCEPTIONS termination_requested = 4.

ARCHIVE_NEW_OBJECT CALL FUNCTION 'ARCHIVE_NEW_OBJECT' EXPORTING archive_handle = u_archive_handle.

ARCHIVE_PUT_TABLE CALL FUNCTION 'ARCHIVE_PUT_TABLE' EXPORTING archive_handle = u_archive_handle record_structure = 'FMCFBAPP' TABLES table = u_t_fmcfbapp.

ARCHIVE_SAVE_OBJECT CALL FUNCTION 'ARCHIVE_SAVE_OBJECT' EXPORTING archive_handle = u_archive_handle EXCEPTIONS termination_requested = 4.

ARCHIVE_PROTOCOL_COLLECT_APPL CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT_APPL' EXPORTING i_object = l_objtext "RFIKRS/RFUND/RYEAR i_msgtype = l_msgtype i_msgid = 'FMAR' i_msgno = l_msgid.

FM_FYC_AUTHORITY_CHECK CALL FUNCTION 'FM_FYC_AUTHORITY_CHECK' EXPORTING i_fikrs = l_fikrs i_activity = fmau_ac_ini i_activity_a = space.



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