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

RFFMCHAB SAP ABAP Report - Select Documents - Document Reassignment







RFFMCHAB 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 this program to select document chains for reassignment...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 RFFMCHAB 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

FMCB - Reassignment: Document Selection


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 RFFMCHAB. "Basic submit
SUBMIT RFFMCHAB AND RETURN. "Return to original report after report execution complete
SUBMIT RFFMCHAB 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_GJAHR = D .
Selection Text: P_SIMUL = D .
Selection Text: P_RFPOS = D .
Selection Text: P_RFKNT = D .
Selection Text: P_REFBT = D .
Selection Text: P_REFBN = D .
Selection Text: P_LOGSYS = D .
Selection Text: P_KOKRS = D .
Selection Text: P_GJAHR = D .
Selection Text: P_ERROR = D .
Selection Text: P_EMEASU = D .
Selection Text: P_EGRANT = D .
Selection Text: P_EFONDS = D .
Selection Text: P_EFISTL = D .
Selection Text: P_EFIPEX = D .
Selection Text: P_EFIKRS = D .
Selection Text: P_EFAREA = D .
Selection Text: P_BUKRS = D .
Selection Text: P_EBUDPD = D .
Title: Select Documents - Document Reassignment
Text Symbol: 080 = Logical System
Text Symbol: 070 = Ref. doc. cat.
Text Symbol: 060 = Fiscal year
Text Symbol: 050 = Controlling Area
Text Symbol: 040 = Company code
Text Symbol: 010 = Program aborted by user exit. No reassignment made.
Text Symbol: 003 = Process Control
Text Symbol: 002 = Receiver account assgmt
Text Symbol: 001 = Document selection


INCLUDES used within this REPORT RFFMCHAB

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_COM_ITEM_READ CALL FUNCTION 'FM_COM_ITEM_READ' EXPORTING i_fikrs = p_efikrs i_gjahr = p_gjahr i_fipex = p_efipex.

FMFCTR_READ_QUICK CALL FUNCTION 'FMFCTR_READ_QUICK' EXPORTING ip_fictr = p_efistl ip_gjahr = p_gjahr ip_fikrs = p_efikrs.

FINCODE_READ CALL FUNCTION 'FINCODE_READ' EXPORTING ip_fikrs = p_efikrs ip_fincode = p_efonds.

FM_BUDGET_PERIOD_READ CALL FUNCTION 'FM_BUDGET_PERIOD_READ' EXPORTING i_budget_period = p_ebudpd.

AC_FAREA_EXISTENCE_CHECK CALL FUNCTION 'AC_FAREA_EXISTENCE_CHECK' EXPORTING id_func_area = p_efarea.

FM_MEASURE_READ CALL FUNCTION 'FM_MEASURE_READ' EXPORTING i_fmarea = p_efikrs i_measure = p_emeasu i_fisc_year = p_gjahr.

GM_GET_GRANT_SINGLE CALL FUNCTION 'GM_GET_GRANT_SINGLE' EXPORTING i_grant_nbr = p_egrant.

FM_GET_EXPERT_MODE CALL FUNCTION 'FM_GET_EXPERT_MODE' IMPORTING e_exception_active = g_fmale_show_system.

FM_CHANGE_AA_DEFAULTS CALL FUNCTION 'FM_CHANGE_AA_DEFAULTS' EXPORTING i_set_defaults = con_on CHANGING c_fipex = p_efipex c_fistl = p_efistl c_fonds = p_efonds c_farea = p_efarea c_measure = p_emeasu c_grant_nbr = p_egrant c_budget_pd = p_ebudpd.

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

FM_CHANGE_AA_DOCFM_READ_CHAIN CALL FUNCTION 'FM_CHANGE_AA_DOCFM_READ_CHAIN' EXPORTING i_rldnr = fmfi_con_ldnr_payment i_refbt = p_refbt i_refbn = p_refbn i_rfpos = p_rfpos i_rfknt = p_rfknt i_fikrs = p_efikrs i_bukrs = p_bukrs i_kokrs = p_kokrs i_gjahr = p_gjahr IMPORTING e_t_return = g_t_return TABLES t_logsys = r_logsys t_gjahr = s_gjahr t_fmcha1 = g_t_fmcha1.

FM_CHANGE_AA_DOCFM_READ_CHAIN CALL FUNCTION 'FM_CHANGE_AA_DOCFM_READ_CHAIN' EXPORTING i_rldnr = fmfi_con_ldnr_commitment i_refbt = p_refbt i_refbn = p_refbn i_rfpos = p_rfpos i_rfknt = p_rfknt i_fikrs = p_efikrs i_bukrs = p_bukrs i_kokrs = p_kokrs i_gjahr = p_gjahr IMPORTING e_t_return = g_t_return TABLES t_logsys = r_logsys t_gjahr = s_gjahr t_fmcha1 = g_t_fmcha1.

FM_CHANGE_AA_DOCFM_READ_CHAIN CALL FUNCTION 'FM_CHANGE_AA_DOCFM_READ_CHAIN' EXPORTING i_rldnr = fmfi_con_ldnr_controlling i_refbt = p_refbt i_refbn = p_refbn i_rfpos = p_rfpos i_rfknt = p_rfknt i_fikrs = p_efikrs i_bukrs = p_bukrs i_kokrs = p_kokrs i_gjahr = p_gjahr IMPORTING e_t_return = g_t_return TABLES t_logsys = r_logsys t_gjahr = s_gjahr t_fmcha1 = g_t_fmcha1.

