SAP ISH_INSURANCE_EXPORT_TO_MEMORY Function Module for
ISH_INSURANCE_EXPORT_TO_MEMORY is a standard ish insurance export to memory 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 insurance export to memory FM, simply by entering the name ISH_INSURANCE_EXPORT_TO_MEMORY into the relevant SAP transaction such as SE37 or SE38.
Function Group: NVVH
Program Name: SAPLNVVH
Main Program: SAPLNVVH
Appliation area: N
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISH_INSURANCE_EXPORT_TO_MEMORY 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_INSURANCE_EXPORT_TO_MEMORY'".
EXPORTING
VV_EINRI = "Institution
* VV_FALNR = ' ' "Case Number
* VV_PATNR = ' ' "Patient Number
* VV_VCODE = 'DFL' "Processing mode (UPD/DIS) -> F2
* VV_VV = 'DFL' "Pat.- or case-related IRs (VVP/VVF)
* VV_CANCELED = ' ' "
* VV_READ_DB = ' ' "Read from Database (ON/OFF)
EXCEPTIONS
NO_AUTHORITY = 1 NOT_FOUND = 2
Customer Function user exits
Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.EXIT_SAPLNVVH_001 IS-H: Insurance Relationship Enhancement
EXIT_SAPLNVVH_002 IS-H: Enhancement for Save Insurance Relationships
EXIT_SAPLNVVH_003 IS-H: Function Exit Maint. Insurance Relationships - Call Maint. Screen
EXIT_SAPLNVVH_004 IS-H: Function Exit Maint. Insurance Relationships - Save Maint. Screen
IMPORTING Parameters details for ISH_INSURANCE_EXPORT_TO_MEMORY
VV_EINRI - Institution
Data type: RNDVV-EINRIOptional: No
Call by Reference: No ( called with pass by value option)
VV_FALNR - Case Number
Data type: NFAL-FALNRDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
VV_PATNR - Patient Number
Data type: NPAT-PATNRDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
VV_VCODE - Processing mode (UPD/DIS) -> F2
Data type: RNPA1-VCODEDefault: 'DFL'
Optional: Yes
Call by Reference: No ( called with pass by value option)
VV_VV - Pat.- or case-related IRs (VVP/VVF)
Data type:Default: 'DFL'
Optional: Yes
Call by Reference: No ( called with pass by value option)
VV_CANCELED -
Data type: NPDOK-XFELDDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
VV_READ_DB - Read from Database (ON/OFF)
Data type: NPDOK-XFELDDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NO_AUTHORITY - No authorization
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NOT_FOUND - No IRs defined
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ISH_INSURANCE_EXPORT_TO_MEMORY 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_vv_einri | TYPE RNDVV-EINRI, " | |||
| lv_no_authority | TYPE RNDVV, " | |||
| lv_vv_falnr | TYPE NFAL-FALNR, " SPACE | |||
| lv_not_found | TYPE NFAL, " | |||
| lv_vv_patnr | TYPE NPAT-PATNR, " SPACE | |||
| lv_vv_vcode | TYPE RNPA1-VCODE, " 'DFL' | |||
| lv_vv_vv | TYPE RNPA1, " 'DFL' | |||
| lv_vv_canceled | TYPE NPDOK-XFELD, " ' ' | |||
| lv_vv_read_db | TYPE NPDOK-XFELD. " ' ' |
|   CALL FUNCTION 'ISH_INSURANCE_EXPORT_TO_MEMORY' " |
| EXPORTING | ||
| VV_EINRI | = lv_vv_einri | |
| VV_FALNR | = lv_vv_falnr | |
| VV_PATNR | = lv_vv_patnr | |
| VV_VCODE | = lv_vv_vcode | |
| VV_VV | = lv_vv_vv | |
| VV_CANCELED | = lv_vv_canceled | |
| VV_READ_DB | = lv_vv_read_db | |
| EXCEPTIONS | ||
| NO_AUTHORITY = 1 | ||
| NOT_FOUND = 2 | ||
| . " ISH_INSURANCE_EXPORT_TO_MEMORY | ||
ABAP code using 7.40 inline data declarations to call FM ISH_INSURANCE_EXPORT_TO_MEMORY
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 RNDVV INTO @DATA(ld_vv_einri). | ||||
| "SELECT single FALNR FROM NFAL INTO @DATA(ld_vv_falnr). | ||||
| DATA(ld_vv_falnr) | = ' '. | |||
| "SELECT single PATNR FROM NPAT INTO @DATA(ld_vv_patnr). | ||||
| DATA(ld_vv_patnr) | = ' '. | |||
| "SELECT single VCODE FROM RNPA1 INTO @DATA(ld_vv_vcode). | ||||
| DATA(ld_vv_vcode) | = 'DFL'. | |||
| DATA(ld_vv_vv) | = 'DFL'. | |||
| "SELECT single XFELD FROM NPDOK INTO @DATA(ld_vv_canceled). | ||||
| DATA(ld_vv_canceled) | = ' '. | |||
| "SELECT single XFELD FROM NPDOK INTO @DATA(ld_vv_read_db). | ||||
| DATA(ld_vv_read_db) | = ' '. | |||
Search for further information about these or an SAP related objects