SAP Function Modules

ISU_S_CONSUMPT_DISPLAY SAP Function module - INTERNAL: Object Display







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

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


Pattern for FM ISU_S_CONSUMPT_DISPLAY - ISU S CONSUMPT DISPLAY





CALL FUNCTION 'ISU_S_CONSUMPT_DISPLAY' "INTERNAL: Object Display
* EXPORTING
*   x_vertrag =                 " easted-vertrag
*   x_anlage =                  " easted-anlage
*   x_geraet =                  " easted-geraet
*   x_logikzw =                 " easte-logikzw
*   x_upd_online =              " regen-upd_online
*   x_no_change =               " regen-no_change
*   x_no_other =                " regen-no_other
  IMPORTING
    y_db_update =               " regen-db_update
    y_exit_type =               " regen-exit_type
* CHANGING
*   xy_auto =                   " pecon_easte_auto
  EXCEPTIONS
    NOT_FOUND = 1               "
    INVALID_KEY = 2             "
    GENERAL_FAULT = 3           "
    .  "  ISU_S_CONSUMPT_DISPLAY

ABAP code example for Function Module ISU_S_CONSUMPT_DISPLAY





The ABAP code below is a full code listing to execute function module ISU_S_CONSUMPT_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 .

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

DATA(ld_x_vertrag) = some text here

DATA(ld_x_anlage) = some text here

DATA(ld_x_geraet) = some text here

SELECT single LOGIKZW
FROM EASTE
INTO @DATA(ld_x_logikzw).


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_CONSUMPT_DISPLAY' * EXPORTING * x_vertrag = ld_x_vertrag * x_anlage = ld_x_anlage * x_geraet = ld_x_geraet * x_logikzw = ld_x_logikzw * 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 * CHANGING * xy_auto = ld_xy_auto EXCEPTIONS NOT_FOUND = 1 INVALID_KEY = 2 GENERAL_FAULT = 3 . " ISU_S_CONSUMPT_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 ELSEIF SY-SUBRC EQ 3. "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_auto  TYPE PECON_EASTE_AUTO ,
ld_y_db_update  TYPE REGEN-DB_UPDATE ,
ld_x_vertrag  TYPE EASTED-VERTRAG ,
ld_y_exit_type  TYPE REGEN-EXIT_TYPE ,
ld_x_anlage  TYPE EASTED-ANLAGE ,
ld_x_geraet  TYPE EASTED-GERAET ,
ld_x_logikzw  TYPE EASTE-LOGIKZW ,
ld_x_upd_online  TYPE REGEN-UPD_ONLINE ,
ld_x_no_change  TYPE REGEN-NO_CHANGE ,
ld_x_no_other  TYPE REGEN-NO_OTHER .

ld_xy_auto = 'Check type of data required'.

ld_x_vertrag = some text here

ld_x_anlage = some text here

ld_x_geraet = some text here

SELECT single LOGIKZW
FROM EASTE
INTO ld_x_logikzw.


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