SAP Function Modules

ISH_NTDC_READ SAP Function module - IS-H: Read Service Default Coverage







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

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


Pattern for FM ISH_NTDC_READ - ISH NTDC READ





CALL FUNCTION 'ISH_NTDC_READ' "IS-H: Read Service Default Coverage
  EXPORTING
    i_einri =                   " einri         Institution
    i_tarif =                   " tarid         IS-H: Service Catalog Identification Key
    i_talst =                   " tarls         Service in Service Catalog
*   i_kostr =                   " kh_kostr      IS-H: Insurance Provider
*   i_vtrty =                   " ish_vtrty     IS-H: Insurance Contract Scheme
*   i_enddt =                   " ri_enddt      End Date
*   i_begdt =                   " ri_begdt      Start Date
  IMPORTING
    et_ntdc =                   " ish_t_ntdc
  EXCEPTIONS
    EINRI_NOT_FOUND = 1         "               Institution Not Found
    SERVICE_NOT_FOUND = 2       "               Service Not Found
    .  "  ISH_NTDC_READ

ABAP code example for Function Module ISH_NTDC_READ





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

DATA(ld_i_einri) = 'Check type of data required'.
DATA(ld_i_tarif) = 'Check type of data required'.
DATA(ld_i_talst) = 'Check type of data required'.
DATA(ld_i_kostr) = 'Check type of data required'.
DATA(ld_i_vtrty) = 'Check type of data required'.
DATA(ld_i_enddt) = 'Check type of data required'.
DATA(ld_i_begdt) = 'Check type of data required'. . CALL FUNCTION 'ISH_NTDC_READ' EXPORTING i_einri = ld_i_einri i_tarif = ld_i_tarif i_talst = ld_i_talst * i_kostr = ld_i_kostr * i_vtrty = ld_i_vtrty * i_enddt = ld_i_enddt * i_begdt = ld_i_begdt IMPORTING et_ntdc = ld_et_ntdc EXCEPTIONS EINRI_NOT_FOUND = 1 SERVICE_NOT_FOUND = 2 . " ISH_NTDC_READ
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_et_ntdc  TYPE ISH_T_NTDC ,
ld_i_einri  TYPE EINRI ,
ld_i_tarif  TYPE TARID ,
ld_i_talst  TYPE TARLS ,
ld_i_kostr  TYPE KH_KOSTR ,
ld_i_vtrty  TYPE ISH_VTRTY ,
ld_i_enddt  TYPE RI_ENDDT ,
ld_i_begdt  TYPE RI_BEGDT .

ld_i_einri = 'Check type of data required'.
ld_i_tarif = 'Check type of data required'.
ld_i_talst = 'Check type of data required'.
ld_i_kostr = 'Check type of data required'.
ld_i_vtrty = 'Check type of data required'.
ld_i_enddt = 'Check type of data required'.
ld_i_begdt = 'Check type of data required'.

SAP Documentation for FM ISH_NTDC_READ


This function module is used to read default insurance coverage for services. ...See here for full SAP fm documentation







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