SAP Function Modules

ISU_O_UI_ACTION SAP Function module - Operation for Point of Delivery Dialog - Action







ISU_O_UI_ACTION is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.

See here to view full function module documentation and code listing, simply by entering the name ISU_O_UI_ACTION into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: EEDM_UI_DIALOG
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM ISU_O_UI_ACTION - ISU O UI ACTION





CALL FUNCTION 'ISU_O_UI_ACTION' "Operation for Point of Delivery Dialog - Action
  EXPORTING
    x_okcode =                  " regen-okcode  Function Code
*   x_cont =                    " sweconttab    Container table
*   x_wmode =                   " regen-wmode   Processing Mode (1 = Display, 2 = Change, 3 = Create...)
*   x_upd_online =              " regen-upd_online  Update online
*   x_no_change =               " regen-no_change  No Changes Allowed
*   x_no_other =                " regen-no_other  No other Object Permitted
*   x_inst_call =               " flag
  IMPORTING
    y_object_opened =           " kennzx        Indicator
    y_frame_auto_opened =       " ieedm_frame_auto  Container table
    y_frame_auto_replace =      " kennzx        Indicator
    y_title =                   " grtitlebar    Window Title
    yt_okcode =                 " iokcode       Table Type for OK Codes
    y_cont =                    " sweconttab    Container table
  CHANGING
    xy_obj =                    " eedm_ui_object  Point of Delivery Object
  EXCEPTIONS
    CANCELLED = 1               "
    NOT_PROCESSED = 2           "
    OPEN_ERROR = 3              "
    FOREIGN_LOCK = 4            "
    USER_ERROR = 5              "
    SYSTEM_ERROR = 6            "
    .  "  ISU_O_UI_ACTION

ABAP code example for Function Module ISU_O_UI_ACTION





The ABAP code below is a full code listing to execute function module ISU_O_UI_ACTION including all data declarations. The code uses 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 original method of declaring data variables up front. 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).

DATA:
ld_y_object_opened  TYPE KENNZX ,
ld_y_frame_auto_opened  TYPE IEEDM_FRAME_AUTO ,
ld_y_frame_auto_replace  TYPE KENNZX ,
ld_y_title  TYPE GRTITLEBAR ,
ld_yt_okcode  TYPE IOKCODE ,
ld_y_cont  TYPE SWECONTTAB .

DATA(ld_xy_obj) = 'Check type of data required'.

DATA(ld_x_okcode) = some text here
DATA(ld_x_cont) = 'Check type of data required'.

DATA(ld_x_wmode) = some text here

DATA(ld_x_upd_online) = some text here

DATA(ld_x_no_change) = some text here

DATA(ld_x_no_other) = some text here
DATA(ld_x_inst_call) = 'Check type of data required'. . CALL FUNCTION 'ISU_O_UI_ACTION' EXPORTING x_okcode = ld_x_okcode * x_cont = ld_x_cont * x_wmode = ld_x_wmode * x_upd_online = ld_x_upd_online * x_no_change = ld_x_no_change * x_no_other = ld_x_no_other * x_inst_call = ld_x_inst_call IMPORTING y_object_opened = ld_y_object_opened y_frame_auto_opened = ld_y_frame_auto_opened y_frame_auto_replace = ld_y_frame_auto_replace y_title = ld_y_title yt_okcode = ld_yt_okcode y_cont = ld_y_cont CHANGING xy_obj = ld_xy_obj EXCEPTIONS CANCELLED = 1 NOT_PROCESSED = 2 OPEN_ERROR = 3 FOREIGN_LOCK = 4 USER_ERROR = 5 SYSTEM_ERROR = 6 . " ISU_O_UI_ACTION
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 2. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 3. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 4. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 5. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 6. "Exception "Add code for exception here ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.

DATA:
ld_xy_obj  TYPE EEDM_UI_OBJECT ,
ld_y_object_opened  TYPE KENNZX ,
ld_x_okcode  TYPE REGEN-OKCODE ,
ld_y_frame_auto_opened  TYPE IEEDM_FRAME_AUTO ,
ld_x_cont  TYPE SWECONTTAB ,
ld_y_frame_auto_replace  TYPE KENNZX ,
ld_x_wmode  TYPE REGEN-WMODE ,
ld_y_title  TYPE GRTITLEBAR ,
ld_x_upd_online  TYPE REGEN-UPD_ONLINE ,
ld_yt_okcode  TYPE IOKCODE ,
ld_x_no_change  TYPE REGEN-NO_CHANGE ,
ld_y_cont  TYPE SWECONTTAB ,
ld_x_no_other  TYPE REGEN-NO_OTHER ,
ld_x_inst_call  TYPE FLAG .

ld_xy_obj = 'Check type of data required'.

ld_x_okcode = some text here
ld_x_cont = 'Check type of data required'.

ld_x_wmode = some text here

ld_x_upd_online = some text here

ld_x_no_change = some text here

ld_x_no_other = some text here
ld_x_inst_call = 'Check type of data required'.

Contribute (Add Comments)

Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name ISU_O_UI_ACTION or its description.