SAP ISH_PNT_API_NDOC_ALL Function Module for IS-H: To Replace all Selects Based on N_VNDOC View









ISH_PNT_API_NDOC_ALL is a standard ish pnt api ndoc all 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: To Replace all Selects Based on N_VNDOC View 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 ndoc all FM, simply by entering the name ISH_PNT_API_NDOC_ALL into the relevant SAP transaction such as SE37 or SE38.

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



Function ISH_PNT_API_NDOC_ALL 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_NDOC_ALL'"IS-H: To Replace all Selects Based on N_VNDOC View
EXPORTING
* I_DOKAR = "Document Type
* I_EINRI = "Institution
* IT_EINRI = "IS-H*MED: Table Type for Institution
* ITR_EINRI = "IS-H: General Range Structure for Institutions Table Type
* I_GBDAT = "IS-H: Birthdate
* IT_GBDAT = "Table Type for Birthdate of Patient
* ITR_GBDAT = "Contains the Range Structure for GBDAT
* I_ARCHIV = "IS-H: Archived Data Indicator
* IT_ARCHIV = "Table Type for Archived Data Indicator
* ITR_ARCHIV = "Contains Range Structure for NDOC-ARCHIV
* I_STANDORT = "IS-H: Building ID of building unit in the 'archive' OU
* IT_DOKAR = "Table Type for Document Type
* IT_STANDORT = "Table Type for Building ID of Building Unit in the 'Archive'
* ITR_STANDORT = "Contains Range of NDOC-STANDORT
* I_LFDDOK = "Sequence Number of Document
* IT_LFDDOK = "Table Type for Sequence Number of Document
* ITR_LFDDOK = "Table Type for Ranges of Sequence Number of Document
* I_MEDOK = "Indicator for a Medical Document
* I_STORN = "IS-H: Cancellation Indicator
* IT_PAT_NDOC = "Contains All Fields of View N_VNDOC
* I_FLAG = 'X' "Boolean Data Type for ON (= 'X') and OFF (= ' ')
* I_RNPKAV01 = ' ' "Boolean Data Type for ON (= 'X') and OFF (= ' ')
* ITR_DOKAR = "IS-H*MED Selection Structure: Document Type
* I_LFDDOK_REQ = ' ' "Boolean Data Type for ON (= 'X') and OFF (= ' ')
* I_PS_EINRI = "Institution for pseudonymization authorization check
* IT_FIELDS = "Restriction on fields to be selected
* I_DOKNR = "Document number
* IT_DOKNR = "Table Type for Document Number
* ITR_DOKNR = "IS-H*MED: Range Structure for Doc. No.
* I_DOKTL = "Document Part
* IT_DOKTL = "Table Type for Document Part
* ITR_DOKTL = "IS-H*MED: Range Structure for Document Part Number

IMPORTING
ET_PAT_NDOC = "Contains All Fields of View N_VNDOC
.



IMPORTING Parameters details for ISH_PNT_API_NDOC_ALL

I_DOKAR - Document Type

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

I_EINRI - Institution

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

IT_EINRI - IS-H*MED: Table Type for Institution

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

ITR_EINRI - IS-H: General Range Structure for Institutions Table Type

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

I_GBDAT - IS-H: Birthdate

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

IT_GBDAT - Table Type for Birthdate of Patient

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

ITR_GBDAT - Contains the Range Structure for GBDAT

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

I_ARCHIV - IS-H: Archived Data Indicator

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

IT_ARCHIV - Table Type for Archived Data Indicator

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

ITR_ARCHIV - Contains Range Structure for NDOC-ARCHIV

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

I_STANDORT - IS-H: Building ID of building unit in the 'archive' OU

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

IT_DOKAR - Table Type for Document Type

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

IT_STANDORT - Table Type for Building ID of Building Unit in the 'Archive'

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

ITR_STANDORT - Contains Range of NDOC-STANDORT

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

I_LFDDOK - Sequence Number of Document

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

IT_LFDDOK - Table Type for Sequence Number of Document

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

ITR_LFDDOK - Table Type for Ranges of Sequence Number of Document

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

I_MEDOK - Indicator for a Medical Document

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

I_STORN - IS-H: Cancellation Indicator

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

IT_PAT_NDOC - Contains All Fields of View N_VNDOC

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

I_FLAG - Boolean Data Type for ON (= 'X') and OFF (= ' ')

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

I_RNPKAV01 - Boolean Data Type for ON (= 'X') and OFF (= ' ')

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

ITR_DOKAR - IS-H*MED Selection Structure: Document Type

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

I_LFDDOK_REQ - Boolean Data Type for ON (= 'X') and OFF (= ' ')

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

I_PS_EINRI - Institution for pseudonymization authorization check

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

IT_FIELDS - Restriction on fields to be selected

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

I_DOKNR - Document number

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

IT_DOKNR - Table Type for Document Number

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

ITR_DOKNR - IS-H*MED: Range Structure for Doc. No.

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

