SAP Reports / Programs | Financials | Financial Supply Chain Management | Analyzer(FIN-FSCM-TRM-AN) SAP FIN

MAFWBM_BMI01 SAP ABAP INCLUDE - Include PAI-Module Transaktion AFWBM







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


Text pool values


Title: Include PAI-Module Transaktion AFWBM


INCLUDES used within this REPORT MAFWBM_BMI01

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:

GET_BM_ATTRIBUT_FOR_KEYDATE CALL FUNCTION 'GET_BM_ATTRIBUT_FOR_KEYDATE' EXPORTING i_bmid = afwbm_str-bmid i_keydate = afwbm_str-keydate IMPORTING e_valdate_valid = afwbm_str-valdate EXCEPTIONS wrong_param = 1 not_found = 2 hist_not_found = 3 OTHERS = 4.

BM_ATTRIBUT_GET CALL FUNCTION 'BM_ATTRIBUT_GET' EXPORTING i_bmid = afwbm_str-bmid i_valdate = afwbm_str-valdate i_langu = sy-langu i_bypass_buffer = con_xon IMPORTING e_str_afwbm = afwbm_str e_tab_afwbm_comp = g_tab_afwbm_comp e_tab_afwbm_chval = g_tab_afwbm_chval e_tab_afwbm_reason = g_tab_afwbm_reason EXCEPTIONS not_found = 1 hist_not_found = 2 version_not_found = 3 no_text = 4 OTHERS = 5.

BM_TRANSLATE CALL FUNCTION 'BM_TRANSLATE'.

BM_EVAL_DATA_CHECK CALL FUNCTION 'BM_EVAL_DATA_CHECK' EXPORTING i_bmid = afwbm_str-bmid i_valdate = afwbm_str-valdate i_bmcategory = afwbm_str-bmcategory IMPORTING e_flag_ph = afwbm_str-flag_ph e_flag_comp = afwbm_str-flag_comp EXCEPTIONS no_eval_valdate = 1 eval_valdate = 2 OTHERS = 4.

BM_ATTRIBUT_GET CALL FUNCTION 'BM_ATTRIBUT_GET' EXPORTING i_bmid = afwbm_str-bmid i_valdate = afwbm_str-valdate i_valdate_back = con_xon i_bypass_buffer = con_xon IMPORTING e_str_afwbm = afwbm_str e_tab_afwbm_comp = g_tab_afwbm_comp EXCEPTIONS not_found = 1 hist_not_found = 2 OTHERS = 5.

GET_BM_ATTRIBUT_FOR_KEYDATE CALL FUNCTION 'GET_BM_ATTRIBUT_FOR_KEYDATE' EXPORTING i_bmid = afwbm_str-bmid i_keydate = sy-datum IMPORTING e_valdate_valid = afwbm_str-valdate EXCEPTIONS wrong_param = 1 not_found = 2 hist_not_found = 3 OTHERS = 4.

BM_ATTRIBUT_GET CALL FUNCTION 'BM_ATTRIBUT_GET' EXPORTING i_bmid = afwbm_str-bmid i_valdate = afwbm_str-valdate i_bypass_buffer = con_xon IMPORTING e_str_afwbm = afwbm_str e_tab_afwbm_comp = g_tab_afwbm_comp EXCEPTIONS not_found = 1 hist_not_found = 2 OTHERS = 5.

BM_EVAL_DATA_CHECK CALL FUNCTION 'BM_EVAL_DATA_CHECK' EXPORTING i_bmid = afwbm_str-bmid i_valdate = afwbm_str-valdate i_bmcategory = afwbm_str-bmcategory IMPORTING e_flag_ph = afwbm_str-flag_ph e_flag_comp = afwbm_str-flag_comp EXCEPTIONS no_eval_valdate = 1 eval_valdate = 2 OTHERS = 4.

BM_ATTRIBUT_GET CALL FUNCTION 'BM_ATTRIBUT_GET' EXPORTING i_bmid = afwbm_str-bmid i_valdate = afwbm_str-valdate i_valdate_back = con_xon i_bypass_buffer = con_xon IMPORTING e_str_afwbm = afwbm_str e_tab_afwbm_comp = g_tab_afwbm_comp EXCEPTIONS not_found = 1 hist_not_found = 2 OTHERS = 5.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-au4 text_question = l_string text_button_1 = 'Ja'(010) icon_button_1 = 'ICON_DELETE' text_button_2 = 'Abbrechen'(011) icon_button_2 = 'ICON_CANCEL' default_button = '2' display_cancel_button = space "no cancel button IMPORTING answer = afwbm_str-flag_auth * TABLES * PARAMETER = EXCEPTIONS text_not_found = 1 OTHERS = 2.

BM_EVAL_DATA_CHECK CALL FUNCTION 'BM_EVAL_DATA_CHECK' EXPORTING i_bmid = afwbm_str-bmid i_valdate = l_valdate i_bmcategory = afwbm_str-bmcategory i_mode_del = con_xon * I_MODE_DISP = * IMPORTING * E_FLAG_PH = * E_FLAG_COMP = EXCEPTIONS * NO_EVAL_VALDATE = 1 eval_valdate = 2 eval_composite = 3 assign_to_ass_vari = 4 ref_old_history = 5 OTHERS = 0.

