SAP ISU_DET_DEVICE_FROM_INST Function Module for INTERNAL: Determination of Devs Installed in Installation After Key Date
ISU_DET_DEVICE_FROM_INST is a standard isu det device from inst 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: Determination of Devs Installed in Installation After Key Date 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 det device from inst FM, simply by entering the name ISU_DET_DEVICE_FROM_INST into the relevant SAP transaction such as SE37 or SE38.
Function Group: E70X
Program Name: SAPLE70X
Main Program: SAPLE70X
Appliation area: E
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISU_DET_DEVICE_FROM_INST 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_DET_DEVICE_FROM_INST'"INTERNAL: Determination of Devs Installed in Installation After Key Date.
EXPORTING
X_ANLAGE = "
X_KEYDATE = "Key Date
* X_ONLY_KEYDATE = ' ' "
CHANGING
XY_T_GER = "
EXCEPTIONS
NOT_FOUND = 1 INTERNAL_ERROR = 2 SYSTEM_ERROR = 3
IMPORTING Parameters details for ISU_DET_DEVICE_FROM_INST
X_ANLAGE -
Data type: REG30-ANLAGEOptional: No
Call by Reference: No ( called with pass by value option)
X_KEYDATE - Key Date
Data type: SY-DATUMOptional: No
Call by Reference: No ( called with pass by value option)
X_ONLY_KEYDATE -
Data type: KENNZXDefault: SPACE
Optional: Yes
Call by Reference: Yes
CHANGING Parameters details for ISU_DET_DEVICE_FROM_INST
XY_T_GER -
Data type: ISU07_TWD_GERTAB_TOptional: No
Call by Reference: Yes
EXCEPTIONS details
NOT_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
INTERNAL_ERROR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
SYSTEM_ERROR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ISU_DET_DEVICE_FROM_INST 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_xy_t_ger | TYPE ISU07_TWD_GERTAB_T, " | |||
| lv_x_anlage | TYPE REG30-ANLAGE, " | |||
| lv_not_found | TYPE REG30, " | |||
| lv_x_keydate | TYPE SY-DATUM, " | |||
| lv_internal_error | TYPE SY, " | |||
| lv_system_error | TYPE SY, " | |||
| lv_x_only_keydate | TYPE KENNZX. " SPACE |
|   CALL FUNCTION 'ISU_DET_DEVICE_FROM_INST' "INTERNAL: Determination of Devs Installed in Installation After Key Date |
| EXPORTING | ||
| X_ANLAGE | = lv_x_anlage | |
| X_KEYDATE | = lv_x_keydate | |
| X_ONLY_KEYDATE | = lv_x_only_keydate | |
| CHANGING | ||
| XY_T_GER | = lv_xy_t_ger | |
| EXCEPTIONS | ||
| NOT_FOUND = 1 | ||
| INTERNAL_ERROR = 2 | ||
| SYSTEM_ERROR = 3 | ||
| . " ISU_DET_DEVICE_FROM_INST | ||
ABAP code using 7.40 inline data declarations to call FM ISU_DET_DEVICE_FROM_INST
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 ANLAGE FROM REG30 INTO @DATA(ld_x_anlage). | ||||
| "SELECT single DATUM FROM SY INTO @DATA(ld_x_keydate). | ||||
| DATA(ld_x_only_keydate) | = ' '. | |||
Search for further information about these or an SAP related objects