SAP Reports / Programs | Financial Accounting | Asset Accounting(FI-AA) SAP FI

MALSMEXF01 SAP ABAP INCLUDE - documentation and ABAP source code







MALSMEXF01 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 MALSMEXF01 into the relevant SAP transactions such as SE38 or SE80


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 MALSMEXF01. "Basic submit
SUBMIT MALSMEXF01 AND RETURN. "Return to original report after report execution complete
SUBMIT MALSMEXF01 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT MALSMEXF01

INCLUDE MALSMEX_BAPI_ASSET.


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:

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = text.

GUI_UPLOAD CALL FUNCTION 'GUI_UPLOAD' EXPORTING filename = ld_filename filetype = 'ASC' TABLES data_tab = upload_itab EXCEPTIONS OTHERS = 10.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = bapi_list langu = sy-langu TABLES dfies_tab = dfies_wa.

BAPI_FIXEDASSET_OVRTAKE_CREATE CALL FUNCTION 'BAPI_FIXEDASSET_OVRTAKE_CREATE' EXPORTING key = ls_key reference = bapi_itab-bapi1022_reference testrun = u_testrun generaldata = bapi_itab-bapi1022_feglg001 generaldatax = bapi_itab-bapi1022_feglg001x inventory = bapi_itab-bapi1022_feglg011 inventoryx = bapi_itab-bapi1022_feglg011x postinginformation = bapi_itab-bapi1022_feglg002 postinginformationx = bapi_itab-bapi1022_feglg002x timedependentdata = bapi_itab-bapi1022_feglg003 timedependentdatax = bapi_itab-bapi1022_feglg003x allocations = bapi_itab-bapi1022_feglg004 allocationsx = bapi_itab-bapi1022_feglg004x origin = bapi_itab-bapi1022_feglg009 originx = bapi_itab-bapi1022_feglg009x investacctassignmnt = bapi_itab-bapi1022_feglg010 investacctassignmntx = bapi_itab-bapi1022_feglg010x networthvaluation = bapi_itab-bapi1022_feglg006 networthvaluationx = bapi_itab-bapi1022_feglg006x realestate = bapi_itab-bapi1022_feglg007 realestatex = bapi_itab-bapi1022_feglg007x insurance = bapi_itab-bapi1022_feglg008 insurancex = bapi_itab-bapi1022_feglg008x leasing = bapi_itab-bapi1022_feglg005 leasingx = bapi_itab-bapi1022_feglg005x IMPORTING assetcreated = assetcreated TABLES depreciationareas = bapi_itab-bapi1022_dep_areas depreciationareasx = bapi_itab-bapi1022_dep_areasx * EXTENSIONIN = cumulatedvalues = bapi_itab-bapi1022_cumval postedvalues = bapi_itab-bapi1022_postval transactions = bapi_itab-bapi1022_trtype proportionalvalues = bapi_itab-bapi1022_propval return = new_return.

BALW_BAPIRETURN_GET2 CALL FUNCTION 'BALW_BAPIRETURN_GET2' EXPORTING type = 'W' cl = 'ALSMEX' number = ls_conv_error-number IMPORTING return = new_return.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = text.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = return2-message.

WS_MSG * CALL FUNCTION 'WS_MSG' * EXPORTING * msg_type = 'I' * text = message * titl = text-010.

BAPI_TRANSACTION_COMMIT CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = meta_itab-content IMPORTING output = ld_anlgr.

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = meta_itab-content IMPORTING output = ld_anlgr2.

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = ld_anlkl IMPORTING output = ld_anlkl.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING * percentage = 0 text = text.

ALSM_EXCEL_TO_INTERNAL_TABLE CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE' EXPORTING filename = filename i_begin_col = '1' i_begin_row = '1' i_end_col = '200' i_end_row = '5000' TABLES intern = meta_xl_itab.

BALW_BAPIRETURN_GET2 CALL FUNCTION 'BALW_BAPIRETURN_GET2' EXPORTING type = 'W' cl = 'ALSMEX' number = '035' par1 = meta_itab-name_column par2 = meta_itab-content par3 = '' par4 = '' IMPORTING return = et_conv_errors.

BALW_BAPIRETURN_GET2 CALL FUNCTION 'BALW_BAPIRETURN_GET2' EXPORTING type = 'W' cl = 'ALSMEX' number = '029' par1 = meta_itab-name_column par2 = '' par3 = '' par4 = '' IMPORTING return = et_conv_errors.

BALW_BAPIRETURN_GET2 CALL FUNCTION 'BALW_BAPIRETURN_GET2' EXPORTING type = 'W' cl = 'ALSMEX' number = '030' par1 = meta_itab-name_column par2 = '' par3 = '' par4 = '' IMPORTING return = et_conv_errors.

