SAP ISH_NPAT_DB_GET_MULTI Function Module for IS-H: DB GET Function Module for HC Role Patient









ISH_NPAT_DB_GET_MULTI is a standard ish npat db get multi SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for IS-H: DB GET Function Module for HC Role Patient processing and below is the pattern details for this FM, 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 npat db get multi FM, simply by entering the name ISH_NPAT_DB_GET_MULTI into the relevant SAP transaction such as SE37 or SE38.

Function Group: NPNT_DB
Program Name: SAPLNPNT_DB
Main Program: SAPLNPNT_DB
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function ISH_NPAT_DB_GET_MULTI 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_NPAT_DB_GET_MULTI'"IS-H: DB GET Function Module for HC Role Patient
EXPORTING
IT_NPAT_PK = "Table of BP Numbers for Addnl. HC-Specific Data for Patient
* I_ADDRESS_REQ = ' ' "IS-H: Boolean Data Type for ON (= 'X') and OFF (= ' ')
* I_TELNR_REQ = ' ' "IS-H: Boolean Data Type for ON (= 'X') and OFF (= ' ')
* I_WITH_NPAE = ' ' "IS-H: Boolean Data Type for ON (= 'X') and OFF (= ' ')
* I_MAP_OLD2NEW = ON "Map IS-H Patient Data to SAP BP Patient Structures

IMPORTING
ET_NPAT = "Standard Table for Patient Data
ETT_TELNR_AN1 = "Telephone Numbers for More Than One Addresses(NADR)
ETT_TELNR_AN2 = "Telephone Numbers for More Than One Addresses(NADR)
ET_NPNT = "Standard Table for Structure RNBUPA_HCROLES
ET_NPNT_HCRELSHIPS = "Standard Table for Structure RNHCRELSHIPS
ET_NPNT_BUPA_HCRELSHIPS = "Standard Table for Structure RNBUPA_PNTREL
ET_RC = "IS-H: Table Type for Structure BAPIRET2
ET_NADR = "IS-H: Table for Address Data
ET_NADR2 = "IS-H: Table for Address Data
ET_NADR_ABG = "IS-H: Table for Address Data
ET_NADR_AN1 = "IS-H: Table for Address Data
ET_NADR_AN2 = "IS-H: Table for Address Data
ETT_TELNR = "Telephone Numbers for More Than One Addresses(NADR)
ETT_TELNR2 = "Telephone Numbers for More Than One Addresses(NADR)
ETT_TELNR_ABG = "Telephone Numbers for More Than One Addresses(NADR)
.



IMPORTING Parameters details for ISH_NPAT_DB_GET_MULTI

IT_NPAT_PK - Table of BP Numbers for Addnl. HC-Specific Data for Patient

Data type: ISH_T_NPAT_PK
Optional: No
Call by Reference: Yes

I_ADDRESS_REQ - IS-H: Boolean Data Type for ON (= 'X') and OFF (= ' ')

Data type: ISH_ON_OFF
Default: ' '
Optional: Yes
Call by Reference: Yes

I_TELNR_REQ - IS-H: Boolean Data Type for ON (= 'X') and OFF (= ' ')

Data type: ISH_ON_OFF
Default: ' '
Optional: Yes
Call by Reference: Yes

I_WITH_NPAE - IS-H: Boolean Data Type for ON (= 'X') and OFF (= ' ')

Data type: ISH_ON_OFF
Default: ' '
Optional: Yes
Call by Reference: Yes

I_MAP_OLD2NEW - Map IS-H Patient Data to SAP BP Patient Structures

Data type: ISH_ON_OFF
Default: ON
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for ISH_NPAT_DB_GET_MULTI

ET_NPAT - Standard Table for Patient Data

Data type: ISH_T_NPAT
Optional: No
Call by Reference: Yes

ETT_TELNR_AN1 - Telephone Numbers for More Than One Addresses(NADR)

Data type: ISH_TT_NADR_TELNR
Optional: No
Call by Reference: Yes

ETT_TELNR_AN2 - Telephone Numbers for More Than One Addresses(NADR)

Data type: ISH_TT_NADR_TELNR
Optional: No
Call by Reference: Yes

ET_NPNT - Standard Table for Structure RNBUPA_HCROLES

Data type: ISH_T_BUPA_HCROLES
Optional: No
Call by Reference: Yes

ET_NPNT_HCRELSHIPS - Standard Table for Structure RNHCRELSHIPS

Data type: ISH_T_HCRELSHIPS
Optional: No
Call by Reference: Yes

ET_NPNT_BUPA_HCRELSHIPS - Standard Table for Structure RNBUPA_PNTREL

Data type: ISH_T_BUPA_PNTREL
Optional: No
Call by Reference: Yes

ET_RC - IS-H: Table Type for Structure BAPIRET2