FM_CHANGE_AA_DOCFM_READ_CHAIN CALL FUNCTION 'FM_CHANGE_AA_DOCFM_READ_CHAIN' EXPORTING i_rldnr = fmfi_con_ldnr_work_flow i_refbt = p_refbt i_refbn = p_refbn i_rfpos = p_rfpos i_rfknt = p_rfknt i_fikrs = p_efikrs i_bukrs = p_bukrs i_kokrs = p_kokrs i_gjahr = p_gjahr IMPORTING e_t_return = g_t_return TABLES t_logsys = r_logsys t_gjahr = s_gjahr t_fmcha1 = g_t_fmcha1.

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 = 'RFFMCHAB' TABLES t_fmcha1 = g_t_fmcha1 t_fmcha1_out = g_t_fmcha1_out.

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_COM_ITEM_READ CALL FUNCTION 'FM_COM_ITEM_READ' EXPORTING i_fikrs = g_t_fmcha1-fikrs i_gjahr = g_t_fmcha1-gjahr i_fipex = g_t_fmcha1-efipex.

FMFK_GET_FIKRS_FROM_BUKRS





CALL FUNCTION 'FMFK_GET_FIKRS_FROM_BUKRS' EXPORTING i_bukrs = u_bukrs IMPORTING e_fikrs = l_fikrs.

FMFK_FIKRS_READ CALL FUNCTION 'FMFK_FIKRS_READ' EXPORTING ip_fikrs = l_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 = c_t_fmcha1-wrttp i_spras = sy-langu IMPORTING e_f_fmup01 = l_fmup01_rt EXCEPTIONS no_entry_found = 1 no_entry_found_wrttp = 2 OTHERS = 3.

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 = fmfi_con_ldnr_payment i_refbt = fmfi_con_refbt_fidc i_refbn = l_f_fmcha1-knbelnr i_rfpos = l_rfpos i_rfknt = l_f_fmcha1-rfknt i_fikrs = l_f_fmcha1-fikrs i_bukrs = l_f_fmcha1-bukrs i_kokrs = l_f_fmcha1-kokrs i_gjahr = l_f_fmcha1-kngjahr IMPORTING e_t_return = g_t_return TABLES t_logsys = r_logsys t_gjahr = s_gjahr t_fmcha1 = c_t_fmcha1.

FM_CHANGE_AA_DOCFM_READ_CHAIN CALL FUNCTION 'FM_CHANGE_AA_DOCFM_READ_CHAIN' EXPORTING i_rldnr = fmfi_con_ldnr_commitment i_refbt = fmfi_con_refbt_fidc i_refbn = l_f_fmcha1-knbelnr i_rfpos = l_rfpos i_rfknt = l_f_fmcha1-rfknt i_fikrs = l_f_fmcha1-fikrs i_bukrs = l_f_fmcha1-bukrs i_kokrs = l_f_fmcha1-kokrs i_gjahr = l_f_fmcha1-kngjahr IMPORTING e_t_return = g_t_return TABLES t_logsys = r_logsys t_gjahr = s_gjahr t_fmcha1 = c_t_fmcha1.

FM_CHANGE_AA_SELECTION_CHECK CALL FUNCTION 'FM_CHANGE_AA_SELECTION_CHECK' IMPORTING e_reject = l_reject TABLES c_t_fmcha1 = g_t_fmcha1.

DD_DOMVALUE_TEXT_GET CALL FUNCTION 'DD_DOMVALUE_TEXT_GET' EXPORTING domname = l_doma_nam value = l_value langu = sy-langu IMPORTING dd07v_wa = l_f_dd07v rc = l_rc.

DD_DOMVALUE_TEXT_GET CALL FUNCTION 'DD_DOMVALUE_TEXT_GET' EXPORTING domname = l_doma_nam value = l_value langu = sy-langu IMPORTING dd07v_wa = l_f_dd07v rc = l_rc.

DD_DOMVALUE_TEXT_GET CALL FUNCTION 'DD_DOMVALUE_TEXT_GET' EXPORTING domname = l_doma_nam value = l_value langu = sy-langu IMPORTING dd07v_wa = l_f_dd07v rc = l_rc.

DD_DOMVALUE_TEXT_GET CALL FUNCTION 'DD_DOMVALUE_TEXT_GET' EXPORTING domname = l_doma_nam value = l_value langu = sy-langu IMPORTING dd07v_wa = l_f_dd07v rc = l_rc.

DD_DOMVALUE_TEXT_GET CALL FUNCTION 'DD_DOMVALUE_TEXT_GET' EXPORTING domname = l_doma_nam value = l_value langu = sy-langu IMPORTING dd07v_wa = l_f_dd07v rc = l_rc.

DD_DOMVALUE_TEXT_GET CALL FUNCTION 'DD_DOMVALUE_TEXT_GET' EXPORTING domname = l_doma_nam value = l_value langu = sy-langu IMPORTING dd07v_wa = l_f_dd07v rc = l_rc.

G_DISPLAY_SELECTION_DYNPRO CALL FUNCTION 'G_DISPLAY_SELECTION_DYNPRO' EXPORTING dynp_title = text-070 key_columns = 1 number_of_rows = 8 sel_title1 = l_t_refbt sel_title2 = '-' start_column = 0 start_row = 0 width_of_titles = 'X' IMPORTING sel_index = l_index TABLES sel_table = l_t_refbt EXCEPTIONS no_lines = 01 no_line_picked = 02 OTHERS = 03.

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