SAP Function Modules

ISU_S_TRIGGER_DISPLAY SAP Function module - INTERNAL: Display Billing Order







ISU_S_TRIGGER_DISPLAY 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_S_TRIGGER_DISPLAY into the relevant SAP transaction such as SE37 or SE80.

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


Pattern for FM ISU_S_TRIGGER_DISPLAY - ISU S TRIGGER DISPLAY





CALL FUNCTION 'ISU_S_TRIGGER_DISPLAY' "INTERNAL: Display Billing Order
  EXPORTING
    x_anlage =                  " etrg-anlage   Object key 1
    x_abrdats =                 " etrg-abrdats  Object key 2
    x_abrvorg =                 " etrg-abrvorg  Object key 3
*   x_upd_online =              " regen-upd_online  Indicator: Update Online
*   x_no_change =               " regen-no_change
*   x_no_other =                " regen-no_other  Indicator: 'Other object' not permitted
  IMPORTING
    y_db_update =               " regen-db_update  Indicator: data change
    y_exit_type =               " regen-exit_type  Return Mode (EXIT, BACK, CANC)
    y_new_etrg =                " etrg
  EXCEPTIONS
    NOT_FOUND = 1               "               Object Not Found
    GENERAL_FAULT = 2           "               General Error
    .  "  ISU_S_TRIGGER_DISPLAY

ABAP code example for Function Module ISU_S_TRIGGER_DISPLAY





The ABAP code below is a full code listing to execute function module ISU_S_TRIGGER_DISPLAY 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_db_update  TYPE REGEN-DB_UPDATE ,
ld_y_exit_type  TYPE REGEN-EXIT_TYPE ,
ld_y_new_etrg  TYPE ETRG .


SELECT single ANLAGE
FROM ETRG
INTO @DATA(ld_x_anlage).


SELECT single ABRDATS
FROM ETRG
INTO @DATA(ld_x_abrdats).


SELECT single ABRVORG
FROM ETRG
INTO @DATA(ld_x_abrvorg).


DATA(ld_x_upd_online) = some text here

DATA(ld_x_no_change) = some text here

DATA(ld_x_no_other) = some text here . CALL FUNCTION 'ISU_S_TRIGGER_DISPLAY' EXPORTING x_anlage = ld_x_anlage x_abrdats = ld_x_abrdats x_abrvorg = ld_x_abrvorg * x_upd_online = ld_x_upd_online * x_no_change = ld_x_no_change * x_no_other = ld_x_no_other IMPORTING y_db_update = ld_y_db_update y_exit_type = ld_y_exit_type y_new_etrg = ld_y_new_etrg EXCEPTIONS NOT_FOUND = 1 GENERAL_FAULT = 2 . " ISU_S_TRIGGER_DISPLAY
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 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_y_db_update  TYPE REGEN-DB_UPDATE ,
ld_x_anlage  TYPE ETRG-ANLAGE ,
ld_y_exit_type  TYPE REGEN-EXIT_TYPE ,
ld_x_abrdats  TYPE ETRG-ABRDATS ,
ld_y_new_etrg  TYPE ETRG ,
ld_x_abrvorg  TYPE ETRG-ABRVORG ,
ld_x_upd_online  TYPE REGEN-UPD_ONLINE ,
ld_x_no_change  TYPE REGEN-NO_CHANGE ,
ld_x_no_other  TYPE REGEN-NO_OTHER .


SELECT single ANLAGE
FROM ETRG
INTO ld_x_anlage.


SELECT single ABRDATS
FROM ETRG
INTO ld_x_abrdats.


SELECT single ABRVORG
FROM ETRG
INTO ld_x_abrvorg.


ld_x_upd_online = some text here

ld_x_no_change = some text here

ld_x_no_other = some text here

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_S_TRIGGER_DISPLAY or its description.