SAP ISH_INSREL_PAT_MODIFYMULTIPLE Function Module for
ISH_INSREL_PAT_MODIFYMULTIPLE is a standard ish insrel pat modifymultiple 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 insrel pat modifymultiple FM, simply by entering the name ISH_INSREL_PAT_MODIFYMULTIPLE into the relevant SAP transaction such as SE37 or SE38.
Function Group: N_API_INSREL
Program Name: SAPLN_API_INSREL
Main Program: SAPLN_API_INSREL
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISH_INSREL_PAT_MODIFYMULTIPLE 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_INSREL_PAT_MODIFYMULTIPLE'".
EXPORTING
* I_EINRI = "IS-H: Institution
I_PATNR = "IS-H: Patient Number
* I_AUTHCHECK = 'X' "Check Authorizations
* I_TESTRUN = 'X' "Test Mode
* I_DIALOG = ' ' "Dialog Mode
* I_NPAT_CURR = "Current Patient Data
* I_NPAT_NADR = "Current Address Data of Patient (Create/Change Self-Payer Customer)
* I_PROCESS_FI_CUST = 'X' "Edit Customer Data (Prerequisite: EINRI Filled)
IMPORTING
E_RETMAXTYPE = "IS-H: Most Severe Message Type Generated
CHANGING
* IE_ENVIRONMENT = "IS-H: Class for Collecting All Objects in Memory
TABLES
* IE_RNPIR = "IS-H: Table with Change Info for Patient-Related IRs
* IE_VNPIR_CURR = "Current Insurance Relationships
* IE_VRNG12N_CURR = "FI Customer Data
* IE_VRNG13N_CURR = "FI Customer Bank Details
* IE_TEXTINFO_CURR = "Current SAPscript Management Data
* IE_TEXTCONTENT_CURR = "Current SAPscript Texts
* I_TELNR_CURR = "IS-H: Telephone Numbers (Central Addess Management)
* E_RETURN = "Return Parameter(s)
* IE_ADDRESS = "IS-H: Table with Address Object Assignments
IMPORTING Parameters details for ISH_INSREL_PAT_MODIFYMULTIPLE
I_EINRI - IS-H: Institution
Data type: EINRIOptional: Yes
Call by Reference: No ( called with pass by value option)
I_PATNR - IS-H: Patient Number
Data type: PATNROptional: No
Call by Reference: No ( called with pass by value option)
I_AUTHCHECK - Check Authorizations
Data type: ISH_ON_OFFDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_TESTRUN - Test Mode
Data type: ISH_ON_OFFDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_DIALOG - Dialog Mode
Data type: ISH_ON_OFFDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_NPAT_CURR - Current Patient Data
Data type: NPATOptional: Yes
Call by Reference: No ( called with pass by value option)
I_NPAT_NADR - Current Address Data of Patient (Create/Change Self-Payer Customer)
Data type: NADROptional: Yes
Call by Reference: No ( called with pass by value option)
I_PROCESS_FI_CUST - Edit Customer Data (Prerequisite: EINRI Filled)
Data type: ISH_ON_OFFDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for ISH_INSREL_PAT_MODIFYMULTIPLE
E_RETMAXTYPE - IS-H: Most Severe Message Type Generated
Data type: ISH_BAPIRETMAXTYOptional: No
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for ISH_INSREL_PAT_MODIFYMULTIPLE
IE_ENVIRONMENT - IS-H: Class for Collecting All Objects in Memory
Data type: CL_ISH_ENVIRONMENTOptional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for ISH_INSREL_PAT_MODIFYMULTIPLE
IE_RNPIR - IS-H: Table with Change Info for Patient-Related IRs
Data type: ISH_T_RNPIROptional: Yes
Call by Reference: Yes
IE_VNPIR_CURR - Current Insurance Relationships
Data type: VNPIROptional: Yes
Call by Reference: Yes
IE_VRNG12N_CURR - FI Customer Data
Data type: VRNG12NOptional: Yes
Call by Reference: Yes
IE_VRNG13N_CURR - FI Customer Bank Details
Data type: VRNG13NOptional: Yes
Call by Reference: Yes
IE_TEXTINFO_CURR - Current SAPscript Management Data
Data type: ISH_DOCCOLLINFOOptional: Yes
Call by Reference: Yes
IE_TEXTCONTENT_CURR - Current SAPscript Texts
Data type: TLINEOptional: Yes
Call by Reference: Yes
I_TELNR_CURR - IS-H: Telephone Numbers (Central Addess Management)
Data type: NADR2Optional: Yes
Call by Reference: Yes
E_RETURN - Return Parameter(s)
Data type: BAPIRET2Optional: Yes
Call by Reference: Yes
IE_ADDRESS - IS-H: Table with Address Object Assignments
Data type: ISH_T_ADRMAP_OOOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for ISH_INSREL_PAT_MODIFYMULTIPLE 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_i_einri | TYPE EINRI, " | |||
| lt_ie_rnpir | TYPE STANDARD TABLE OF ISH_T_RNPIR, " | |||
| lv_e_retmaxtype | TYPE ISH_BAPIRETMAXTY, " | |||
| lv_ie_environment | TYPE CL_ISH_ENVIRONMENT, " | |||
| lv_i_patnr | TYPE PATNR, " | |||
| lt_ie_vnpir_curr | TYPE STANDARD TABLE OF VNPIR, " | |||
| lv_i_authcheck | TYPE ISH_ON_OFF, " 'X' | |||
| lt_ie_vrng12n_curr | TYPE STANDARD TABLE OF VRNG12N, " | |||
| lv_i_testrun | TYPE ISH_ON_OFF, " 'X' | |||
| lt_ie_vrng13n_curr | TYPE STANDARD TABLE OF VRNG13N, " | |||
| lv_i_dialog | TYPE ISH_ON_OFF, " ' ' | |||
| lt_ie_textinfo_curr | TYPE STANDARD TABLE OF ISH_DOCCOLLINFO, " | |||
| lv_i_npat_curr | TYPE NPAT, " | |||
| lt_ie_textcontent_curr | TYPE STANDARD TABLE OF TLINE, " | |||
| lv_i_npat_nadr | TYPE NADR, " | |||
| lt_i_telnr_curr | TYPE STANDARD TABLE OF NADR2, " | |||
| lt_e_return | TYPE STANDARD TABLE OF BAPIRET2, " | |||
| lv_i_process_fi_cust | TYPE ISH_ON_OFF, " 'X' | |||
| lt_ie_address | TYPE STANDARD TABLE OF ISH_T_ADRMAP_OO. " |
|   CALL FUNCTION 'ISH_INSREL_PAT_MODIFYMULTIPLE' " |
| EXPORTING | ||
| I_EINRI | = lv_i_einri | |
| I_PATNR | = lv_i_patnr | |
| I_AUTHCHECK | = lv_i_authcheck | |
| I_TESTRUN | = lv_i_testrun | |
| I_DIALOG | = lv_i_dialog | |
| I_NPAT_CURR | = lv_i_npat_curr | |
| I_NPAT_NADR | = lv_i_npat_nadr | |
| I_PROCESS_FI_CUST | = lv_i_process_fi_cust | |
| IMPORTING | ||
| E_RETMAXTYPE | = lv_e_retmaxtype | |
| CHANGING | ||
| IE_ENVIRONMENT | = lv_ie_environment | |
| TABLES | ||
| IE_RNPIR | = lt_ie_rnpir | |
| IE_VNPIR_CURR | = lt_ie_vnpir_curr | |
| IE_VRNG12N_CURR | = lt_ie_vrng12n_curr | |
| IE_VRNG13N_CURR | = lt_ie_vrng13n_curr | |
| IE_TEXTINFO_CURR | = lt_ie_textinfo_curr | |
| IE_TEXTCONTENT_CURR | = lt_ie_textcontent_curr | |
| I_TELNR_CURR | = lt_i_telnr_curr | |
| E_RETURN | = lt_e_return | |
| IE_ADDRESS | = lt_ie_address | |
| . " ISH_INSREL_PAT_MODIFYMULTIPLE | ||
ABAP code using 7.40 inline data declarations to call FM ISH_INSREL_PAT_MODIFYMULTIPLE
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.| DATA(ld_i_authcheck) | = 'X'. | |||
| DATA(ld_i_testrun) | = 'X'. | |||
| DATA(ld_i_dialog) | = ' '. | |||
| DATA(ld_i_process_fi_cust) | = 'X'. | |||
Search for further information about these or an SAP related objects