SAP Function Modules

CIF_PRODUCT_SEND SAP Function module







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

Associated Function Group: CMAT
Released Date: Not Released
Processing type: Remote-Enabled
remote enabled module settings


Pattern for FM CIF_PRODUCT_SEND - CIF PRODUCT SEND





CALL FUNCTION 'CIF_PRODUCT_SEND' "
  EXPORTING
    is_ctrlparams =             " cifctrlpar
  TABLES
    it_cif_matkey =             " cif_matkey
    it_cif_matkeyx =            " cif_matkyx
    it_cif_matloc =             " cif_matloc
    it_cif_matlocx =            " cif_matlcx
    it_cif_mattxt =             " cif_mattxt
    it_cif_mattxtx =            " cif_mattxx
    it_cif_marm =               " cif_marm
    it_cif_marmx =              " cif_marmx
*   it_cif_mean =               " cif_mean
*   it_cif_meanx =              " cif_meanx
    it_cif_matclass =           " cif_matcls
*   it_cif_matkeycus =          " cifmtkycus
*   it_cif_matloccus =          " cifmtlccus
*   it_cif_matvrs =             " cif_matvrs
*   it_cif_matvrx =             " cif_matvrx
*   it_enqueue_args =           " cif_imod
*   extensionout =              " cifbparex
  EXCEPTIONS
    CALL_FUNCTION_ERROR = 1     "
    .  "  CIF_PRODUCT_SEND

ABAP code example for Function Module CIF_PRODUCT_SEND





The ABAP code below is a full code listing to execute function module CIF_PRODUCT_SEND 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:
it_it_cif_matkey  TYPE STANDARD TABLE OF CIF_MATKEY,"TABLES PARAM
wa_it_cif_matkey  LIKE LINE OF it_it_cif_matkey ,
it_it_cif_matkeyx  TYPE STANDARD TABLE OF CIF_MATKYX,"TABLES PARAM
wa_it_cif_matkeyx  LIKE LINE OF it_it_cif_matkeyx ,
it_it_cif_matloc  TYPE STANDARD TABLE OF CIF_MATLOC,"TABLES PARAM
wa_it_cif_matloc  LIKE LINE OF it_it_cif_matloc ,
it_it_cif_matlocx  TYPE STANDARD TABLE OF CIF_MATLCX,"TABLES PARAM
wa_it_cif_matlocx  LIKE LINE OF it_it_cif_matlocx ,
it_it_cif_mattxt  TYPE STANDARD TABLE OF CIF_MATTXT,"TABLES PARAM
wa_it_cif_mattxt  LIKE LINE OF it_it_cif_mattxt ,
it_it_cif_mattxtx  TYPE STANDARD TABLE OF CIF_MATTXX,"TABLES PARAM
wa_it_cif_mattxtx  LIKE LINE OF it_it_cif_mattxtx ,
it_it_cif_marm  TYPE STANDARD TABLE OF CIF_MARM,"TABLES PARAM
wa_it_cif_marm  LIKE LINE OF it_it_cif_marm ,
it_it_cif_marmx  TYPE STANDARD TABLE OF CIF_MARMX,"TABLES PARAM
wa_it_cif_marmx  LIKE LINE OF it_it_cif_marmx ,
it_it_cif_mean  TYPE STANDARD TABLE OF CIF_MEAN,"TABLES PARAM
wa_it_cif_mean  LIKE LINE OF it_it_cif_mean ,
it_it_cif_meanx  TYPE STANDARD TABLE OF CIF_MEANX,"TABLES PARAM
wa_it_cif_meanx  LIKE LINE OF it_it_cif_meanx ,
it_it_cif_matclass  TYPE STANDARD TABLE OF CIF_MATCLS,"TABLES PARAM
wa_it_cif_matclass  LIKE LINE OF it_it_cif_matclass ,
it_it_cif_matkeycus  TYPE STANDARD TABLE OF CIFMTKYCUS,"TABLES PARAM
wa_it_cif_matkeycus  LIKE LINE OF it_it_cif_matkeycus ,
it_it_cif_matloccus  TYPE STANDARD TABLE OF CIFMTLCCUS,"TABLES PARAM
wa_it_cif_matloccus  LIKE LINE OF it_it_cif_matloccus ,
it_it_cif_matvrs  TYPE STANDARD TABLE OF CIF_MATVRS,"TABLES PARAM
wa_it_cif_matvrs  LIKE LINE OF it_it_cif_matvrs ,
it_it_cif_matvrx  TYPE STANDARD TABLE OF CIF_MATVRX,"TABLES PARAM
wa_it_cif_matvrx  LIKE LINE OF it_it_cif_matvrx ,
it_it_enqueue_args  TYPE STANDARD TABLE OF CIF_IMOD,"TABLES PARAM
wa_it_enqueue_args  LIKE LINE OF it_it_enqueue_args ,
it_extensionout  TYPE STANDARD TABLE OF CIFBPAREX,"TABLES PARAM
wa_extensionout  LIKE LINE OF it_extensionout .

