SAP Reports / Programs

RFFMCOVTRANS SAP ABAP Report - Transfer Posting of Residual Budget from Cover Pool







RFFMCOVTRANS is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Transferring Residual Budgets from Cover Pools This function makes it easier to transfer 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 RFFMCOVTRANS 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

FRH7 - Transfer of Residl Bdgts from CoverP


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 RFFMCOVTRANS. "Basic submit
SUBMIT RFFMCOVTRANS AND RETURN. "Return to original report after report execution complete
SUBMIT RFFMCOVTRANS 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: G_COVP = D Cover Pool
Selection Text: G_FAREA = D Functional Area
Selection Text: G_FICTR = D Funds Center
Selection Text: G_FIKRS = D FM Area
Selection Text: G_FIPEX = D Commitment Item
Selection Text: G_FUND = D Fund
Selection Text: G_GJAHR = D Fiscal Year
Selection Text: G_RUN_CF = Determine Res.Bdgt Again
Selection Text: G_SUBVO = D Budget Subtype
Selection Text: G_TEST = Test Run
Selection Text: P_VARIA = D Layout
Selection Text: RB_BUDGT = Budget
Selection Text: RB_RELE = Releases
Title: Transfer Posting of Residual Budget from Cover Pool
Text Symbol: 511 = Description
Text Symbol: 510 = Message
Text Symbol: 509 = Result
Text Symbol: 508 = Status
Text Symbol: 507 = Update Run
Text Symbol: 506 = Test Run
Text Symbol: 505 = Processing Status
Text Symbol: 400 = Calculation Base
Text Symbol: 300 = Control Data
Text Symbol: 002 = Errors were found
Text Symbol: 003 = No values selected
Text Symbol: 004 = Documents were posted
Text Symbol: 005 = Fund
Text Symbol: 006 = Entry Document
Text Symbol: 007 = Hierarchy Document
Text Symbol: 008 = Test run successful
Text Symbol: 009 = (with warnings)
Text Symbol: 010 = Budget
Text Symbol: 011 = Payments
Text Symbol: 012 = Commitments
Text Symbol: 013 = Releases
Text Symbol: 019 = Target Funds
Text Symbol: 020 = Target Funds Center
Text Symbol: 021 = Target Commitment Item





Text Symbol: 022 = Target Functional Area
Text Symbol: 023 = Budget Subtype
Text Symbol: 024 = Source Funds
Text Symbol: 030 = Account Assignment was Ignored
Text Symbol: 031 = Account Assignment & has Negative Assigned Values
Text Symbol: 100 = Source
Text Symbol: 200 = Target


INCLUDES used within this REPORT RFFMCOVTRANS

INCLUDE LFMAUEQU.
INCLUDE LKBPPEQU.
INCLUDE LKBPPSTN.


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_CHECK_CUSTOMIZING CALL FUNCTION 'FM_CHECK_CUSTOMIZING' "470 EXCEPTIONS OTHERS = 1 .

FM_GET_ACTIVE_DIMENSIONS CALL FUNCTION 'FM_GET_ACTIVE_DIMENSIONS' "470 IMPORTING e_fund_active = g_fund_active e_function_active = g_function_active.

FM00_CHECK_ISPS CALL FUNCTION 'FM00_CHECK_ISPS' IMPORTING e_kom_activ = g_gla_active.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = 'RFFMCOVTRANS' dynumb = '1000' TABLES dynpfields = l_t_dynp.

KBPS_SHOW_BUDGET_SUBTYPES CALL FUNCTION 'KBPS_SHOW_BUDGET_SUBTYPES' EXPORTING fm_area = l_fikrs bdgt_type = l_vbub IMPORTING bdgt_subtype = g_subvo EXCEPTIONS no_bdgt_subtype = 1 OTHERS = 2.

FM4B_GET_ASSIGNED_MULTI CALL FUNCTION 'FM4B_GET_ASSIGNED_MULTI' EXPORTING i_fikrs = g_fikrs i_fund = g_t_looptable-fund i_gjahr = g_gjahr i_version = '000' i_commitment = g_t_looptable-com i_payment = g_t_looptable-pay TABLES t_fmbpcf = g_t_fmbpcf t_fmbpcfindex = g_t_fmbpcfindex EXCEPTIONS profile_not_found = 1 OTHERS = 2.

FMFK_FIKRS_READ CALL FUNCTION 'FMFK_FIKRS_READ' EXPORTING ip_fikrs = g_fikrs.

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

FM_AUTH_CHECK_VERSION CALL FUNCTION 'FM_AUTH_CHECK_VERSION' EXPORTING i_fikrs = g_fikrs i_versn = '000' i_actvt = fmau_ac_ini i_msgty = 'E'.

FM16_SUBTYPE_READ_CUSTOMIZING CALL FUNCTION 'FM16_SUBTYPE_READ_CUSTOMIZING' EXPORTING fm_area = g_fikrs bdgt_type = '*KBU' bdgt_subtype = g_subvo.

FM_FICTR_READ_SINGLE CALL FUNCTION 'FM_FICTR_READ_SINGLE' EXPORTING i_fikrs = g_fikrs i_fictr = g_fictr i_gjahr = g_gjahr.

FM_FIPEX_READ_SINGLE_DATA CALL FUNCTION 'FM_FIPEX_READ_SINGLE_DATA' EXPORTING i_fikrs = g_fikrs i_gjahr = g_gjahr i_fipex = g_fipex IMPORTING e_f_vfmpg = g_vfmpg.

FINCODE_READ CALL FUNCTION 'FINCODE_READ' EXPORTING ip_fikrs = g_fikrs ip_fincode = g_fund.

AC_FAREA_EXISTENCE_CHECK





