RFFMCY_PREP is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Generate Plan Data from Planning/Budget Data This program copies plan data, budget or released data of the
If you would like to execute this report or see the full code listing simply enter RFFMCY_PREP into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
FMCYPREP - Copy budget data (preparation)
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_ALLPT = All combinations
Selection Text: P_BUD = Budget
Selection Text: P_COMBS = Choose specific combinations
Selection Text: P_DETAIL = D .
Selection Text: P_DKEY = D .
Selection Text: P_FLGBT = Budget type
Selection Text: P_FLGBTS = Budget type from source
Selection Text: P_FLGDK = Distribution key
Selection Text: P_FLGPER = Period
Selection Text: P_FMAREA = D .
Selection Text: P_PREP = All planning data
Selection Text: P_REL = Release
Selection Text: P_REVAL = Revaluation(%)
Selection Text: P_SFYEAR = D .
Selection Text: P_SPERFR = Source period (from)
Selection Text: P_SPERTO = Source period (to)
Selection Text: P_SVERS = D .
Selection Text: S_SBCAT = D .
Selection Text: S_MEASR = D .
Selection Text: S_GRANT = D .
Selection Text: S_FONDS = D .
Selection Text: S_FIPEX = D .
Selection Text: S_FICTR = D .
Selection Text: S_FAREA = D .
Selection Text: S_BUDPER = D .
Selection Text: P_UPMTXT = Update mode text
Selection Text: P_UPMODE = D .
Selection Text: P_TVERS = Target version
Selection Text: P_TPERTO = Target period (to)
Selection Text: P_TPERFR = Target period (from)
Selection Text: P_TFYEAR = Target fiscal year
Selection Text: P_TEST = Test run
Selection Text: P_TBT = Target budget type
Selection Text: P_TBCAT = Target Budget Category
Title: Generate Planning Data
Text Symbol: 065 = Target Yr.of Cash Effect.
Text Symbol: 074 = Detail List
Text Symbol: 075 = Layout
INCLUDE IRFFMCY_PREPTOP.
No SAP DATABASE tables are accessed within this REPORT code!
FM_FYC_SELSCR_STATUS_SET CALL FUNCTION 'FM_FYC_SELSCR_STATUS_SET' EXPORTING i_t_fcode_excl = g_t_fcode.
FM_FYC_SCHEDMAN_INIT CALL FUNCTION 'FM_FYC_SCHEDMAN_INIT' EXPORTING i_repid = 'RFFMCY_PREP' i_tcode = 'FMCYPREP' i_wfitem = wf_witem i_wflist = wf_wlist i_flg_test = p_test IMPORTING e_f_schedman_key = g_f_schedman_key.
FM_FYC_SCHEDMAN_CLOSE CALL FUNCTION 'FM_FYC_SCHEDMAN_CLOSE' EXPORTING i_f_schedman_key = g_f_schedman_key i_wfitem = wf_witem i_wfokey = wf_okey i_aplstat = g_aplstat i_cnt_obj = g_records_screen.
ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_enter_more text = text-019 info = text-019 * ADD_STDINF = 'X' IMPORTING result = p_ptpop EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.
ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_display_more text = text-019 info = text-019 * ADD_STDINF = 'X' IMPORTING result = p_ptpop EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.
ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_enter_more text = text-020 info = text-020 * ADD_STDINF = 'X' IMPORTING result = p_round EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.
ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_display_more text = text-020 info = text-020 * ADD_STDINF = 'X' IMPORTING result = p_round EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.
ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_display_more text = text-021 info = text-021 * ADD_STDINF = 'X' IMPORTING result = p_grp EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.
FMKU_GET_PERIOD_INFO CALL FUNCTION 'FMKU_GET_PERIOD_INFO' EXPORTING i_fm_area = u_fm_area IMPORTING e_special_periods_active = c_special_periods_active e_nb_periods = c_nb_periods.
FMKU_SET_FM_AREA CALL FUNCTION 'FMKU_SET_FM_AREA' EXPORTING i_flg_process_popup = u_flg_popup CHANGING c_fikrs = c_fm_area EXCEPTIONS no_fikrs_selected = 1.
FMBAS_GET_USERDIM_SET_DEF CALL FUNCTION 'FMBAS_GET_USERDIM_SET_DEF' EXCEPTIONS no_sets_used = 1 OTHERS = 0.
FMMP_SET_BUDCAT_CEFFYEAR CALL FUNCTION 'FMMP_SET_BUDCAT_CEFFYEAR' EXPORTING i_fm_area = p_fmarea i_fiscyear = p_sfyear i_t_budcat = g_t_budcat i_flg_single_budcat = g_flg_single_budcat IMPORTING e_flg_budcat_ceffyear = g_flg_budcat_yce e_t_budcat_ceffyear_active = g_t_yce_budcat CHANGING c_t_rows = g_t_rows_yce.
FMMP_FILL_BUDCAT_CEFFYEAR CALL FUNCTION 'FMMP_FILL_BUDCAT_CEFFYEAR' EXPORTING i_fm_area = p_fmarea i_fiscyear = p_sfyear i_t_budcat = g_t_budcat IMPORTING e_t_budcat_ceffyear = g_t_yce_budcat.
FMMP_SET_BUDCAT_YCE_TARGET CALL FUNCTION 'FMMP_SET_BUDCAT_YCE_TARGET' EXPORTING i_fm_area = p_fmarea i_fiscyear = p_tfyear i_shift = l_shift i_t_budcat = g_t_budcat i_t_rows = g_t_rows_yce i_flg_single_budcat = g_flg_single_budcat i_flg_yce = g_flg_yce IMPORTING e_flg_budcat_ceffyear = g_flg_budcat_yce CHANGING c_flg_data_changed = g_flg_data_changed c_t_budcat_ceffyear_active = g_t_yce_budcat.
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 RFFMCY_PREP or its description.