SAPMPKLK is a standard Executable ABAP Report 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 SAPMPKLK into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
PK23L - Delete Kanbans Automatically
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.
Selection Text: WERKS = D .
Selection Text: RANG_VBL = D .
Selection Text: RANG_UMW = D .
Selection Text: RANG_STU = D .
Selection Text: RANG_STF = D .
Selection Text: RANG_STE = D .
Selection Text: RANG_RGV = D .
Selection Text: RANG_QUV = D .
Selection Text: RANG_QPV = D .
Selection Text: RANG_PVB = D .
Selection Text: RANG_PRF = D .
Selection Text: RANG_MAT = D .
Selection Text: RANG_LIF = D .
Selection Text: RANG_LGO = D .
Selection Text: RANG_LGN = D .
Selection Text: RANG_KOS = D .
Selection Text: MINAZ = D .
Selection Text: MINAL = D .
Selection Text: COMMIT = Simulation
Title: Delete Event-Driven Kanbans
Text Symbol: T01 = Delete Event-Driven Kanbans
Text Symbol: 007 = Control Cycle
Text Symbol: 006 = Control Parameters
Text Symbol: 005 = Additional Delimitations
Text Symbol: 004 = Material Delimitations
Text Symbol: 003 = Supply Source Delimitations
Text Symbol: 002 = Replenishment Strategy Delimitations
Text Symbol: 001 = Demand Source Delimitations
INCLUDE MMPKRC01.
INCLUDE MMPKRC02.
No SAP DATABASE tables are accessed within this REPORT code!
PK_CHECK_STATUS CALL FUNCTION 'PK_CHECK_STATUS' EXPORTING pksae_iv = tpk01-pksae pkhd_is = pkhd_ls pkps_is = pkps_ls tpk00_is = tpk00 no_status_restr_iv = abap_true CHANGING nextstatus = nextstatus_lv "auf status 1 setzen EXCEPTIONS error_message = 1.
PK_CHECK_STATUS CALL FUNCTION 'PK_CHECK_STATUS' EXPORTING pksae_iv = tpk01-pksae pkhd_is = pkhd_ls pkps_is = pkps_ls tpk00_is = tpk00 CHANGING nextstatus = nextstatus_lv "auf status 1 setzen EXCEPTIONS error_message = 1.
PK_ENQUEUE_KANBAN CALL FUNCTION 'PK_ENQUEUE_KANBAN' EXPORTING i_scope = '2' i_pkkey = pkps_ls-pkkey EXCEPTIONS error_message = 1.
PK_ITEM_CHANGE_STATUS CALL FUNCTION 'PK_ITEM_CHANGE_STATUS' EXPORTING epkps = pkps_ls e_s_pkps = pkps_org_ls epkhd = pkhd_ls ecmflg = cmflg_lv "1073265 i_no_status_restr = abap_true IMPORTING ipkps = pkps TABLES ipkerx = pkeru EXCEPTIONS error_message = 1 OTHERS = 2.
PK_ITEM_CHANGE_STATUS CALL FUNCTION 'PK_ITEM_CHANGE_STATUS' EXPORTING epkps = pkps_ls e_s_pkps = pkps_org_ls epkhd = pkhd_ls ecmflg = cmflg_lv "1073265 IMPORTING ipkps = pkps TABLES ipkerx = pkeru EXCEPTIONS error_message = 1 OTHERS = 2.
REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = g_repid i_structure_name = 'PKPS' is_layout = gs_layout it_fieldcat = gt_fieldcat[] it_special_groups = gt_sp_group[] i_save = 'A' is_variant = g_variant it_events = gt_events[] TABLES t_outtab = pkps_del_lt.
REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = e03_lt_events.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.