SAP ISH_PNT_API_GET Function Module for IS-H: API Get Function Module for Patient









ISH_PNT_API_GET is a standard ish pnt api get 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: API Get Function Module for 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 pnt api get FM, simply by entering the name ISH_PNT_API_GET into the relevant SAP transaction such as SE37 or SE38.

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



Function ISH_PNT_API_GET 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_PNT_API_GET'"IS-H: API Get Function Module for Patient
EXPORTING
I_PPK = "IS-H: Primary Key for NPNT
* I_INSTN = '*' "IS-H: Institution
* I_READ_DB = ' ' "ON, if DB to Be Read
* I_WITH_NPAE = ' ' "Read Institution Master Record also (ON/OFF)
* I_NO_MESSAGES = ' ' "No Message Output (ON/OFF)
* I_NO_BUFFERING = ' ' "No Buffering (ON/OFF - only in Association with I_READ_DB = ON)

IMPORTING
E_PNK = "IS-H: Non key fields for NPNT
E_PAE = "IS-H: Institution related Patient Master data
ET_RC = "IS-H: Table Type for Structure BAPIRET2
E_NOT_FOUND_IN_EINRI = "
E_ADR_EPR = "Addresses (Business Address Services)
E_EML_EPR = "E-Mail Address
E_TEL_EPR = "Telephone no.: dialling code+number
.



IMPORTING Parameters details for ISH_PNT_API_GET

I_PPK - IS-H: Primary Key for NPNT

Data type: RNPNT_PK
Optional: No
Call by Reference: No ( called with pass by value option)

I_INSTN - IS-H: Institution

Data type: EINRI
Default: '*'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_READ_DB - ON, if DB to Be Read

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

I_WITH_NPAE - Read Institution Master Record also (ON/OFF)

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

I_NO_MESSAGES - No Message Output (ON/OFF)

Data type: NPDOK-XFELD
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_NO_BUFFERING - No Buffering (ON/OFF - only in Association with I_READ_DB = ON)

Data type: NPDOK-XFELD
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for ISH_PNT_API_GET

E_PNK - IS-H: Non key fields for NPNT

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

E_PAE - IS-H: Institution related Patient Master data

Data type: RNPAE
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

E_NOT_FOUND_IN_EINRI -

Data type:
Optional: No
Call by Reference: Yes

E_ADR_EPR - Addresses (Business Address Services)

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

E_EML_EPR - E-Mail Address

Data type: ADR6-SMTP_ADDR
Optional: No
Call by Reference: Yes

E_TEL_EPR - Telephone no.: dialling code+number

Data type: ADR2-TEL_NUMBER
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for ISH_PNT_API_GET 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_e_pnk  TYPE RNPNT_NK, "   
lv_i_ppk  TYPE RNPNT_PK, "   
lv_e_pae  TYPE RNPAE, "   
lv_i_instn  TYPE EINRI, "   '*'
lv_et_rc  TYPE ISH_BAPIRET2_TAB_TYPE, "   
lv_i_read_db  TYPE ISH_ON_OFF, "   ' '
lv_i_with_npae  TYPE ISH_ON_OFF, "   ' '
lv_e_not_found_in_einri  TYPE ISH_ON_OFF, "   
lv_e_adr_epr  TYPE ADRC, "   
lv_i_no_messages  TYPE NPDOK-XFELD, "   ' '
lv_e_eml_epr  TYPE ADR6-SMTP_ADDR, "   
lv_i_no_buffering  TYPE NPDOK-XFELD, "   ' '
lv_e_tel_epr  TYPE ADR2-TEL_NUMBER. "   

  CALL FUNCTION 'ISH_PNT_API_GET'  "IS-H: API Get Function Module for Patient
    EXPORTING
         I_PPK = lv_i_ppk
         I_INSTN = lv_i_instn
         I_READ_DB = lv_i_read_db
         I_WITH_NPAE = lv_i_with_npae
         I_NO_MESSAGES = lv_i_no_messages
         I_NO_BUFFERING = lv_i_no_buffering
    IMPORTING
         E_PNK = lv_e_pnk
         E_PAE = lv_e_pae
         ET_RC = lv_et_rc
         E_NOT_FOUND_IN_EINRI = lv_e_not_found_in_einri
         E_ADR_EPR = lv_e_adr_epr
         E_EML_EPR = lv_e_eml_epr
         E_TEL_EPR = lv_e_tel_epr
. " ISH_PNT_API_GET




ABAP code using 7.40 inline data declarations to call FM ISH_PNT_API_GET

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_instn) = '*'.
 
 
DATA(ld_i_read_db) = ' '.
 
DATA(ld_i_with_npae) = ' '.
 
 
 
"SELECT single XFELD FROM NPDOK INTO @DATA(ld_i_no_messages).
DATA(ld_i_no_messages) = ' '.
 
"SELECT single SMTP_ADDR FROM ADR6 INTO @DATA(ld_e_eml_epr).
 
"SELECT single XFELD FROM NPDOK INTO @DATA(ld_i_no_buffering).
DATA(ld_i_no_buffering) = ' '.
 
"SELECT single TEL_NUMBER FROM ADR2 INTO @DATA(ld_e_tel_epr).
 


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!