KCD_EXCEL_DATE_CONVERT CALL FUNCTION 'KCD_EXCEL_DATE_CONVERT' EXPORTING excel_date = meta_itab-content date_format = date_help IMPORTING sap_date = meta_itab-content.

DATE_CHECK_PLAUSIBILITY





CALL FUNCTION 'DATE_CHECK_PLAUSIBILITY' EXPORTING date = ld_date EXCEPTIONS plausibility_check_failed = 1.

BALW_BAPIRETURN_GET2 CALL FUNCTION 'BALW_BAPIRETURN_GET2' EXPORTING type = 'W' cl = 'ALSMEX' number = '036' par1 = meta_itab-name_column par2 = ld_old_content par3 = meta_itab-content par4 = '' IMPORTING return = et_conv_errors.

BALW_BAPIRETURN_GET2 CALL FUNCTION 'BALW_BAPIRETURN_GET2' EXPORTING type = 'E' cl = 'ALSMEX' number = '033' par1 = meta_itab-name_column par2 = meta_itab-content par3 = '' par4 = '' IMPORTING return = et_conv_errors.

BALW_BAPIRETURN_GET2 CALL FUNCTION 'BALW_BAPIRETURN_GET2' EXPORTING type = 'E' cl = 'ALSMEX' number = '034' par1 = meta_itab-name_column par2 = ld_old_content par3 = ld_par3 par4 = '' IMPORTING return = et_conv_errors.

CURRENCY_CODE_ISO_TO_SAP CALL FUNCTION 'CURRENCY_CODE_ISO_TO_SAP' EXPORTING iso_code = ld_curr_iso IMPORTING sap_code = ld_curr_sap.

CONVERSION_EXIT_CUNIT_INPUT CALL FUNCTION 'CONVERSION_EXIT_CUNIT_INPUT' EXPORTING input = meta_itab-content IMPORTING output = meta_itab-content EXCEPTIONS unit_not_found = 1.

BALW_BAPIRETURN_GET2 CALL FUNCTION 'BALW_BAPIRETURN_GET2' EXPORTING type = sy-msgty cl = sy-msgid number = sy-msgno par1 = sy-msgv1 par2 = sy-msgv2 par3 = sy-msgv3 par4 = sy-msgv4 IMPORTING return = et_conv_errors.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = text-018.

REUSE_ALV_POPUP_TO_SELECT CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT' EXPORTING i_title = text-021 i_selection = '' i_screen_start_column = 1 i_screen_start_line = 1 i_tabname = 'RETURN2' i_structure_name = 'RETURN2' it_fieldcat = l_fieldcat i_callback_program = l_repid TABLES t_outtab = return2 EXCEPTIONS program_error = 1 OTHERS = 2.

BAPI_CURRENCY_GETLIST CALL FUNCTION 'BAPI_CURRENCY_GETLIST' TABLES currency_list = curr_list.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = l_repid i_internal_tabname = 'CURR_LIST' i_structure_name = 'BAPI1090_2' i_client_never_display = 'X' CHANGING ct_fieldcat = l_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_POPUP_TO_SELECT CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT' EXPORTING i_title = text-016 i_selection = '' i_screen_start_column = 1 i_screen_start_line = 1 i_tabname = 'CURR_LIST' i_structure_name = 'BAPI1090_2' it_fieldcat = l_fieldcat i_callback_program = l_repid TABLES t_outtab = curr_list * EXCEPTIONS * PROGRAM_ERROR = 1 * OTHERS = 2 .

IWB_HTML_HELP_EXTENDED_HELP CALL FUNCTION 'IWB_HTML_HELP_EXTENDED_HELP' EXPORTING help_information = ld_help EXCEPTIONS OTHERS = 4.

CETA_USR01_READ CALL FUNCTION 'CETA_USR01_READ' EXPORTING bname = sy-uname IMPORTING usr01_exp = ls_usr01 EXCEPTIONS no_entry = 1 OTHERS = 2 .

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-p07 text_question = text-p05 IMPORTING answer = ld_answer EXCEPTIONS OTHERS = 2.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-p03 text_question = text-p05 IMPORTING answer = ld_answer EXCEPTIONS OTHERS = 2.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-p04 diagnose_object = 'ALSMEX_POPUP_CANCEL' text_question = text-p06 default_button = '2' display_cancel_button = space popup_type = 'ICON_MESSAGE_WARNING' IMPORTING answer = ld_answer EXCEPTIONS OTHERS = 2.



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