SAP Reports / Programs | Public Sector Management | Funds Management(PSM-FM) SAP PSM

RFFMCF30 SAP ABAP Report - Budget Closing Operations: Execute Carryforward







RFFMCF30 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You can use program RFFMCF30 to carry forward: The budget for commitments, that is the budget freed when the open commitments were carried forward to the new year and/or The residual budget from the previous year to the new fiscal year Program parameters FM area Budget version Fiscal year Fund All funds You have determined the budget amounts you want to carry forward to the new year using program 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 RFFMCF30 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

FMJC - Budget Year-End Closing: Carry Fwd


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 RFFMCF30. "Basic submit
SUBMIT RFFMCF30 AND RETURN. "Return to original report after report execution complete
SUBMIT RFFMCF30 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_FONDS = D .
Selection Text: P_SELVAR = D .
Selection Text: P_GJAHR = D .
Selection Text: P_FIKRS = D .
Selection Text: S_BUDPER = D .
Selection Text: P_VERSN = Budget version
Selection Text: P_DLIST = Detail list
Title: Budget Closing Operations: Execute Carryforward
Text Symbol: 930 = Display
Text Symbol: 801 = Budget could not be carried forward
Text Symbol: 600 = Processing terminated
Text Symbol: 210 = Receiver Account Assgmt Does Not Exist
Text Symbol: 209 = Amount adjusted (remaining budget in old year insufficient)
Text Symbol: 208 = Budget data does not exist
Text Symbol: 207 = Receiver is not a budget object
Text Symbol: 206 = Sender is not a budget object
Text Symbol: 205 = Remaining budget in old year would be negative
Text Symbol: 204 = Missing budget profile
Text Symbol: 203 = Availability control on overall values
Text Symbol: 202 = Budget-bearing element could not be determined
Text Symbol: 201 = Negative Residual Budget
Text Symbol: 150 = Log
Text Symbol: 002 = Fiscal year
Text Symbol: 001 = FM area


INCLUDES used within this REPORT RFFMCF30

INCLUDE IFIFMFYC_FONDS_SEL.
INCLUDE RKASMAWF.


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_FYC_FIKRS_SET CALL FUNCTION 'FM_FYC_FIKRS_SET' CHANGING c_fikrs = p_fikrs.

FM_FYC_SELSCR_STATUS_SET CALL FUNCTION 'FM_FYC_SELSCR_STATUS_SET' EXPORTING i_t_fcode_excl = g_t_fcode_excl i_flg_funds_only = con_on IMPORTING e_text_block_fma = bltxtfma e_text_block_mass = bltxtmss e_text_button = pbfmsele e_title_selvar_f4 = g_selvar_f4_title.

FM_MULTIPLE_SELECTION_TEXT_GET CALL FUNCTION 'FM_MULTIPLE_SELECTION_TEXT_GET' EXPORTING i_flg_funds_only = con_on i_flg_msel_active = p_mass IMPORTING e_text_button = pbfmsele.

FM_FYC_SEL_VARIANT_CHECK CALL FUNCTION 'FM_FYC_SEL_VARIANT_CHECK' EXPORTING i_fikrs = p_fikrs i_gjahr = p_gjahr i_selvar = p_selvar i_sel_repname = con_sel_reportfnd.

FM_FYC_SELECT_FUNDS CALL FUNCTION 'FM_FYC_SELECT_FUNDS' EXPORTING i_fikrs = p_fikrs i_gjahr = p_gjahr i_selvar = p_selvar IMPORTING e_t_funds = g_t_geber.

FM_FYC_FIKRS_SET CALL FUNCTION 'FM_FYC_FIKRS_SET' EXPORTING i_flg_change = 'X' CHANGING c_fikrs = p_fikrs.

FM_FYC_AUTHORITY_CHECK CALL FUNCTION 'FM_FYC_AUTHORITY_CHECK' EXPORTING i_fikrs = p_fikrs.

RS_VARIANT_CATALOG CALL FUNCTION 'RS_VARIANT_CATALOG' EXPORTING report = con_sel_reportfnd new_title = g_selvar_f4_title IMPORTING sel_variant = p_selvar EXCEPTIONS OTHERS = 1.

FM_FYC_SCHEDMAN_INIT CALL FUNCTION 'FM_FYC_SCHEDMAN_INIT' EXPORTING i_repid = 'RFFMCF30' i_tcode = 'FMJC' i_wfitem = wf_witem i_wflist = wf_wlist IMPORTING e_f_schedman_key = g_f_schedman_key.

FM_FYC_SELECT_FUNDS CALL FUNCTION 'FM_FYC_SELECT_FUNDS' EXPORTING i_fikrs = p_fikrs i_gjahr = p_gjahr i_flg_no_list = 'X' i_selvar = p_selvar IMPORTING e_t_funds = g_t_geber.

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_cnt_obj = sy-tfill.

FM16_SUBTYPE_FOR_AUTOMATIC_GET CALL FUNCTION 'FM16_SUBTYPE_FOR_AUTOMATIC_GET' EXPORTING fm_area = u_fikrs get_fyc = 'X' IMPORTING budgettype_fyc = l_subvo EXCEPTIONS not_defined = 1 OTHERS = 2.

FMCFAA_UPDATE_WITH_TABLE CALL FUNCTION 'FMCFAA_UPDATE_WITH_TABLE' EXPORTING i_flg_update_indx = 'X' TABLES t_sum_cf = u_t_fmcfaa EXCEPTIONS error_occured = 1 OTHERS = 2.

FMCFAAS_DELETE_FROM_TABLE CALL FUNCTION 'FMCFAAS_DELETE_FROM_TABLE' TABLES t_sum_cf = u_t_fmcfaa EXCEPTIONS OTHERS = 0.

FMCFAB_UPDATE_WITH_TABLE CALL FUNCTION 'FMCFAB_UPDATE_WITH_TABLE' EXPORTING i_flg_update_indx = 'X' TABLES t_sum_cf = u_t_fmcfab EXCEPTIONS error_occured = 1 OTHERS = 2.

FMCFABS_DELETE_FROM_TABLE CALL FUNCTION 'FMCFABS_DELETE_FROM_TABLE' TABLES t_sum_cf = u_t_fmcfab EXCEPTIONS OTHERS = 0.

KBPP_EXTERN_UPDATE CALL FUNCTION 'KBPP_EXTERN_UPDATE' EXPORTING imp_carry_over = 'X' imp_check = ' ' imp_commit = ' ' imp_fcode = f_fubucf "'ZMCF', CF/ FIFM imp_tcode = ' ' imp_uname = ' ' TABLES imp_bpak = u_t_bpak.

MESSAGES_GIVE CALL FUNCTION 'MESSAGES_GIVE' TABLES t_mesg = t_mesg.

FMCFBPAKS_DELETE_FROM_TABLE





CALL FUNCTION 'FMCFBPAKS_DELETE_FROM_TABLE' TABLES t_sum_bpak = u_t_bpak EXCEPTIONS OTHERS = 0.

KBPS_SHOW_VERSIONS CALL FUNCTION 'KBPS_SHOW_VERSIONS' EXPORTING applik = l_funds object = l_object wrttp = l_wfbudget wrttp2 = l_wpbudget * GEBER = ' ' geber_all = 'X' im_cop_versn = space * IM_ALL_VERSN = ' ' IMPORTING version = c_versn EXCEPTIONS no_versions = 1 OTHERS = 2.

FM_GET_ACTIVE_DIMENSIONS CALL FUNCTION 'FM_GET_ACTIVE_DIMENSIONS' IMPORTING e_fund_active = c_flg_fund_active.



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