RUTMCFRK is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.
If you would like to execute this report or see the full code listing simply enter RUTMCFRK into the relevant SAP transactions such as SE38 or SE80
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.
Title: Pass on Foreign Key to Matchcode Pool Taable
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
MC_PREPARE_MCID CALL FUNCTION 'MC_PREPARE_MCID' EXPORTING MCID = MCID MCONAME = MCONAME STATUS = 'A' PRID = PRID IMPORTING DD23V_EXP = DD23V_HD RC = RC TABLES DD21V_TAB = DD21V_TAB DD24V_TAB = DD24V_TAB DD28V_TAB = DD28V_TAB EXCEPTIONS ID_NOT_EXISTS = 1 ILLEGAL_STATE = 2 OTHERS = 3.
DD_TABD_GET CALL FUNCTION 'DD_TABD_GET' EXPORTING GET_STATE = get_State PRID = PRID TABL_NAME = POOLTABNAME IMPORTING DD02V_WA_A = DD02V_GEN TABLES DD03P_TAB_A = DD03P_GEN EXCEPTIONS ACCESS_FAILURE = 1 OTHERS = 2.
DD_TABL_PUT CALL FUNCTION 'DD_TABL_PUT' EXPORTING CTRL_TABL_PUT = TABL_PUT_STATE DD02V_WA = DD02V_GEN DD09L_WA = DD09L_GEN PRID = PRID PUT_STATE = 'N' TABL_NAME = POOLTABNAME TABLES DD03P_TAB = DD03P_GEN DD05M_TAB = DD05M_GEN DD08V_TAB = DD08V_GEN EXCEPTIONS DB_ACCESS_FAILURE = 01.
DD_TABL_ACTM CALL FUNCTION 'DD_TABL_ACTM' EXPORTING MODE = MC_MODE NTAB_PUTSTATE = NTAB_PUTSTATE PRID = PRID TABNAME = POOLTABNAME IMPORTING ACT_RESULT = RC CTRL_TABL_RES = CTRL_TABL_RES EXCEPTIONS OTHERS = 01.
DD_TBFK_SET_GET CALL FUNCTION 'DD_TBFK_SET_GET' EXPORTING GET_STATE = 'A' PRID = PRID pointer = 'TABNAME' "Rel. 4.6
DD_TBFK_SET_GET CALL FUNCTION 'DD_TBFK_SET_GET' "#EC * EXPORTING GET_STATE = 'A' PRID = PRID OFFSET = 0 "Release 4.0
MC_ACT_MCID CALL FUNCTION 'MC_ACT_MCID' EXPORTING ACT_MCONAME = MCONAME ACT_MCID = MCID ACT_CONTROL = ' ' PRID = PRID IMPORTING RC = RC * TABLES * MCTBAT_TAB = EXCEPTIONS OTHERS = 1.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.