CKML_MGV_PROCESSES_READ is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name CKML_MGV_PROCESSES_READ into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
CKMLMVALPROC
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'CKML_MGV_PROCESSES_READ' "
EXPORTING
iv_werks = " ckmlmv001-werks Plant of the material
iv_matnr = " ckmlmv001-matnr Material
* iv_btyp = 'BF' " ckmlmv001-btyp
* iv_nfelder = " ckmli_ndef_felder InspChar.Field
* iv_pkosa_status = SPACE " c
* iv_plwrk = " ckmlmv001-plwrk_nd Planning Plant for Order
* iv_check_pp_data = SPACE " c
IMPORTING
et_process_tbl = " ckml_t_process
EXCEPTIONS
WRONG_CHARACTERISTICS = 1 "
RULE_NOT_FOUND = 2 "
MULTIPLE_PKOSA_FOUND = 3 "
. " CKML_MGV_PROCESSES_READ
The ABAP code below is a full code listing to execute function module CKML_MGV_PROCESSES_READ including all data declarations. The code uses the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the original method of declaring data variables up front. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8).
| ld_et_process_tbl | TYPE CKML_T_PROCESS . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_et_process_tbl | TYPE CKML_T_PROCESS , |
| ld_iv_werks | TYPE CKMLMV001-WERKS , |
| ld_iv_matnr | TYPE CKMLMV001-MATNR , |
| ld_iv_btyp | TYPE CKMLMV001-BTYP , |
| ld_iv_nfelder | TYPE CKMLI_NDEF_FELDER , |
| ld_iv_pkosa_status | TYPE C , |
| ld_iv_plwrk | TYPE CKMLMV001-PLWRK_ND , |
| ld_iv_check_pp_data | TYPE C . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name CKML_MGV_PROCESSES_READ or its description.