SAP ISH_READ_TNVSL Function Module for
ISH_READ_TNVSL is a standard ish read tnvsl SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for ish read tnvsl FM, simply by entering the name ISH_READ_TNVSL into the relevant SAP transaction such as SE37 or SE38.
Function Group: N029
Program Name: SAPLN029
Main Program: SAPLN029
Appliation area: N
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISH_READ_TNVSL pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'ISH_READ_TNVSL'".
EXPORTING
EINRICHTUNG = "Institution
BEWEGUNGSTYP = "Movement Category
BEWEGUNGSART = "Movement Type
STICHTAG = "Key date
* ACT_FALNR = "Case Number
* ACT_LNRLS = "Sequence Number of Service
FALLART = "Case Type
KATALOG = "Service Catalog
LSTTYP = "Service Category
LEISTUNG = "Service
* KTART = "Insurance Provider Type
* KOSTR = "Insurance Provider
* VTRTY = "
ERBOE = "Performing Organizational Unit
IMPORTING
VERGUETUNGSSATZ = "Determined assessment rate
EXCEPTIONS
TNVSL_NOT_FOUND = 1
IMPORTING Parameters details for ISH_READ_TNVSL
EINRICHTUNG - Institution
Data type: TN01-EINRIOptional: No
Call by Reference: No ( called with pass by value option)
BEWEGUNGSTYP - Movement Category
Data type: TN14B-BEWTYOptional: No
Call by Reference: No ( called with pass by value option)
BEWEGUNGSART - Movement Type
Data type: TN14B-BWARTOptional: No
Call by Reference: No ( called with pass by value option)
STICHTAG - Key date
Data type: SY-DATUMOptional: No
Call by Reference: No ( called with pass by value option)
ACT_FALNR - Case Number
Data type: NFAL-FALNROptional: Yes
Call by Reference: No ( called with pass by value option)
ACT_LNRLS - Sequence Number of Service
Data type: NLEI-LNRLSOptional: Yes
Call by Reference: No ( called with pass by value option)
FALLART - Case Type
Data type: NFAL-FALAROptional: No
Call by Reference: No ( called with pass by value option)
KATALOG - Service Catalog
Data type: TNK01-KATIDOptional: No
Call by Reference: No ( called with pass by value option)
LSTTYP - Service Category
Data type: TN20-TAGRUOptional: No
Call by Reference: No ( called with pass by value option)
LEISTUNG - Service
Data type: NLEI-LEISTOptional: No
Call by Reference: No ( called with pass by value option)
KTART - Insurance Provider Type
Data type: NKTR-KTARTOptional: Yes
Call by Reference: No ( called with pass by value option)
KOSTR - Insurance Provider
Data type: NKTR-KOSTROptional: Yes
Call by Reference: No ( called with pass by value option)
VTRTY -
Data type: TN16-VTRTYOptional: Yes
Call by Reference: No ( called with pass by value option)
ERBOE - Performing Organizational Unit
Data type: NLEI-ERBOEOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for ISH_READ_TNVSL
VERGUETUNGSSATZ - Determined assessment rate
Data type: NLEI-TARASOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
TNVSL_NOT_FOUND - Assessment rate could not be determined
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ISH_READ_TNVSL Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than 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 newer method of declaring data variables on the fly. 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), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_einrichtung | TYPE TN01-EINRI, " | |||
| lv_tnvsl_not_found | TYPE TN01, " | |||
| lv_verguetungssatz | TYPE NLEI-TARAS, " | |||
| lv_bewegungstyp | TYPE TN14B-BEWTY, " | |||
| lv_bewegungsart | TYPE TN14B-BWART, " | |||
| lv_stichtag | TYPE SY-DATUM, " | |||
| lv_act_falnr | TYPE NFAL-FALNR, " | |||
| lv_act_lnrls | TYPE NLEI-LNRLS, " | |||
| lv_fallart | TYPE NFAL-FALAR, " | |||
| lv_katalog | TYPE TNK01-KATID, " | |||
| lv_lsttyp | TYPE TN20-TAGRU, " | |||
| lv_leistung | TYPE NLEI-LEIST, " | |||
| lv_ktart | TYPE NKTR-KTART, " | |||
| lv_kostr | TYPE NKTR-KOSTR, " | |||
| lv_vtrty | TYPE TN16-VTRTY, " | |||
| lv_erboe | TYPE NLEI-ERBOE. " |
|   CALL FUNCTION 'ISH_READ_TNVSL' " |
| EXPORTING | ||
| EINRICHTUNG | = lv_einrichtung | |
| BEWEGUNGSTYP | = lv_bewegungstyp | |
| BEWEGUNGSART | = lv_bewegungsart | |
| STICHTAG | = lv_stichtag | |
| ACT_FALNR | = lv_act_falnr | |
| ACT_LNRLS | = lv_act_lnrls | |
| FALLART | = lv_fallart | |
| KATALOG | = lv_katalog | |
| LSTTYP | = lv_lsttyp | |
| LEISTUNG | = lv_leistung | |
| KTART | = lv_ktart | |
| KOSTR | = lv_kostr | |
| VTRTY | = lv_vtrty | |
| ERBOE | = lv_erboe | |
| IMPORTING | ||
| VERGUETUNGSSATZ | = lv_verguetungssatz | |
| EXCEPTIONS | ||
| TNVSL_NOT_FOUND = 1 | ||
| . " ISH_READ_TNVSL | ||
ABAP code using 7.40 inline data declarations to call FM ISH_READ_TNVSL
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| "SELECT single EINRI FROM TN01 INTO @DATA(ld_einrichtung). | ||||
| "SELECT single TARAS FROM NLEI INTO @DATA(ld_verguetungssatz). | ||||
| "SELECT single BEWTY FROM TN14B INTO @DATA(ld_bewegungstyp). | ||||
| "SELECT single BWART FROM TN14B INTO @DATA(ld_bewegungsart). | ||||
| "SELECT single DATUM FROM SY INTO @DATA(ld_stichtag). | ||||
| "SELECT single FALNR FROM NFAL INTO @DATA(ld_act_falnr). | ||||
| "SELECT single LNRLS FROM NLEI INTO @DATA(ld_act_lnrls). | ||||
| "SELECT single FALAR FROM NFAL INTO @DATA(ld_fallart). | ||||
| "SELECT single KATID FROM TNK01 INTO @DATA(ld_katalog). | ||||
| "SELECT single TAGRU FROM TN20 INTO @DATA(ld_lsttyp). | ||||
| "SELECT single LEIST FROM NLEI INTO @DATA(ld_leistung). | ||||
| "SELECT single KTART FROM NKTR INTO @DATA(ld_ktart). | ||||
| "SELECT single KOSTR FROM NKTR INTO @DATA(ld_kostr). | ||||
| "SELECT single VTRTY FROM TN16 INTO @DATA(ld_vtrty). | ||||
| "SELECT single ERBOE FROM NLEI INTO @DATA(ld_erboe). | ||||
Search for further information about these or an SAP related objects