SAP EQUIPMENT_INSTALL_PREPARE Function Module for NOTRANSL: Vorbereitung Einbau Equipment
EQUIPMENT_INSTALL_PREPARE is a standard equipment install prepare SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Vorbereitung Einbau Equipment 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 equipment install prepare FM, simply by entering the name EQUIPMENT_INSTALL_PREPARE into the relevant SAP transaction such as SE37 or SE38.
Function Group: IBEQ
Program Name: SAPLIBEQ
Main Program: SAPLIBEQ
Appliation area: I
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function EQUIPMENT_INSTALL_PREPARE 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 'EQUIPMENT_INSTALL_PREPARE'"NOTRANSL: Vorbereitung Einbau Equipment.
EXPORTING
* READ_SOBJ = 'X' "Generic Type
* CALL_CHECK_INFERIOR = ' ' "Generic Type
* CALL_EXIT = ' ' "Generic Type
* CALL_IS = ' ' "Generic Type
* CALL_CHECK_IA003 = 'X' "Generic Type
* IV_MEAS_POINT_DIALOG = '' "Single-Character Indicator
* READ_ROBJ = 'X' "Generic Type
* LOCK_SOBJ = 'X' "Generic Type
* POSEQUI = "Equipment position at InstallLoc (Superior Equip./FunctLoc)
* I_DATE = SY-DATUM "ABAP System Field: Current Date of Application Server
* I_TIME = SY-UZEIT "ABAP System Field: Current Time of Application Server
* I_INHERIT_FLAGS = "PM: Inheritance Indicator for Installing/Uninstalling APIs
* EXEC_STAT = ' ' "Generic Type
* EXEC_MEAS = ' ' "Generic Type
IMPORTING
IS_EXISTING = "Generic Type
OLD_SEQUI = "Generated Table for View
VRGNG = "Business Transaction
MODE_ADDRESS = "Generic Type
CHANGING
S_EQUI = "Generated Table for View
* R_EQUI = "Generated Table for View
* R_IFLO = "Generated Table for View
EXCEPTIONS
ERR_INSTALL_PREPARE = 1 ISEXCEPTION_ERR_GOODS_MOVEMENT = 2
IMPORTING Parameters details for EQUIPMENT_INSTALL_PREPARE
READ_SOBJ - Generic Type
Data type: CDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
CALL_CHECK_INFERIOR - Generic Type
Data type: CDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
CALL_EXIT - Generic Type
Data type: CDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
CALL_IS - Generic Type
Data type: CDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
CALL_CHECK_IA003 - Generic Type
Data type: CDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
IV_MEAS_POINT_DIALOG - Single-Character Indicator
Data type: CHAR1Default: ''
Optional: Yes
Call by Reference: Yes
READ_ROBJ - Generic Type
Data type: CDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
LOCK_SOBJ - Generic Type
Data type: CDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
POSEQUI - Equipment position at InstallLoc (Superior Equip./FunctLoc)
Data type: V_EQUI-HEQNROptional: Yes
Call by Reference: No ( called with pass by value option)
I_DATE - ABAP System Field: Current Date of Application Server
Data type: SY-DATUMDefault: SY-DATUM
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_TIME - ABAP System Field: Current Time of Application Server
Data type: SY-UZEITDefault: SY-UZEIT
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_INHERIT_FLAGS - PM: Inheritance Indicator for Installing/Uninstalling APIs
Data type: INHERITANCE_FLAGSOptional: Yes
Call by Reference: No ( called with pass by value option)
EXEC_STAT - Generic Type
Data type: CDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXEC_MEAS - Generic Type
Data type: CDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for EQUIPMENT_INSTALL_PREPARE
IS_EXISTING - Generic Type
Data type: COptional: No
Call by Reference: No ( called with pass by value option)
OLD_SEQUI - Generated Table for View
Data type: V_EQUIOptional: No
Call by Reference: No ( called with pass by value option)
VRGNG - Business Transaction
Data type: TJ01-VRGNGOptional: No
Call by Reference: No ( called with pass by value option)
MODE_ADDRESS - Generic Type
Data type: COptional: No
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for EQUIPMENT_INSTALL_PREPARE
S_EQUI - Generated Table for View
Data type: V_EQUIOptional: No
Call by Reference: No ( called with pass by value option)
R_EQUI - Generated Table for View
Data type: V_EQUIOptional: Yes
Call by Reference: No ( called with pass by value option)
R_IFLO - Generated Table for View
Data type: IFLOOptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
ERR_INSTALL_PREPARE - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ISEXCEPTION_ERR_GOODS_MOVEMENT - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for EQUIPMENT_INSTALL_PREPARE 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_s_equi | TYPE V_EQUI, " | |||
| lv_read_sobj | TYPE C, " 'X' | |||
| lv_is_existing | TYPE C, " | |||
| lv_err_install_prepare | TYPE C, " | |||
| lv_call_check_inferior | TYPE C, " ' ' | |||
| lv_call_exit | TYPE C, " ' ' | |||
| lv_call_is | TYPE C, " ' ' | |||
| lv_call_check_ia003 | TYPE C, " 'X' | |||
| lv_iv_meas_point_dialog | TYPE CHAR1, " '' | |||
| lv_r_equi | TYPE V_EQUI, " | |||
| lv_old_sequi | TYPE V_EQUI, " | |||
| lv_read_robj | TYPE C, " 'X' | |||
| lv_isexception_err_goods_movement | TYPE C, " | |||
| lv_vrgng | TYPE TJ01-VRGNG, " | |||
| lv_r_iflo | TYPE IFLO, " | |||
| lv_lock_sobj | TYPE C, " 'X' | |||
| lv_posequi | TYPE V_EQUI-HEQNR, " | |||
| lv_mode_address | TYPE C, " | |||
| lv_i_date | TYPE SY-DATUM, " SY-DATUM | |||
| lv_i_time | TYPE SY-UZEIT, " SY-UZEIT | |||
| lv_i_inherit_flags | TYPE INHERITANCE_FLAGS, " | |||
| lv_exec_stat | TYPE C, " ' ' | |||
| lv_exec_meas | TYPE C. " ' ' |
|   CALL FUNCTION 'EQUIPMENT_INSTALL_PREPARE' "NOTRANSL: Vorbereitung Einbau Equipment |
| EXPORTING | ||
| READ_SOBJ | = lv_read_sobj | |
| CALL_CHECK_INFERIOR | = lv_call_check_inferior | |
| CALL_EXIT | = lv_call_exit | |
| CALL_IS | = lv_call_is | |
| CALL_CHECK_IA003 | = lv_call_check_ia003 | |
| IV_MEAS_POINT_DIALOG | = lv_iv_meas_point_dialog | |
| READ_ROBJ | = lv_read_robj | |
| LOCK_SOBJ | = lv_lock_sobj | |
| POSEQUI | = lv_posequi | |
| I_DATE | = lv_i_date | |
| I_TIME | = lv_i_time | |
| I_INHERIT_FLAGS | = lv_i_inherit_flags | |
| EXEC_STAT | = lv_exec_stat | |
| EXEC_MEAS | = lv_exec_meas | |
| IMPORTING | ||
| IS_EXISTING | = lv_is_existing | |
| OLD_SEQUI | = lv_old_sequi | |
| VRGNG | = lv_vrgng | |
| MODE_ADDRESS | = lv_mode_address | |
| CHANGING | ||
| S_EQUI | = lv_s_equi | |
| R_EQUI | = lv_r_equi | |
| R_IFLO | = lv_r_iflo | |
| EXCEPTIONS | ||
| ERR_INSTALL_PREPARE = 1 | ||
| ISEXCEPTION_ERR_GOODS_MOVEMENT = 2 | ||
| . " EQUIPMENT_INSTALL_PREPARE | ||
ABAP code using 7.40 inline data declarations to call FM EQUIPMENT_INSTALL_PREPARE
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.| DATA(ld_read_sobj) | = 'X'. | |||
| DATA(ld_call_check_inferior) | = ' '. | |||
| DATA(ld_call_exit) | = ' '. | |||
| DATA(ld_call_is) | = ' '. | |||
| DATA(ld_call_check_ia003) | = 'X'. | |||
| DATA(ld_iv_meas_point_dialog) | = ''. | |||
| DATA(ld_read_robj) | = 'X'. | |||
| "SELECT single VRGNG FROM TJ01 INTO @DATA(ld_vrgng). | ||||
| DATA(ld_lock_sobj) | = 'X'. | |||
| "SELECT single HEQNR FROM V_EQUI INTO @DATA(ld_posequi). | ||||
| "SELECT single DATUM FROM SY INTO @DATA(ld_i_date). | ||||
| DATA(ld_i_date) | = SY-DATUM. | |||
| "SELECT single UZEIT FROM SY INTO @DATA(ld_i_time). | ||||
| DATA(ld_i_time) | = SY-UZEIT. | |||
| DATA(ld_exec_stat) | = ' '. | |||
| DATA(ld_exec_meas) | = ' '. | |||
Search for further information about these or an SAP related objects