SAP Function Modules

CKMD_BUFFER_GET SAP Function module







CKMD_BUFFER_GET 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 CKMD_BUFFER_GET into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: CKMD
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM CKMD_BUFFER_GET - CKMD BUFFER GET





CALL FUNCTION 'CKMD_BUFFER_GET' "
  IMPORTING
    et_mlhd =                   " ckmd_t_mlhd
    et_mlit =                   " ckmd_t_mlit
    et_mlpp =                   " ckmd_t_mlpp
    et_mlppf =                  " ckmd_t_mlppf
    et_mlcr =                   " ckmd_t_mlcr
    et_mlcrf =                  " ckmd_t_mlcrf
    et_mlcrp =                  " ckmd_t_mlcrp
    et_mlmst =                  " ckmd_t_mlmst
    et_mlkeph =                 " ckmd_t_mlkeph
    et_mlprkeph =               " ckmd_t_mlprkeph
    et_mlprkeko =               " ckmd_t_mlprkeko
    et_mlhd_pc =                " ckmd_t_mlhd
    et_mlit_pc =                " ckmd_t_mlit
    et_mlpp_pc =                " ckmd_t_mlpp
    et_mlppf_pc =               " ckmd_t_mlppf
    et_mlcr_pc =                " ckmd_t_mlcr
    et_mlcrf_pc =               " ckmd_t_mlcrf
    et_mlcrp_pc =               " ckmd_t_mlcrp
    et_mlkeph_pc =              " ckmd_t_mlkeph
    et_mlprkeph_pc =            " ckmd_t_mlprkeph
    et_mlprkeko_pc =            " ckmd_t_mlprkeko
    .  "  CKMD_BUFFER_GET

ABAP code example for Function Module CKMD_BUFFER_GET





The ABAP code below is a full code listing to execute function module CKMD_BUFFER_GET 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).

DATA:
ld_et_mlhd  TYPE CKMD_T_MLHD ,
ld_et_mlit  TYPE CKMD_T_MLIT ,
ld_et_mlpp  TYPE CKMD_T_MLPP ,
ld_et_mlppf  TYPE CKMD_T_MLPPF ,
ld_et_mlcr  TYPE CKMD_T_MLCR ,
ld_et_mlcrf  TYPE CKMD_T_MLCRF ,
ld_et_mlcrp  TYPE CKMD_T_MLCRP ,
ld_et_mlmst  TYPE CKMD_T_MLMST ,
ld_et_mlkeph  TYPE CKMD_T_MLKEPH ,
ld_et_mlprkeph  TYPE CKMD_T_MLPRKEPH ,
ld_et_mlprkeko  TYPE CKMD_T_MLPRKEKO ,
ld_et_mlhd_pc  TYPE CKMD_T_MLHD ,
ld_et_mlit_pc  TYPE CKMD_T_MLIT ,
ld_et_mlpp_pc  TYPE CKMD_T_MLPP ,
ld_et_mlppf_pc  TYPE CKMD_T_MLPPF ,
ld_et_mlcr_pc  TYPE CKMD_T_MLCR ,
ld_et_mlcrf_pc  TYPE CKMD_T_MLCRF ,
ld_et_mlcrp_pc  TYPE CKMD_T_MLCRP ,
ld_et_mlkeph_pc  TYPE CKMD_T_MLKEPH ,
ld_et_mlprkeph_pc  TYPE CKMD_T_MLPRKEPH ,
ld_et_mlprkeko_pc  TYPE CKMD_T_MLPRKEKO .
CALL FUNCTION 'CKMD_BUFFER_GET' IMPORTING et_mlhd = ld_et_mlhd et_mlit = ld_et_mlit et_mlpp = ld_et_mlpp et_mlppf = ld_et_mlppf et_mlcr = ld_et_mlcr et_mlcrf = ld_et_mlcrf et_mlcrp = ld_et_mlcrp et_mlmst = ld_et_mlmst et_mlkeph = ld_et_mlkeph et_mlprkeph = ld_et_mlprkeph et_mlprkeko = ld_et_mlprkeko et_mlhd_pc = ld_et_mlhd_pc et_mlit_pc = ld_et_mlit_pc et_mlpp_pc = ld_et_mlpp_pc et_mlppf_pc = ld_et_mlppf_pc et_mlcr_pc = ld_et_mlcr_pc et_mlcrf_pc = ld_et_mlcrf_pc et_mlcrp_pc = ld_et_mlcrp_pc et_mlkeph_pc = ld_et_mlkeph_pc et_mlprkeph_pc = ld_et_mlprkeph_pc et_mlprkeko_pc = ld_et_mlprkeko_pc . " CKMD_BUFFER_GET
IF SY-SUBRC EQ 0. "All OK ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

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_mlhd  TYPE CKMD_T_MLHD ,
ld_et_mlit  TYPE CKMD_T_MLIT ,
ld_et_mlpp  TYPE CKMD_T_MLPP ,
ld_et_mlppf  TYPE CKMD_T_MLPPF ,
ld_et_mlcr  TYPE CKMD_T_MLCR ,
ld_et_mlcrf  TYPE CKMD_T_MLCRF ,
ld_et_mlcrp  TYPE CKMD_T_MLCRP ,
ld_et_mlmst  TYPE CKMD_T_MLMST ,
ld_et_mlkeph  TYPE CKMD_T_MLKEPH ,
ld_et_mlprkeph  TYPE CKMD_T_MLPRKEPH ,
ld_et_mlprkeko  TYPE CKMD_T_MLPRKEKO ,
ld_et_mlhd_pc  TYPE CKMD_T_MLHD ,
ld_et_mlit_pc  TYPE CKMD_T_MLIT ,
ld_et_mlpp_pc  TYPE CKMD_T_MLPP ,
ld_et_mlppf_pc  TYPE CKMD_T_MLPPF ,
ld_et_mlcr_pc  TYPE CKMD_T_MLCR ,
ld_et_mlcrf_pc  TYPE CKMD_T_MLCRF ,
ld_et_mlcrp_pc  TYPE CKMD_T_MLCRP ,
ld_et_mlkeph_pc  TYPE CKMD_T_MLKEPH ,
ld_et_mlprkeph_pc  TYPE CKMD_T_MLPRKEPH ,
ld_et_mlprkeko_pc  TYPE CKMD_T_MLPRKEKO .

Contribute (Add Comments)

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