I_DOKTL - Document Part

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

IT_DOKTL - Table Type for Document Part

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

ITR_DOKTL - IS-H*MED: Range Structure for Document Part Number

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

EXPORTING Parameters details for ISH_PNT_API_NDOC_ALL

ET_PAT_NDOC - Contains All Fields of View N_VNDOC

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

Copy and paste ABAP code example for ISH_PNT_API_NDOC_ALL 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_dokar  TYPE DOKAR, "   
lv_et_pat_ndoc  TYPE ISH_T_PAT_NDOC, "   
lv_i_einri  TYPE EINRI, "   
lv_it_einri  TYPE ISH_T_EINRI, "   
lv_itr_einri  TYPE RNRANGEEINRI_TT, "   
lv_i_gbdat  TYPE RI_GBDAT, "   
lv_it_gbdat  TYPE ISH_T_GBDAT, "   
lv_itr_gbdat  TYPE ISH_T_RANGE_GBDAT, "   
lv_i_archiv  TYPE ARCHIV, "   
lv_it_archiv  TYPE ISH_T_ARCHIV, "   
lv_itr_archiv  TYPE ISH_T_RANGE_ARCHIV, "   
lv_i_standort  TYPE ISH_ARCHST, "   
lv_it_dokar  TYPE ISH_T_DOKAR, "   
lv_it_standort  TYPE ISH_T_STANDORT, "   
lv_itr_standort  TYPE ISH_T_RANGE_STANDORT, "   
lv_i_lfddok  TYPE LFDDOK, "   
lv_it_lfddok  TYPE ISH_T_LFDDOK, "   
lv_itr_lfddok  TYPE ISH_T_RANGE_LFDDOK, "   
lv_i_medok  TYPE MEDOK, "   
lv_i_storn  TYPE RI_STORN, "   
lv_it_pat_ndoc  TYPE ISH_T_PAT_NDOC, "   
lv_i_flag  TYPE ISH_ON_OFF, "   'X'
lv_i_rnpkav01  TYPE ISH_ON_OFF, "   ' '
lv_itr_dokar  TYPE ISH_T_RNG_DOKAR, "   
lv_i_lfddok_req  TYPE ISH_ON_OFF, "   ' '
lv_i_ps_einri  TYPE EINRI, "   
lv_it_fields  TYPE ISH_T_CHAR72, "   
lv_i_doknr  TYPE DOKNR, "   
lv_it_doknr  TYPE ISH_T_DOKNR, "   
lv_itr_doknr  TYPE ISH_T_RNG_DOKNR, "   
lv_i_doktl  TYPE DOKTL_D, "   
lv_it_doktl  TYPE ISH_T_DOKTL, "   
lv_itr_doktl  TYPE ISH_T_RNG_DOKTL. "   

  CALL FUNCTION 'ISH_PNT_API_NDOC_ALL'  "IS-H: To Replace all Selects Based on N_VNDOC View
    EXPORTING
         I_DOKAR = lv_i_dokar
         I_EINRI = lv_i_einri
         IT_EINRI = lv_it_einri
         ITR_EINRI = lv_itr_einri
         I_GBDAT = lv_i_gbdat
         IT_GBDAT = lv_it_gbdat
         ITR_GBDAT = lv_itr_gbdat
         I_ARCHIV = lv_i_archiv
         IT_ARCHIV = lv_it_archiv
         ITR_ARCHIV = lv_itr_archiv
         I_STANDORT = lv_i_standort
         IT_DOKAR = lv_it_dokar
         IT_STANDORT = lv_it_standort
         ITR_STANDORT = lv_itr_standort
         I_LFDDOK = lv_i_lfddok
         IT_LFDDOK = lv_it_lfddok
         ITR_LFDDOK = lv_itr_lfddok
         I_MEDOK = lv_i_medok
         I_STORN = lv_i_storn
         IT_PAT_NDOC = lv_it_pat_ndoc
         I_FLAG = lv_i_flag
         I_RNPKAV01 = lv_i_rnpkav01
         ITR_DOKAR = lv_itr_dokar
         I_LFDDOK_REQ = lv_i_lfddok_req
         I_PS_EINRI = lv_i_ps_einri
         IT_FIELDS = lv_it_fields
         I_DOKNR = lv_i_doknr
         IT_DOKNR = lv_it_doknr
         ITR_DOKNR = lv_itr_doknr
         I_DOKTL = lv_i_doktl
         IT_DOKTL = lv_it_doktl
         ITR_DOKTL = lv_itr_doktl
    IMPORTING
         ET_PAT_NDOC = lv_et_pat_ndoc
. " ISH_PNT_API_NDOC_ALL




ABAP code using 7.40 inline data declarations to call FM ISH_PNT_API_NDOC_ALL

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_flag) = 'X'.
 
DATA(ld_i_rnpkav01) = ' '.
 
 
DATA(ld_i_lfddok_req) = ' '.
 
 
 
 
 
 
 
 
 


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!