SAP Reports / Programs

RFFMMDACT SAP ABAP Report - Activate Year-Dependent Master Data







RFFMMDACT is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Activate year-dependent master data You use the program RFFMMDACT to execute the activation of master data maintenance to year dependency for an FM area...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 RFFMMDACT 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

OFM_ACT_MD_YEAR - Activate Year-Dependent 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 RFFMMDACT. "Basic submit
SUBMIT RFFMMDACT AND RETURN. "Return to original report after report execution complete
SUBMIT RFFMMDACT 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_FIKRS = D .
Selection Text: P_ITEM = Commitment items
Selection Text: P_GJAHR = To fiscal year
Selection Text: P_CENTER = Funds Centers
Title: Activate Year-Dependent Master Data
Text Symbol: 063 = Hierarchy variant
Text Symbol: 062 = FM area
Text Symbol: 061 = Fiscal year
Text Symbol: 060 = Fund
Text Symbol: 057 = Check for Activation of Cash Management
Text Symbol: 056 = Check for missing budget structures
Text Symbol: 055 = Check the actual data years
Text Symbol: 054 = Check the budget structure years
Text Symbol: 053 = Check the budget years
Text Symbol: 052 = Check for overall budget structure and commitment item groups
Text Symbol: 051 = Check for overall budget
Text Symbol: 041 = Really activate?
Text Symbol: 040 = Activate
Text Symbol: 036 = Activation not permitted; cash management is activated in assigned company code &1
Text Symbol: 035 = Copy commitment items from fiscal year '0000' and activate
Text Symbol: 034 = Activating cannot (yet) be executed because the following budget structures are still missing:
Text Symbol: 033 = Activating cannot (yet) be executed because actual data exists in later years
Text Symbol: 032 = Activating cannot (yet) be executed because budget structures exist in later years
Text Symbol: 031 = Activating cannot (yet) be executed because budget exists in later years
Text Symbol: 030 = Master data should only be transferred up to fiscal year YYYY
Text Symbol: 022 = Activation not permitted due to total budget structure or the commitment item groups
Text Symbol: 021 = Activation not permitted due to total budget
Text Symbol: 018 = Commitment items copied from FYear 0000 into FYear YYYY
Text Symbol: 016 = Activate year-dependent master data
Text Symbol: 015 = Check transfer of master data structures to date in
Text Symbol: 014 = Number of commitment items in FYear 0000 <> Number of commitment item in FYear YYYY
Text Symbol: 010 = When activating the following entries that cannot be changed are generated:
Text Symbol: 008 = Commitment items: Year-dependency activated in FM area YYYY
Text Symbol: 004 = Year-Dependency Activated in FM Area
Text Symbol: 002 = Funds centers
Text Symbol: 001 = Commitment items


INCLUDES used within this REPORT RFFMMDACT

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:

FM_BUDGET_GET_YEAR_MD_ALLOWED CALL FUNCTION 'FM_BUDGET_GET_YEAR_MD_ALLOWED' EXPORTING i_fikrs = p_fikrs IMPORTING e_subrc = l_subrc.

FM13_BSP_GET_YEAR_MD_ALLOWED CALL FUNCTION 'FM13_BSP_GET_YEAR_MD_ALLOWED' EXPORTING i_fikrs = p_fikrs i_yeardep_funds_center = p_item i_yeardep_com_item = p_center IMPORTING e_subrc = l_subrc.

FM13_BSP_GET_YEAR_MD_PREPARED CALL FUNCTION 'FM13_BSP_GET_YEAR_MD_PREPARED' EXPORTING i_fikrs = p_fikrs IMPORTING e_subrc = l_subrc TABLES t_fmbp_funds_years = l_t_funds_years.

BUKRS_GET_FROM_FIKRS CALL FUNCTION 'BUKRS_GET_FROM_FIKRS' EXPORTING ip_fikrs = p_fikrs TABLES t_t001 = lt_t001 EXCEPTIONS no_bukrs = 1 OTHERS = 2.

