SAP CIF_EVENT_AFTER_INITIALIZATION Function Module for Event after initialization









CIF_EVENT_AFTER_INITIALIZATION is a standard cif event after initialization SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Event after initialization processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for cif event after initialization FM, simply by entering the name CIF_EVENT_AFTER_INITIALIZATION into the relevant SAP transaction such as SE37 or SE38.

Function Group: MGV_CIF_INTERFACE
Program Name: SAPLMGV_CIF_INTERFACE
Main Program: SAPLMGV_CIF_INTERFACE
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function CIF_EVENT_AFTER_INITIALIZATION pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'CIF_EVENT_AFTER_INITIALIZATION'"Event after initialization
EXPORTING
PROGRAM_NAME = "Calling Program Name
* SELOP_NINE = "Selop name nine
* SELOP_TEN = "Selop name ten
* SELOP_ELEVEN = "Selop name eleven
* SELOP_TWELVE = "Selop name twelve
* SELOP_THIRTEEN = "Selop name thirteen
* SELOP_FOURTEEN = "Selop name fourteen
* SELOP_FIFTEEN = "Selop name fifteen
* SELOP_SIXTEEN = "Selop name sixteen
* SELOP_SEVENTEEN = "Selop name seventeen
* SELOP_EIGHTTEEN = "Selop name eightteen
SELOP_ONE = "Selop name one
* SELOP_NINETEEN = "Selop name nineteen
* SELOP_TWENTY = "Selop name twenty
* SELOP_TWO = "Selop name two
* SELOP_THREE = "Selop name three
* SELOP_FOUR = "Selop name four
* SELOP_FIVE = "Selop name five
* SELOP_SIX = "Selop name six
* SELOP_SEVEN = "Selop name seven
* SELOP_EIGHT = "Selop name eight

EXCEPTIONS
MATNR_EXT_NOT_ACTIVE = 1
.



IMPORTING Parameters details for CIF_EVENT_AFTER_INITIALIZATION

PROGRAM_NAME - Calling Program Name

Data type: SY-REPID
Optional: No
Call by Reference: No ( called with pass by value option)

SELOP_NINE - Selop name nine

Data type: RSLDBDFS-NAME
Optional: Yes
Call by Reference: No ( called with pass by value option)

SELOP_TEN - Selop name ten

Data type: RSLDBDFS-NAME
Optional: Yes
Call by Reference: No ( called with pass by value option)

SELOP_ELEVEN - Selop name eleven

Data type: RSLDBDFS-NAME
Optional: Yes
Call by Reference: No ( called with pass by value option)

SELOP_TWELVE - Selop name twelve

Data type: RSLDBDFS-NAME
Optional: Yes
Call by Reference: No ( called with pass by value option)

SELOP_THIRTEEN - Selop name thirteen

Data type: RSLDBDFS-NAME
Optional: Yes
Call by Reference: No ( called with pass by value option)

SELOP_FOURTEEN - Selop name fourteen

Data type: RSLDBDFS-NAME
Optional: Yes
Call by Reference: No ( called with pass by value option)

SELOP_FIFTEEN - Selop name fifteen

Data type: RSLDBDFS-NAME
Optional: Yes
Call by Reference: No ( called with pass by value option)

SELOP_SIXTEEN - Selop name sixteen

Data type: RSLDBDFS-NAME
Optional: Yes
Call by Reference: No ( called with pass by value option)

SELOP_SEVENTEEN - Selop name seventeen

Data type: RSLDBDFS-NAME
Optional: Yes
Call by Reference: No ( called with pass by value option)

SELOP_EIGHTTEEN - Selop name eightteen

Data type: RSLDBDFS-NAME
Optional: Yes
Call by Reference: No ( called with pass by value option)

SELOP_ONE - Selop name one

Data type: RSLDBDFS-NAME
Optional: No
Call by Reference: No ( called with pass by value option)

SELOP_NINETEEN - Selop name nineteen

Data type: RSLDBDFS-NAME
Optional: Yes
Call by Reference: No ( called with pass by value option)

SELOP_TWENTY - Selop name twenty

Data type: RSLDBDFS-NAME
Optional: Yes
Call by Reference: No ( called with pass by value option)

SELOP_TWO - Selop name two

Data type: RSLDBDFS-NAME
Optional: Yes
Call by Reference: No ( called with pass by value option)

SELOP_THREE - Selop name three

Data type: RSLDBDFS-NAME
Optional: Yes
Call by Reference: No ( called with pass by value option)

SELOP_FOUR - Selop name four

Data type: RSLDBDFS-NAME
Optional: Yes
Call by Reference: No ( called with pass by value option)

SELOP_FIVE - Selop name five

Data type: RSLDBDFS-NAME
Optional: Yes
Call by Reference: No ( called with pass by value option)

SELOP_SIX - Selop name six

Data type: RSLDBDFS-NAME
Optional: Yes
Call by Reference: No ( called with pass by value option)

SELOP_SEVEN - Selop name seven

Data type: RSLDBDFS-NAME
Optional: Yes
Call by Reference: No ( called with pass by value option)

SELOP_EIGHT - Selop name eight

Data type: RSLDBDFS-NAME
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

MATNR_EXT_NOT_ACTIVE - MATNR_Ext not active in system

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for CIF_EVENT_AFTER_INITIALIZATION Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than 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 newer method of declaring data variables on the fly. 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), which i why i have stuck to the origianl for this example.

