SAP Reports / Programs

RFFMCHAC SAP ABAP Report - Select Documents - CO Relation Table







RFFMCHAC 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 RFFMCHAC to select all the documents for reassignment for which the respective FM account assignment was changed for the CO assignment...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 RFFMCHAC 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

FMCC - Reassignment: FM-CO 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 RFFMCHAC. "Basic submit
SUBMIT RFFMCHAC AND RETURN. "Return to original report after report execution complete
SUBMIT RFFMCHAC 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_ABGJR = D From Fiscal Year
Selection Text: P_BSGJR = D From Fiscal Year
Selection Text: P_ERROR = D Display Errors Only
Selection Text: P_FIKRS = D Financial Management Area
Selection Text: P_SIMUL = D Test run
Title: Select Documents - CO Relation Table
Text Symbol: 001 = Restrict document selection
Text Symbol: 004 = Control parameters
Text Symbol: 060 = Docs converted
Text Symbol: 085 = Test Run
Text Symbol: 086 = Upd. run
Text Symbol: 300 = Date
Text Symbol: 310 = Time
Text Symbol: 320 = Runtime Errors
Text Symbol: 330 = Note the Output Log


INCLUDES used within this REPORT RFFMCHAC

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:

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

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_TABCO_READ CALL FUNCTION 'FM_CHANGE_AA_TABCO_READ' EXPORTING i_fikrs = p_fikrs TABLES t_fmzuch = g_t_fmzuch.

ENQUEUE_E_FMZUKA CALL FUNCTION 'ENQUEUE_E_FMZUKA' EXPORTING kstar = g_t_fmzuch-kstar kokrs = g_t_fmzuch-kokrs x_kstar = 'X' x_kokrs = 'X'.

ENQUEUE_E_FMZUOB CALL FUNCTION 'ENQUEUE_E_FMZUOB' EXPORTING objnr = g_t_fmzuch-objnr x_objnr = 'X'.

FM_CHANGE_AA_DOCFM_READ_CO CALL FUNCTION 'FM_CHANGE_AA_DOCFM_READ_CO' EXPORTING i_abgjr = p_abgjr i_bsgjr = p_bsgjr TABLES t_fmzuch = g_t_fmzuch t_fmcha1 = g_t_fmcha1 t_wrttp = s_wrttp.

FM_CHANGE_AA_TABWO_WRITE CALL FUNCTION 'FM_CHANGE_AA_TABWO_WRITE' TABLES t_fmcha1 = g_t_fmcha1.

FM_CHANGE_AA_TABCO_WRITE CALL FUNCTION 'FM_CHANGE_AA_TABCO_WRITE' EXPORTING i_flg_date_selected = con_on TABLES t_fmcha1 = g_t_fmcha1.

FM_CHANGE_AA_TABWO_DISPLAY CALL FUNCTION 'FM_CHANGE_AA_TABWO_DISPLAY' EXPORTING i_eron = p_error i_alv_callback_prog = 'RFFMCHAC' TABLES t_fmcha1 = g_t_fmcha1 t_fmcha1_out = g_t_fmcha1_out. "Note 1389332

FM_DOCUMENT_DISPLAY CALL FUNCTION 'FM_DOCUMENT_DISPLAY' EXPORTING i_belnr = l_belnr i_bukrs = l_bukrs i_gjahr = l_gjahr i_wrttp = g_t_fmcha1_out-wrttp "Note 1389332 i_rforg = g_t_fmcha1_out-rforg. "Note 1389332



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