FMFK_GET_BUKRS_AKTIV_FLAGS CALL FUNCTION 'FMFK_GET_BUKRS_AKTIV_FLAGS' EXPORTING ip_bukrs = -bukrs IMPORTING * OP_XFMCA = op_xfmcb = lv_xfmcb op_xfmco = lv_xfmco * OP_FIKRS = EXCEPTIONS NO_FIKRS_FOR_BUKRS = 1 BUKRS_NOT_FOUND = 2 OTHERS = 3 .

FM20_BUDGET_GET_YEARS CALL FUNCTION 'FM20_BUDGET_GET_YEARS' EXPORTING i_fikrs = p_fikrs TABLES t_years = l_t_year.

FMKU_GET_BUDGET_YEARS CALL FUNCTION 'FMKU_GET_BUDGET_YEARS' EXPORTING i_fm_area = p_fikrs IMPORTING e_t_years = l_t_bcs_years.

FM13_BSP_GET_YEARS CALL FUNCTION 'FM13_BSP_GET_YEARS' EXPORTING i_fikrs = p_fikrs i_yeardep_funds_center = p_center i_yeardep_com_item = p_item TABLES t_years = l_t_year.

FMKU_GET_BUD_STRUCTURE_YEARS CALL FUNCTION 'FMKU_GET_BUD_STRUCTURE_YEARS' EXPORTING i_fm_area = p_fikrs IMPORTING e_t_years = l_t_bcs_years.

FM_ACTUALS_YEARS_GET CALL FUNCTION 'FM_ACTUALS_YEARS_GET' EXPORTING i_fikrs = p_fikrs TABLES t_years = l_t_year.

FMFK_FIKRS_READ CALL FUNCTION 'FMFK_FIKRS_READ' EXPORTING ip_application_data = 'X' ip_fikrs = p_fikrs ip_applc = 'A' IMPORTING f_fm01 = g_f_fm01 f_fm01d = g_f_fm01d EXCEPTIONS input_error = 1 not_found = 2 OTHERS = 3.

FM20_BUDGET_GET_YEARS CALL FUNCTION 'FM20_BUDGET_GET_YEARS' EXPORTING i_fikrs = p_fikrs TABLES t_years = l_t_years.

FMKU_GET_BUDGET_YEARS CALL FUNCTION 'FMKU_GET_BUDGET_YEARS' EXPORTING i_fm_area = p_fikrs IMPORTING e_t_years = l_t_bcs_years.

FM13_BSP_GET_FUND_YEARS CALL FUNCTION 'FM13_BSP_GET_FUND_YEARS' EXPORTING i_fikrs = p_fikrs TABLES t_fmbp_funds_years = l_t_fmbp_year t_years = l_t_years.

FMKU_GET_BUD_STRUCTURE_YEARS CALL FUNCTION 'FMKU_GET_BUD_STRUCTURE_YEARS' EXPORTING i_fm_area = p_fikrs IMPORTING e_t_years = l_t_bcs_years.

FM_ACTUALS_YEARS_GET CALL FUNCTION 'FM_ACTUALS_YEARS_GET' EXPORTING i_fikrs = p_fikrs TABLES t_years = l_t_years.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = l_text EXCEPTIONS error_message = 0.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'N' textline1 = l_textline * TEXTLINE2 = titel = text-040 * START_COLUMN = 25 * START_ROW = 6 * cancel_display = ' ' IMPORTING answer = c_answer.

RS_REFRESH_FROM_SELECTOPTIONS





CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS' EXPORTING curr_report = 'RFFMMDACT' TABLES selection_table = c_t_seltab.

FIRST_AND_LAST_DAY_IN_YEAR_GET CALL FUNCTION 'FIRST_AND_LAST_DAY_IN_YEAR_GET' EXPORTING i_gjahr = u_fisc_year i_periv = u_fisc_yr_variant IMPORTING e_first_day = c_first_day EXCEPTIONS input_false = 1 t009_notfound = 2 t009b_notfound = 3 OTHERS = 4.

FIRST_AND_LAST_DAY_IN_YEAR_GET CALL FUNCTION 'FIRST_AND_LAST_DAY_IN_YEAR_GET' EXPORTING i_gjahr = u_fisc_year i_periv = u_fisc_yr_variant IMPORTING e_last_day = c_last_day EXCEPTIONS input_false = 1 t009_notfound = 2 t009b_notfound = 3 OTHERS = 4.



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