GLE_MCA_ITEMS_LOAD is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for With this report you can execute the first step (out of three) of the process for loading MCA-relevant document data into the ERP system...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 GLE_MCA_ITEMS_LOAD into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
GMCA_LOAD - MCA Data Load
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.
Selection Text: GV_TFILE = Target File Path Name
Selection Text: GV_SFILE = Source File Path Name
Title: Execute MCA Data Load (Inbound Mapping)
Text Symbol: 048 = Target File
Text Symbol: 047 = Source File
Text Symbol: 046 = G/L AcctNo
Text Symbol: 045 = Posting Key
Text Symbol: 044 = Doc.GrpFld
Text Symbol: 043 = Line Item
Text Symbol: 042 = Doc.Number
Text Symbol: 041 = Execute MCA Data Load (Inbound Mapping)
Text Symbol: 040 = Amount
Text Symbol: 039 = Currency
Text Symbol: 038 = Account Number
Text Symbol: 037 = Posting Key
Text Symbol: 036 = Line Item Number
Text Symbol: 035 = Document Number
Text Symbol: 033 = Content of Document Group Field
Text Symbol: 032 = Target File Amount
Text Symbol: 031 = Target File Currency
Text Symbol: 030 = Target File Account Number
Text Symbol: 029 = Target File Posting Key
Text Symbol: 028 = Target File Line Item Number
Text Symbol: 027 = Target File Document Number
Text Symbol: 026 = Content of Document Group Field
Text Symbol: 025 = Source File Amount
Text Symbol: 024 = Source File Currency
Text Symbol: 023 = Source File Account Number
Text Symbol: 022 = Source File Posting Key
Text Symbol: 021 = Source File Line Item Number
Text Symbol: 020 = Source File Document Number
Text Symbol: 019 = Status
Text Symbol: 018 = Report GLE_MCA_ITEMS_LOAD
Text Symbol: 017 = Selection
INCLUDE GLE_MCA_ITEMS_LOAD_TOP.
INCLUDE GLE_MCA_ITEMS_LOAD_ALV_DISPLAY.
No SAP DATABASE tables are accessed within this REPORT code!
FILE_GET_NAME CALL FUNCTION 'FILE_GET_NAME' EXPORTING LOGICAL_FILENAME = l_logical_filename IMPORTING FILE_NAME = l_physical_filename EXCEPTIONS FILE_NOT_FOUND = 1 error_message = 2 OTHERS = 3 .
DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = ls_tablename fieldname = ls_fieldname langu = sy-langu TABLES dfies_tab = inttab EXCEPTIONS not_found = 1 internal_error = 2 OTHERS = 3.
GLE_MCA_GET_CHART_OF_ACCOUNTS CALL FUNCTION 'GLE_MCA_GET_CHART_OF_ACCOUNTS' EXPORTING i_ccode = iv_bukrs IMPORTING e_coa = lv_ktopl.
FI_COMPANY_CODE_DATA CALL FUNCTION 'FI_COMPANY_CODE_DATA' EXPORTING i_bukrs = iv_bukrs IMPORTING e_t001 = lt_t001.
GLE_MCA_GET_FC CALL FUNCTION 'GLE_MCA_GET_FC' EXPORTING i_bukrs = iv_bukrs IMPORTING e_fc = lt_fc_tab.
FI_POSTING_KEY_DATA CALL FUNCTION 'FI_POSTING_KEY_DATA' EXPORTING i_bschl =
-newbs IMPORTING e_koart = lv_acc_type.
FI_POSTING_KEY_DATA CALL FUNCTION 'FI_POSTING_KEY_DATA' EXPORTING i_bschl =
-newbs IMPORTING e_koart = lv_acc_type.
FI_POSTING_KEY_DATA CALL FUNCTION 'FI_POSTING_KEY_DATA' EXPORTING i_bschl =
-newbs IMPORTING e_koart = lv_acc_type.
GLE_MCA_GET_T030H_RNG CALL FUNCTION 'GLE_MCA_GET_T030H_RNG' EXPORTING i_tab_range_ktopl = lt_range_ktopl i_tab_range_prccat = lt_range_prccat i_tab_range_prctype = lt_range_prctype i_tab_range_waers = lt_range_waers IMPORTING e_tab_t030h = lt_mca_t030h.
FI_POSTING_KEY_DATA CALL FUNCTION 'FI_POSTING_KEY_DATA' EXPORTING i_bschl =
-newbs IMPORTING e_koart = lv_acc_type.
FI_POSTING_KEY_DATA CALL FUNCTION 'FI_POSTING_KEY_DATA' EXPORTING i_bschl =
-newbs IMPORTING e_koart = lv_acc_type.
GLE_MCA_GET_T030H_RNG CALL FUNCTION 'GLE_MCA_GET_T030H_RNG' EXPORTING i_tab_range_ktopl = lt_range_ktopl i_tab_range_prccat = lt_range_prccat i_tab_range_prctype = lt_range_prctype i_tab_range_waers = lt_range_waers IMPORTING e_tab_t030h = lt_mca_t030h.
FI_POSTING_KEY_REVERSE CALL FUNCTION 'FI_POSTING_KEY_REVERSE' EXPORTING i_posting_key =
-newbs IMPORTING e_posting_key = lv_reverse_newbs.
DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = ls_tablename fieldname = ls_fieldname langu = sy-langu TABLES dfies_tab = inttab EXCEPTIONS not_found = 1 internal_error = 2 OTHERS = 3.
FI_COMPANY_CODE_DATA CALL FUNCTION 'FI_COMPANY_CODE_DATA' EXPORTING i_bukrs = iv_bukrs IMPORTING e_t001 = lt_t001.
GLE_MCA_GET_FC CALL FUNCTION 'GLE_MCA_GET_FC' EXPORTING i_bukrs = iv_bukrs IMPORTING e_fc = lt_fc_tab.
FI_POSTING_KEY_DATA CALL FUNCTION 'FI_POSTING_KEY_DATA' EXPORTING i_bschl =
-newbs IMPORTING e_koart = lv_acc_type.
FI_POSTING_KEY_DATA CALL FUNCTION 'FI_POSTING_KEY_DATA' EXPORTING i_bschl =
-newbs IMPORTING e_koart = lv_acc_type.
CALL FUNCTION 'FI_POSTING_KEY_DATA' EXPORTING i_bschl =-newbs IMPORTING e_koart = lv_acc_type.
FI_POSTING_KEY_DATA CALL FUNCTION 'FI_POSTING_KEY_DATA' EXPORTING i_bschl =
-newbs IMPORTING e_koart = lv_acc_type.
GLE_MCA_GET_T030H_RNG CALL FUNCTION 'GLE_MCA_GET_T030H_RNG' EXPORTING i_tab_range_ktopl = lt_range_ktopl i_tab_range_prccat = lt_range_prccat i_tab_range_prctype = lt_range_prctype i_tab_range_waers = lt_range_waers IMPORTING e_tab_t030h = lt_mca_t030h.
FI_POSTING_KEY_DATA CALL FUNCTION 'FI_POSTING_KEY_DATA' EXPORTING i_bschl =
-newbs IMPORTING e_koart = lv_acc_type.
GLE_MCA_GET_CHART_OF_ACCOUNTS CALL FUNCTION 'GLE_MCA_GET_CHART_OF_ACCOUNTS' EXPORTING i_ccode = iv_bukrs IMPORTING e_coa = lv_ktopl.
FI_COMPANY_CODE_DATA CALL FUNCTION 'FI_COMPANY_CODE_DATA' EXPORTING i_bukrs = iv_bukrs IMPORTING e_t001 = lt_t001.
GLE_MCA_GET_FC CALL FUNCTION 'GLE_MCA_GET_FC' EXPORTING i_bukrs = iv_bukrs IMPORTING e_fc = lt_fc_tab.
FI_POSTING_KEY_REVERSE CALL FUNCTION 'FI_POSTING_KEY_REVERSE' EXPORTING i_posting_key =
-newbs IMPORTING e_posting_key = lv_reverse_newbs.
FILE_GET_NAME CALL FUNCTION 'FILE_GET_NAME' EXPORTING LOGICAL_FILENAME = l_logical_filename IMPORTING FILE_NAME = l_physical_filename EXCEPTIONS FILE_NOT_FOUND = 1 error_message = 2 OTHERS = 3 .
FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING LOGICAL_FILENAME = l_logical_filename CHANGING PHYSICAL_FILENAME = l_physical_filename EXCEPTIONS LOGICAL_FILENAME_NOT_FOUND = 1 VALIDATION_FAILED = 2 OTHERS = 3 .
GLE_MCA_GENL_OPEN_LOG CALL FUNCTION 'GLE_MCA_GENL_OPEN_LOG' EXPORTING i_subobject = l_bal_subobj i_altext = logtext IMPORTING e_log_handle = gv_log_handle e_return = msg_return e_errors = errors.
BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_log_handle = gv_log_handle i_s_msg = l_str_msg EXCEPTIONS log_not_found = 1 msg_inconsistent = 2 log_is_full = 3 error_message = 4 OTHERS = 5.
GLE_MCA_GENL_CLOSE_LOG CALL FUNCTION 'GLE_MCA_GENL_CLOSE_LOG' EXPORTING i_log_handle = gv_log_handle IMPORTING e_return = msg_return e_errors = errors.
BAL_DSP_PROFILE_SINGLE_LOG_GET CALL FUNCTION 'BAL_DSP_PROFILE_SINGLE_LOG_GET' IMPORTING e_s_display_profile = l_s_display_profile EXCEPTIONS OTHERS = 1.
BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING i_s_display_profile = l_s_display_profile EXCEPTIONS OTHERS = 1.
F4IF_FIELD_VALUE_REQUEST CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST' EXPORTING TABNAME = 'FILENAME' FIELDNAME = 'FILEINTERN' VALUE = l_value TABLES RETURN_TAB = l_tab_return_tab EXCEPTIONS FIELD_NOT_FOUND = 1 NO_HELP_FOR_FIELD = 2 INCONSISTENT_HELP = 3 NO_VALUES_FOUND = 4 OTHERS = 5 .
FILE_GET_NAME CALL FUNCTION 'FILE_GET_NAME' EXPORTING LOGICAL_FILENAME = l_logical_filename IMPORTING FILE_NAME = l_physical_filename EXCEPTIONS FILE_NOT_FOUND = 1 error_message = 2 OTHERS = 3 .
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 GLE_MCA_ITEMS_LOAD or its description.
GLE_MCA_ITEMS_LOAD - Execute MCA Data Load (Inbound Mapping) GLE_MCA_ITEMS_LOAD - Execute MCA Data Load (Inbound Mapping) GLE_MCA_IFX_F01 - Include GLE_MCA_IFX_F01 GLE_MCA_IFX - Adjust Implicit FX Transactions GLE_MCA_IFX - Adjust Implicit FX Transactions GLE_MCA_GEN_FREE_SELECTION - Include GLE_MCA_GEN_FREE_SELECTION