SAP Reports / Programs | Controlling | Product Cost Controlling | Product Cost by Period(CO-PC-OBJ-PER) SAP CO

MKKP2F50 SAP ABAP INCLUDE - K_VARIANCE_WIP_SCRAP_CHECK







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


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


Text pool values


Title: K_VARIANCE_WIP_SCRAP_CHECK


INCLUDES used within this REPORT MKKP2F50

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:

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 .



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