SAP ISU_METER_IDENTIFY Function Module for INTERNAL: Detetmine Device Uniquely on Entry of Serial Number
ISU_METER_IDENTIFY is a standard isu meter identify SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for INTERNAL: Detetmine Device Uniquely on Entry of Serial Number 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 isu meter identify FM, simply by entering the name ISU_METER_IDENTIFY into the relevant SAP transaction such as SE37 or SE38.
Function Group: E10I
Program Name: SAPLE10I
Main Program: SAPLE10I
Appliation area: E
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISU_METER_IDENTIFY 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 'ISU_METER_IDENTIFY'"INTERNAL: Detetmine Device Uniquely on Entry of Serial Number.
EXPORTING
* X_GERAET = ' ' "
* X_MATNR = ' ' "
* X_GERTYPKZ = ' ' "
* X_LAGER = ' ' "Warehouse
* X_NO_DIALOG = ' ' "No Dialog
* X_EXIT_FUNCTION = ' ' "
* X_READ_EGERR = ' ' "
* X_EGERR_SERVICE_PROV = ' ' "Service Provider for Device Info Record
* X_EQUNR = ' ' "Equipment Number
* X_EINBAU = ' ' "
* X_AUSBAU = ' ' "
* X_SCHROTT = ' ' "
* X_AB = SY-DATUM "
* X_BIS = SY-DATUM "
* X_SPARTYP = ' ' "Division Category
* X_SPARTE = ' ' "Division
IMPORTING
Y_V_EGER = "Device Data
Y_EGERR = "
Y_ETYP = "
Y_COUNT = "
Y_V_ETYP = "
Y_GERTYPTXT = "
TABLES
* T_EGER_DATA = "
* T_EGERR_DATA = "
EXCEPTIONS
METER_NOT_FOUND = 1 PARAMETERS_INVALID = 10 SYSTEM_ERROR = 11 NOT_QUALIFIED = 12 NO_METER_SPARTE = 2 NO_METER_SPARTYP = 3 NO_METER_LAGER = 4 NO_METER_MARK_LAGER = 5 NO_METER_MARK = 6 NO_METER_GERTYPKZ = 7 NO_METER_MATNR = 8 NO_METER_DATUM = 9
IMPORTING Parameters details for ISU_METER_IDENTIFY
X_GERAET -
Data type: V_EGER-GERAETDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_MATNR -
Data type: V_EGER-MATNRDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_GERTYPKZ -
Data type: TE057-GERTYPKZDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_LAGER - Warehouse
Data type: EQUI-LAGERDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_NO_DIALOG - No Dialog
Data type: REGEN-NO_DIALOGDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_EXIT_FUNCTION -
Data type: REGEN-BAUSTEINDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_READ_EGERR -
Data type: REGEN-KENNZXDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_EGERR_SERVICE_PROV - Service Provider for Device Info Record
Data type: EGERR_SERVICE_PROVDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_EQUNR - Equipment Number
Data type: V_EGER-EQUNRDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_EINBAU -
Data type: REGEN-KENNZXDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_AUSBAU -
Data type: REGEN-KENNZXDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_SCHROTT -
Data type: REGEN-KENNZXDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_AB -
Data type: EGERH-ABDefault: SY-DATUM
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_BIS -
Data type: EGERH-BISDefault: SY-DATUM
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_SPARTYP - Division Category
Data type: TESPT-SPARTYPDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_SPARTE - Division
Data type: ETYP-SPARTEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for ISU_METER_IDENTIFY
Y_V_EGER - Device Data
Data type: V_EGEROptional: No
Call by Reference: No ( called with pass by value option)
Y_EGERR -
Data type: EGERROptional: No
Call by Reference: No ( called with pass by value option)
Y_ETYP -
Data type: ETYPOptional: No
Call by Reference: No ( called with pass by value option)
Y_COUNT -
Data type: REGEN-MAXCOUNTOptional: No
Call by Reference: No ( called with pass by value option)
Y_V_ETYP -
Data type: V_ETYPOptional: No
Call by Reference: No ( called with pass by value option)
Y_GERTYPTXT -
Data type: METER_SLCT-GERTYPTXTOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for ISU_METER_IDENTIFY
T_EGER_DATA -
Data type: V_EGEROptional: Yes
Call by Reference: No ( called with pass by value option)
T_EGERR_DATA -
Data type: EGERROptional: Yes
Call by Reference: Yes
EXCEPTIONS details
METER_NOT_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
PARAMETERS_INVALID -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
SYSTEM_ERROR - System error
Data type:Optional: No
Call by Reference: Yes
NOT_QUALIFIED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_METER_SPARTE -
Data type:Optional: No
Call by Reference: Yes
NO_METER_SPARTYP -
Data type:Optional: No
Call by Reference: Yes
NO_METER_LAGER -
Data type:Optional: No
Call by Reference: Yes
NO_METER_MARK_LAGER -
Data type:Optional: No
Call by Reference: Yes
NO_METER_MARK -
Data type:Optional: No
Call by Reference: Yes
NO_METER_GERTYPKZ -
Data type:Optional: No
Call by Reference: Yes
NO_METER_MATNR -
Data type:Optional: No
Call by Reference: Yes
NO_METER_DATUM -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for ISU_METER_IDENTIFY 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_x_geraet | TYPE V_EGER-GERAET, " SPACE | |||
| lv_y_v_eger | TYPE V_EGER, " | |||
| lt_t_eger_data | TYPE STANDARD TABLE OF V_EGER, " | |||
| lv_meter_not_found | TYPE V_EGER, " | |||
| lv_x_matnr | TYPE V_EGER-MATNR, " SPACE | |||
| lv_parameters_invalid | TYPE V_EGER, " | |||
| lv_x_gertypkz | TYPE TE057-GERTYPKZ, " SPACE | |||
| lv_system_error | TYPE TE057, " | |||
| lv_x_lager | TYPE EQUI-LAGER, " SPACE | |||
| lv_not_qualified | TYPE EQUI, " | |||
| lv_x_no_dialog | TYPE REGEN-NO_DIALOG, " SPACE | |||
| lv_x_exit_function | TYPE REGEN-BAUSTEIN, " SPACE | |||
| lv_x_read_egerr | TYPE REGEN-KENNZX, " SPACE | |||
| lv_x_egerr_service_prov | TYPE EGERR_SERVICE_PROV, " SPACE | |||
| lv_x_equnr | TYPE V_EGER-EQUNR, " SPACE | |||
| lv_y_egerr | TYPE EGERR, " | |||
| lt_t_egerr_data | TYPE STANDARD TABLE OF EGERR, " | |||
| lv_no_meter_sparte | TYPE EGERR, " | |||
| lv_y_etyp | TYPE ETYP, " | |||
| lv_x_einbau | TYPE REGEN-KENNZX, " SPACE | |||
| lv_no_meter_spartyp | TYPE REGEN, " | |||
| lv_y_count | TYPE REGEN-MAXCOUNT, " | |||
| lv_x_ausbau | TYPE REGEN-KENNZX, " SPACE | |||
| lv_no_meter_lager | TYPE REGEN, " | |||
| lv_y_v_etyp | TYPE V_ETYP, " | |||
| lv_x_schrott | TYPE REGEN-KENNZX, " SPACE | |||
| lv_no_meter_mark_lager | TYPE REGEN, " | |||
| lv_x_ab | TYPE EGERH-AB, " SY-DATUM | |||
| lv_y_gertyptxt | TYPE METER_SLCT-GERTYPTXT, " | |||
| lv_no_meter_mark | TYPE METER_SLCT, " | |||
| lv_x_bis | TYPE EGERH-BIS, " SY-DATUM | |||
| lv_no_meter_gertypkz | TYPE EGERH, " | |||
| lv_x_spartyp | TYPE TESPT-SPARTYP, " SPACE | |||
| lv_no_meter_matnr | TYPE TESPT, " | |||
| lv_x_sparte | TYPE ETYP-SPARTE, " SPACE | |||
| lv_no_meter_datum | TYPE ETYP. " |
|   CALL FUNCTION 'ISU_METER_IDENTIFY' "INTERNAL: Detetmine Device Uniquely on Entry of Serial Number |
| EXPORTING | ||
| X_GERAET | = lv_x_geraet | |
| X_MATNR | = lv_x_matnr | |
| X_GERTYPKZ | = lv_x_gertypkz | |
| X_LAGER | = lv_x_lager | |
| X_NO_DIALOG | = lv_x_no_dialog | |
| X_EXIT_FUNCTION | = lv_x_exit_function | |
| X_READ_EGERR | = lv_x_read_egerr | |
| X_EGERR_SERVICE_PROV | = lv_x_egerr_service_prov | |
| X_EQUNR | = lv_x_equnr | |
| X_EINBAU | = lv_x_einbau | |
| X_AUSBAU | = lv_x_ausbau | |
| X_SCHROTT | = lv_x_schrott | |
| X_AB | = lv_x_ab | |
| X_BIS | = lv_x_bis | |
| X_SPARTYP | = lv_x_spartyp | |
| X_SPARTE | = lv_x_sparte | |
| IMPORTING | ||
| Y_V_EGER | = lv_y_v_eger | |
| Y_EGERR | = lv_y_egerr | |
| Y_ETYP | = lv_y_etyp | |
| Y_COUNT | = lv_y_count | |
| Y_V_ETYP | = lv_y_v_etyp | |
| Y_GERTYPTXT | = lv_y_gertyptxt | |
| TABLES | ||
| T_EGER_DATA | = lt_t_eger_data | |
| T_EGERR_DATA | = lt_t_egerr_data | |
| EXCEPTIONS | ||
| METER_NOT_FOUND = 1 | ||
| PARAMETERS_INVALID = 10 | ||
| SYSTEM_ERROR = 11 | ||
| NOT_QUALIFIED = 12 | ||
| NO_METER_SPARTE = 2 | ||
| NO_METER_SPARTYP = 3 | ||
| NO_METER_LAGER = 4 | ||
| NO_METER_MARK_LAGER = 5 | ||
| NO_METER_MARK = 6 | ||
| NO_METER_GERTYPKZ = 7 | ||
| NO_METER_MATNR = 8 | ||
| NO_METER_DATUM = 9 | ||
| . " ISU_METER_IDENTIFY | ||
ABAP code using 7.40 inline data declarations to call FM ISU_METER_IDENTIFY
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 GERAET FROM V_EGER INTO @DATA(ld_x_geraet). | ||||
| DATA(ld_x_geraet) | = ' '. | |||
| "SELECT single MATNR FROM V_EGER INTO @DATA(ld_x_matnr). | ||||
| DATA(ld_x_matnr) | = ' '. | |||
| "SELECT single GERTYPKZ FROM TE057 INTO @DATA(ld_x_gertypkz). | ||||
| DATA(ld_x_gertypkz) | = ' '. | |||
| "SELECT single LAGER FROM EQUI INTO @DATA(ld_x_lager). | ||||
| DATA(ld_x_lager) | = ' '. | |||
| "SELECT single NO_DIALOG FROM REGEN INTO @DATA(ld_x_no_dialog). | ||||
| DATA(ld_x_no_dialog) | = ' '. | |||
| "SELECT single BAUSTEIN FROM REGEN INTO @DATA(ld_x_exit_function). | ||||
| DATA(ld_x_exit_function) | = ' '. | |||
| "SELECT single KENNZX FROM REGEN INTO @DATA(ld_x_read_egerr). | ||||
| DATA(ld_x_read_egerr) | = ' '. | |||
| DATA(ld_x_egerr_service_prov) | = ' '. | |||
| "SELECT single EQUNR FROM V_EGER INTO @DATA(ld_x_equnr). | ||||
| DATA(ld_x_equnr) | = ' '. | |||
| "SELECT single KENNZX FROM REGEN INTO @DATA(ld_x_einbau). | ||||
| DATA(ld_x_einbau) | = ' '. | |||
| "SELECT single MAXCOUNT FROM REGEN INTO @DATA(ld_y_count). | ||||
| "SELECT single KENNZX FROM REGEN INTO @DATA(ld_x_ausbau). | ||||
| DATA(ld_x_ausbau) | = ' '. | |||
| "SELECT single KENNZX FROM REGEN INTO @DATA(ld_x_schrott). | ||||
| DATA(ld_x_schrott) | = ' '. | |||
| "SELECT single AB FROM EGERH INTO @DATA(ld_x_ab). | ||||
| DATA(ld_x_ab) | = SY-DATUM. | |||
| "SELECT single GERTYPTXT FROM METER_SLCT INTO @DATA(ld_y_gertyptxt). | ||||
| "SELECT single BIS FROM EGERH INTO @DATA(ld_x_bis). | ||||
| DATA(ld_x_bis) | = SY-DATUM. | |||
| "SELECT single SPARTYP FROM TESPT INTO @DATA(ld_x_spartyp). | ||||
| DATA(ld_x_spartyp) | = ' '. | |||
| "SELECT single SPARTE FROM ETYP INTO @DATA(ld_x_sparte). | ||||
| DATA(ld_x_sparte) | = ' '. | |||
Search for further information about these or an SAP related objects