DATA(ld_is_ctrlparams) = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_it_cif_matkey to it_it_cif_matkey.

"populate fields of struture and append to itab
append wa_it_cif_matkeyx to it_it_cif_matkeyx.

"populate fields of struture and append to itab
append wa_it_cif_matloc to it_it_cif_matloc.

"populate fields of struture and append to itab
append wa_it_cif_matlocx to it_it_cif_matlocx.

"populate fields of struture and append to itab
append wa_it_cif_mattxt to it_it_cif_mattxt.

"populate fields of struture and append to itab
append wa_it_cif_mattxtx to it_it_cif_mattxtx.

"populate fields of struture and append to itab
append wa_it_cif_marm to it_it_cif_marm.

"populate fields of struture and append to itab
append wa_it_cif_marmx to it_it_cif_marmx.

"populate fields of struture and append to itab
append wa_it_cif_mean to it_it_cif_mean.

"populate fields of struture and append to itab
append wa_it_cif_meanx to it_it_cif_meanx.

"populate fields of struture and append to itab
append wa_it_cif_matclass to it_it_cif_matclass.

"populate fields of struture and append to itab
append wa_it_cif_matkeycus to it_it_cif_matkeycus.

"populate fields of struture and append to itab
append wa_it_cif_matloccus to it_it_cif_matloccus.

"populate fields of struture and append to itab
append wa_it_cif_matvrs to it_it_cif_matvrs.

"populate fields of struture and append to itab
append wa_it_cif_matvrx to it_it_cif_matvrx.

"populate fields of struture and append to itab
append wa_it_enqueue_args to it_it_enqueue_args.