DATA:
lv_program_name  TYPE SY-REPID, "   
lv_matnr_ext_not_active  TYPE SY, "   
lv_selop_nine  TYPE RSLDBDFS-NAME, "   
lv_selop_ten  TYPE RSLDBDFS-NAME, "   
lv_selop_eleven  TYPE RSLDBDFS-NAME, "   
lv_selop_twelve  TYPE RSLDBDFS-NAME, "   
lv_selop_thirteen  TYPE RSLDBDFS-NAME, "   
lv_selop_fourteen  TYPE RSLDBDFS-NAME, "   
lv_selop_fifteen  TYPE RSLDBDFS-NAME, "   
lv_selop_sixteen  TYPE RSLDBDFS-NAME, "   
lv_selop_seventeen  TYPE RSLDBDFS-NAME, "   
lv_selop_eightteen  TYPE RSLDBDFS-NAME, "   
lv_selop_one  TYPE RSLDBDFS-NAME, "   
lv_selop_nineteen  TYPE RSLDBDFS-NAME, "   
lv_selop_twenty  TYPE RSLDBDFS-NAME, "   
lv_selop_two  TYPE RSLDBDFS-NAME, "   
lv_selop_three  TYPE RSLDBDFS-NAME, "   
lv_selop_four  TYPE RSLDBDFS-NAME, "   
lv_selop_five  TYPE RSLDBDFS-NAME, "   
lv_selop_six  TYPE RSLDBDFS-NAME, "   
lv_selop_seven  TYPE RSLDBDFS-NAME, "   
lv_selop_eight  TYPE RSLDBDFS-NAME. "   

  CALL FUNCTION 'CIF_EVENT_AFTER_INITIALIZATION'  "Event after initialization
    EXPORTING
         PROGRAM_NAME = lv_program_name
         SELOP_NINE = lv_selop_nine
         SELOP_TEN = lv_selop_ten
         SELOP_ELEVEN = lv_selop_eleven
         SELOP_TWELVE = lv_selop_twelve
         SELOP_THIRTEEN = lv_selop_thirteen
         SELOP_FOURTEEN = lv_selop_fourteen
         SELOP_FIFTEEN = lv_selop_fifteen
         SELOP_SIXTEEN = lv_selop_sixteen
         SELOP_SEVENTEEN = lv_selop_seventeen
         SELOP_EIGHTTEEN = lv_selop_eightteen
         SELOP_ONE = lv_selop_one
         SELOP_NINETEEN = lv_selop_nineteen
         SELOP_TWENTY = lv_selop_twenty
         SELOP_TWO = lv_selop_two
         SELOP_THREE = lv_selop_three
         SELOP_FOUR = lv_selop_four
         SELOP_FIVE = lv_selop_five
         SELOP_SIX = lv_selop_six
         SELOP_SEVEN = lv_selop_seven
         SELOP_EIGHT = lv_selop_eight
    EXCEPTIONS
        MATNR_EXT_NOT_ACTIVE = 1
. " CIF_EVENT_AFTER_INITIALIZATION




ABAP code using 7.40 inline data declarations to call FM CIF_EVENT_AFTER_INITIALIZATION

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

"SELECT single REPID FROM SY INTO @DATA(ld_program_name).
 
 
"SELECT single NAME FROM RSLDBDFS INTO @DATA(ld_selop_nine).
 
"SELECT single NAME FROM RSLDBDFS INTO @DATA(ld_selop_ten).
 
"SELECT single NAME FROM RSLDBDFS INTO @DATA(ld_selop_eleven).
 
"SELECT single NAME FROM RSLDBDFS INTO @DATA(ld_selop_twelve).
 
"SELECT single NAME FROM RSLDBDFS INTO @DATA(ld_selop_thirteen).
 
"SELECT single NAME FROM RSLDBDFS INTO @DATA(ld_selop_fourteen).
 
"SELECT single NAME FROM RSLDBDFS INTO @DATA(ld_selop_fifteen).
 
"SELECT single NAME FROM RSLDBDFS INTO @DATA(ld_selop_sixteen).
 
"SELECT single NAME FROM RSLDBDFS INTO @DATA(ld_selop_seventeen).
 
"SELECT single NAME FROM RSLDBDFS INTO @DATA(ld_selop_eightteen).
 
"SELECT single NAME FROM RSLDBDFS INTO @DATA(ld_selop_one).
 
"SELECT single NAME FROM RSLDBDFS INTO @DATA(ld_selop_nineteen).
 
"SELECT single NAME FROM RSLDBDFS INTO @DATA(ld_selop_twenty).
 
"SELECT single NAME FROM RSLDBDFS INTO @DATA(ld_selop_two).
 
"SELECT single NAME FROM RSLDBDFS INTO @DATA(ld_selop_three).
 
"SELECT single NAME FROM RSLDBDFS INTO @DATA(ld_selop_four).
 
"SELECT single NAME FROM RSLDBDFS INTO @DATA(ld_selop_five).
 
"SELECT single NAME FROM RSLDBDFS INTO @DATA(ld_selop_six).
 
"SELECT single NAME FROM RSLDBDFS INTO @DATA(ld_selop_seven).
 
"SELECT single NAME FROM RSLDBDFS INTO @DATA(ld_selop_eight).
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!