SAP Function Modules

ISH_EXCAT_CHECK SAP Function module







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

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


Pattern for FM ISH_EXCAT_CHECK - ISH EXCAT CHECK





CALL FUNCTION 'ISH_EXCAT_CHECK' "
  EXPORTING
    i_einri =                   " tn19f-einri
    i_excat =                   " tn19f-excat
*   i_langu = SY-LANGU          " tn19f_t-spras
  IMPORTING
    es_tn19f =                  " tn19f
    e_ectxt =                   " tn19f_t-ectxt
  EXCEPTIONS
    NOT_FOUND = 1               "
    .  "  ISH_EXCAT_CHECK

ABAP code example for Function Module ISH_EXCAT_CHECK





The ABAP code below is a full code listing to execute function module ISH_EXCAT_CHECK 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_es_tn19f  TYPE TN19F ,
ld_e_ectxt  TYPE TN19F_T-ECTXT .


SELECT single EINRI
FROM TN19F
INTO @DATA(ld_i_einri).


SELECT single EXCAT
FROM TN19F
INTO @DATA(ld_i_excat).


SELECT single SPRAS
FROM TN19F_T
INTO @DATA(ld_i_langu).
. CALL FUNCTION 'ISH_EXCAT_CHECK' EXPORTING i_einri = ld_i_einri i_excat = ld_i_excat * i_langu = ld_i_langu IMPORTING es_tn19f = ld_es_tn19f e_ectxt = ld_e_ectxt EXCEPTIONS NOT_FOUND = 1 . " ISH_EXCAT_CHECK
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "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_es_tn19f  TYPE TN19F ,
ld_i_einri  TYPE TN19F-EINRI ,
ld_e_ectxt  TYPE TN19F_T-ECTXT ,
ld_i_excat  TYPE TN19F-EXCAT ,
ld_i_langu  TYPE TN19F_T-SPRAS .


SELECT single EINRI
FROM TN19F
INTO ld_i_einri.


SELECT single EXCAT
FROM TN19F
INTO ld_i_excat.


SELECT single SPRAS
FROM TN19F_T
INTO ld_i_langu.

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