CALL FUNCTION 'AC_FAREA_EXISTENCE_CHECK' EXPORTING id_func_area = g_farea.

FM_NO_BLANK CALL FUNCTION 'FM_NO_BLANK' EXPORTING i_fm_area = g_fikrs * I_COMPANY_CODE = i_fiscal_year = g_gjahr * I_GRANT = i_fund = g_fund i_function = g_farea * I_MEASURE = i_flg_grant_check = off i_flg_fund_check = l_flg_check_fund_blank i_flg_function_check = l_flg_check_function_blank i_flg_measure_check = off.

FM_MEMBERS_TO_COVER_POOL CALL FUNCTION 'FM_MEMBERS_TO_COVER_POOL' EXPORTING ip_fikrs = g_fikrs ip_gjahr = g_gjahr ip_deckungsring = g_t_loopindex-coverpool TABLES t_fmdeckhk = g_t_fmdeckhk EXCEPTIONS data_not_found = 1 input_wrong = 2 OTHERS = 3.

KBPR_READ_DATA CALL FUNCTION 'KBPR_READ_DATA' EXPORTING activity = ' ' fikrs = g_fikrs geber = g_t_looptable-fund farea = g_farea fikrs_ca_periv = 'X' trgkz = l_node versn = '000' year_end = g_gjahr year_start = g_gjahr read_bpja = 'X' read_mode_opt = 'X' TABLES bp_ja = l_t_bpja tab_objnr = l_t_objnr tab_posit = l_t_posit tab_value = l_t_wrttp EXCEPTIONS OTHERS = 1.

FM_FIPEX_GET_FROM_POSIT CALL FUNCTION 'FM_FIPEX_GET_FROM_POSIT' EXPORTING i_fikrs = g_fikrs i_posit = u_posit i_flg_buffer_all = 'X' IMPORTING e_fipex = c_fipex.

FM_FIPEX_GET_FROM_POSIT CALL FUNCTION 'FM_FIPEX_GET_FROM_POSIT' EXPORTING i_fikrs = g_fikrs i_posit = g_t_fmbpcf_cvp-posit i_flg_buffer_all = 'X' IMPORTING e_fipex = wa_item-cmmt_item EXCEPTIONS input_error = 1 data_not_found = 2 OTHERS = 3.

KBPI_BUDGET_TRANSFER CALL FUNCTION 'KBPI_BUDGET_TRANSFER' EXPORTING testrun = g_test doc_header = g_f_header IMPORTING entry_doc_number = g_entry_doc_number hierarchy_doc_number = g_hierarchy_doc_number TABLES doc_items_sender = l_t_sender_post doc_items_receiver = l_t_receiver_post return = g_t_return.

DDIF_DTEL_GET CALL FUNCTION 'DDIF_DTEL_GET' EXPORTING name = 'FIKRS' langu = sy-langu IMPORTING dd04v_wa = l_dd04v.

DDIF_DTEL_GET CALL FUNCTION 'DDIF_DTEL_GET' EXPORTING name = 'GJAHR' langu = sy-langu IMPORTING dd04v_wa = l_dd04v.

REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING i_save = 'X' CHANGING cs_variant = c_variant EXCEPTIONS wrong_input = 1 not_found = 2 program_error = 3 OTHERS = 4.

REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = g_variant i_save = 'X' IMPORTING es_variant = g_variant.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = l_repid i_callback_user_command = 'USER_COMMAND' i_callback_top_of_page = 'TOP_OF_GRID' i_callback_html_top_of_page = 'HTML_TOP_OF_GRID' i_background_id = g_background_id is_layout = l_layout it_fieldcat = gt_fcat it_sort = gt_sort_info i_save = on is_variant = l_variant it_except_qinfo = g_t_except_qinfo i_html_height_top = '35' TABLES t_outtab = gt_list EXCEPTIONS program_error = 1 OTHERS = 2.

ICON_CHECK CALL FUNCTION 'ICON_CHECK' EXPORTING icon_name = 'ICON_RED_LIGHT' IMPORTING icon_text = g_error_icon_text.

ICON_CHECK CALL FUNCTION 'ICON_CHECK' EXPORTING icon_name = 'ICON_GREEN_LIGHT' IMPORTING icon_text = g_ok_icon_text.

ICON_CHECK CALL FUNCTION 'ICON_CHECK' EXPORTING icon_name = 'ICON_YELLOW_LIGHT' IMPORTING icon_text = g_warning_icon_text.

HELP_OBJECT_SHOW CALL FUNCTION 'HELP_OBJECT_SHOW' EXPORTING dokclass = 'NA' doklangu = sy-langu dokname = l_dokname * DOKTITLE = ' ' * CALLED_BY_PROGRAM = ' ' * CALLED_BY_DYNP = ' ' * CALLED_FOR_TAB = ' ' * CALLED_FOR_FIELD = ' ' * CALLED_FOR_TAB_FLD_BTCH_INPUT = ' ' msg_var_1 = l_msgv1 msg_var_2 = l_msgv2 msg_var_3 = l_msgv3 msg_var_4 = l_msgv3 * CALLED_BY_CUAPROG = ' ' * CALLED_BY_CUASTAT = * SHORT_TEXT = ' ' * CLASSIC_SAPSCRIPT = ' ' TABLES links = tl_links.

KBPB_DOCUMENT_SHOW_AND_PROC CALL FUNCTION 'KBPB_DOCUMENT_SHOW_AND_PROC' EXPORTING i_belnr = l_belnr i_fcode = 'BMEBA' EXCEPTIONS document_not_found = 1 document_locked = 2 cancel_method = 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 RFFMCOVTRANS or its description.