SAP Reports / Programs | Production Planning and Control | KANBAN(PP-KAB) SAP PP

MMPKDF40 SAP ABAP INCLUDE - Function Code Processing







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


Text pool values


Title: Function Code Processing


INCLUDES used within this REPORT MMPKDF40

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:

PK_KANBINFO_DISPLAY CALL FUNCTION 'PK_KANBINFO_DISPLAY' EXPORTING is_pkps = es_pkps is_pkhd = es_pkhd i_werksname = t001w-name1 TABLES it_pvkt = itpvkt it_makt = itmakt.

PK_DISPLAY_CCY CALL FUNCTION 'PK_DISPLAY_CCY' EXPORTING pknum_iv = itpkhd-pknum EXCEPTIONS ccy_not_exist = 1 OTHERS = 2.

PAB_KANBAN_CALL_CHNG_DSPLY CALL FUNCTION 'PAB_KANBAN_CALL_CHNG_DSPLY' EXPORTING p_pabnum = pkps-pabnum p_pabpos = pkps-pabpos p_mainmode = selkz.

CALL_TRANSACTION CALL FUNCTION 'CALL_TRANSACTION' EXPORTING emdps = mdps trgrp = t450n-trgrp selkz = selkz EXCEPTIONS t457c_unvollstaendig = 01.

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = 'SAPMMPKD' i_callback_pf_status_set = 'SET_PF_STATUS_CALLBACK' i_callback_user_command = 'USER_COMMAND' is_layout = layout_ls it_fieldcat = fieldcat_lt it_special_groups = special_groups_lt i_save = 'A'"userspecific layout or not is_variant = variant_ls it_event_exit = events_exit_it i_tabname_header = 'PKPRNHD_GT' i_tabname_item = 'PKPRNPS_GT' i_structure_name_header = 'PKHD_ALV' "alle Felder i_structure_name_item = 'PKPS_ALV' "Struktur anzeigen is_keyinfo = keyinfo_ls i_bypassing_buffer = 'X' IMPORTING es_exit_caused_by_user = exit_caused_by_user_lv TABLES t_outtab_header = pkprnhd_gt t_outtab_item = pkprnps_gt EXCEPTIONS OTHERS = 0.

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = 'SAPMMPKD' i_callback_pf_status_set = 'SET_PF_STATUS_CALLBACK' i_callback_user_command = 'USER_COMMAND' is_layout = layout_ls it_fieldcat = fieldcat_lt it_special_groups = special_groups_lt i_save = 'A'"userspecific layout or not is_variant = variant_ls it_event_exit = events_exit_it i_tabname_header = 'PKPRNHD_GT' i_tabname_item = 'PKPRNPS_GT' i_structure_name_header = 'PKHD_ALV' "alle Felder i_structure_name_item = 'PKPS_ALV' "Struktur anzeigen is_keyinfo = keyinfo_ls i_bypassing_buffer = 'X' IMPORTING es_exit_caused_by_user = exit_caused_by_user_lv TABLES t_outtab_header = pkprnhd_gt t_outtab_item = pkprnps_gt EXCEPTIONS OTHERS = 0.

PK_PKHD_D_UPDATE CALL FUNCTION 'PK_PKHD_D_UPDATE' EXPORTING delta = db_delta_pkhd EXCEPTIONS database_error = 1 OTHERS = 2.

PK_PKPS_D_UPDATE CALL FUNCTION 'PK_PKPS_D_UPDATE' EXPORTING delta = db_delta_pkps EXCEPTIONS database_error = 1 OTHERS = 2.

PK_PKHD_D_UPDATE CALL FUNCTION 'PK_PKHD_D_UPDATE' EXPORTING delta = db_delta_pkhd EXCEPTIONS database_error = 1 OTHERS = 2.

PK_PKPS_D_UPDATE CALL FUNCTION 'PK_PKPS_D_UPDATE' EXPORTING delta = db_delta_pkps EXCEPTIONS database_error = 1 OTHERS = 2.

PK_PKPS_D_UPDATE CALL FUNCTION 'PK_PKPS_D_UPDATE' EXPORTING delta = db_pkps_delta EXCEPTIONS database_error = 1 OTHERS = 2.

PK_PKHD_D_UPDATE CALL FUNCTION 'PK_PKHD_D_UPDATE' EXPORTING delta = db_pkhd_delta EXCEPTIONS database_error = 1 OTHERS = 2.

PK_PKPS_D_UPDATE CALL FUNCTION 'PK_PKPS_D_UPDATE' EXPORTING delta = db_pkps_delta EXCEPTIONS database_error = 1 OTHERS = 2.

CONTROL_CYCLE_WRITE_DOCUMENT CALL FUNCTION 'CONTROL_CYCLE_WRITE_DOCUMENT' EXPORTING objectid = lv_objectid tcode = lv_tcode utime = lv_utime udate = lv_udate username = lv_username object_change_indicator = lv_upd_object no_change_pointers = lv_no_change_pointers n_pkhd = ls_pkhd_new o_pkhd = ls_pkhd_old upd_pkhd = lv_upd_object TABLES icdtxt_control_cycle = lt_cdtxt.



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