SAP Reports / Programs

RFFMMDD1 SAP ABAP Report - Delete Commitment Items in FM Area and Fiscal Year







RFFMMDD1 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 for executing the IMG activity 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 RFFMMDD1 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

OPH3 - CO Cash Bgt Mgmt: Delete Master Data
OFDE - FM: Delete Cmmt Items in FM Area
OFD1 - Cash Bdgt Mgt: Delete Master Data


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 RFFMMDD1. "Basic submit
SUBMIT RFFMMDD1 AND RETURN. "Return to original report after report execution complete
SUBMIT RFFMMDD1 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_TEST = Test run
Selection Text: P_GJAHR = Fiscal year
Selection Text: P_FIKRS = FM area
Selection Text: P_CDOC = Delete change documents
Title: Delete Commitment Items in FM Area and Fiscal Year
Text Symbol: 106 = Delete commitment items
Text Symbol: 105 = Exit
Text Symbol: 104 = Delete
Text Symbol: 103 = delete or exit
Text Symbol: 102 = Choose between
Text Symbol: 101 = Commitment items being deleted
Text Symbol: 012 = deleted
Text Symbol: 011 = Table entries
Text Symbol: 006 = Ctrl parameters
Text Symbol: 005 = Delete all commitment items in
Text Symbol: 004 = Upd. run
Text Symbol: 003 = Test run
Text Symbol: 002 = Fiscal year
Text Symbol: 001 = FM area


INCLUDES used within this REPORT RFFMMDD1

INCLUDE LFMAUEQU.


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:

POPUP_TO_DECIDE CALL FUNCTION 'POPUP_TO_DECIDE' EXPORTING textline1 = text-101 textline2 = text-102 textline3 = text-103 text_option1 = text-104 text_option2 = text-105 titel = text-106 IMPORTING answer = c_answer.

FM_AUTH_CHECK_FM_AREA CALL FUNCTION 'FM_AUTH_CHECK_FM_AREA' EXPORTING i_fikrs = u_fikrs i_actvt = fmau_ac_ini i_msgty = 'E'.

FM_COM_ITEM_ENQUEUE CALL FUNCTION 'FM_COM_ITEM_ENQUEUE' EXPORTING i_fikrs = u_fikrs i_gjahr = u_gjahr i_fipex = ' ' i_mode = 'E' i_flg_collect = 'X' i_flg_lines_up = ' '.

FM_FIPEX_CHECK_ALLOWED_DELETE CALL FUNCTION 'FM_FIPEX_CHECK_ALLOWED_DELETE' EXPORTING i_fikrs = u_fikrs i_gjahr = u_gjahr IMPORTING e_eurofikrs = l_eurofikrs e_bukrs = l_bukrs e_subrc = c_subrc.

FM_CI_CALL_CHANGE_DOCUMENT CALL FUNCTION 'FM_CI_CALL_CHANGE_DOCUMENT' TABLES t_fmmd_fmci = l_t_fmmd_fmci t_fmmd_fmcit = l_t_fmmd_fmcit t_fmmd_fmzubsp = l_t_fmmd_fmzubsp EXCEPTIONS OTHERS = 1.

FM_FIPEX_DELETE_ENVIRONMENT CALL FUNCTION 'FM_FIPEX_DELETE_ENVIRONMENT' EXPORTING i_fikrs = u_fikrs i_gjahr = u_gjahr IMPORTING e_subrc = c_subrc.

DELETE_TEXT CALL FUNCTION 'DELETE_TEXT' EXPORTING id = 'FP*' language = '*' name = l_name object = 'FMMD' savemode_direct = 'X' textmemory_only = ' ' EXCEPTIONS not_found = 1 OTHERS = 2.

CLFM_DELETE_CLASSIFICATION CALL FUNCTION 'CLFM_DELETE_CLASSIFICATION' EXPORTING echt_lauf = 'X' object = l_object table = 'FMCI' * TYPE = ' ' classtype = '043' * CHANGE_SERVICE_NUMBER = * DATE_OF_CHANGE = * OBJ_HAS_CHANGE_SERVICE = ' ' IMPORTING anz_ausp = l_anz_ausp anz_kssk = l_anz_kssk EXCEPTIONS foreign_lock = 1 not_deleted = 2 system_failure = 3 table_not_found = 4 date_not_allowed = 5 OTHERS = 6.

CHANGEDOCUMENT_DELETE CALL FUNCTION 'CHANGEDOCUMENT_DELETE' EXPORTING client = sy-mandt objectclass = 'FMCI' objectid = l_objectid up_to_date = sy-datum with_commit = ' ' IMPORTING number_of_deleted_headers = l_cnt_headers EXCEPTIONS no_authority = 1 no_changes_found = 2 OTHERS = 3.

CHANGEDOCUMENT_DELETE CALL FUNCTION 'CHANGEDOCUMENT_DELETE' EXPORTING client = sy-mandt objectclass = 'FMPG' objectid = l_objectid up_to_date = sy-datum with_commit = ' ' IMPORTING number_of_deleted_headers = l_cnt_headers EXCEPTIONS no_authority = 1 no_changes_found = 2 OTHERS = 3.

FM_FIKRS_READ CALL FUNCTION 'FM_FIKRS_READ' EXPORTING i_fikrs = u_fikrs IMPORTING e_f_fm01 = g_f_fm01 EXCEPTIONS input_error = 1 not_found = 2 OTHERS = 3.

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = xs_log IMPORTING e_log_handle = xs_log_handle EXCEPTIONS log_header_inconsistent = 1 OTHERS = 2.

BAL_LOG_MSG_ADD_FREE_TEXT CALL FUNCTION 'BAL_LOG_MSG_ADD_FREE_TEXT' EXPORTING i_log_handle = gs_log_handle i_msgty = gc_i i_probclass = gc_4 i_text = iv_free_text EXCEPTIONS log_not_found = 1 msg_inconsistent = 2 log_is_full = 3 OTHERS = 4.

BAL_DSP_PROFILE_SINGLE_LOG_GET CALL FUNCTION 'BAL_DSP_PROFILE_SINGLE_LOG_GET' IMPORTING e_s_display_profile = xs_display_profile EXCEPTIONS OTHERS = 1.

BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING i_s_display_profile = is_display_profile i_t_log_handle = gt_log_handle EXCEPTIONS profile_inconsistent = 1 internal_error = 2 no_data_available = 3 no_authority = 4 OTHERS = 5.

BAL_DSP_LOG_PRINT CALL FUNCTION 'BAL_DSP_LOG_PRINT' EXPORTING i_s_display_profile = is_display_profile i_t_log_handle = gt_log_handle EXCEPTIONS profile_inconsistent = 1 internal_error = 2 no_data_available = 3 no_authority = 4 OTHERS = 5.



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