SAP ISH_PNT_API_SET Function Module for IS-H: API SET Function Module for Patient









ISH_PNT_API_SET is a standard ish pnt api set 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 SET 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 set FM, simply by entering the name ISH_PNT_API_SET 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_SET 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_SET'"IS-H: API SET Function Module for Patient
EXPORTING
I_PPK_PNT = "IS-H: Primary Key for NPNT
I_PNK_PNT = "IS-H: Non key fields for NPNT
* I_PEP_ADR = "Address of Patient Employer
I_PNK_PAE = "Non Key Fields for NPAE
I_EINRI = "IS-H: Institution
I_AKTYP = "Activity Category
* I_CALL_FROM_BAPI = 'X' "IS-H: Checkbox
* I_CHECK_AUTH = 'X' "Authorization Check (ON/OFF)

IMPORTING
ET_RC = "IS-H: Table Type for Structure BAPIRET2
E_PEPADR_CHANGE = "Checkbox
.



IMPORTING Parameters details for ISH_PNT_API_SET

I_PPK_PNT - IS-H: Primary Key for NPNT

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

I_PNK_PNT - IS-H: Non key fields for NPNT

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

I_PEP_ADR - Address of Patient Employer

Data type: RNPEP_ADR
Optional: Yes
Call by Reference: Yes

I_PNK_PAE - Non Key Fields for NPAE

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

I_EINRI - IS-H: Institution

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

I_AKTYP - Activity Category

Data type: TBZ0K-AKTYP
Optional: No
Call by Reference: Yes

I_CALL_FROM_BAPI - IS-H: Checkbox

Data type: NPDOK-XFELD
Default: 'X'
Optional: No
Call by Reference: Yes

I_CHECK_AUTH - Authorization Check (ON/OFF)

Data type: NPDOK-XFELD
Default: 'X'
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for ISH_PNT_API_SET

ET_RC - IS-H: Table Type for Structure BAPIRET2

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

E_PEPADR_CHANGE - Checkbox

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

Copy and paste ABAP code example for ISH_PNT_API_SET 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_rc  TYPE ISH_BAPIRET2_TAB_TYPE, "   
lv_i_ppk_pnt  TYPE RNPNT_PK, "   
lv_i_pnk_pnt  TYPE RNPNT_NK, "   
lv_e_pepadr_change  TYPE XFELD, "   
lv_i_pep_adr  TYPE RNPEP_ADR, "   
lv_i_pnk_pae  TYPE RNPAE_NK, "   
lv_i_einri  TYPE EINRI, "   
lv_i_aktyp  TYPE TBZ0K-AKTYP, "   
lv_i_call_from_bapi  TYPE NPDOK-XFELD, "   'X'
lv_i_check_auth  TYPE NPDOK-XFELD. "   'X'

  CALL FUNCTION 'ISH_PNT_API_SET'  "IS-H: API SET Function Module for Patient
    EXPORTING
         I_PPK_PNT = lv_i_ppk_pnt
         I_PNK_PNT = lv_i_pnk_pnt
         I_PEP_ADR = lv_i_pep_adr
         I_PNK_PAE = lv_i_pnk_pae
         I_EINRI = lv_i_einri
         I_AKTYP = lv_i_aktyp
         I_CALL_FROM_BAPI = lv_i_call_from_bapi
         I_CHECK_AUTH = lv_i_check_auth
    IMPORTING
         ET_RC = lv_et_rc
         E_PEPADR_CHANGE = lv_e_pepadr_change
. " ISH_PNT_API_SET




ABAP code using 7.40 inline data declarations to call FM ISH_PNT_API_SET

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 AKTYP FROM TBZ0K INTO @DATA(ld_i_aktyp).
 
"SELECT single XFELD FROM NPDOK INTO @DATA(ld_i_call_from_bapi).
DATA(ld_i_call_from_bapi) = 'X'.
 
"SELECT single XFELD FROM NPDOK INTO @DATA(ld_i_check_auth).
DATA(ld_i_check_auth) = 'X'.
 


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!