SAP ISH_PATIENTLIST_READ_NPAP Function Module for IS-H: Read Provisional Patient Master Data that Matches Selection Criteria
ISH_PATIENTLIST_READ_NPAP is a standard ish patientlist read npap 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: Read Provisional Patient Master Data that Matches Selection Criteria 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 patientlist read npap FM, simply by entering the name ISH_PATIENTLIST_READ_NPAP into the relevant SAP transaction such as SE37 or SE38.
Function Group: NPAP
Program Name: SAPLNPAP
Main Program: SAPLNPAP
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISH_PATIENTLIST_READ_NPAP 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_PATIENTLIST_READ_NPAP'"IS-H: Read Provisional Patient Master Data that Matches Selection Criteria.
EXPORTING
I_EINRI = "Institution
IS_SEARCH = "Search Fields Provisional Patient Master Data
* I_READ_DB = ' ' "Ignore Buffer, Read from DB (ON/OFF)
* I_SEARCH_PHONETIC = ' ' "Phonetic Search (ON/OFF)
* I_MAX_CNT = -1 "
TABLES
* T_NPATPIX = "Read Provisional Patient Master Data
EXCEPTIONS
MAX_COUNT = 1 ERROR = 2
IMPORTING Parameters details for ISH_PATIENTLIST_READ_NPAP
I_EINRI - Institution
Data type: EINRIOptional: No
Call by Reference: No ( called with pass by value option)
IS_SEARCH - Search Fields Provisional Patient Master Data
Data type: RNPAP_SEARCHOptional: No
Call by Reference: No ( called with pass by value option)
I_READ_DB - Ignore Buffer, Read from DB (ON/OFF)
Data type: ISH_ON_OFFDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_SEARCH_PHONETIC - Phonetic Search (ON/OFF)
Data type: ISH_ON_OFFDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_MAX_CNT -
Data type: SY-DBCNTDefault: -1
Optional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for ISH_PATIENTLIST_READ_NPAP
T_NPATPIX - Read Provisional Patient Master Data
Data type: NPAT_PAT_PIX_TABOptional: Yes
Call by Reference: Yes
EXCEPTIONS details
MAX_COUNT - Maximum Number of Rows Exceeded
Data type:Optional: No
Call by Reference: Yes
ERROR - Other Error
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for ISH_PATIENTLIST_READ_NPAP 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, " | |||
| lv_max_count | TYPE EINRI, " | |||
| lt_t_npatpix | TYPE STANDARD TABLE OF NPAT_PAT_PIX_TAB, " | |||
| lv_error | TYPE NPAT_PAT_PIX_TAB, " | |||
| lv_is_search | TYPE RNPAP_SEARCH, " | |||
| lv_i_read_db | TYPE ISH_ON_OFF, " SPACE | |||
| lv_i_search_phonetic | TYPE ISH_ON_OFF, " SPACE | |||
| lv_i_max_cnt | TYPE SY-DBCNT. " -1 |
|   CALL FUNCTION 'ISH_PATIENTLIST_READ_NPAP' "IS-H: Read Provisional Patient Master Data that Matches Selection Criteria |
| EXPORTING | ||
| I_EINRI | = lv_i_einri | |
| IS_SEARCH | = lv_is_search | |
| I_READ_DB | = lv_i_read_db | |
| I_SEARCH_PHONETIC | = lv_i_search_phonetic | |
| I_MAX_CNT | = lv_i_max_cnt | |
| TABLES | ||
| T_NPATPIX | = lt_t_npatpix | |
| EXCEPTIONS | ||
| MAX_COUNT = 1 | ||
| ERROR = 2 | ||
| . " ISH_PATIENTLIST_READ_NPAP | ||
ABAP code using 7.40 inline data declarations to call FM ISH_PATIENTLIST_READ_NPAP
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_read_db) | = ' '. | |||
| DATA(ld_i_search_phonetic) | = ' '. | |||
| "SELECT single DBCNT FROM SY INTO @DATA(ld_i_max_cnt). | ||||
| DATA(ld_i_max_cnt) | = -1. | |||
Search for further information about these or an SAP related objects