SAP EXIT_SAPMIEQ0_001 Function Module for Check of Customer-Defined Rules Before Equipment Update
EXIT_SAPMIEQ0_001 is a standard exit sapmieq0 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 Customer-Defined Rules Before Equipment Update 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 sapmieq0 001 FM, simply by entering the name EXIT_SAPMIEQ0_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_SAPMIEQ0_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_SAPMIEQ0_001'"Check of Customer-Defined Rules Before Equipment Update.
EXPORTING
ACTIVITY_TYPE = "Transaction Type: 1 = Add; 2 = Change
DATA_EQUI = "Equipment Master Data (Table EQUI)
DATA_EQKT = "Equipment Short Text (Table EQKT)
DATA_EQUZ = "Equipment Usage Period (Table EQUZ)
DATA_ILOA = "Equipment Location Data (Table ILOA)
MAIN_CLASS = "Standard Class Assigned to Equipment
IMPORTING
UPDATE_DATA_EQ = "Defined Values of Specific Fields from EQUI
UPDATE_FLAGS_EQ = "Update Indicators per Field in UPDATE_DATA_EQ
UPDATE_DATA_EZ = "Defined Values of Specific Fields from EQUZ/ILOA
UPDATE_FLAGS_EZ = "Update Indicators per Field in UPDATE_DATA_EZ
EXCEPTIONS
POSTING_NOT_ALLOWED = 1 POSTING_NOT_ALLOWED_EXT = 2
IMPORTING Parameters details for EXIT_SAPMIEQ0_001
ACTIVITY_TYPE - Transaction Type: 1 = Add; 2 = Change
Data type: IREF-ACTYPOptional: No
Call by Reference: No ( called with pass by value option)
DATA_EQUI - Equipment Master Data (Table EQUI)
Data type: EQUIOptional: No
Call by Reference: No ( called with pass by value option)
DATA_EQKT - Equipment Short Text (Table EQKT)
Data type: EQKTOptional: No
Call by Reference: No ( called with pass by value option)
DATA_EQUZ - Equipment Usage Period (Table EQUZ)
Data type: EQUZOptional: No
Call by Reference: No ( called with pass by value option)
DATA_ILOA - Equipment Location Data (Table ILOA)
Data type: ILOAOptional: No
Call by Reference: No ( called with pass by value option)
MAIN_CLASS - Standard Class Assigned to Equipment
Data type: RM63E-KLASSEOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for EXIT_SAPMIEQ0_001
UPDATE_DATA_EQ - Defined Values of Specific Fields from EQUI
Data type: ISTRU_EQOptional: No
Call by Reference: No ( called with pass by value option)
UPDATE_FLAGS_EQ - Update Indicators per Field in UPDATE_DATA_EQ
Data type: ISTRU_EQ_UOptional: No
Call by Reference: No ( called with pass by value option)
UPDATE_DATA_EZ - Defined Values of Specific Fields from EQUZ/ILOA
Data type: ISTRU_EZOptional: No
Call by Reference: No ( called with pass by value option)
UPDATE_FLAGS_EZ - Update Indicators per Field in UPDATE_DATA_EZ
Data type: ISTRU_EZ_UOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
POSTING_NOT_ALLOWED - Update not Allowed, SAP Standard Notification
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
POSTING_NOT_ALLOWED_EXT - Update not Allowed, Customer-Defined Notification
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for EXIT_SAPMIEQ0_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_activity_type | TYPE IREF-ACTYP, " | |||
lv_update_data_eq | TYPE ISTRU_EQ, " | |||
lv_posting_not_allowed | TYPE ISTRU_EQ, " | |||
lv_data_equi | TYPE EQUI, " | |||
lv_update_flags_eq | TYPE ISTRU_EQ_U, " | |||
lv_posting_not_allowed_ext | TYPE ISTRU_EQ_U, " | |||
lv_data_eqkt | TYPE EQKT, " | |||
lv_update_data_ez | TYPE ISTRU_EZ, " | |||
lv_data_equz | TYPE EQUZ, " | |||
lv_update_flags_ez | TYPE ISTRU_EZ_U, " | |||
lv_data_iloa | TYPE ILOA, " | |||
lv_main_class | TYPE RM63E-KLASSE. " |
  CALL FUNCTION 'EXIT_SAPMIEQ0_001' "Check of Customer-Defined Rules Before Equipment Update |
EXPORTING | ||
ACTIVITY_TYPE | = lv_activity_type | |
DATA_EQUI | = lv_data_equi | |
DATA_EQKT | = lv_data_eqkt | |
DATA_EQUZ | = lv_data_equz | |
DATA_ILOA | = lv_data_iloa | |
MAIN_CLASS | = lv_main_class | |
IMPORTING | ||
UPDATE_DATA_EQ | = lv_update_data_eq | |
UPDATE_FLAGS_EQ | = lv_update_flags_eq | |
UPDATE_DATA_EZ | = lv_update_data_ez | |
UPDATE_FLAGS_EZ | = lv_update_flags_ez | |
EXCEPTIONS | ||
POSTING_NOT_ALLOWED = 1 | ||
POSTING_NOT_ALLOWED_EXT = 2 | ||
. " EXIT_SAPMIEQ0_001 |
ABAP code using 7.40 inline data declarations to call FM EXIT_SAPMIEQ0_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 ACTYP FROM IREF INTO @DATA(ld_activity_type). | ||||
"SELECT single KLASSE FROM RM63E INTO @DATA(ld_main_class). | ||||
Search for further information about these or an SAP related objects