SAP ISH_SHOW_LIST_FALL Function Module for IS-H: Create a case list for a patient









ISH_SHOW_LIST_FALL is a standard ish show list fall 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: Create a case list for a 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 show list fall FM, simply by entering the name ISH_SHOW_LIST_FALL into the relevant SAP transaction such as SE37 or SE38.

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



Function ISH_SHOW_LIST_FALL 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_SHOW_LIST_FALL'"IS-H: Create a case list for a patient
EXPORTING
NFAL_EINRI = "Institution required
* LIST_LAYOUT = '0' "List layout ...
* POPUP = ' ' "Case list in dialog box ('X') optional
* COL = 5 "Column if case list as dialog box optional
* ROW = 6 "Row if case list as dialog box optional
* CALL_FROM_DARK = ' ' "Called from basic flow... optional
* ONLY_FALNR = ' ' "Indicator whether only NFAL_FALNR ..('X') optional
* EXIT_ON_WEITER = ' ' "ENTER exits function module ('X') optional
* ZUORDNUNG = 'A' "For case-to-case asgmt asgmt category optional
* CLEAR_RNPA1_FALNR = ' ' "Delete RNPA1-FALNR -> F2
* MARK_MULTIPLE = ' ' "Selection of multiple movements allowed ON/OFF
* NFAL_FALNR = ' ' "Case number optional
* READ_N1VKG = ' ' "Display preregistrations (ON/OFF)
* ONLY_OPERA = OFF "Display surgery movements only
* I_REFRESH = '0' "
* I_ONLY_ISV = OFF "
* I_EXCLUDE_LFDBEW = 0 "
* I_TITLEBAR_200 = ' ' "
* NFAL_FZIFF = ' ' "Check digit case optional
NFAL_PATNR = "Patient number required
* NPATSTRING = ' ' "Work area with NPAT contents optional
* REPID = ' ' "Calling program optional
* TCODE = ' ' "Transaction code optional
* VCODE = ' ' "Processing code optional
* FCODE = 'SO' "Function code ... optional

IMPORTING
LIST_OKCODE = "Function key from case list
STORNO_SELECTED = "Canceled case was selected
VCODE_NEU = "Change VCODE ? New VCODE
WEITER = "Flag, whether processing is continued
NBEW_BEWTY = "Movement category of selected row
NBEW_LFDNR = "Sequence Number of Movement
NFAL_FALNR = "Case number optional
NFAL_FZIFF = "Check digit case optional
VKGID = "Preregistration ID
TMNID = "Appointment ID
NO_LIST = "List not created?
SELECT_NFAL = "Flag, whether case number was selected

TABLES
* NBEW_LFDNR_TAB = "Selected Movements (NBEW-LFDNR)

EXCEPTIONS
PAT_NOT_FOUND = 1 REPID_MISSING = 2
.



IMPORTING Parameters details for ISH_SHOW_LIST_FALL

NFAL_EINRI - Institution required

Data type: NPAT-EINRI
Optional: No
Call by Reference: No ( called with pass by value option)

LIST_LAYOUT - List layout ...

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

POPUP - Case list in dialog box ('X') optional

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

COL - Column if case list as dialog box optional

Data type: SY-WINX1
Default: 5
Optional: Yes
Call by Reference: No ( called with pass by value option)

ROW - Row if case list as dialog box optional

Data type: SY-WINY1
Default: 6
Optional: Yes
Call by Reference: No ( called with pass by value option)

CALL_FROM_DARK - Called from basic flow... optional

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

ONLY_FALNR - Indicator whether only NFAL_FALNR ..('X') optional

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

EXIT_ON_WEITER - ENTER exits function module ('X') optional

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

ZUORDNUNG - For case-to-case asgmt asgmt category optional

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

CLEAR_RNPA1_FALNR - Delete RNPA1-FALNR -> F2

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

MARK_MULTIPLE - Selection of multiple movements allowed ON/OFF

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

NFAL_FALNR - Case number optional

Data type: NFAL-FALNR
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

READ_N1VKG - Display preregistrations (ON/OFF)

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

ONLY_OPERA - Display surgery movements only

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

I_REFRESH -

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

I_ONLY_ISV -

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

I_EXCLUDE_LFDBEW -

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

I_TITLEBAR_200 -

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

NFAL_FZIFF - Check digit case optional

Data type: NFAL-FZIFF
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

NFAL_PATNR - Patient number required

Data type: NPAT-PATNR
Optional: No
Call by Reference: No ( called with pass by value option)

NPATSTRING - Work area with NPAT contents optional

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

REPID - Calling program optional

Data type: SY-REPID
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

TCODE - Transaction code optional

