SAP Reports / Programs

RFFMCHAG SAP ABAP Report - Select Documents - Overall Reassignment







RFFMCHAG 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 RFFMCHAG to select all documents which were posted to a particular 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 RFFMCHAG 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

FMCG - Reassignment: Overall Assignment


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 RFFMCHAG. "Basic submit
SUBMIT RFFMCHAG AND RETURN. "Return to original report after report execution complete
SUBMIT RFFMCHAG 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_ERROR = D .
Selection Text: P_FIKRS = D .
Selection Text: P_GJAHR = D .
Selection Text: P_LOGSYS = D .
Selection Text: P_SIMUL = D .
Selection Text: S_BUDPER = D .
Selection Text: S_FAREA = D .
Selection Text: S_FIPEX = D .
Selection Text: S_FISTL = D .
Selection Text: S_FONDS = D .
Selection Text: S_GRANT = D .
Selection Text: S_MEASU = D .
Selection Text: S_WRTTP = D .
Title: Select Documents - Overall Reassignment
Text Symbol: 001 = Carryforward Rule
Text Symbol: 002 = Carryforward rule restriction
Text Symbol: 003 = Document selection restriction
Text Symbol: 004 = Control parameters
Text Symbol: 080 = Logical System


INCLUDES used within this REPORT RFFMCHAG

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_GET_EXPERT_MODE CALL FUNCTION 'FM_GET_EXPERT_MODE' IMPORTING e_exception_active = g_fmale_show_system.

FM_AUTH_CHECK_FM_AREA CALL FUNCTION 'FM_AUTH_CHECK_FM_AREA' EXPORTING i_fikrs = p_fikrs i_actvt = fmau_ac_acch i_msgty = 'E'.

FM_CHANGE_AA_DOCFM_READ CALL FUNCTION 'FM_CHANGE_AA_DOCFM_READ' EXPORTING i_fikrs = p_fikrs i_gjahr = p_gjahr IMPORTING e_t_return = g_t_return TABLES t_logsys = r_logsys t_wrttp = s_wrttp t_fmcha1 = g_t_fmcha1 t_fipex = s_fipex t_fistl = s_fistl t_fonds = s_fonds t_budget_pd = s_budper t_measure = s_measu t_grant_nbr = s_grant.

FM_CHANGE_AA_TABWO_WRITE CALL FUNCTION 'FM_CHANGE_AA_TABWO_WRITE' TABLES t_fmcha1 = l_t_fmcha1.

FM_CHANGE_AA_TABWO_DISPLAY CALL FUNCTION 'FM_CHANGE_AA_TABWO_DISPLAY' EXPORTING i_eron = p_error i_alv_callback_prog = 'RFFMCHAG' TABLES t_fmcha1 = g_t_fmcha1 t_fmcha1_out = g_t_fmcha1_out.

FM_CHANGE_AA_HANA_DBCON_GET CALL FUNCTION 'FM_CHANGE_AA_HANA_DBCON_GET' "Note 1761408 EXPORTING i_application = 'PSM' i_subapplication = 'FM_REASSIGNMENT' i_required_table = 'FMCHA1' IMPORTING e_dbcon_name = l_dbcon_name e_hdb_is_primary_db = l_hdb_is_primary_db EXCEPTIONS dbcon_not_exist = 1 dbcon_no_use = 2 dbcon_error = 3 dbcon_other = 4 OTHERS = 5.

FM_CHANGE_AA_TABWO_ACCOUNT_GET CALL FUNCTION 'FM_CHANGE_AA_TABWO_ACCOUNT_GET' TABLES t_fmcha1 = g_t_fmcha1 EXCEPTIONS error_message = 1.

FM_COMMITMENT_ITEM_READ CALL FUNCTION 'FM_COMMITMENT_ITEM_READ' EXPORTING i_fikrs = g_t_fmcha1-fikrs i_gjahr = g_t_fmcha1-gjahr i_fipex = g_t_fmcha1-efipex i_flg_buffer_all = con_on EXCEPTIONS error_message = 1.

FMFK_FIKRS_READ CALL FUNCTION 'FMFK_FIKRS_READ' EXPORTING ip_fikrs = p_fikrs ip_applc = applc_ca IMPORTING f_fm01 = l_f_fm01.

FM_CONTROL_DATA_GET CALL FUNCTION 'FM_CONTROL_DATA_GET' EXPORTING i_profil = l_f_fm01-fs_profil i_wrttp = wrttpmzr i_spras = sy-langu EXCEPTIONS no_entry_found = 1 no_entry_found_wrttp = 2 OTHERS = 3.

FM_CHANGE_AA_DOCFM_READ_CHAIN CALL FUNCTION 'FM_CHANGE_AA_DOCFM_READ_CHAIN' EXPORTING i_rldnr = g_t_fmcha1-rldnr i_refbt = g_t_fmcha1-refbt i_refbn = g_t_fmcha1-refbn i_rfpos = g_t_fmcha1-rfpos i_rfknt = g_t_fmcha1-rfknt i_fikrs = g_t_fmcha1-fikrs i_bukrs = g_t_fmcha1-bukrs i_kokrs = g_t_fmcha1-kokrs i_gjahr = g_t_fmcha1-gjahr i_derive_accass = con_on IMPORTING e_t_return = g_t_return TABLES t_logsys = r_logsys t_fmcha1 = l_t_fmcha1.

FM_CHANGE_AA_TABWO_HEADER CALL FUNCTION 'FM_CHANGE_AA_TABWO_HEADER' EXPORTING i_test = p_simul IMPORTING e_f_lh_attributes = g_f_lh_attributes e_f_action_info = g_f_action_info TABLES e_t_top_data = g_t_top_data c_t_fmcha1 = g_t_fmcha1.



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