SAP Reports / Programs

RFFMMDD4 SAP ABAP Report - Delete funds and application of funds in FM area







RFFMMDD4 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter RFFMMDD4 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

OFD5 - Delete Funds and Application of Fnds


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 RFFMMDD4. "Basic submit
SUBMIT RFFMMDD4 AND RETURN. "Return to original report after report execution complete
SUBMIT RFFMMDD4 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_CDOC = Delete change documents
Selection Text: P_FIKRS = FM area
Selection Text: P_TEST = Test run
Title: Delete funds and application of funds in FM area
Text Symbol: 001 = FM area
Text Symbol: 003 = Test run
Text Symbol: 004 = Upd. run
Text Symbol: 005 = Deletion of all funds and application of funds in
Text Symbol: 006 = Ctrl parameters
Text Symbol: 011 = Table entries
Text Symbol: 012 = Deleted
Text Symbol: 013 = Number of Messages
Text Symbol: 101 = Fund and application of funds are
Text Symbol: 102 = deleted, choose between
Text Symbol: 103 = delete or exit
Text Symbol: 104 = Delete
Text Symbol: 105 = Exit
Text Symbol: 106 = Delete fund and application of funds


INCLUDES used within this REPORT RFFMMDD4

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:

DELETE_TEXT CALL FUNCTION 'DELETE_TEXT' EXPORTING * CLIENT = SY-MANDT id = 'FD*' 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 = 'FMFINCODE' classtype = '042' EXCEPTIONS foreign_lock = 1 not_deleted = 2 system_failure = 3 table_not_found = 4 date_not_allowed = 5 OTHERS = 6.

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_FUND_BPD_ASSIGNMENT_DELETE CALL FUNCTION 'FM_FUND_BPD_ASSIGNMENT_DELETE' EXPORTING is_fmfundbpd = ls_fmfundbpd IMPORTING et_messages = lt_messages.

FMBD_CHECK_BUDGET_EXISTENCY CALL FUNCTION 'FMBD_CHECK_BUDGET_EXISTENCY' EXPORTING i_fm_area = u_fikrs * I_FISCYEAR = * I_VERSION = * I_F_ADDRESS = * I_FUND = * I_FUNDSCTR = * I_CMMTITEM = * I_FUNCAREA = * I_GRANT_NBR = * I_MEASURE = * I_USERDIM = IMPORTING e_flg_budget = l_flg_budget EXCEPTIONS too_many_parameters = 1 OTHERS = 2 .

FM_ACTUALS_CHECK CALL FUNCTION 'FM_ACTUALS_CHECK' EXPORTING i_fikrs = u_fikrs i_fonds = u_t_fmfincode-fincode i_flg_only_ca = 'X' IMPORTING e_flg_actuals_found = l_flg_actuals_found.

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.

ENQUEUE_EFMFINCODE CALL FUNCTION 'ENQUEUE_EFMFINCODE' EXPORTING mode_fmfincode = 'E' fikrs = u_fikrs.

ENQUEUE_EFMFUSE CALL FUNCTION 'ENQUEUE_EFMFUSE' EXPORTING mode_fmfuse = 'E' fikrs = u_fikrs.

FMFUNDBPD_WRITE_DOCUMENT CALL FUNCTION 'FMFUNDBPD_WRITE_DOCUMENT' EXPORTING objectid = objectid tcode = tcode utime = utime udate = udate username = username planned_change_number = ' ' object_change_indicator = 'U' planned_or_real_changes = ' ' n_fmfincode = l_f_fmfincode_new o_fmfincode = l_f_fmfincode_old upd_fmfincode = 'D' n_fmfint = l_f_fmfint_new o_fmfint = l_f_fmfint_old upd_fmfint = 'D' upd_fmfundbpd = 'D' TABLES xfmfundbpd = lt_n_fmfundbpd yfmfundbpd = lt_o_fmfundbpd.

FMFONDS_WRITE_DOCUMENT CALL FUNCTION 'FMFONDS_WRITE_DOCUMENT' EXPORTING objectid = objectid tcode = tcode utime = utime udate = udate username = username planned_change_number = ' ' object_change_indicator = 'U' planned_or_real_changes = ' ' n_fmfincode = l_f_fmfincode_new o_fmfincode = l_f_fmfincode_old upd_fmfincode = 'D' n_fmfint = l_f_fmfint_new o_fmfint = l_f_fmfint_old upd_fmfint = 'D'.

FMFUSE_WRITE_DOCUMENT CALL FUNCTION 'FMFUSE_WRITE_DOCUMENT' EXPORTING objectid = objectid tcode = tcode utime = utime udate = udate username = username planned_change_number = ' ' object_change_indicator = 'U' planned_or_real_changes = ' ' n_fmfuse = l_f_fmfuse_new o_fmfuse = l_f_fmfuse_old upd_fmfuse = 'D' n_fmfuset = l_f_fmfuset_new o_fmfuset = l_f_fmfuset_old upd_fmfuset = 'D'.

CHANGEDOCUMENT_DELETE CALL FUNCTION 'CHANGEDOCUMENT_DELETE' EXPORTING client = sy-mandt objectclass = 'FMFONDS' 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 = 'FMFUSE' 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 = 'FMFUNDBPD' 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.

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = xs_log IMPORTING e_log_handle = es_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_info i_probclass = gc_probclass i_text = iv_text EXCEPTIONS log_not_found = 1 msg_inconsistent = 2 log_is_full = 3 OTHERS = 4.

BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING i_s_display_profile = is_display_profile EXCEPTIONS OTHERS = 1.

BAL_LOG_MSG_ADD





CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_log_handle = is_log_handle i_s_msg = ls_msg EXCEPTIONS log_not_found = 0 OTHERS = 1.



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