SAP ISU_O_DEVICERATE_ACTION Function Module for INTERNAL: Actions of Subscreens









ISU_O_DEVICERATE_ACTION is a standard isu o devicerate action 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: Actions of Subscreens 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 devicerate action FM, simply by entering the name ISU_O_DEVICERATE_ACTION into the relevant SAP transaction such as SE37 or SE38.

Function Group: EG70
Program Name: SAPLEG70
Main Program: SAPLEG70
Appliation area: E
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function ISU_O_DEVICERATE_ACTION 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_DEVICERATE_ACTION'"INTERNAL: Actions of Subscreens
EXPORTING
X_OKCODE = "OK Code (from IEOKCODE)
* X_NO_CLOSE = "Indicator: Do Not Close Object (OTHR & SWTC)
* X_NO_MESSAGE = "Indicator: Do Not Print Message (SAVE)
* X_OTHER_ANLAGE = "
* X_OTHER_GERAET = "
* X_OTHER_KEYDATE = "
* X_KEYDATE = "

IMPORTING
Y_INSTALL_STRUC = "Category Definition for Entire Installation Structure

CHANGING
XY_OBJ = "Object Data

EXCEPTIONS
CANCELLED = 1 INTERNAL_ERROR = 2 FAILED = 3 SYSTEM_ERROR = 4
.



IMPORTING Parameters details for ISU_O_DEVICERATE_ACTION

X_OKCODE - OK Code (from IEOKCODE)

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

X_NO_CLOSE - Indicator: Do Not Close Object (OTHR & SWTC)

Data type: REGEN-KENNZX
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_NO_MESSAGE - Indicator: Do Not Print Message (SAVE)

Data type: REGEN-KENNZX
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_OTHER_ANLAGE -

Data type: REG70-ANLAGE
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_OTHER_GERAET -

Data type: REG70-GERAET
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_OTHER_KEYDATE -

Data type: REG70-STICHTAG
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_KEYDATE -

Data type: REG70-STICHTAG
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for ISU_O_DEVICERATE_ACTION

Y_INSTALL_STRUC - Category Definition for Entire Installation Structure

Data type: ISU07_INSTALL_STRUC
Optional: No
Call by Reference: Yes

CHANGING Parameters details for ISU_O_DEVICERATE_ACTION

XY_OBJ - Object Data

Data type: ISU70_DEVICERATE
Optional: No
Call by Reference: Yes

EXCEPTIONS details

CANCELLED - Action Cancelled by User

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)

FAILED -

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

SYSTEM_ERROR -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for ISU_O_DEVICERATE_ACTION 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_obj  TYPE ISU70_DEVICERATE, "   
lv_x_okcode  TYPE REGEN-OKCODE, "   
lv_cancelled  TYPE REGEN, "   
lv_y_install_struc  TYPE ISU07_INSTALL_STRUC, "   
lv_x_no_close  TYPE REGEN-KENNZX, "   
lv_internal_error  TYPE REGEN, "   
lv_failed  TYPE REGEN, "   
lv_x_no_message  TYPE REGEN-KENNZX, "   
lv_system_error  TYPE REGEN, "   
lv_x_other_anlage  TYPE REG70-ANLAGE, "   
lv_x_other_geraet  TYPE REG70-GERAET, "   
lv_x_other_keydate  TYPE REG70-STICHTAG, "   
lv_x_keydate  TYPE REG70-STICHTAG. "   

  CALL FUNCTION 'ISU_O_DEVICERATE_ACTION'  "INTERNAL: Actions of Subscreens
    EXPORTING
         X_OKCODE = lv_x_okcode
         X_NO_CLOSE = lv_x_no_close
         X_NO_MESSAGE = lv_x_no_message
         X_OTHER_ANLAGE = lv_x_other_anlage
         X_OTHER_GERAET = lv_x_other_geraet
         X_OTHER_KEYDATE = lv_x_other_keydate
         X_KEYDATE = lv_x_keydate
    IMPORTING
         Y_INSTALL_STRUC = lv_y_install_struc
    CHANGING
         XY_OBJ = lv_xy_obj
    EXCEPTIONS
        CANCELLED = 1
        INTERNAL_ERROR = 2
        FAILED = 3
        SYSTEM_ERROR = 4
. " ISU_O_DEVICERATE_ACTION




ABAP code using 7.40 inline data declarations to call FM ISU_O_DEVICERATE_ACTION

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 OKCODE FROM REGEN INTO @DATA(ld_x_okcode).
 
 
 
"SELECT single KENNZX FROM REGEN INTO @DATA(ld_x_no_close).
 
 
 
"SELECT single KENNZX FROM REGEN INTO @DATA(ld_x_no_message).
 
 
"SELECT single ANLAGE FROM REG70 INTO @DATA(ld_x_other_anlage).
 
"SELECT single GERAET FROM REG70 INTO @DATA(ld_x_other_geraet).
 
"SELECT single STICHTAG FROM REG70 INTO @DATA(ld_x_other_keydate).
 
"SELECT single STICHTAG FROM REG70 INTO @DATA(ld_x_keydate).
 


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!