RFFMEDWR is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Use this program to archive data of FM budget entry documents (archiving object FM_ED) from database tables FMBH and FMBL (header and lines of the entry document respectively)...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 RFFMEDWR 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: P_COMENT = D .
Selection Text: P_DELTST = D .
Selection Text: P_PROT = D .
Selection Text: P_PROT_O = D .
Selection Text: P_TOYEAR = to Fiscal Year
Selection Text: P_WRIPRD = D .
Selection Text: P_WRITST = D .
Selection Text: SO_AREA = D .
Selection Text: SO_DOCNR = D .
Selection Text: SO_DYEAR = D .
Selection Text: SO_FUND = D .
Selection Text: SO_VERS = D .
Title: Archiving Budget Entry Documents in FM (BCS): Write Program
Text Symbol: 001 = FM entry documents
Text Symbol: 002 = Further Selection Criteria
Text Symbol: 003 = Processing Options
INCLUDE IBUKUCON.
No SAP DATABASE tables are accessed within this REPORT code!
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
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 = 052 i_processed = lv_cnt_pro i_total = lv_cnt_tot IMPORTING e_progress_sent = lv_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 = 052 i_processed = lv_cnt_pro i_total = lv_cnt_tot 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 = ih_archive_handle.
ARCHIVE_PUT_RECORD CALL FUNCTION 'ARCHIVE_PUT_RECORD' EXPORTING archive_handle = ih_archive_handle record = iw_fmbh record_structure = 'FMBH'.
ARCHIVE_PUT_TABLE CALL FUNCTION 'ARCHIVE_PUT_TABLE' EXPORTING archive_handle = ih_archive_handle record_structure = 'FMBL' TABLES table = it_fmbl.
ARCHIVE_SAVE_OBJECT CALL FUNCTION 'ARCHIVE_SAVE_OBJECT' EXPORTING archive_handle = ih_archive_handle EXCEPTIONS termination_requested = 4.
ARCHIVE_PROTOCOL_COLLECT_APPL CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT_APPL' EXPORTING i_object = lv_objtext "FM_AREA/DOCYEAR/DOCNR i_msgtype = lv_msgtype i_msgid = 'FMAR' i_msgno = lv_msgid.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RFFMEDWR - Archiving Budget Entry Documents in FM (BCS): Write Program RFFMEDWR - Archiving Budget Entry Documents in FM (BCS): Write Program RFFMEDDL - Archiving Budget Entry Documents in FM (BCS): Delete Program RFFMEDDL - Archiving Budget Entry Documents in FM (BCS): Delete Program RFFMD_COPY_HIVARNT - Program RFFM_COPY_HIVARNT RFFMD_COPY_HIVARNT - Program RFFM_COPY_HIVARNT