SAP Function Modules

ISU_DISCDOC_FILL_OBJTEXT SAP Function module - Private: Disconnection Document: Enter Texts for Disconnection Objects







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

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


Pattern for FM ISU_DISCDOC_FILL_OBJTEXT - ISU DISCDOC FILL OBJTEXT





CALL FUNCTION 'ISU_DISCDOC_FILL_OBJTEXT' "Private: Disconnection Document: Enter Texts for Disconnection Objects
  EXPORTING
    x_discobjtyp =              " ediscobj-discobjtyp  Disconnection Document: Disconnection Object
    x_logiknr =                 " logiknr       Logical Device Number
    x_logikzw =                 " logikzw       Logical register number
    x_anlage =                  " ediscobj-anlage  Installation
*   x_date =                    " sydatum       Current Date of Application Server
  CHANGING
    y_typestr =                 " eba_typstr    Object type (prepared for display)
    y_keystr =                  " eba_keystr    Object key (prepared for output)
    y_longtext =                " eba_longt     Multi-Purpose Text Field
*   y_equnr =                   " equnr         Equipment Number
    .  "  ISU_DISCDOC_FILL_OBJTEXT

ABAP code example for Function Module ISU_DISCDOC_FILL_OBJTEXT





The ABAP code below is a full code listing to execute function module ISU_DISCDOC_FILL_OBJTEXT 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_typestr) = 'Check type of data required'.
DATA(ld_y_keystr) = 'Check type of data required'.
DATA(ld_y_longtext) = 'Check type of data required'.
DATA(ld_y_equnr) = 'Check type of data required'.

SELECT single DISCOBJTYP
FROM EDISCOBJ
INTO @DATA(ld_x_discobjtyp).

DATA(ld_x_logiknr) = 'Check type of data required'.
DATA(ld_x_logikzw) = 'Check type of data required'.

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

DATA(ld_x_date) = '20210129'. . CALL FUNCTION 'ISU_DISCDOC_FILL_OBJTEXT' EXPORTING x_discobjtyp = ld_x_discobjtyp x_logiknr = ld_x_logiknr x_logikzw = ld_x_logikzw x_anlage = ld_x_anlage * x_date = ld_x_date CHANGING y_typestr = ld_y_typestr y_keystr = ld_y_keystr y_longtext = ld_y_longtext * y_equnr = ld_y_equnr . " ISU_DISCDOC_FILL_OBJTEXT
IF SY-SUBRC EQ 0. "All OK 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_typestr  TYPE EBA_TYPSTR ,
ld_x_discobjtyp  TYPE EDISCOBJ-DISCOBJTYP ,
ld_y_keystr  TYPE EBA_KEYSTR ,
ld_x_logiknr  TYPE LOGIKNR ,
ld_y_longtext  TYPE EBA_LONGT ,
ld_x_logikzw  TYPE LOGIKZW ,
ld_y_equnr  TYPE EQUNR ,
ld_x_anlage  TYPE EDISCOBJ-ANLAGE ,
ld_x_date  TYPE SYDATUM .

ld_y_typestr = '20210129'.

SELECT single DISCOBJTYP
FROM EDISCOBJ
INTO ld_x_discobjtyp.

ld_y_keystr = '20210129'.
ld_x_logiknr = '20210129'.
ld_y_longtext = '20210129'.
ld_x_logikzw = '20210129'.
ld_y_equnr = '20210129'.

SELECT single ANLAGE
FROM EDISCOBJ
INTO ld_x_anlage.

ld_x_date = '20210129'.

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