Data type: SY-TCODE
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

VCODE - Processing code optional

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

FCODE - Function code ... optional

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

EXPORTING Parameters details for ISH_SHOW_LIST_FALL

LIST_OKCODE - Function key from case list

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

STORNO_SELECTED - Canceled case was selected

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

VCODE_NEU - Change VCODE ? New VCODE

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

WEITER - Flag, whether processing is continued

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

NBEW_BEWTY - Movement category of selected row

Data type: NBEW-BEWTY
Optional: No
Call by Reference: No ( called with pass by value option)

NBEW_LFDNR - Sequence Number of Movement

Data type: NBEW-LFDNR
Optional: No
Call by Reference: No ( called with pass by value option)

NFAL_FALNR - Case number optional

Data type: NFAL-FALNR
Optional: No
Call by Reference: No ( called with pass by value option)

NFAL_FZIFF - Check digit case optional

Data type: NFAL-FZIFF
Optional: No
Call by Reference: No ( called with pass by value option)

VKGID - Preregistration ID

Data type: N1VKG-VKGID
Optional: No
Call by Reference: No ( called with pass by value option)

TMNID - Appointment ID

Data type: NTMN-TMNID
Optional: No
Call by Reference: No ( called with pass by value option)

NO_LIST - List not created?

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

SELECT_NFAL - Flag, whether case number was selected

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

TABLES Parameters details for ISH_SHOW_LIST_FALL

NBEW_LFDNR_TAB - Selected Movements (NBEW-LFDNR)

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

EXCEPTIONS details

PAT_NOT_FOUND - Patient not found for case

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

REPID_MISSING - REPID missing at CALL_FROM_DARK = 'X'

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

Copy and paste ABAP code example for ISH_SHOW_LIST_FALL 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_nfal_einri  TYPE NPAT-EINRI, "   
lv_list_okcode  TYPE NPAT, "   
lv_pat_not_found  TYPE NPAT, "   
lt_nbew_lfdnr_tab  TYPE STANDARD TABLE OF NPAT, "   
lv_list_layout  TYPE NPAT, "   '0'
lv_storno_selected  TYPE NPAT, "   
lv_popup  TYPE NPAT, "   SPACE
lv_vcode_neu  TYPE NPAT, "   
lv_col  TYPE SY-WINX1, "   5
lv_weiter  TYPE SY, "   
lv_row  TYPE SY-WINY1, "   6
lv_call_from_dark  TYPE SY, "   SPACE
lv_only_falnr  TYPE SY, "   SPACE
lv_exit_on_weiter  TYPE SY, "   SPACE
lv_zuordnung  TYPE SY, "   'A'
lv_clear_rnpa1_falnr  TYPE NPDOK-XFELD, "   ' '
lv_mark_multiple  TYPE NPDOK-XFELD, "   ' '
lv_nbew_bewty  TYPE NBEW-BEWTY, "   
lv_nfal_falnr  TYPE NFAL-FALNR, "   SPACE
lv_repid_missing  TYPE NFAL, "   
lv_read_n1vkg  TYPE ISH_ON_OFF, "   ' '
lv_only_opera  TYPE ISH_ON_OFF, "   OFF
lv_i_refresh  TYPE ISH_TRUE_FALSE, "   '0'
lv_i_only_isv  TYPE ISH_ON_OFF, "   OFF
lv_i_exclude_lfdbew  TYPE LFDBEW, "   0
lv_i_titlebar_200  TYPE STRING, "   SPACE
lv_nbew_lfdnr  TYPE NBEW-LFDNR, "   
lv_nfal_fziff  TYPE NFAL-FZIFF, "   SPACE
lv_nfal_falnr  TYPE NFAL-FALNR, "   
lv_nfal_patnr  TYPE NPAT-PATNR, "   
lv_nfal_fziff  TYPE NFAL-FZIFF, "   
lv_npatstring  TYPE NPAT, "   SPACE
lv_repid  TYPE SY-REPID, "   SPACE
lv_vkgid  TYPE N1VKG-VKGID, "   
lv_tcode  TYPE SY-TCODE, "   SPACE
lv_tmnid  TYPE NTMN-TMNID, "   
lv_vcode  TYPE NTMN, "   SPACE
lv_no_list  TYPE NTMN, "   
lv_fcode  TYPE NTMN, "   'SO'
lv_select_nfal  TYPE NTMN. "   

  CALL FUNCTION 'ISH_SHOW_LIST_FALL'  "IS-H: Create a case list for a patient
    EXPORTING
         NFAL_EINRI = lv_nfal_einri
         LIST_LAYOUT = lv_list_layout
         POPUP = lv_popup
         COL = lv_col
         ROW = lv_row
         CALL_FROM_DARK = lv_call_from_dark
         ONLY_FALNR = lv_only_falnr
         EXIT_ON_WEITER = lv_exit_on_weiter
         ZUORDNUNG = lv_zuordnung
         CLEAR_RNPA1_FALNR = lv_clear_rnpa1_falnr
         MARK_MULTIPLE = lv_mark_multiple
         NFAL_FALNR = lv_nfal_falnr
         READ_N1VKG = lv_read_n1vkg
         ONLY_OPERA = lv_only_opera
         I_REFRESH = lv_i_refresh
         I_ONLY_ISV = lv_i_only_isv
         I_EXCLUDE_LFDBEW = lv_i_exclude_lfdbew
         I_TITLEBAR_200 = lv_i_titlebar_200
         NFAL_FZIFF = lv_nfal_fziff
         NFAL_PATNR = lv_nfal_patnr
         NPATSTRING = lv_npatstring
         REPID = lv_repid
         TCODE = lv_tcode
         VCODE = lv_vcode
         FCODE = lv_fcode
    IMPORTING
         LIST_OKCODE = lv_list_okcode
         STORNO_SELECTED = lv_storno_selected
         VCODE_NEU = lv_vcode_neu
         WEITER = lv_weiter
         NBEW_BEWTY = lv_nbew_bewty
         NBEW_LFDNR = lv_nbew_lfdnr
         NFAL_FALNR = lv_nfal_falnr
         NFAL_FZIFF = lv_nfal_fziff
         VKGID = lv_vkgid
         TMNID = lv_tmnid
         NO_LIST = lv_no_list
         SELECT_NFAL = lv_select_nfal
    TABLES
         NBEW_LFDNR_TAB = lt_nbew_lfdnr_tab
    EXCEPTIONS
        PAT_NOT_FOUND = 1
        REPID_MISSING = 2
