MKKP2F50 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 MKKP2F50 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.
Title: K_VARIANCE_WIP_SCRAP_CHECK
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
K_VARIANCE_KEY_GET CALL FUNCTION 'K_VARIANCE_KEY_GET' EXPORTING par_awoba = sav_awoba par_awsls = par_vkks0-awsls IMPORTING par_aweab = sav_abwok par_aweau = sav_ausok EXCEPTIONS key_not_found = 01 object_type_invalid = 02 OTHERS = 99.
K_APPLICATION_DETERMINE CALL FUNCTION 'K_APPLICATION_DETERMINE' EXPORTING par_autyp = par_vkks0-autyp IMPORTING par_abwok = sav_abwok par_ausok = sav_ausok par_wipok = sav_wipok EXCEPTIONS order_type_not_found = 01 OTHERS = 99.
STATUS_CHANGE_FOR_ACTIVITY CALL FUNCTION 'STATUS_CHANGE_FOR_ACTIVITY' EXPORTING check_only = con_x objnr = par_vkks0-objnr vrgng = con_vrgng-abwei IMPORTING activity_not_allowed = flg_err01 error_occurred = flg_err02 object_not_found = flg_err03 status_inconsistent = flg_err04 status_not_allowed = flg_err05 warning_occurred = flg_err06 EXCEPTIONS activity_not_allowed = 1 object_not_found = 2 status_inconsistent = 3 status_not_allowed = 4 wrong_input = 5 warning_occured = 6 OTHERS = 99.
STATUS_CHANGE_FOR_ACTIVITY CALL FUNCTION 'STATUS_CHANGE_FOR_ACTIVITY' EXPORTING check_only = con_x objnr = par_vkks0-objnr vrgng = con_vrgng-wip00 IMPORTING activity_not_allowed = flg_err01 error_occurred = flg_err02 object_not_found = flg_err03 status_inconsistent = flg_err04 status_not_allowed = flg_err05 warning_occurred = flg_err06 EXCEPTIONS activity_not_allowed = 1 object_not_found = 2 status_inconsistent = 3 status_not_allowed = 4 wrong_input = 5 warning_occured = 6 OTHERS = 99.
CM_F_MESSAGE CALL FUNCTION 'CM_F_MESSAGE' EXPORTING object_dependent = 'X' arbgb = 'KZ' msgnr = '313' msgty = 'I' EXCEPTIONS OTHERS = 01.
CM_F_MESSAGE CALL FUNCTION 'CM_F_MESSAGE' EXPORTING object_dependent = ' ' arbgb = 'KZ' msgnr = '461' msgty = 'E'.
K_VARIANCE_VERSIONS_DETERMINE CALL FUNCTION 'K_VARIANCE_VERSIONS_DETERMINE' EXPORTING par_awoba = con_oa_kstrg par_kokrs = kkp_ch-kokrs par_spras = syst-langu IMPORTING par_anzve = sav_anzve TABLES tab_kv20a = tab_kv20a EXCEPTIONS object_type_invalid = 01 variant_not_found = 02 version_not_found = 03 OTHERS = 99.
CM_F_MESSAGE CALL FUNCTION 'CM_F_MESSAGE' EXPORTING object_dependent = ' ' arbgb = 'KV' msgnr = '031' msgty = 'E' msgv1 = kkp_ch-kokrs EXCEPTIONS OTHERS = 9.
KPEP_WLA_CHECK_ACTIVE CALL FUNCTION 'KPEP_WLA_CHECK_ACTIVE' IMPORTING is_active = ld_worklist_active.
KPEP_WLA_ADD_MESSAGE CALL FUNCTION 'KPEP_WLA_ADD_MESSAGE' EXPORTING msgty = 'E' msgid = 'KV' msgno = '031' msgv1 = sy-msgv1 EXCEPTIONS OTHERS = 99 .
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.