MMPKBFB2 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 MMPKBFB2 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!
BARC_SET_SECTION_ATTRIB CALL FUNCTION 'BARC_SET_SECTION_ATTRIB' EXPORTING id = section1 fl = bc_const-time_unit_width val = length_lv.
BARC_SET_SECTION_ATTRIB CALL FUNCTION 'BARC_SET_SECTION_ATTRIB' EXPORTING id = section1 fl = bc_const-time_unit_width val = length_lv.
PK_DISPLAY_ERROR_DATA CALL FUNCTION 'PK_DISPLAY_ERROR_DATA' EXPORTING repid_iv = repid_lv dynnr_iv = dynnr_lv TABLES pkerg_it = pkerg_gt pkhd_it = pkhdx.
BARCHART_SET_FUNCTION_CODE CALL FUNCTION 'BARCHART_SET_FUNCTION_CODE' EXPORTING handle = barc_ocx function_code = sy-ucomm IMPORTING return = retval.
BARC_GRAPHIC_PBO CALL FUNCTION 'BARC_GRAPHIC_PBO' EXPORTING abap_cmd = abap_cmd stat = stat control_handle = barc_ocx.
BARC_GRAPHIC_PAI CALL FUNCTION 'BARC_GRAPHIC_PAI' EXPORTING control_handle = barc_ocx "für Umstellung auf OCX IMPORTING graph_cmd = graph_cmd graph_cmd_info = graph_cmd_info gr_sel_field = gr_sel_field layer_type = layer_kind settings = settings symboltype = symboltype TABLES boxes = boxes box_vals = box_vals deletions = deletions links = links link_vals = link_vals nodes = nodes node_vals = node_vals positions = positions EXCEPTIONS inv_winid = 1.
CONTROL_DISPATCH CALL FUNCTION 'CONTROL_DISPATCH' " reagiert auf die registrierten EXPORTING " Events der Legende. Bei uns
BARC_GRAPHIC_PAI CALL FUNCTION 'BARC_GRAPHIC_PAI' EXPORTING control_handle = barc_ocx "für Umstellung auf OCX IMPORTING graph_cmd = graph_cmd graph_cmd_info = graph_cmd_info gr_sel_field = gr_sel_field layer_type = layer_kind settings = settings symboltype = symboltype TABLES boxes = boxes box_vals = box_vals deletions = deletions links = links link_vals = link_vals nodes = nodes node_vals = node_vals positions = positions EXCEPTIONS inv_winid = 1.
PK_ENQUEUE_KANBAN CALL FUNCTION 'PK_ENQUEUE_KANBAN' EXPORTING i_scope = '2' "sperre wird durch commit aufgeh i_pknum = pkps-pknum i_pkpos = pkps-pkpos i_pkkey = pkps-pkkey i_pkps_old = pkps IMPORTING e_pkps = *pkps EXCEPTIONS error_message = 1.
PK_AUTHORITY_CHECK CALL FUNCTION 'PK_AUTHORITY_CHECK' EXPORTING i_pkaty = pkaty_lv i_werks = pkhdx-werks EXCEPTIONS error_message = 1.
PK_GET_STATUS CALL FUNCTION 'PK_GET_STATUS' EXPORTING pksae_iv = tpk01-pksae pkhd_is = pkhd pkps_is = pkps tpk00_is = tpk00 IMPORTING nextstatus_ev = nextstatus_lv EXCEPTIONS error_message = 1.
PK_CHECK_STATUS CALL FUNCTION 'PK_CHECK_STATUS' EXPORTING pksae_iv = tpk01-pksae pkhd_is = pkhd pkps_is = pkps tpk00_is = tpk00 CHANGING nextstatus = nextstatus_lv EXCEPTIONS error_message = 1.
PK_DISPLAY_ERROR_DATA CALL FUNCTION 'PK_DISPLAY_ERROR_DATA' EXPORTING repid_iv = repid_lv dynnr_iv = dynnr_lv TABLES pkerg_it = pkerg_gt pkhd_it = pkhdx.
BARC_GET_COLUMN_WIDTH CALL FUNCTION 'BARC_GET_COLUMN_WIDTH' TABLES column_width = columnwidth_lt.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.