"populate fields of struture and append to itab
append wa_extensionout to it_extensionout. . CALL FUNCTION 'CIF_PRODUCT_SEND' EXPORTING is_ctrlparams = ld_is_ctrlparams TABLES it_cif_matkey = it_it_cif_matkey it_cif_matkeyx = it_it_cif_matkeyx it_cif_matloc = it_it_cif_matloc it_cif_matlocx = it_it_cif_matlocx it_cif_mattxt = it_it_cif_mattxt it_cif_mattxtx = it_it_cif_mattxtx it_cif_marm = it_it_cif_marm it_cif_marmx = it_it_cif_marmx * it_cif_mean = it_it_cif_mean * it_cif_meanx = it_it_cif_meanx it_cif_matclass = it_it_cif_matclass * it_cif_matkeycus = it_it_cif_matkeycus * it_cif_matloccus = it_it_cif_matloccus * it_cif_matvrs = it_it_cif_matvrs * it_cif_matvrx = it_it_cif_matvrx * it_enqueue_args = it_it_enqueue_args * extensionout = it_extensionout EXCEPTIONS CALL_FUNCTION_ERROR = 1 . " CIF_PRODUCT_SEND
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "Exception "Add code for exception here 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_is_ctrlparams  TYPE CIFCTRLPAR ,
it_it_cif_matkey  TYPE STANDARD TABLE OF CIF_MATKEY ,
wa_it_cif_matkey  LIKE LINE OF it_it_cif_matkey,
it_it_cif_matkeyx  TYPE STANDARD TABLE OF CIF_MATKYX ,
wa_it_cif_matkeyx  LIKE LINE OF it_it_cif_matkeyx,
it_it_cif_matloc  TYPE STANDARD TABLE OF CIF_MATLOC ,
wa_it_cif_matloc  LIKE LINE OF it_it_cif_matloc,
it_it_cif_matlocx  TYPE STANDARD TABLE OF CIF_MATLCX ,
wa_it_cif_matlocx  LIKE LINE OF it_it_cif_matlocx,
it_it_cif_mattxt  TYPE STANDARD TABLE OF CIF_MATTXT ,
wa_it_cif_mattxt  LIKE LINE OF it_it_cif_mattxt,
it_it_cif_mattxtx  TYPE STANDARD TABLE OF CIF_MATTXX ,
wa_it_cif_mattxtx  LIKE LINE OF it_it_cif_mattxtx,
it_it_cif_marm  TYPE STANDARD TABLE OF CIF_MARM ,
wa_it_cif_marm  LIKE LINE OF it_it_cif_marm,
it_it_cif_marmx  TYPE STANDARD TABLE OF CIF_MARMX ,
wa_it_cif_marmx  LIKE LINE OF it_it_cif_marmx,
it_it_cif_mean  TYPE STANDARD TABLE OF CIF_MEAN ,
wa_it_cif_mean  LIKE LINE OF it_it_cif_mean,
it_it_cif_meanx  TYPE STANDARD TABLE OF CIF_MEANX ,
wa_it_cif_meanx  LIKE LINE OF it_it_cif_meanx,
it_it_cif_matclass  TYPE STANDARD TABLE OF CIF_MATCLS ,
wa_it_cif_matclass  LIKE LINE OF it_it_cif_matclass,
it_it_cif_matkeycus  TYPE STANDARD TABLE OF CIFMTKYCUS ,
wa_it_cif_matkeycus  LIKE LINE OF it_it_cif_matkeycus,
it_it_cif_matloccus  TYPE STANDARD TABLE OF CIFMTLCCUS ,
wa_it_cif_matloccus  LIKE LINE OF it_it_cif_matloccus,
it_it_cif_matvrs  TYPE STANDARD TABLE OF CIF_MATVRS ,
wa_it_cif_matvrs  LIKE LINE OF it_it_cif_matvrs,
it_it_cif_matvrx  TYPE STANDARD TABLE OF CIF_MATVRX ,
wa_it_cif_matvrx  LIKE LINE OF it_it_cif_matvrx,
it_it_enqueue_args  TYPE STANDARD TABLE OF CIF_IMOD ,
wa_it_enqueue_args  LIKE LINE OF it_it_enqueue_args,
it_extensionout  TYPE STANDARD TABLE OF CIFBPAREX ,
wa_extensionout  LIKE LINE OF it_extensionout.

ld_is_ctrlparams = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_it_cif_matkey to it_it_cif_matkey.

"populate fields of struture and append to itab
append wa_it_cif_matkeyx to it_it_cif_matkeyx.

"populate fields of struture and append to itab
append wa_it_cif_matloc to it_it_cif_matloc.

"populate fields of struture and append to itab
append wa_it_cif_matlocx to it_it_cif_matlocx.

"populate fields of struture and append to itab
append wa_it_cif_mattxt to it_it_cif_mattxt.

"populate fields of struture and append to itab
append wa_it_cif_mattxtx to it_it_cif_mattxtx.

"populate fields of struture and append to itab
append wa_it_cif_marm to it_it_cif_marm.

"populate fields of struture and append to itab
append wa_it_cif_marmx to it_it_cif_marmx.

"populate fields of struture and append to itab
append wa_it_cif_mean to it_it_cif_mean.

"populate fields of struture and append to itab
append wa_it_cif_meanx to it_it_cif_meanx.

"populate fields of struture and append to itab
append wa_it_cif_matclass to it_it_cif_matclass.

"populate fields of struture and append to itab
append wa_it_cif_matkeycus to it_it_cif_matkeycus.

"populate fields of struture and append to itab
append wa_it_cif_matloccus to it_it_cif_matloccus.

"populate fields of struture and append to itab
append wa_it_cif_matvrs to it_it_cif_matvrs.

"populate fields of struture and append to itab
append wa_it_cif_matvrx to it_it_cif_matvrx.

"populate fields of struture and append to itab
append wa_it_enqueue_args to it_it_enqueue_args.

"populate fields of struture and append to itab
append wa_extensionout to it_extensionout.

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