SAP Reports / Programs

RFFMBGCPY SAP ABAP Report - Copying of Year-Dependent PCO Account Assignments







RFFMBGCPY is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Copying FM Account Assignments You can use this program to copy the account assignments of one or several public-owned commercial operations (PCO) from one fiscal year to another...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 RFFMBGCPY 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

FMBGCP - Copy acc. assignment allocations


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 RFFMBGCPY. "Basic submit
SUBMIT RFFMBGCPY AND RETURN. "Return to original report after report execution complete
SUBMIT RFFMBGCPY 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 FM Area
Selection Text: P_KONTEX = D Add Only Existing Acct Assgmts
Selection Text: P_SGJAHR = D Source Fiscal Year
Selection Text: P_TEST = D Test run
Selection Text: P_TGJAHR = D Target Fiscal Year
Selection Text: SO_BGA = D Public-Owned Commercial Op.
Title: Copying of Year-Dependent PCO Account Assignments
Text Symbol: 010 = Transfer PCO-Account Assignment: Update Run
Text Symbol: 020 = Transfer PCO-Account Assignment: Test Run


INCLUDES used within this REPORT RFFMBGCPY

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_AUTH_CHECK_FM_AREA call function 'FM_AUTH_CHECK_FM_AREA' exporting i_fikrs = p_fikrs i_actvt = '02'.

FM_COM_ITEM_READ_SINGLE_DATA call function 'FM_COM_ITEM_READ_SINGLE_DATA' exporting i_fikrs = p_fikrs i_gjahr = p_tgjahr i_fipex = g_t_fmbgakont-fipex exceptions others = 1.

FM_FICTR_READ_SINGLE call function 'FM_FICTR_READ_SINGLE' exporting i_fikrs = p_fikrs i_fictr = g_t_fmbgakont-fistl i_gjahr = p_tgjahr exceptions others = 1.

FM_FUND_READ call function 'FM_FUND_READ' exporting i_fikrs = p_fikrs i_fincode = g_t_fmbgakont-geber i_gjahr_fincode = p_tgjahr i_gjahr_fikrs = p_tgjahr exceptions others = 1.

BAL_LOG_CREATE call function 'BAL_LOG_CREATE' exporting i_s_log = g_s_log exceptions others = 1.

BAL_LOG_MSG_ADD call function 'BAL_LOG_MSG_ADD' exporting i_s_msg = l_s_msg exceptions log_not_found = 0 others = 1.

BAL_DSP_PROFILE_NO_TREE_GET call function 'BAL_DSP_PROFILE_NO_TREE_GET' importing e_s_display_profile = l_s_profile.

BAL_DSP_LOG_DISPLAY call function 'BAL_DSP_LOG_DISPLAY' exporting i_s_display_profile = l_s_profile exceptions others = 1.

VIEW_AUTHORITY_CHECK call function 'VIEW_AUTHORITY_CHECK' exporting view_action = 'U' view_name = 'V_FMBGAKONT' exceptions invalid_action = 1 no_authority = 2 no_clientindependent_authority = 3 table_not_found = 4 no_linedependent_authority = 5 others = 6.

FM_FYC_RECEIVER_DERIVE call function 'FM_FYC_RECEIVER_DERIVE' exporting i_fikrs = p_fikrs i_gjahr = p_sgjahr i_receiver_year = p_tgjahr i_flg_check_receivers = space i_f_source_fields = l_f_source importing e_f_target_fields = l_f_target.

FM_FYC_SCHEDMAN_INIT call function 'FM_FYC_SCHEDMAN_INIT' exporting i_repid = con_repid 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 = sy-tfill.



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