SAP BAPI_IE4N_INSTALL Function Module for Equipment Installation with Goods Movement, Notification, and CCM









BAPI_IE4N_INSTALL is a standard bapi ie4n install SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Equipment Installation with Goods Movement, Notification, and CCM 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 bapi ie4n install FM, simply by entering the name BAPI_IE4N_INSTALL into the relevant SAP transaction such as SE37 or SE38.

Function Group: IPW5_BAPI
Program Name: SAPLIPW5_BAPI
Main Program: SAPLIPW5_BAPI
Appliation area:
Release date: 10-Jan-2007
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function BAPI_IE4N_INSTALL 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 'BAPI_IE4N_INSTALL'"Equipment Installation with Goods Movement, Notification, and CCM
EXPORTING
* I_EQUIPMENT = "Equipment Number
* I_NO_MPL_LOCAL_CHECK = "MPL Flag: ' ' - Execute MPL Check; 'X' - No Check
* I_MATERIAL_EVG = "BAPI Structure for Transfer of External Material No, Ver.,
* I_MATERIAL = "Material Number
* I_SERIALNUMBER = "Serial Number
* I_FORCED_INSTALL = ' ' "Forced Installation
IS_DATA_INSTALL = "Installation Data
* IS_DATA_GOODS_MOVEMENT = "BAPI for IE4N: Goods Movement Data
* IS_DATA_NOTIFICATION = "Notification Data for Equipment Installation/Dismantling with Goods Movement
* I_SIMULATION = "Simulation Mode
* I_NO_MATERIAL_MOVEMENT = "CCM: Material Movement (`X': No Mvmt, ' ': with Mvmt)

TABLES
* IT_LONGTEXT = "Notification Long Text
* EXTENSION_IN = "Reference Structure for BAPI Parameters EXTENSIONIN/EXTENSIONOUT
RETURN = "Return Parameter(s)
.



IMPORTING Parameters details for BAPI_IE4N_INSTALL

I_EQUIPMENT - Equipment Number

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

I_NO_MPL_LOCAL_CHECK - MPL Flag: ' ' - Execute MPL Check; 'X' - No Check

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

I_MATERIAL_EVG - BAPI Structure for Transfer of External Material No, Ver.,

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

I_MATERIAL - Material Number

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

I_SERIALNUMBER - Serial Number

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

I_FORCED_INSTALL - Forced Installation

Data type: BAPIFLAG-BAPIFLAG
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

IS_DATA_INSTALL - Installation Data

Data type: BAPI_ITOB_EQ_INSTALL_EXT
Optional: No
Call by Reference: No ( called with pass by value option)

IS_DATA_GOODS_MOVEMENT - BAPI for IE4N: Goods Movement Data

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

IS_DATA_NOTIFICATION - Notification Data for Equipment Installation/Dismantling with Goods Movement

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

I_SIMULATION - Simulation Mode

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

I_NO_MATERIAL_MOVEMENT - CCM: Material Movement (`X': No Mvmt, ' ': with Mvmt)

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

TABLES Parameters details for BAPI_IE4N_INSTALL

IT_LONGTEXT - Notification Long Text

Data type: BAPI2080_NOTFULLTXTI
Optional: Yes
Call by Reference: Yes

EXTENSION_IN - Reference Structure for BAPI Parameters EXTENSIONIN/EXTENSIONOUT

Data type: BAPIPAREX
Optional: Yes
Call by Reference: Yes

RETURN - Return Parameter(s)

Data type: BAPIRET2
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for BAPI_IE4N_INSTALL 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:
lt_it_longtext  TYPE STANDARD TABLE OF BAPI2080_NOTFULLTXTI, "   
lv_i_equipment  TYPE BAPI_ITOB_PARMS-EQUIPMENT, "   
lv_i_no_mpl_local_check  TYPE BAPIFLAG-BAPIFLAG, "   
lv_i_material_evg  TYPE BAPIMGVMATNR, "   
lv_i_material  TYPE BAPI_ITOB_EQ_ONLY-MATERIAL, "   
lt_extension_in  TYPE STANDARD TABLE OF BAPIPAREX, "   
lt_return  TYPE STANDARD TABLE OF BAPIRET2, "   
lv_i_serialnumber  TYPE BAPI_ITOB_EQ_ONLY-SERIALNO, "   
lv_i_forced_install  TYPE BAPIFLAG-BAPIFLAG, "   SPACE
lv_is_data_install  TYPE BAPI_ITOB_EQ_INSTALL_EXT, "   
lv_is_data_goods_movement  TYPE BAPI_IE4N_GOODS_MOVEMENT, "   
lv_is_data_notification  TYPE BAPI_IE4N_NOTIFICATION, "   
lv_i_simulation  TYPE BAPIFLAG-BAPIFLAG, "   
lv_i_no_material_movement  TYPE BAPIFLAG-BAPIFLAG. "   

  CALL FUNCTION 'BAPI_IE4N_INSTALL'  "Equipment Installation with Goods Movement, Notification, and CCM
    EXPORTING
         I_EQUIPMENT = lv_i_equipment
         I_NO_MPL_LOCAL_CHECK = lv_i_no_mpl_local_check
         I_MATERIAL_EVG = lv_i_material_evg
         I_MATERIAL = lv_i_material
         I_SERIALNUMBER = lv_i_serialnumber
         I_FORCED_INSTALL = lv_i_forced_install
         IS_DATA_INSTALL = lv_is_data_install
         IS_DATA_GOODS_MOVEMENT = lv_is_data_goods_movement
         IS_DATA_NOTIFICATION = lv_is_data_notification
         I_SIMULATION = lv_i_simulation
         I_NO_MATERIAL_MOVEMENT = lv_i_no_material_movement
    TABLES
         IT_LONGTEXT = lt_it_longtext
         EXTENSION_IN = lt_extension_in
         RETURN = lt_return
. " BAPI_IE4N_INSTALL




ABAP code using 7.40 inline data declarations to call FM BAPI_IE4N_INSTALL

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 EQUIPMENT FROM BAPI_ITOB_PARMS INTO @DATA(ld_i_equipment).
 
"SELECT single BAPIFLAG FROM BAPIFLAG INTO @DATA(ld_i_no_mpl_local_check).
 
 
"SELECT single MATERIAL FROM BAPI_ITOB_EQ_ONLY INTO @DATA(ld_i_material).
 
 
 
"SELECT single SERIALNO FROM BAPI_ITOB_EQ_ONLY INTO @DATA(ld_i_serialnumber).
 
"SELECT single BAPIFLAG FROM BAPIFLAG INTO @DATA(ld_i_forced_install).
DATA(ld_i_forced_install) = ' '.
 
 
 
 
"SELECT single BAPIFLAG FROM BAPIFLAG INTO @DATA(ld_i_simulation).
 
"SELECT single BAPIFLAG FROM BAPIFLAG INTO @DATA(ld_i_no_material_movement).
 


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!