SAP Reports / Programs

CKMLMV_CHANGE_PROCMOD SAP ABAP Report - Conversion of Process Model: Enter Last Day of Period







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


Text pool values


Selection Text: P_TEST = Test run
Selection Text: P_IGNORE = Ignore legacy data
Selection Text: P_ECHT = Generate index
Title: Conversion of Process Model: Enter Last Day of Period
Text Symbol: 010 = Material is blocked
Text Symbol: 009 = Conversion performed sucessfully
Text Symbol: 008 = CKMLMV004: Number of converted entries
Text Symbol: 007 = CKMLMV003: Number of converted entries
Text Symbol: 006 = CKMLMV004:Conversion necessary
Text Symbol: 005 = CKMLMV004: All records are correct
Text Symbol: 004 = No. of entries
Text Symbol: 003 = No. of materials
Text Symbol: 002 = CKMLMV003:Conversion necessary
Text Symbol: 001 = CKMLMV003: All records are correct


INCLUDES used within this REPORT CKMLMV_CHANGE_PROCMOD

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:

CKML_MGV_SET_PERIOD CALL FUNCTION 'CKML_MGV_SET_PERIOD' EXPORTING I_WERKS = LD_KEY003-WERKS I_PERIO = LD_KEY003-PERIO I_GJAHR = LD_KEY003-GJAHR IMPORTING E_DATUM = LD_LAST_PDAY EXCEPTIONS WRONG_CALL = 1 PLANT_NOT_FOUND = 2 BWKEY_NOT_FOUND = 3 PERIOD_NOT_FOUND = 4 OTHERS = 5.

CKML_MGV_SET_PERIOD CALL FUNCTION 'CKML_MGV_SET_PERIOD' EXPORTING I_WERKS = LD_KEY004-WERKS I_PERIO = LD_KEY004-PERIO I_GJAHR = LD_KEY004-GJAHR IMPORTING E_DATUM = LD_LAST_PDAY EXCEPTIONS WRONG_CALL = 1 PLANT_NOT_FOUND = 2 BWKEY_NOT_FOUND = 3 PERIOD_NOT_FOUND = 4 OTHERS = 5.

K_KKB_TKKBT_UPDATE CALL FUNCTION 'K_KKB_TKKBT_UPDATE' EXPORTING I_MODE = 'U' I_TKKBT = LD_TKKBT EXCEPTIONS FATAL_ERROR = 1 FOREIGN_LOCK = 2 NO_DATA_FOR_KEY = 3 WRONG_KEY = 4 OTHERS = 5 .

CKML_MGV_SET_PERIOD CALL FUNCTION 'CKML_MGV_SET_PERIOD' EXPORTING I_WERKS = LD_WA_WPER-WERKS I_PERIO = LD_WA_WPER-PERIO I_GJAHR = LD_WA_WPER-GJAHR IMPORTING E_DATUM = LD_LAST_PDAY EXCEPTIONS WRONG_CALL = 1 PLANT_NOT_FOUND = 2 BWKEY_NOT_FOUND = 3 PERIOD_NOT_FOUND = 4 OTHERS = 5.

DEQUEUE_EMMARCE CALL FUNCTION 'DEQUEUE_EMMARCE' EXPORTING MATNR = LD_WA_MAT-MATNR WERKS = LD_WA_MAT-WERKS.

CKML_MGV_SET_PERIOD CALL FUNCTION 'CKML_MGV_SET_PERIOD' EXPORTING I_WERKS = LD_WA_WPER-WERKS I_PERIO = LD_WA_WPER-PERIO I_GJAHR = LD_WA_WPER-GJAHR IMPORTING E_DATUM = LD_LAST_PDAY EXCEPTIONS WRONG_CALL = 1 PLANT_NOT_FOUND = 2 BWKEY_NOT_FOUND = 3 PERIOD_NOT_FOUND = 4 OTHERS = 5.

DEQUEUE_EMMARCE CALL FUNCTION 'DEQUEUE_EMMARCE' EXPORTING MATNR = LD_WA_MAT-MATNR WERKS = LD_WA_MAT-WERKS.

ENQUEUE_ARRAY CALL FUNCTION 'ENQUEUE_ARRAY' EXPORTING GOBJ = 'EMMARCE' TABLES ENQ_ARRAY = GD_EQOBJ EXCEPTIONS FOREIGN_LOCK = 01 OWN_LOCK = 02 SYSTEM_FAILURE = 03 TABLE_OVERFLOW = 04.

ENQUEUE_ARRAY CALL FUNCTION 'ENQUEUE_ARRAY' EXPORTING DEQUEUE = 'X' GOBJ = 'EMMARCE' TABLES ENQ_ARRAY = GD_EQOBJ EXCEPTIONS ARGUMENT_ERROR = 1 FOREIGN_LOCK = 2 OWN_LOCK = 3 SYSTEM_FAILURE = 4 TABLE_OVERFLOW = 5 OTHERS = 6.

ENQUEUE_EMMARCE CALL FUNCTION 'ENQUEUE_EMMARCE' EXPORTING MATNR = R_MAT-MATNR WERKS = R_MAT-WERKS EXCEPTIONS FOREIGN_LOCK = 01 SYSTEM_FAILURE = 02.



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