SAP Reports / Programs

RFFMDLFI SAP ABAP Report - Delete Actual Data (Free Selection)







RFFMDLFI is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Deleting Actual Data (free selection) This program deletes the line items of the actual data for the documents selected in Funds Management and adjusts the corresponding totals records...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 RFFMDLFI into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

FM_DLFI - Deletes FI Documnts Transferred from


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 RFFMDLFI. "Basic submit
SUBMIT RFFMDLFI AND RETURN. "Return to original report after report execution complete
SUBMIT RFFMDLFI 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: S_GJAHR = D .
Selection Text: S_FMBEL = D .
Selection Text: S_BELNR = D .
Selection Text: SO_EBELP = D .
Selection Text: SO_EBELN = D .
Selection Text: P_LOGSYS = D .
Selection Text: P_IPBET = D .
Selection Text: P_FIKRS = D .
Selection Text: P_BUKRS = D .
Selection Text: P_VORERF = Parked Document
Selection Text: P_TSTCF = Do not delete documents in FYC
Selection Text: P_TSTAV = Adjust Assigned Values
Selection Text: P_TEST = Test run
Selection Text: P_PROT = Log
Selection Text: P_LOEKZ = D .
Selection Text: P_ECHT = FI Document
Title: Delete Actual Data (Free Selection)
Text Symbol: 210 = Time
Text Symbol: 200 = Date
Text Symbol: 170 = Document Totals Zero So No Longer Needs to Be Adjusted
Text Symbol: 160 = Error When Calling Availability Control
Text Symbol: 150 = Document was Carried Forward. Deletion not Possible
Text Symbol: 140 = Error When Undoing Fiscal Year Change Data
Text Symbol: 120 = Deletion of FI/CO Docs in Funds Management
Text Symbol: 090 = Document Cannot Be Processed in this Logical System
Text Symbol: 080 = PO Data
Text Symbol: 070 = Document Deleted or Reversed (with Active PBET)
Text Symbol: 060 = Test Run
Text Symbol: 050 = Upd. Run
Text Symbol: 040 = FM Area Data
Text Symbol: 030 = Company Code Data
Text Symbol: 020 = Control
Text Symbol: 010 = Limit documents


INCLUDES used within this REPORT RFFMDLFI

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:

FMCA_GET_INIT_INFO CALL FUNCTION 'FMCA_GET_INIT_INFO' EXPORTING i_bukrs = p_bukrs CHANGING c_f_control_data = g_f_control_data.

FM_AUTH_CHECK_FM_AREA CALL FUNCTION 'FM_AUTH_CHECK_FM_AREA' EXPORTING i_fikrs = g_f_control_data-fikrs i_actvt = fmau_ac_ini i_msgty = 'E'.

FM_GET_EXPERT_MODE CALL FUNCTION 'FM_GET_EXPERT_MODE' IMPORTING e_exception_active = g_fmale_show_system.

FM_REVERSE_PBET_ITEM CALL FUNCTION 'FM_REVERSE_PBET_ITEM' EXPORTING i_f_control_data = g_f_control_data i_test = p_test TABLES i_t_fmifiit_old = g_t_fmifiit_pbet i_t_fmifiit_new = c_t_fmifiit_new c_t_fmifiit_new = c_t_fmifiit_new.

FM_CONVERT_SIGN_FI CALL FUNCTION 'FM_CONVERT_SIGN_FI' TABLES t_fmifiit = l_t_fmifiit_new.

FM_STUNR_GET CALL FUNCTION 'FM_STUNR_GET' EXPORTING i_f_fmifiit = l_t_fmifiit_new IMPORTING e_stunr = l_t_fmifiit_new-stunr.

FM_CONVERT_SIGN_FI call function 'FM_CONVERT_SIGN_FI' TABLES t_fmifiit = c_t_fmifiit_del.

FMCA_UPDATE_FI CALL FUNCTION 'FMCA_UPDATE_FI' EXPORTING i_flg_delete = 'X' TABLES t_fmifiit = c_t_fmifiit_new t_fmifiit_chg = c_t_fmifiit_new t_fmifihd_chg = l_t_fmifihd_chg t_fmifiit_del = c_t_fmifiit_del.

FM_CCF_REBUILD_PREPARE_FI CALL FUNCTION 'FM_CCF_REBUILD_PREPARE_FI' EXPORTING i_t_fmifiit = l_t_fmifiit i_flg_reverse = 'X' i_flg_avc = u_tstav i_flg_test = u_test TABLES i_t_wrttp = r_t_wrttp EXCEPTIONS fm_doc_missing = 1 fm_doc_cf = 2 cf_impossible = 3 rollback_required = 4 OTHERS = 5.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = 'RFFMDLFI' i_callback_html_top_of_page = 'HTML_TOP_OF_PAGE' i_callback_top_of_page = 'TOP_OF_PAGE' i_grid_title = text-120 is_layout = l_f_layout it_fieldcat = l_t_fieldcat TABLES t_outtab = l_t_outlist.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'FMDLFI_OUTPUT_NEW' CHANGING ct_fieldcat = c_t_fieldcat.

FMALE_READ_CUST CALL FUNCTION 'FMALE_READ_CUST' EXCEPTIONS central_system_not_defined = 1 OTHERS = 2.

FMALE_READ_CUST CALL FUNCTION 'FMALE_READ_CUST' EXCEPTIONS central_system_not_defined = 1 OTHERS = 2.

FM_GET_EXPERT_MODE CALL FUNCTION 'FM_GET_EXPERT_MODE' IMPORTING e_exception_active = l_fmexpert.

FMALE_READ_CUST CALL FUNCTION 'FMALE_READ_CUST' IMPORTING central_system = l_central_system EXCEPTIONS central_system_not_defined = 1 OTHERS = 2.

OWN_LOGICAL_SYSTEM_GET CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET' IMPORTING own_logical_system = l_own_system.

MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE'.

FM_FUNDS_CHECK_FI CALL FUNCTION 'FM_FUNDS_CHECK_FI' EXPORTING u_vorgn = 'RFBU' i_check_funds_last = con_on i_level_vg = 'REAS' TABLES t_fmifiit = u_t_fmifiit_tmp t_fmifiit_old = u_t_fmifiit.

MESSAGES_STOP





CALL FUNCTION 'MESSAGES_STOP' EXCEPTIONS e_message = 2 i_message = 3 w_message = 4.

MESSAGES_GIVE CALL FUNCTION 'MESSAGES_GIVE' TABLES t_mesg = l_t_mesg.

FM_FUNDS_POST CALL FUNCTION 'FM_FUNDS_POST' EXPORTING i_orgvg = 'RFBU' i_refbn = u_t_fmifiit-knbelnr.

FM_FUNDS_CALL_RIB_FI CALL FUNCTION 'FM_FUNDS_CALL_RIB_FI' EXPORTING i_vorgn = u_t_fmifiit-vrgng TABLES t_fmifiit = u_t_fmifiit.

FM_FUNDS_CALL_RIB_POST CALL FUNCTION 'FM_FUNDS_CALL_RIB_POST' EXPORTING i_refbn = u_t_fmifiit-knbelnr.

DETERMIN_BWKEY_BUKRS_FOR_PLANT CALL FUNCTION 'DETERMIN_BWKEY_BUKRS_FOR_PLANT' EXPORTING werk = g_t_ekbe-werks IMPORTING bukrs = l_bukrs.



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