SAP Function Modules

CIF_IPPE_CHANGE_SEND SAP Function module







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

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


Pattern for FM CIF_IPPE_CHANGE_SEND - CIF IPPE CHANGE SEND





CALL FUNCTION 'CIF_IPPE_CHANGE_SEND' "
* EXPORTING
*   iv_imtyp =                  " cifimtyp
*   iv_oldcp = SPACE            " xfeld
*   iv_date_low =               " sy-datum
*   iv_date_high =              " sy-datum
*   iv_ignfqety = SPACE         " xfeld
*   iv_packnum =                " ippecif_packnr
* TABLES
*   it_logsys =                 " cif_dest
*   it_material =               " ppe_cif_mat_ranges
*   it_location =               " ppe_cif_loc_ranges
*   it_version =                " ppe_cif_ver_ranges
*   it_prodversion =            " ppe_prod_version
  EXCEPTIONS
    NO_CHANGED_MASTER = 1       "
    .  "  CIF_IPPE_CHANGE_SEND

ABAP code example for Function Module CIF_IPPE_CHANGE_SEND





The ABAP code below is a full code listing to execute function module CIF_IPPE_CHANGE_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_logsys  TYPE STANDARD TABLE OF CIF_DEST,"TABLES PARAM
wa_it_logsys  LIKE LINE OF it_it_logsys ,
it_it_material  TYPE STANDARD TABLE OF PPE_CIF_MAT_RANGES,"TABLES PARAM
wa_it_material  LIKE LINE OF it_it_material ,
it_it_location  TYPE STANDARD TABLE OF PPE_CIF_LOC_RANGES,"TABLES PARAM
wa_it_location  LIKE LINE OF it_it_location ,
it_it_version  TYPE STANDARD TABLE OF PPE_CIF_VER_RANGES,"TABLES PARAM
wa_it_version  LIKE LINE OF it_it_version ,
it_it_prodversion  TYPE STANDARD TABLE OF PPE_PROD_VERSION,"TABLES PARAM
wa_it_prodversion  LIKE LINE OF it_it_prodversion .

DATA(ld_iv_imtyp) = 'Check type of data required'.
DATA(ld_iv_oldcp) = 'Check type of data required'.
DATA(ld_iv_date_low) = '20210129'.
DATA(ld_iv_date_high) = '20210129'.
DATA(ld_iv_ignfqety) = '20210129'.
DATA(ld_iv_packnum) = '20210129'.

"populate fields of struture and append to itab
append wa_it_logsys to it_it_logsys.

"populate fields of struture and append to itab
append wa_it_material to it_it_material.

"populate fields of struture and append to itab
append wa_it_location to it_it_location.

"populate fields of struture and append to itab
append wa_it_version to it_it_version.

"populate fields of struture and append to itab
append wa_it_prodversion to it_it_prodversion. . CALL FUNCTION 'CIF_IPPE_CHANGE_SEND' * EXPORTING * iv_imtyp = ld_iv_imtyp * iv_oldcp = ld_iv_oldcp * iv_date_low = ld_iv_date_low * iv_date_high = ld_iv_date_high * iv_ignfqety = ld_iv_ignfqety * iv_packnum = ld_iv_packnum * TABLES * it_logsys = it_it_logsys * it_material = it_it_material * it_location = it_it_location * it_version = it_it_version * it_prodversion = it_it_prodversion EXCEPTIONS NO_CHANGED_MASTER = 1 . " CIF_IPPE_CHANGE_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_iv_imtyp  TYPE CIFIMTYP ,
it_it_logsys  TYPE STANDARD TABLE OF CIF_DEST ,
wa_it_logsys  LIKE LINE OF it_it_logsys,
ld_iv_oldcp  TYPE XFELD ,
it_it_material  TYPE STANDARD TABLE OF PPE_CIF_MAT_RANGES ,
wa_it_material  LIKE LINE OF it_it_material,
ld_iv_date_low  TYPE SY-DATUM ,
it_it_location  TYPE STANDARD TABLE OF PPE_CIF_LOC_RANGES ,
wa_it_location  LIKE LINE OF it_it_location,
ld_iv_date_high  TYPE SY-DATUM ,
it_it_version  TYPE STANDARD TABLE OF PPE_CIF_VER_RANGES ,
wa_it_version  LIKE LINE OF it_it_version,
ld_iv_ignfqety  TYPE XFELD ,
it_it_prodversion  TYPE STANDARD TABLE OF PPE_PROD_VERSION ,
wa_it_prodversion  LIKE LINE OF it_it_prodversion,
ld_iv_packnum  TYPE IPPECIF_PACKNR .

ld_iv_imtyp = '20210129'.

"populate fields of struture and append to itab
append wa_it_logsys to it_it_logsys.
ld_iv_oldcp = '20210129'.

"populate fields of struture and append to itab
append wa_it_material to it_it_material.
ld_iv_date_low = '20210129'.

"populate fields of struture and append to itab
append wa_it_location to it_it_location.
ld_iv_date_high = '20210129'.

"populate fields of struture and append to itab
append wa_it_version to it_it_version.
ld_iv_ignfqety = '20210129'.

"populate fields of struture and append to itab
append wa_it_prodversion to it_it_prodversion.
ld_iv_packnum = '20210129'.

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