MGCU1F01 is a standard ABAP INCLUDE 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 MGCU1F01 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.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
FI_DOC_TO_ACC_TRANSFORM CALL FUNCTION 'FI_DOC_TO_ACC_TRANSFORM' TABLES t_bkpf = t_bkpf t_bseg = t_bseg t_bsegz = t_bsegz t_acchd = t_acchd t_accit = t_accit t_acccr = t_acccr.
G_NACHBUCHEN_START CALL FUNCTION 'G_NACHBUCHEN_START'.
MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE' EXPORTING i_identification = gcd1_identification IMPORTING e_identification = gcd1_identification.
G_RWIN_HEADER CALL FUNCTION 'G_RWIN_HEADER' TABLES t_acchd = t_acchd t_accit = t_accit t_acccr = t_acccr t_accda = t_accda t_accfi = t_accfi t_acctx = t_acctx.
G_RWIN_CHECK CALL FUNCTION 'G_RWIN_CHECK' TABLES t_acchd = t_acchd t_accit = t_accit t_acccr = t_acccr t_accda = t_accda t_accfi = t_accfi t_acctx = t_acctx.
G_GIVE_GLEDGER CALL FUNCTION 'G_GIVE_GLEDGER' TABLES iledger = tledger.
G_NACHBUCHEN_ENDE CALL FUNCTION 'G_NACHBUCHEN_ENDE'.
MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE' EXPORTING i_identification = gcd1_identification IMPORTING e_identification = gcd1_identification.
MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE'.
G_RWIN_HEADER CALL FUNCTION 'G_RWIN_HEADER' TABLES t_acchd = t_acchd t_accit = t_accit t_acccr = t_acccr t_accda = t_accda t_accfi = t_accfi t_acctx = t_acctx.
G_RWIN_CHECK CALL FUNCTION 'G_RWIN_CHECK' TABLES t_acchd = t_acchd t_accit = t_accit t_acccr = t_acccr t_accda = t_accda t_accfi = t_accfi t_acctx = t_acctx.
G_GIVE_GLEDGER CALL FUNCTION 'G_GIVE_GLEDGER' TABLES iledger = tledger.
G_NACHBUCHEN_ENDE CALL FUNCTION 'G_NACHBUCHEN_ENDE'.
G_GET_TABLES CALL FUNCTION 'G_GET_TABLES' EXPORTING i_tt = space i_si = 'X' TABLES e_t800a = lt_t800a.
G_TABLE_SELECT_WITH_CURSOR CALL FUNCTION 'G_TABLE_SELECT_WITH_CURSOR' EXPORTING i_tabname = lt_t800a-tab i_selection = lt_selection i_appending_table = gusl_c_true CHANGING c_t_glu1 = lt_glu1.
G_GET_TABLES CALL FUNCTION 'G_GET_TABLES' EXPORTING i_tt = space i_si = 'X' TABLES e_t800a = lt_t800a.
G_TABLE_SELECT_WITH_CURSOR CALL FUNCTION 'G_TABLE_SELECT_WITH_CURSOR' EXPORTING i_tabname = lt_t800a-tab i_selection = lt_selection i_appending_table = gusl_c_true CHANGING c_t_glu1 = lt_glu1.
G_NACHBUCHEN_START CALL FUNCTION 'G_NACHBUCHEN_START'.
CALL FUNCTION 'MESSAGES_INITIALIZE' EXPORTING i_identification = gcd1_identification IMPORTING e_identification = gcd1_identification.
G_GLU1_HEADER CALL FUNCTION 'G_GLU1_HEADER' EXPORTING i_glu1 = sidata.
G_GLU1_CHECK CALL FUNCTION 'G_GLU1_CHECK' TABLES t_glu1 = t_glu1.
G_GIVE_GLEDGER CALL FUNCTION 'G_GIVE_GLEDGER' TABLES iledger = tledger.
G_NACHBUCHEN_ENDE CALL FUNCTION 'G_NACHBUCHEN_ENDE'.
G_POSTING_DATE_OF_PERIOD_GET CALL FUNCTION 'G_POSTING_DATE_OF_PERIOD_GET' EXPORTING period = glu1-poper variant = t882-periv year = glu1-ryear IMPORTING from_date = glu1-cpudt to_date = glu1-cpudt EXCEPTIONS OTHERS = 4.
G_POSTING_DATE_OF_PERIOD_GET CALL FUNCTION 'G_POSTING_DATE_OF_PERIOD_GET' EXPORTING period = glu1-poper variant = t882c-periv year = glu1-ryear IMPORTING from_date = glu1-cpudt to_date = glu1-cpudt EXCEPTIONS OTHERS = 4.
G_NACHBUCHEN_START CALL FUNCTION 'G_NACHBUCHEN_START'.
MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE' EXPORTING i_identification = gcd1_identification IMPORTING e_identification = gcd1_identification.
G_COBK_HEADER CALL FUNCTION 'G_COBK_HEADER' EXPORTING i_cobk = t_cobk i_tka01 = tka01 i_kwaer = t001-waers i_twaer = t001-waers.
K_VRGNG_TABLES_DETERMINE * CALL FUNCTION 'K_VRGNG_TABLES_DETERMINE' * EXPORTING VRGNG = COBK-VRGNG * TABLES TABLES_TAB = ICOTABLES.
K_VRGNG_TABLES_DETERMINE * CALL FUNCTION 'K_VRGNG_TABLES_DETERMINE' * EXPORTING VRGNG = COBK-VRGNG * TABLES TABLES_TAB = ITAB_TO_READ.
G_COEP_CHECK CALL FUNCTION 'G_COEP_CHECK' TABLES i_cobk = t_cobk i_coep = t_coep i_coiob = t_coiob.
G_COEPR_CHECK CALL FUNCTION 'G_COEPR_CHECK' TABLES i_cobk = t_cobk i_coepr = t_coepr i_coiob = t_coiob.
G_COEJA_CHECK CALL FUNCTION 'G_COEJA_CHECK' TABLES i_cobk = t_cobk i_coeja = t_coeja i_coiob = t_coiob i_periods = t_periods.
G_COEJRA_CHECK CALL FUNCTION 'G_COEJRA_CHECK' TABLES i_cobk = t_cobk i_coejra = t_coejra i_coiob = t_coiob i_periods = t_periods.
G_GIVE_GLEDGER CALL FUNCTION 'G_GIVE_GLEDGER' TABLES iledger = tledger.
G_NACHBUCHEN_ENDE CALL FUNCTION 'G_NACHBUCHEN_ENDE'.
K_COEJA_READ_MULTI CALL FUNCTION 'K_COEJA_READ_MULTI' EXPORTING von_periode = cobk-perab bis_periode = cobk-perbi modus = 3 progname = 'SAPMGCU1' formname = 'EVALUATE_COEJA' TABLES t_cosel = icosel EXCEPTIONS OTHERS = 0.
K_COEJRA_READ_MULTI CALL FUNCTION 'K_COEJRA_READ_MULTI' EXPORTING von_periode = cobk-perab bis_periode = cobk-perbi modus = 3 progname = 'SAPMGCU1' formname = 'EVALUATE_COEJRA' TABLES t_cosel = icosel EXCEPTIONS OTHERS = 0.
G_POSTING_DATE_OF_PERIOD_GET CALL FUNCTION 'G_POSTING_DATE_OF_PERIOD_GET' EXPORTING period = rper variant = tka01-lmona year = cobk-gjahr IMPORTING from_date = t_periods-datab * LAST_NORMAL_PERIOD = LAST_NORMAL_PERIOD to_date = t_periods-datbi.
K_OBJECTS_MASTER_READ CALL FUNCTION 'K_OBJECTS_MASTER_READ'"Funktionsbaustein Peter vZ TABLES coiob_tab = t_coiob i_periods = t_periods.
OBJECT_KEY_GET *CALL FUNCTION 'OBJECT_KEY_GET' * TABLES ONR_TAB = IONR_TAB.
RK_KOSTL_READ * CALL FUNCTION 'RK_KOSTL_READ' * EXPORTING DATUM = COBK-BUDAT * KOKRS = IONR_TAB-KOKRS * KOSTL = IONR_TAB-KOSTL * IMPORTING BUKRS = T_COIOB-BUKRS * GSBER = T_COIOB-GSBER * KHINR = CSKS-KHINR * KTEXT = CSKT-KTEXT * MGEFL = CSKS-MGEFL * OBJNR = CSKS-OBJNR * OWAER = T_COIOB-OWAER * STAKZ = CSKS-STAKZ * XCSKSV = CSKSV.
K_ORDER_READ * CALL FUNCTION 'K_ORDER_READ' * EXPORTING AUFNR = IONR_TAB-AUFNR * IMPORTING ASTNR = AUFK-ASTNR * AUART = AUFK-AUART * AUTYP = AUFK-AUTYP * BUKRS = T_COIOB-BUKRS * ERROR_OCCURRED * GSBER = T_COIOB-GSBER * KOKRS = T_COIOB-KOKRS * KOSTL = T_COIOB-KOSTL * KTEXTV = AUFK-KTEXT * OBJNR = AUFK-OBJNR * OWAER = T_COIOB-OWAER * STAKZ = AUFK-ASTKZ.
DD_DOMA_GET CALL FUNCTION 'DD_DOMA_GET' EXPORTING domain_name = 'VALUTYP' TABLES dd07v_tab_a = dd07v_tab dd07v_tab_n = udd07v_tab EXCEPTIONS illegal_value = 1 op_failure = 2 OTHERS = 3.
DD_DOMA_GET CALL FUNCTION 'DD_DOMA_GET' EXPORTING domain_name = 'CURTP' TABLES dd07v_tab_a = dd07v_tab dd07v_tab_n = udd07v_tab EXCEPTIONS illegal_value = 1 op_failure = 2 OTHERS = 3.
RK_BUKRS_OF_KOKRS CALL FUNCTION 'RK_BUKRS_OF_KOKRS' EXPORTING kokrs = cobk-kokrs TABLES t_bukrs = t_viewbukrs EXCEPTIONS OTHERS = 1.
G_GIVE_FIXED_LEDGERS_FOR_BUKRS * CALL FUNCTION 'G_GIVE_FIXED_LEDGERS_FOR_BUKRS' * EXPORTING * bukrs = t_viewbukrs-bukrs * TABLES * ledtab = t_viewld.
G_GIVE_FIXED_LEDGERS_FOR_TABLE CALL FUNCTION 'G_GIVE_FIXED_LEDGERS_FOR_TABLE' EXPORTING table = 'GLT0' TABLES fixed_ledgers = help_ledgers.
G_GET_ORGANIZATIONAL_DATA CALL FUNCTION 'G_GET_ORGANIZATIONAL_DATA' EXPORTING i_rldnr = help_ledgers-rldnr i_orgunit = help_ledgers-bukrs EXCEPTIONS no_info_found = 1 OTHERS = 2.
MESSAGES_STOP CALL FUNCTION 'MESSAGES_STOP' EXCEPTIONS i_message = 1 w_message = 2 e_message = 3 a_message = 4 OTHERS = 8.
MESSAGES_GIVE CALL FUNCTION 'MESSAGES_GIVE' TABLES t_mesg = it_mesg.
HELPSCREEN_NA_CREATE CALL FUNCTION 'HELPSCREEN_NA_CREATE' EXPORTING meld_id = it_mesg-arbgb meld_nr = nummer meldung = meldung titel = titel.
G_DISPLAY_SELECTION_DYNPRO CALL FUNCTION 'G_DISPLAY_SELECTION_DYNPRO' EXPORTING dynp_title = titel1 sel_title1 = titel2 sel_title2 = titel3 start_column = 05 start_row = 08 without_selection = selection IMPORTING sel_index = sy-tabix TABLES sel_table = ivr EXCEPTIONS no_lines = 4 no_line_picked = 8.
G_PERIOD_GET CALL FUNCTION 'G_PERIOD_GET' EXPORTING company = glu1-bukrs date = glu1-cpudt ledger = glu1-rldnr IMPORTING period = glu1-poper.
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 MGCU1F01 or its description.
MGCU1F01 - FI-SL drilldown reporting: Reading master data for one value MGCU0V00_WRITE_KEYS_TO_SE01 - MGCU0V00WRITEKEYSTOSE01 MGCU0V00_UPDATE_T882_T882C - MGCU0V00UPDATET882T882C MGCU0V00_UPDATE_T882C_CURR - MGCU0V00UPDATET882CCURR MGCU0V00_STORE_MESSAGE - MGCU0V00STOREMESSAGE MGCU0V00_SICHERN_LISTE - MGCU0V00SICHERNLISTE