BM_ATTRIBUT_MODIFY CALL FUNCTION 'BM_ATTRIBUT_MODIFY' EXPORTING i_mode = 'DEL' i_flag_history = afwbm_str-flag_hist CHANGING c_str_afwbm = afwbm_str EXCEPTIONS wrong_param = 1 error_delete = 3 OTHERS = 5.

BM_TRANSLATE CALL FUNCTION 'BM_TRANSLATE'.

AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE' EXPORTING tcode = 'AFWBMPH' EXCEPTIONS ok = 0 not_ok = 1 OTHERS = 0.

BM_ATTRIBUT_GET CALL FUNCTION 'BM_ATTRIBUT_GET' EXPORTING i_bmid = afwbm_str-bmid i_valdate = afwbm_str-valdate * I_VERSION = * I_VALDATE_BACK = * I_VALDATE_VALID = * I_LANGU = i_bypass_buffer = con_xon IMPORTING e_str_afwbm = g_copy_afwbm * E_TAB_AFWBM_COMP = * E_TAB_AFWBM_CHVAL = * E_TAB_AFWBM_REASON = * E_TEXT = * E_VALDATE_VALID = EXCEPTIONS wrong_param = 1 not_found = 2 hist_not_found = 3 version_not_found = 4 no_text = 5 OTHERS = 6 .

BM_ATTRIBUT_UPDATE CALL FUNCTION 'BM_ATTRIBUT_UPDATE' EXPORTING i_str_afwbm = afwbm_str i_flag_version = con_xon i_status = afwbm_str-status EXCEPTIONS error_update = 1 OTHERS = 2.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-au7 text_question = text-au8 text_button_1 = 'Ja'(010) icon_button_1 = 'ICON_SAVE' text_button_2 = 'Abbrechen'(011) icon_button_2 = 'ICON_CANCEL' default_button = '2' display_cancel_button = space "no cancel button IMPORTING answer = afwbm_str-flag_auth * TABLES * PARAMETER = EXCEPTIONS text_not_found = 1 OTHERS = 2.

BM_CHARACTERISTIC_UPDATE CALL FUNCTION 'BM_CHARACTERISTIC_UPDATE' EXPORTING i_bmid = afwbm_str-bmid i_tab_afwbm_chval = g_tab_afwbm_chval EXCEPTIONS error_update = 1 OTHERS = 2.

BM_CHARACTERISTIC_UPDATE





CALL FUNCTION 'BM_CHARACTERISTIC_UPDATE' EXPORTING i_bmid = afwbm_str-bmid i_tab_afwbm_chval = g_tab_afwbm_chval EXCEPTIONS error_update = 1 OTHERS = 2.

BM_ATTRIBUT_GET CALL FUNCTION 'BM_ATTRIBUT_GET' EXPORTING i_bmid = afwbm_str-bmid i_bypass_buffer = con_xon EXCEPTIONS not_found = 1 OTHERS = 5.

BM_F4_BENCHMARK CALL FUNCTION 'BM_F4_BENCHMARK' EXPORTING i_dynpprog = sy-repid i_dynpnr = sy-dynnr i_dynprofield = 'AFWBM_STR-BMID' * I_STEPL = 0 * I_ONLY_OK = * I_VALDATE = EXCEPTIONS internal_error = 1 OTHERS = 2.

BM_F4_BENCHMARK CALL FUNCTION 'BM_F4_BENCHMARK' EXPORTING i_dynpprog = sy-repid i_dynpnr = sy-dynnr i_dynprofield = 'AFWBM_COMP_TC_STR-CHILDBMID' i_stepl = sy-stepl * I_ONLY_OK = i_valdate = afwbm_str-valdate EXCEPTIONS internal_error = 1 OTHERS = 2.

BM_F4_BENCHMARK *CALL FUNCTION 'BM_F4_BENCHMARK' * EXPORTING * i_only_ok = ' ' * i_valdate = afwbm_str-valdate * IMPORTING * e_bmid = afwbm_comp_tc_str-childbm * EXCEPTIONS * OTHERS = 1.

BM_ATTRIBUT_GET CALL FUNCTION 'BM_ATTRIBUT_GET' EXPORTING i_bmid = afwbm_str-bmid i_valdate = afwbm_str-valdate i_bypass_buffer = con_xon EXCEPTIONS hist_not_found = 1 OTHERS = 2.

SECURITY_DIALOG CALL FUNCTION 'SECURITY_DIALOG' STARTING NEW TASK 'ClassD' EXPORTING i_security_number = afwbm_str-bm_ranl.

RM_SSCR_PH_NODE_HELP CALL FUNCTION 'RM_SSCR_PH_NODE_HELP' exporting i_dynpro_number = sy-dynnr i_fieldname_view = 'AFWBM_STR-BMSICHID' i_fieldname_ph = 'AFWBM_STR-BMPH' i_fieldname_node = 'AFWBM_STR-BMPHNODE' importing e_node = AFWBM_STR-BMPHNODE exceptions internal_error = 1 others = 2.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING dynpprog = sy-repid dynpnr = sy-dynnr dynprofield = 'AFWBM_STR-BMPKEYFIG' retfield = 'KEYFIGURE' value_org = 'S' TABLES value_tab = l_tab_keyfig EXCEPTIONS OTHERS = 1.



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