SAP ISU_O_SMALL_DEVICE_CREATE Function Module for INTERNAL: Create New Device Info Record
ISU_O_SMALL_DEVICE_CREATE is a standard isu o small device create 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: Create New Device Info Record 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 o small device create FM, simply by entering the name ISU_O_SMALL_DEVICE_CREATE into the relevant SAP transaction such as SE37 or SE38.
Function Group: E10E_EGERR
Program Name: SAPLE10E_EGERR
Main Program: SAPLE10E_EGERR
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISU_O_SMALL_DEVICE_CREATE 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_O_SMALL_DEVICE_CREATE'"INTERNAL: Create New Device Info Record.
EXPORTING
* X_EQUNR = "Equipment Number
X_MATNR = "Material Number
X_SERNR = "Serial Number
* X_ETYP = "Device Category: IS-U Additional Material Data
* X_AB = '19000101' "Date from Which a Time Slice is Valid
* X_SPARTE = "Division
* X_SERNR_CREATE = '' "
IMPORTING
Y_EGERR = "
Y_ETYP = "Device Category: IS-U Additional Material Data
EXCEPTIONS
INVALID_PARAMETERS = 1 CUSTOMIZING_ERROR = 2 MATERIAL_NOT_FOUND = 3 MATNR_SERNR_EXISTS = 4 EQUIPMENT_EXISTS = 5 NUMBER_RANGE_ERROR = 6 NUMBER_RANGE_WARNING = 7 DIVISION_ERROR = 8 APPLICATION_ERROR = 9
IMPORTING Parameters details for ISU_O_SMALL_DEVICE_CREATE
X_EQUNR - Equipment Number
Data type: EQUNROptional: Yes
Call by Reference: Yes
X_MATNR - Material Number
Data type: MATNROptional: No
Call by Reference: Yes
X_SERNR - Serial Number
Data type: GERNROptional: No
Call by Reference: No ( called with pass by value option)
X_ETYP - Device Category: IS-U Additional Material Data
Data type: ETYPOptional: Yes
Call by Reference: Yes
X_AB - Date from Which a Time Slice is Valid
Data type: ABZEITSCHDefault: '19000101'
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_SPARTE - Division
Data type: SPARTEOptional: Yes
Call by Reference: Yes
X_SERNR_CREATE -
Data type: KENNZXDefault: ''
Optional: Yes
Call by Reference: Yes
EXPORTING Parameters details for ISU_O_SMALL_DEVICE_CREATE
Y_EGERR -
Data type: EGERROptional: No
Call by Reference: Yes
Y_ETYP - Device Category: IS-U Additional Material Data
Data type: ETYPOptional: No
Call by Reference: Yes
EXCEPTIONS details
INVALID_PARAMETERS - Errors in passing parameters
Data type:Optional: No
Call by Reference: Yes
CUSTOMIZING_ERROR - Error in customizing
Data type:Optional: No
Call by Reference: Yes
MATERIAL_NOT_FOUND -
Data type:Optional: No
Call by Reference: Yes
MATNR_SERNR_EXISTS -
Data type:Optional: No
Call by Reference: Yes
EQUIPMENT_EXISTS -
Data type:Optional: No
Call by Reference: Yes
NUMBER_RANGE_ERROR - Error during number assignment
Data type:Optional: No
Call by Reference: Yes
NUMBER_RANGE_WARNING -
Data type:Optional: No
Call by Reference: Yes
DIVISION_ERROR -
Data type:Optional: No
Call by Reference: Yes
APPLICATION_ERROR -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for ISU_O_SMALL_DEVICE_CREATE 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_equnr | TYPE EQUNR, " | |||
| lv_y_egerr | TYPE EGERR, " | |||
| lv_invalid_parameters | TYPE EGERR, " | |||
| lv_y_etyp | TYPE ETYP, " | |||
| lv_x_matnr | TYPE MATNR, " | |||
| lv_customizing_error | TYPE MATNR, " | |||
| lv_x_sernr | TYPE GERNR, " | |||
| lv_material_not_found | TYPE GERNR, " | |||
| lv_x_etyp | TYPE ETYP, " | |||
| lv_matnr_sernr_exists | TYPE ETYP, " | |||
| lv_x_ab | TYPE ABZEITSCH, " '19000101' | |||
| lv_equipment_exists | TYPE ABZEITSCH, " | |||
| lv_x_sparte | TYPE SPARTE, " | |||
| lv_number_range_error | TYPE SPARTE, " | |||
| lv_x_sernr_create | TYPE KENNZX, " '' | |||
| lv_number_range_warning | TYPE KENNZX, " | |||
| lv_division_error | TYPE KENNZX, " | |||
| lv_application_error | TYPE KENNZX. " |
|   CALL FUNCTION 'ISU_O_SMALL_DEVICE_CREATE' "INTERNAL: Create New Device Info Record |
| EXPORTING | ||
| X_EQUNR | = lv_x_equnr | |
| X_MATNR | = lv_x_matnr | |
| X_SERNR | = lv_x_sernr | |
| X_ETYP | = lv_x_etyp | |
| X_AB | = lv_x_ab | |
| X_SPARTE | = lv_x_sparte | |
| X_SERNR_CREATE | = lv_x_sernr_create | |
| IMPORTING | ||
| Y_EGERR | = lv_y_egerr | |
| Y_ETYP | = lv_y_etyp | |
| EXCEPTIONS | ||
| INVALID_PARAMETERS = 1 | ||
| CUSTOMIZING_ERROR = 2 | ||
| MATERIAL_NOT_FOUND = 3 | ||
| MATNR_SERNR_EXISTS = 4 | ||
| EQUIPMENT_EXISTS = 5 | ||
| NUMBER_RANGE_ERROR = 6 | ||
| NUMBER_RANGE_WARNING = 7 | ||
| DIVISION_ERROR = 8 | ||
| APPLICATION_ERROR = 9 | ||
| . " ISU_O_SMALL_DEVICE_CREATE | ||
ABAP code using 7.40 inline data declarations to call FM ISU_O_SMALL_DEVICE_CREATE
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_x_ab) | = '19000101'. | |||
| DATA(ld_x_sernr_create) | = ''. | |||
Search for further information about these or an SAP related objects