Data type: ISH_BAPIRET2_TAB_TYPE
Optional: No
Call by Reference: Yes

ET_NADR - IS-H: Table for Address Data

Data type: ISH_YT_NADR
Optional: No
Call by Reference: Yes

ET_NADR2 - IS-H: Table for Address Data

Data type: ISH_YT_NADR
Optional: No
Call by Reference: Yes

ET_NADR_ABG - IS-H: Table for Address Data

Data type: ISH_YT_NADR
Optional: No
Call by Reference: Yes

ET_NADR_AN1 - IS-H: Table for Address Data

Data type: ISH_YT_NADR
Optional: No
Call by Reference: Yes

ET_NADR_AN2 - IS-H: Table for Address Data

Data type: ISH_YT_NADR
Optional: No
Call by Reference: Yes

ETT_TELNR - Telephone Numbers for More Than One Addresses(NADR)

Data type: ISH_TT_NADR_TELNR
Optional: No
Call by Reference: Yes

ETT_TELNR2 - Telephone Numbers for More Than One Addresses(NADR)

Data type: ISH_TT_NADR_TELNR
Optional: No
Call by Reference: Yes

ETT_TELNR_ABG - Telephone Numbers for More Than One Addresses(NADR)

Data type: ISH_TT_NADR_TELNR
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for ISH_NPAT_DB_GET_MULTI 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_et_npat  TYPE ISH_T_NPAT, "   
lv_it_npat_pk  TYPE ISH_T_NPAT_PK, "   
lv_ett_telnr_an1  TYPE ISH_TT_NADR_TELNR, "   
lv_ett_telnr_an2  TYPE ISH_TT_NADR_TELNR, "   
lv_et_npnt  TYPE ISH_T_BUPA_HCROLES, "   
lv_et_npnt_hcrelships  TYPE ISH_T_HCRELSHIPS, "   
lv_et_npnt_bupa_hcrelships  TYPE ISH_T_BUPA_PNTREL, "   
lv_et_rc  TYPE ISH_BAPIRET2_TAB_TYPE, "   
lv_et_nadr  TYPE ISH_YT_NADR, "   
lv_i_address_req  TYPE ISH_ON_OFF, "   ' '
lv_et_nadr2  TYPE ISH_YT_NADR, "   
lv_i_telnr_req  TYPE ISH_ON_OFF, "   ' '
lv_et_nadr_abg  TYPE ISH_YT_NADR, "   
lv_i_with_npae  TYPE ISH_ON_OFF, "   ' '
lv_et_nadr_an1  TYPE ISH_YT_NADR, "   
lv_i_map_old2new  TYPE ISH_ON_OFF, "   ON
lv_et_nadr_an2  TYPE ISH_YT_NADR, "   
lv_ett_telnr  TYPE ISH_TT_NADR_TELNR, "   
lv_ett_telnr2  TYPE ISH_TT_NADR_TELNR, "   
lv_ett_telnr_abg  TYPE ISH_TT_NADR_TELNR. "   

  CALL FUNCTION 'ISH_NPAT_DB_GET_MULTI'  "IS-H: DB GET Function Module for HC Role Patient
    EXPORTING
         IT_NPAT_PK = lv_it_npat_pk
         I_ADDRESS_REQ = lv_i_address_req
         I_TELNR_REQ = lv_i_telnr_req
         I_WITH_NPAE = lv_i_with_npae
         I_MAP_OLD2NEW = lv_i_map_old2new
    IMPORTING
         ET_NPAT = lv_et_npat
         ETT_TELNR_AN1 = lv_ett_telnr_an1
         ETT_TELNR_AN2 = lv_ett_telnr_an2
         ET_NPNT = lv_et_npnt
         ET_NPNT_HCRELSHIPS = lv_et_npnt_hcrelships
         ET_NPNT_BUPA_HCRELSHIPS = lv_et_npnt_bupa_hcrelships
         ET_RC = lv_et_rc
         ET_NADR = lv_et_nadr
         ET_NADR2 = lv_et_nadr2
         ET_NADR_ABG = lv_et_nadr_abg
         ET_NADR_AN1 = lv_et_nadr_an1
         ET_NADR_AN2 = lv_et_nadr_an2
         ETT_TELNR = lv_ett_telnr
         ETT_TELNR2 = lv_ett_telnr2
         ETT_TELNR_ABG = lv_ett_telnr_abg
. " ISH_NPAT_DB_GET_MULTI




ABAP code using 7.40 inline data declarations to call FM ISH_NPAT_DB_GET_MULTI

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_address_req) = ' '.
 
 
DATA(ld_i_telnr_req) = ' '.
 
 
DATA(ld_i_with_npae) = ' '.
 
 
DATA(ld_i_map_old2new) = ON.
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!