SAP EXIT_SAPLIEL2_001 Function Module for Check of User-Defined Rules When Defining the Equipment Hierarchy









EXIT_SAPLIEL2_001 is a standard exit sapliel2 001 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Check of User-Defined Rules When Defining the Equipment Hierarchy 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 exit sapliel2 001 FM, simply by entering the name EXIT_SAPLIEL2_001 into the relevant SAP transaction such as SE37 or SE38.

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



Function EXIT_SAPLIEL2_001 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 'EXIT_SAPLIEL2_001'"Check of User-Defined Rules When Defining the Equipment Hierarchy
EXPORTING
MASTER_EQUIPMENT = "Higher-Level Equipment (View)
SUBEQUIPMENT = "Subequipment to be Assigned (View)
SUBEQUI_POSITION = "Position of Subequipment in Higher-Level Equipment

EXCEPTIONS
HIERARCHY_NOT_ALLOWED = 1
.



Related Function Modules

Below is a list of related SAP function modules this CUSTOMER FUNCTION exit / user exit is relevant for.
BUFFER_IEL2_INITIALIZE NOTRANSL: Pufferdaten zurücksetzen (insbesondere für ILxx)
DATE_CHECK_FOR_EQUI_LOCATION NOTRANSL: Prüfung des Datums bei Ändern des Equipmenteinbauortes
EQUIPMENT_GET_INSTALL_HISTORY NOTRANSL: Lese zu Equipment alle Ein-/Ausbauten inkl. Zeitpunkte
EQUIPMENT_INHERITANCE_ACTIVATE NOTRANSL: Vererbung aktivieren
EQUIPMENT_INSTALLED NOTRANSL: Eingebaute Equipments zum Technischen Platz
EQUI_CHECK_SWERK_BUKRS NOTRANSL: Prüfung Vererbung Standortwerk/Buchungskreis bei Einbau
EQUI_HIERARCHY_CHECK NOTRANSL: Prüfen der zu definierenden Equipmenthierarchie
EQUI_HIERARCHY_CREATE_CHECK NOTRANSL: Prüfen, ob Konfiguration von Equipment-Hierarchien lt. EqmtStatu
EQUI_HIERARCHY_EXIST NOTRANSL: Prüfen, ob zum eingegebenen Unterequipment Equipmentierarchie vo
EQUI_HIERARCHY_READ NOTRANSL: Lesen von existierenden Equipmenthierarchien
EQUI_INSTALLATION_CHANGE NOTRANSL: Zentralsteuerung des Ein-/Ausbaus von Eqmts und der Equipmenthie
EQUI_INSTALLED_EXIST NOTRANSL: Prüfen, ob zum eingegebenen Tecnischen Platz eingebaute Eqmts vo
EQUI_STATUS_BY_LOCATION_CHANGE NOTRANSL: Update des Equipmentstatus bei Ein-/Ausbau
INHERITANCE_FROM_LOCATION NOTRANSL: Weitergabe der Daten des Techn. Platzes auf eingebautes Equipmen
INHERITANCE_FROM_SUPERIOR_EQUI NOTRANSL: Weitergabe der Daten des übergeordn. Eqmts auf untergeordnetes E
INHER_FIELDS_FROM_FLOC_TO_FLOC NOTRANSL: Vererbung aller Felder: Technischer Platz -> Technischer Platz
INHER_FIELDS_FROM_OBJ_TO_EQUI NOTRANSL: Vererbung aller Felder: Technisches Objekt -> Equipment
INSTALLATION_DATE_MEMORY NOTRANSL: Merken des Ein-/Ausbauzeitpunkt für Equipmenthierarchie
INSTALLED_EQMTS_ON_LOCATION NOTRANSL: Eingebaute Equipments zum Technischen Platz
INSTALLED_EQMTS_ON_LOC_READ NOTRANSL: Eingebaute Equipments zum Technischen Platz lesen
LOCATION_CHANGE_CHECK NOTRANSL: Ein- und Ausbau von Equipments auf Technischen Plätzen
PREPARE_IUID_HIERARCHY_DATA NOTRANSL: Prepare data for IUID hierarchy check
SEND_MESSAGES_FOR_OPERATION NOTRANSL: Nachrichten für ein-/auszubauende Equipments senden
SEND_POPUP_BEFORE_DISMANTLE NOTRANSL: Senden des Ausbau-Popups vor erneutem Einbau
SET_EQUI_TO_EQUI_HIERARCHY NOTRANSL: Übergabe der Nummer des TechnPlatzes an Unterequipments
SET_IFLO_TO_EQUI_INSTALLATION NOTRANSL: Übergabe der Daten des Techn. Platzes an eingebaute Equipments
SUBEQUI_READ_ONLY NOTRANSL: Lesen von Unterequipments zu einem bestimmten Zeitpunkt (1-stufi
SUBEQUI_READ_VIEW NOTRANSL: Lesen von Unterequipments (1-stufig / View)
USER_CHECK_FOR_EQUI_LOCATION NOTRANSL: Aufruf des User-Exits beim Ändern des Equipmenteinbauortes

IMPORTING Parameters details for EXIT_SAPLIEL2_001

MASTER_EQUIPMENT - Higher-Level Equipment (View)

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

SUBEQUIPMENT - Subequipment to be Assigned (View)

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

SUBEQUI_POSITION - Position of Subequipment in Higher-Level Equipment

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

EXCEPTIONS details

HIERARCHY_NOT_ALLOWED - Equipment Hierarchy Not Allowed

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

Copy and paste ABAP code example for EXIT_SAPLIEL2_001 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_master_equipment  TYPE V_EQUI, "   
lv_hierarchy_not_allowed  TYPE V_EQUI, "   
lv_subequipment  TYPE V_EQUI, "   
lv_subequi_position  TYPE V_EQUI-HEQNR. "   

  CALL FUNCTION 'EXIT_SAPLIEL2_001'  "Check of User-Defined Rules When Defining the Equipment Hierarchy
    EXPORTING
         MASTER_EQUIPMENT = lv_master_equipment
         SUBEQUIPMENT = lv_subequipment
         SUBEQUI_POSITION = lv_subequi_position
    EXCEPTIONS
        HIERARCHY_NOT_ALLOWED = 1
. " EXIT_SAPLIEL2_001




ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLIEL2_001

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 HEQNR FROM V_EQUI INTO @DATA(ld_subequi_position).
 


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!