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

MAFWBM_BMF04 SAP ABAP INCLUDE - Include MAFWBM_BMF04







MAFWBM_BMF04 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_BMF04 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_BMF04. "Basic submit
SUBMIT MAFWBM_BMF04 AND RETURN. "Return to original report after report execution complete
SUBMIT MAFWBM_BMF04 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 MAFWBM_BMF04


INCLUDES used within this REPORT MAFWBM_BMF04

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:

RM_GROUP_AUTH_CHECK CALL FUNCTION 'RM_GROUP_AUTH_CHECK' EXPORTING i_autgr = i_autgr i_actvt = l_activity EXCEPTIONS no_authority = 1 internal_error = 2 OTHERS = 3.

DEQUEUE_E_AFWBM_ATT_BM CALL FUNCTION 'DEQUEUE_E_AFWBM_ATT_BM' EXPORTING mode_afwbm_att_bm = 'E' mode_afwbm_att_bm_t = 'E' mode_afwbm_basic = 'E' mode_afwbm_chval = 'E' mode_afwbm_comp = 'E' mode_afwbm_comp_rel = 'E' bmid = u_bmid.

ENQUEUE_E_AFWBM_ATT_BM CALL FUNCTION 'ENQUEUE_E_AFWBM_ATT_BM' EXPORTING mode_afwbm_att_bm = 'E' mode_afwbm_att_bm_t = 'E' mode_afwbm_basic = 'E' mode_afwbm_chval = 'E' mode_afwbm_comp = 'E' mode_afwbm_comp_rel = 'E' bmid = u_bmid EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = sy-repid dynumb = sy-dynnr request = 'A' TABLES dynpfields = l_tab_dynpfields EXCEPTIONS OTHERS = 9.

BM_ATTRIBUT_GET CALL FUNCTION 'BM_ATTRIBUT_GET' EXPORTING i_bmid = l_afwbm_str-bmid i_bypass_buffer = con_xon IMPORTING e_str_afwbm = l_afwbm_str EXCEPTIONS hist_not_found = 1 not_found = 2 OTHERS = 3.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING dynpprog = sy-repid dynpnr = sy-dynnr dynprofield = 'AFWBM_STR-VALDATE' retfield = 'VALDATE' value_org = 'S' TABLES value_tab = l_tab_f4bmval return_tab = l_tab_f4return EXCEPTIONS OTHERS = 1.

DD_SHLP_CALL_FROM_DYNP CALL FUNCTION 'DD_SHLP_CALL_FROM_DYNP' EXPORTING help_infos = l_help_info IMPORTING select_value = l_help_info-fldvalue TABLES dynpselect = dynpselect dynpvaluetab = dynpvaluetab EXCEPTIONS OTHERS = 1.

DYNP_VALUES_UPDATE CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING dyname = sy-repid dynumb = sy-dynnr TABLES dynpfields = l_tab_dynpfields EXCEPTIONS OTHERS = 9.

BM_ATTRIBUT_GET CALL FUNCTION 'BM_ATTRIBUT_GET' EXPORTING i_bmid = i_bmid i_valdate = i_valdate 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 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 * I_MODE_DEL = i_mode_disp = con_xon IMPORTING e_flag_ph = afwbm_str-flag_ph e_flag_comp = afwbm_str-flag_comp e_tab_comp_hist = g_tab_comp_hist EXCEPTIONS OTHERS = 0.

ENQUEUE_E_AFWBM_ASS CALL FUNCTION 'ENQUEUE_E_AFWBM_ASS' EXPORTING mode_afwbm_ass = 'E' mode_afwbm_ass_t = 'E' mode_afwbm_ass_bmph = 'E' mandt = sy-mandt sichtid = i_str_afwbmph-sichtid phid = i_str_afwbmph-phid ass_vari = i_str_afwbmph-ass_vari EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

DEQUEUE_E_AFWBM_ASS CALL FUNCTION 'DEQUEUE_E_AFWBM_ASS' EXPORTING mode_afwbm_ass = 'E' mode_afwbm_ass_t = 'E' mode_afwbm_ass_bmph = 'E' mandt = sy-mandt sichtid = i_str_afwbmph-sichtid phid = i_str_afwbmph-phid ass_vari = i_str_afwbmph-ass_vari.

DDUT_DOMVALUES_GET CALL FUNCTION 'DDUT_DOMVALUES_GET' EXPORTING name = 'SZBMETH' langu = sy-langu texts_only = con_xoff TABLES dd07v_tab = l_tab_dd07v EXCEPTIONS illegal_input = 1.

DDUT_DOMVALUES_GET CALL FUNCTION 'DDUT_DOMVALUES_GET' EXPORTING name = 'AFWBM_CATEGORY' langu = sy-langu texts_only = con_xoff TABLES dd07v_tab = l_tab_dd07v EXCEPTIONS illegal_input = 1.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_grid_title = l_title it_fieldcat = l_tab_fieldcat it_sort = l_tab_sort is_layout = l_str_layout i_screen_start_column = 5 i_screen_start_line = 5 i_screen_end_column = 120 i_screen_end_line = l_lin i_callback_program = l_repid i_callback_user_command = 'ALV_USR_CMD_LIST_BM' TABLES t_outtab = EXCEPTIONS program_error = 1 OTHERS = 2.

BM_ATTRIBUT_GET CALL FUNCTION 'BM_ATTRIBUT_GET' EXPORTING i_bmid = l_str_afwbm-bmid i_valdate = l_str_afwbm-valdate i_version = l_str_afwbm-uptstp 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 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 * I_MODE_DEL = i_mode_disp = con_xon IMPORTING e_flag_ph = afwbm_str-flag_ph e_flag_comp = afwbm_str-flag_comp EXCEPTIONS OTHERS = 0.

DDUT_DOMVALUES_GET CALL FUNCTION 'DDUT_DOMVALUES_GET' EXPORTING name = 'AFWBM_CATEGORY' langu = sy-langu texts_only = con_xoff TABLES dd07v_tab = l_tab_dd07v EXCEPTIONS illegal_input = 1.

REUSE_ALV_GRID_DISPLAY





CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_grid_title = l_title it_fieldcat = l_tab_fieldcat it_sort = l_tab_sort is_layout = l_str_layout i_screen_start_column = 5 i_screen_start_line = 5 i_screen_end_column = 130 i_screen_end_line = l_lin i_callback_program = l_repid i_callback_user_command = 'ALV_USR_CMD_LIST_BM' TABLES t_outtab = EXCEPTIONS program_error = 1 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 MAFWBM_BMF04 or its description.