MMPKBFB4 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 MMPKBFB4 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!
CONTROL_SET_WINDOW_PROPERTY CALL FUNCTION 'CONTROL_SET_WINDOW_PROPERTY' EXPORTING h_control = legendhandle_gs propid = prop_visible value = cntl_false.
SGRC_GET_WINID CALL FUNCTION 'SGRC_GET_WINID' EXPORTING def_id = def_id low = low high = high IMPORTING winid = winidp EXCEPTIONS no_more_winid = 1 OTHERS = 2.
CONTROL_SET_WINDOW_PROPERTY CALL FUNCTION 'CONTROL_SET_WINDOW_PROPERTY' EXPORTING h_control = legendhandle_gs propid = prop_visible value = cntl_false.
CONTROL_SET_WINDOW_PROPERTY CALL FUNCTION 'CONTROL_SET_WINDOW_PROPERTY' EXPORTING h_control = legendhandle_gs propid = prop_visible value = cntl_true.
CONTROL_CREATE CALL FUNCTION 'CONTROL_CREATE' EXPORTING owner_repid = repid_iv clsid = 'SAPGUI.DIALOGCTRL.1'
CONTROL_LINK CALL FUNCTION 'CONTROL_LINK' EXPORTING h_control = handle_ls "corr: dboxhandle_gs repid = repid_iv "Progr von dem es gestartet wird dynnr = this_dynnr. "Dynpro von dem es gestartet wird
CONTROL_REGISTER_EVENT CALL FUNCTION 'CONTROL_REGISTER_EVENT' EXPORTING h_control = handle_ls event = 8 "OnClose = close-button pressed is_shellevent = xflag.
CONTROL_REGISTER_EVT_CB CALL FUNCTION 'CONTROL_REGISTER_EVT_CB' "in die Formroutine EXPORTING "CALLBACK_FORM springt er jet event = 8 "zt beim close-event zurück.
CONTROL_SET_WINDOW_PROPERTY CALL FUNCTION 'CONTROL_SET_WINDOW_PROPERTY' EXPORTING h_control = handle_ls propid = prop_left value = 200. "Abstand vom linken Bildschirmrand
CONTROL_SET_WINDOW_PROPERTY CALL FUNCTION 'CONTROL_SET_WINDOW_PROPERTY' EXPORTING h_control = handle_ls propid = prop_top value = 100. "Abstand vom oberen Bildschirmrand
CONTROL_SET_WINDOW_PROPERTY CALL FUNCTION 'CONTROL_SET_WINDOW_PROPERTY' EXPORTING h_control = handle_ls propid = prop_width value = 400.
CONTROL_SET_WINDOW_PROPERTY CALL FUNCTION 'CONTROL_SET_WINDOW_PROPERTY' EXPORTING h_control = handle_ls propid = prop_height value = 170.
CONTROL_SET_WINDOW_PROPERTY CALL FUNCTION 'CONTROL_SET_WINDOW_PROPERTY' EXPORTING h_control = handle_ls propid = prop_caption value = text-047.
CONTROL_SET_WINDOW_PROPERTY CALL FUNCTION 'CONTROL_SET_WINDOW_PROPERTY' EXPORTING h_control = handle_ls propid = prop_visible " value = '1'. "1 = visible 0 = not visible
BARCHART_CREATE CALL FUNCTION 'BARCHART_CREATE' " create OCX-handle EXPORTING owner_repid = repid dynnr = dynnr parentid = legendhandle_gs-shellid "die Grafik ist also CHANGING "in dem amodalen Fenster.
BARC_SET_TIME_AXIS CALL FUNCTION 'BARC_SET_TIME_AXIS' EXPORTING start = '01.01.1999;'
BARC_ADD_SECTION CALL FUNCTION 'BARC_ADD_SECTION' EXPORTING size = 100 "Breite der Zeiteinheit in 1/100mm start = '01.01.1999;'
BARC_ADD_CALENDAR CALL FUNCTION 'BARC_ADD_CALENDAR' EXPORTING winid = lwinid_gv IMPORTING id = calendar_lgnd.
CALL FUNCTION 'BARC_ADD_CHART' EXPORTING column_anz = 1 "1 column index = 1 size = 150 chart_type = '00' "Customizing: Teilbildgruppe.
BARC_ADD_RIBBON CALL FUNCTION 'BARC_ADD_RIBBON' "lower Ribbon EXPORTING chart_id = chart_lgnd color_type = 'R1' section_id = section_lgnd unit = '5' winid = lwinid_gv IMPORTING id = sct_id.
BARC_SET_COLUMN_WIDTH CALL FUNCTION 'BARC_SET_COLUMN_WIDTH' EXPORTING chart_id = chart_lgnd index = 1 width = 1.
BARC_SET_RIBBON_ATTRIB CALL FUNCTION 'BARC_SET_RIBBON_ATTRIB' "blendet die Tage aus EXPORTING id = sct_id fl = bc_const-font_color: val = colour_gv.
BARC_SET_OPTIONS CALL FUNCTION 'BARC_SET_OPTIONS' EXPORTING nostlin = '1' "Datumsanzeige unten rechts aus numhsbs = '0' "keine Scrollbalken "ßß?? seltype = '0'. "node and Box cannot be selected
BARC_GRAPHIC_PBO CALL FUNCTION 'BARC_GRAPHIC_PBO' EXPORTING abap_cmd = abap_cmd_lgd confirm = xflag profile = graph_profile stat = stat_lgd winid = lwinid_gv status_text = status_text wait_for_input = xflag control_handle = ocxlegendhandle_gs "für OCX-Umstellung TABLES boxes = boxes box_vals = box_vals deletions = deletions links = links link_vals = link_vals nodes = nodes node_vals = node_vals positions = positions EXCEPTIONS err_in_profile = 1 inv_profile = 2 inv_winid = 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 MMPKBFB4 or its description.