SAP ISH_PAT_SCREEN Function Module for
ISH_PAT_SCREEN is a standard ish pat screen SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 pat screen FM, simply by entering the name ISH_PAT_SCREEN into the relevant SAP transaction such as SE37 or SE38.
Function Group: NCHD
Program Name: SAPLNCHD
Main Program: SAPLNCHD
Appliation area: N
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISH_PAT_SCREEN 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_PAT_SCREEN'".
EXPORTING
* SS_ENQUEUE_NPAT = 'X' "Lock Patient (ON/OFF)
* SS_FCODE_LIST = ' ' "Function Code for Patient List ->
* SS_LIST_OK_CODE = ' ' "Function that Was Executed in the List
* SS_OK_CODE = ' ' "Function that Was Executed ->
SS_TCODE = "Transaction Code
* SS_VCODE = 'DEF' "Processing Mode - General
* SS_VCODE_NPAT = 'DIS' "Processing Mode of Patient
* SS_ZUO_LIST = ' ' "Assignment Code for Patient List ->
* SS_READ_NPAP = ' ' "Read Provisional Patient Master Data (' ', 'X', 'V') -> F2
IMPORTING
SS_EINRI = "Specified Institution
SS_NNAME = "Specified Last Name
SS_OKCODE = "Function after SUBSCREEN ->
SS_PATNR = "Specified Patient Number
SS_PZIFF = "Specified Check Digit Patient
SS_SEARCH = "Indicator that Patient Searched for ('1')
SS_VCODE_NEW = "->
SS_VCODE_NPAE = "New VCODE_NPAE
SS_VNAME = "Specified First Name
SS_RVNUM = "Specified Social Insurance Number
SS_EXTNR = "Specified External Patient ID
SS_FALNR = "Specified Case Number
SS_PASSNR = "Specified Document Number
SS_TAXNUM = "IT: eingegebene Steuernummer
SS_STP = "IT: eingegebener STP-Code
SS_PAT_CANC_INST = "Patient Canceled in Institution only (TRUE/FALSE)
SS_PAPID = "Provisional Patient Number
SS_VKGID = "Preregistration ID
SS_LFDBW_BATCH_INPUT = "Bewegungsnr. aus der Batch-Input Eingabe im Einstiegsscreen 2000
SS_FR_BIRTHRK = "IS-H FR: Geburtsrang
SS_FZIFF = "Specified Check Digit Case
SS_GBDAB = "Specified Birthdate to
SS_GBDAV = "Specified Birthdate from
SS_GBNAM = "Specified Birthname
SS_GSCHLE = "Specified Sex
SS_LEAVE_SCREEN = "Indicator that LEAVE SCREEN Is to Be Executed
SS_LIST_OKCODE = "Function that Was Executed in the List
Customer Function user exits
Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.EXIT_SAPLNCHD_001 IS-H: Patient Header
EXIT_SAPLNCHD_002 IS-H: Patient Header in Lists
EXIT_SAPLNCHD_003 IS-H: Case Header
EXIT_SAPLNCHD_004 IS-H: Case Header in Lists
EXIT_SAPLNCHD_005 IS-H: Part of Patient Header
EXIT_SAPLNCHD_006 IS-H: Part of Case Header
IMPORTING Parameters details for ISH_PAT_SCREEN
SS_ENQUEUE_NPAT - Lock Patient (ON/OFF)
Data type:Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
SS_FCODE_LIST - Function Code for Patient List ->
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
SS_LIST_OK_CODE - Function that Was Executed in the List
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
SS_OK_CODE - Function that Was Executed ->
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
SS_TCODE - Transaction Code
Data type: SY-TCODEOptional: No
Call by Reference: No ( called with pass by value option)
SS_VCODE - Processing Mode - General
Data type: RNPA1-VCODEDefault: 'DEF'
Optional: Yes
Call by Reference: No ( called with pass by value option)
SS_VCODE_NPAT - Processing Mode of Patient
Data type: RNPA1-VCODEDefault: 'DIS'
Optional: Yes
Call by Reference: No ( called with pass by value option)
SS_ZUO_LIST - Assignment Code for Patient List ->
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
SS_READ_NPAP - Read Provisional Patient Master Data (' ', 'X', 'V') -> F2
Data type: C1Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for ISH_PAT_SCREEN
SS_EINRI - Specified Institution
Data type: RNPA1-EINRIOptional: No
Call by Reference: No ( called with pass by value option)
SS_NNAME - Specified Last Name
Data type: RNPA1-NNAMEOptional: No
Call by Reference: No ( called with pass by value option)
SS_OKCODE - Function after SUBSCREEN ->
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
SS_PATNR - Specified Patient Number
Data type: NPAT-PATNROptional: No
Call by Reference: No ( called with pass by value option)
SS_PZIFF - Specified Check Digit Patient
Data type: NPAT-PZIFFOptional: No
Call by Reference: No ( called with pass by value option)
SS_SEARCH - Indicator that Patient Searched for ('1')
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
SS_VCODE_NEW - ->
Data type: RNPA1-VCODEOptional: No
Call by Reference: No ( called with pass by value option)
SS_VCODE_NPAE - New VCODE_NPAE
Data type: RNPA1-VCODEOptional: No
Call by Reference: No ( called with pass by value option)
SS_VNAME - Specified First Name
Data type: RNPA1-VNAMEOptional: No
Call by Reference: No ( called with pass by value option)
SS_RVNUM - Specified Social Insurance Number
Data type: RNPA1-RVNUMOptional: No
Call by Reference: No ( called with pass by value option)
SS_EXTNR - Specified External Patient ID
Data type: RNPA1-EXTNROptional: No
Call by Reference: No ( called with pass by value option)
SS_FALNR - Specified Case Number
Data type: NFAL-FALNROptional: No
Call by Reference: No ( called with pass by value option)
SS_PASSNR - Specified Document Number
Data type: RNPA1-PASSNROptional: No
Call by Reference: No ( called with pass by value option)
SS_TAXNUM - IT: eingegebene Steuernummer
Data type: RNPA1-TAXNUMOptional: No
Call by Reference: No ( called with pass by value option)
SS_STP - IT: eingegebener STP-Code
Data type: RNPA1-STPOptional: No
Call by Reference: No ( called with pass by value option)
SS_PAT_CANC_INST - Patient Canceled in Institution only (TRUE/FALSE)
Data type: NPDOK-C1Optional: No
Call by Reference: No ( called with pass by value option)
SS_PAPID - Provisional Patient Number
Data type: NPAP-PAPIDOptional: No
Call by Reference: No ( called with pass by value option)
SS_VKGID - Preregistration ID
Data type: N1VKG-VKGIDOptional: No
Call by Reference: No ( called with pass by value option)
SS_LFDBW_BATCH_INPUT - Bewegungsnr. aus der Batch-Input Eingabe im Einstiegsscreen 2000
Data type: RNPA1-LFDBWOptional: No
Call by Reference: No ( called with pass by value option)
SS_FR_BIRTHRK - IS-H FR: Geburtsrang
Data type: RNPA1-/ISHFR/BIRTHRKOptional: No
Call by Reference: No ( called with pass by value option)
SS_FZIFF - Specified Check Digit Case
Data type: NFAL-FZIFFOptional: No
Call by Reference: No ( called with pass by value option)
SS_GBDAB - Specified Birthdate to
Data type: RNPA1-GBDABOptional: No
Call by Reference: No ( called with pass by value option)
SS_GBDAV - Specified Birthdate from
Data type: RNPA1-GBDAVOptional: No
Call by Reference: No ( called with pass by value option)
SS_GBNAM - Specified Birthname
Data type: RNPA1-GBNAMOptional: No
Call by Reference: No ( called with pass by value option)
SS_GSCHLE - Specified Sex
Data type: RNPA1-GSCHLEOptional: No
Call by Reference: No ( called with pass by value option)
SS_LEAVE_SCREEN - Indicator that LEAVE SCREEN Is to Be Executed
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
SS_LIST_OKCODE - Function that Was Executed in the List
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ISH_PAT_SCREEN 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_ss_einri | TYPE RNPA1-EINRI, " | |||
| lv_ss_enqueue_npat | TYPE RNPA1, " 'X' | |||
| lv_ss_nname | TYPE RNPA1-NNAME, " | |||
| lv_ss_okcode | TYPE RNPA1, " | |||
| lv_ss_patnr | TYPE NPAT-PATNR, " | |||
| lv_ss_pziff | TYPE NPAT-PZIFF, " | |||
| lv_ss_search | TYPE NPAT, " | |||
| lv_ss_vcode_new | TYPE RNPA1-VCODE, " | |||
| lv_ss_vcode_npae | TYPE RNPA1-VCODE, " | |||
| lv_ss_vname | TYPE RNPA1-VNAME, " | |||
| lv_ss_rvnum | TYPE RNPA1-RVNUM, " | |||
| lv_ss_extnr | TYPE RNPA1-EXTNR, " | |||
| lv_ss_falnr | TYPE NFAL-FALNR, " | |||
| lv_ss_fcode_list | TYPE NFAL, " SPACE | |||
| lv_ss_passnr | TYPE RNPA1-PASSNR, " | |||
| lv_ss_taxnum | TYPE RNPA1-TAXNUM, " | |||
| lv_ss_stp | TYPE RNPA1-STP, " | |||
| lv_ss_pat_canc_inst | TYPE NPDOK-C1, " | |||
| lv_ss_papid | TYPE NPAP-PAPID, " | |||
| lv_ss_vkgid | TYPE N1VKG-VKGID, " | |||
| lv_ss_lfdbw_batch_input | TYPE RNPA1-LFDBW, " | |||
| lv_ss_fr_birthrk | TYPE RNPA1-/ISHFR/BIRTHRK, " | |||
| lv_ss_fziff | TYPE NFAL-FZIFF, " | |||
| lv_ss_list_ok_code | TYPE NFAL, " SPACE | |||
| lv_ss_gbdab | TYPE RNPA1-GBDAB, " | |||
| lv_ss_ok_code | TYPE RNPA1, " SPACE | |||
| lv_ss_gbdav | TYPE RNPA1-GBDAV, " | |||
| lv_ss_tcode | TYPE SY-TCODE, " | |||
| lv_ss_gbnam | TYPE RNPA1-GBNAM, " | |||
| lv_ss_vcode | TYPE RNPA1-VCODE, " 'DEF' | |||
| lv_ss_gschle | TYPE RNPA1-GSCHLE, " | |||
| lv_ss_vcode_npat | TYPE RNPA1-VCODE, " 'DIS' | |||
| lv_ss_zuo_list | TYPE RNPA1, " SPACE | |||
| lv_ss_leave_screen | TYPE RNPA1, " | |||
| lv_ss_read_npap | TYPE C1, " SPACE | |||
| lv_ss_list_okcode | TYPE C1. " |
|   CALL FUNCTION 'ISH_PAT_SCREEN' " |
| EXPORTING | ||
| SS_ENQUEUE_NPAT | = lv_ss_enqueue_npat | |
| SS_FCODE_LIST | = lv_ss_fcode_list | |
| SS_LIST_OK_CODE | = lv_ss_list_ok_code | |
| SS_OK_CODE | = lv_ss_ok_code | |
| SS_TCODE | = lv_ss_tcode | |
| SS_VCODE | = lv_ss_vcode | |
| SS_VCODE_NPAT | = lv_ss_vcode_npat | |
| SS_ZUO_LIST | = lv_ss_zuo_list | |
| SS_READ_NPAP | = lv_ss_read_npap | |
| IMPORTING | ||
| SS_EINRI | = lv_ss_einri | |
| SS_NNAME | = lv_ss_nname | |
| SS_OKCODE | = lv_ss_okcode | |
| SS_PATNR | = lv_ss_patnr | |
| SS_PZIFF | = lv_ss_pziff | |
| SS_SEARCH | = lv_ss_search | |
| SS_VCODE_NEW | = lv_ss_vcode_new | |
| SS_VCODE_NPAE | = lv_ss_vcode_npae | |
| SS_VNAME | = lv_ss_vname | |
| SS_RVNUM | = lv_ss_rvnum | |
| SS_EXTNR | = lv_ss_extnr | |
| SS_FALNR | = lv_ss_falnr | |
| SS_PASSNR | = lv_ss_passnr | |
| SS_TAXNUM | = lv_ss_taxnum | |
| SS_STP | = lv_ss_stp | |
| SS_PAT_CANC_INST | = lv_ss_pat_canc_inst | |
| SS_PAPID | = lv_ss_papid | |
| SS_VKGID | = lv_ss_vkgid | |
| SS_LFDBW_BATCH_INPUT | = lv_ss_lfdbw_batch_input | |
| SS_FR_BIRTHRK | = lv_ss_fr_birthrk | |
| SS_FZIFF | = lv_ss_fziff | |
| SS_GBDAB | = lv_ss_gbdab | |
| SS_GBDAV | = lv_ss_gbdav | |
| SS_GBNAM | = lv_ss_gbnam | |
| SS_GSCHLE | = lv_ss_gschle | |
| SS_LEAVE_SCREEN | = lv_ss_leave_screen | |
| SS_LIST_OKCODE | = lv_ss_list_okcode | |
| . " ISH_PAT_SCREEN | ||
ABAP code using 7.40 inline data declarations to call FM ISH_PAT_SCREEN
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 EINRI FROM RNPA1 INTO @DATA(ld_ss_einri). | ||||
| DATA(ld_ss_enqueue_npat) | = 'X'. | |||
| "SELECT single NNAME FROM RNPA1 INTO @DATA(ld_ss_nname). | ||||
| "SELECT single PATNR FROM NPAT INTO @DATA(ld_ss_patnr). | ||||
| "SELECT single PZIFF FROM NPAT INTO @DATA(ld_ss_pziff). | ||||
| "SELECT single VCODE FROM RNPA1 INTO @DATA(ld_ss_vcode_new). | ||||
| "SELECT single VCODE FROM RNPA1 INTO @DATA(ld_ss_vcode_npae). | ||||
| "SELECT single VNAME FROM RNPA1 INTO @DATA(ld_ss_vname). | ||||
| "SELECT single RVNUM FROM RNPA1 INTO @DATA(ld_ss_rvnum). | ||||
| "SELECT single EXTNR FROM RNPA1 INTO @DATA(ld_ss_extnr). | ||||
| "SELECT single FALNR FROM NFAL INTO @DATA(ld_ss_falnr). | ||||
| DATA(ld_ss_fcode_list) | = ' '. | |||
| "SELECT single PASSNR FROM RNPA1 INTO @DATA(ld_ss_passnr). | ||||
| "SELECT single TAXNUM FROM RNPA1 INTO @DATA(ld_ss_taxnum). | ||||
| "SELECT single STP FROM RNPA1 INTO @DATA(ld_ss_stp). | ||||
| "SELECT single C1 FROM NPDOK INTO @DATA(ld_ss_pat_canc_inst). | ||||
| "SELECT single PAPID FROM NPAP INTO @DATA(ld_ss_papid). | ||||
| "SELECT single VKGID FROM N1VKG INTO @DATA(ld_ss_vkgid). | ||||
| "SELECT single LFDBW FROM RNPA1 INTO @DATA(ld_ss_lfdbw_batch_input). | ||||
| "SELECT single /ISHFR/BIRTHRK FROM RNPA1 INTO @DATA(ld_ss_fr_birthrk). | ||||
| "SELECT single FZIFF FROM NFAL INTO @DATA(ld_ss_fziff). | ||||
| DATA(ld_ss_list_ok_code) | = ' '. | |||
| "SELECT single GBDAB FROM RNPA1 INTO @DATA(ld_ss_gbdab). | ||||
| DATA(ld_ss_ok_code) | = ' '. | |||
| "SELECT single GBDAV FROM RNPA1 INTO @DATA(ld_ss_gbdav). | ||||
| "SELECT single TCODE FROM SY INTO @DATA(ld_ss_tcode). | ||||
| "SELECT single GBNAM FROM RNPA1 INTO @DATA(ld_ss_gbnam). | ||||
| "SELECT single VCODE FROM RNPA1 INTO @DATA(ld_ss_vcode). | ||||
| DATA(ld_ss_vcode) | = 'DEF'. | |||
| "SELECT single GSCHLE FROM RNPA1 INTO @DATA(ld_ss_gschle). | ||||
| "SELECT single VCODE FROM RNPA1 INTO @DATA(ld_ss_vcode_npat). | ||||
| DATA(ld_ss_vcode_npat) | = 'DIS'. | |||
| DATA(ld_ss_zuo_list) | = ' '. | |||
| DATA(ld_ss_read_npap) | = ' '. | |||
Search for further information about these or an SAP related objects