. " ISH_SHOW_LIST_FALL




ABAP code using 7.40 inline data declarations to call FM ISH_SHOW_LIST_FALL

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 NPAT INTO @DATA(ld_nfal_einri).
 
 
 
 
DATA(ld_list_layout) = '0'.
 
 
DATA(ld_popup) = ' '.
 
 
"SELECT single WINX1 FROM SY INTO @DATA(ld_col).
DATA(ld_col) = 5.
 
 
"SELECT single WINY1 FROM SY INTO @DATA(ld_row).
DATA(ld_row) = 6.
 
DATA(ld_call_from_dark) = ' '.
 
DATA(ld_only_falnr) = ' '.
 
DATA(ld_exit_on_weiter) = ' '.
 
DATA(ld_zuordnung) = 'A'.
 
"SELECT single XFELD FROM NPDOK INTO @DATA(ld_clear_rnpa1_falnr).
DATA(ld_clear_rnpa1_falnr) = ' '.
 
"SELECT single XFELD FROM NPDOK INTO @DATA(ld_mark_multiple).
DATA(ld_mark_multiple) = ' '.
 
"SELECT single BEWTY FROM NBEW INTO @DATA(ld_nbew_bewty).
 
"SELECT single FALNR FROM NFAL INTO @DATA(ld_nfal_falnr).
DATA(ld_nfal_falnr) = ' '.
 
 
DATA(ld_read_n1vkg) = ' '.
 
DATA(ld_only_opera) = OFF.
 
DATA(ld_i_refresh) = '0'.
 
DATA(ld_i_only_isv) = OFF.
 
 
DATA(ld_i_titlebar_200) = ' '.
 
"SELECT single LFDNR FROM NBEW INTO @DATA(ld_nbew_lfdnr).
 
"SELECT single FZIFF FROM NFAL INTO @DATA(ld_nfal_fziff).
DATA(ld_nfal_fziff) = ' '.
 
"SELECT single FALNR FROM NFAL INTO @DATA(ld_nfal_falnr).
 
"SELECT single PATNR FROM NPAT INTO @DATA(ld_nfal_patnr).
 
"SELECT single FZIFF FROM NFAL INTO @DATA(ld_nfal_fziff).
 
DATA(ld_npatstring) = ' '.
 
"SELECT single REPID FROM SY INTO @DATA(ld_repid).
DATA(ld_repid) = ' '.
 
"SELECT single VKGID FROM N1VKG INTO @DATA(ld_vkgid).
 
"SELECT single TCODE FROM SY INTO @DATA(ld_tcode).
DATA(ld_tcode) = ' '.
 
"SELECT single TMNID FROM NTMN INTO @DATA(ld_tmnid).
 
DATA(ld_vcode) = ' '.
 
 
DATA(ld_fcode) = 'SO'.
 
 


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!