SAP ISHMED_FALL_LIST Function Module for









ISHMED_FALL_LIST is a standard ishmed fall list 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 ishmed fall list FM, simply by entering the name ISHMED_FALL_LIST into the relevant SAP transaction such as SE37 or SE38.

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



Function ISHMED_FALL_LIST 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 'ISHMED_FALL_LIST'"
EXPORTING
I_EINRI = "Institution
* I_NEW_CASE = ' ' "
* I_NEW_BEW = 'X' "
* I_CHG_BEW = 'X' "
* I_SEL_NBEW = 'X' "
* I_SEL_AMB_BEW = ' ' "
* I_GDAT = '19000101' "
* I_GDAT_BIS = '99991231' "
* I_CHECK_ANKER = ' ' "
* I_OP_BEW = ' ' "
* I_CASE_BUTTONS = ' ' "
* I_FALNR = ' ' "
* I_MTS_CLOSED = ' ' "
* I_RNADP = ' ' "RNADP Structure for Presetting the Admission Data
* I_CHECK_DATAS = ' ' "Should the system run a check for the patient master data and case data?
* I_NFAL_HIGHLIGHT = "
* I_KUNDEN_SORT = ' ' "
* I_CHECK_LOCK_PAT = ' ' "
* I_LOCK_TAB = 'X' "
* I_MODE = 'A' "
* I_NBEW = ' ' "
* I_PATNR = ' ' "
* I_SORT = 'ORGPF' "
* I_TITLE = ' ' "
* I_VCODE = 'UPD' "

IMPORTING
E_FCODE = "
E_NBEW = "
E_NFAL = "

TABLES
* T_NORG = "
* T_NFAL = "

EXCEPTIONS
OTHER_ERROR = 1 READ_ERROR = 2
.




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_SAPLN1LI_001 IS-H*MED: User Exit for Case Determination when Creating Follow-Up Visit
EXIT_SAPLN1LI_002 IS-H*MED: User Exit before Calling the Scheduling Function

IMPORTING Parameters details for ISHMED_FALL_LIST

I_EINRI - Institution

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

I_NEW_CASE -

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

I_NEW_BEW -

Data type: RNT40-MARK
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_CHG_BEW -

Data type: RNT40-MARK
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_SEL_NBEW -

Data type: RNT40-MARK
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_SEL_AMB_BEW -

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

I_GDAT -

Data type: NBEW-BWIDT
Default: '19000101'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_GDAT_BIS -

Data type: NBEW-BWIDT
Default: '99991231'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_CHECK_ANKER -

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

I_OP_BEW -

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

I_CASE_BUTTONS -

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

I_FALNR -

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

I_MTS_CLOSED -

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

I_RNADP - RNADP Structure for Presetting the Admission Data

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

I_CHECK_DATAS - Should the system run a check for the patient master data and case data?

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

I_NFAL_HIGHLIGHT -

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

I_KUNDEN_SORT -

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

I_CHECK_LOCK_PAT -

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

I_LOCK_TAB -

Data type: RNT40-MARK
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_MODE -

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

I_NBEW -

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

I_PATNR -

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

I_SORT -

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

I_TITLE -

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

I_VCODE -

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

EXPORTING Parameters details for ISHMED_FALL_LIST

E_FCODE -

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

E_NBEW -

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

E_NFAL -

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

TABLES Parameters details for ISHMED_FALL_LIST

T_NORG -

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

T_NFAL -

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

EXCEPTIONS details

OTHER_ERROR - Other error

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

READ_ERROR - Error when reading important data

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

Copy and paste ABAP code example for ISHMED_FALL_LIST 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:
lt_t_norg  TYPE STANDARD TABLE OF NORG, "   
lv_e_fcode  TYPE NORG, "   
lv_i_einri  TYPE NFAL-EINRI, "   
lv_other_error  TYPE NFAL, "   
lv_i_new_case  TYPE RNT40-MARK, "   SPACE
lv_i_new_bew  TYPE RNT40-MARK, "   'X'
lv_i_chg_bew  TYPE RNT40-MARK, "   'X'
lv_i_sel_nbew  TYPE RNT40-MARK, "   'X'
lv_i_sel_amb_bew  TYPE RNT40-MARK, "   SPACE
lv_i_gdat  TYPE NBEW-BWIDT, "   '19000101'
lv_i_gdat_bis  TYPE NBEW-BWIDT, "   '99991231'
lv_i_check_anker  TYPE RNT40-MARK, "   SPACE
lv_i_op_bew  TYPE RNT40-MARK, "   SPACE
lv_i_case_buttons  TYPE C, "   SPACE
lv_e_nbew  TYPE NBEW, "   
lt_t_nfal  TYPE STANDARD TABLE OF NFAL, "   
lv_i_falnr  TYPE NFAL-FALNR, "   SPACE
lv_read_error  TYPE NFAL, "   
lv_i_mts_closed  TYPE C, "   SPACE
lv_i_rnadp  TYPE RNADP, "   SPACE
lv_i_check_datas  TYPE RNT40-MARK, "   ' '
lv_i_nfal_highlight  TYPE NFAL, "   
lv_i_kunden_sort  TYPE C, "   ' '
lv_i_check_lock_pat  TYPE RNT40-MARK, "   ' '
lv_e_nfal  TYPE NFAL, "   
lv_i_lock_tab  TYPE RNT40-MARK, "   'X'
lv_i_mode  TYPE RNT40, "   'A'
lv_i_nbew  TYPE NBEW, "   SPACE
lv_i_patnr  TYPE NFAL-PATNR, "   SPACE
lv_i_sort  TYPE NFAL, "   'ORGPF'
lv_i_title  TYPE NFAL, "   SPACE
lv_i_vcode  TYPE NFAL. "   'UPD'

  CALL FUNCTION 'ISHMED_FALL_LIST'  "
    EXPORTING
         I_EINRI = lv_i_einri
         I_NEW_CASE = lv_i_new_case
         I_NEW_BEW = lv_i_new_bew
         I_CHG_BEW = lv_i_chg_bew
         I_SEL_NBEW = lv_i_sel_nbew
         I_SEL_AMB_BEW = lv_i_sel_amb_bew
         I_GDAT = lv_i_gdat
         I_GDAT_BIS = lv_i_gdat_bis
         I_CHECK_ANKER = lv_i_check_anker
         I_OP_BEW = lv_i_op_bew
         I_CASE_BUTTONS = lv_i_case_buttons
         I_FALNR = lv_i_falnr
         I_MTS_CLOSED = lv_i_mts_closed
         I_RNADP = lv_i_rnadp
         I_CHECK_DATAS = lv_i_check_datas
         I_NFAL_HIGHLIGHT = lv_i_nfal_highlight
         I_KUNDEN_SORT = lv_i_kunden_sort
         I_CHECK_LOCK_PAT = lv_i_check_lock_pat
         I_LOCK_TAB = lv_i_lock_tab
         I_MODE = lv_i_mode
         I_NBEW = lv_i_nbew
         I_PATNR = lv_i_patnr
         I_SORT = lv_i_sort
         I_TITLE = lv_i_title
         I_VCODE = lv_i_vcode
    IMPORTING
         E_FCODE = lv_e_fcode
         E_NBEW = lv_e_nbew
         E_NFAL = lv_e_nfal
    TABLES
         T_NORG = lt_t_norg
         T_NFAL = lt_t_nfal
    EXCEPTIONS
        OTHER_ERROR = 1
        READ_ERROR = 2
. " ISHMED_FALL_LIST




ABAP code using 7.40 inline data declarations to call FM ISHMED_FALL_LIST

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 NFAL INTO @DATA(ld_i_einri).
 
 
"SELECT single MARK FROM RNT40 INTO @DATA(ld_i_new_case).
DATA(ld_i_new_case) = ' '.
 
"SELECT single MARK FROM RNT40 INTO @DATA(ld_i_new_bew).
DATA(ld_i_new_bew) = 'X'.
 
"SELECT single MARK FROM RNT40 INTO @DATA(ld_i_chg_bew).
DATA(ld_i_chg_bew) = 'X'.
 
"SELECT single MARK FROM RNT40 INTO @DATA(ld_i_sel_nbew).
DATA(ld_i_sel_nbew) = 'X'.
 
"SELECT single MARK FROM RNT40 INTO @DATA(ld_i_sel_amb_bew).
DATA(ld_i_sel_amb_bew) = ' '.
 
"SELECT single BWIDT FROM NBEW INTO @DATA(ld_i_gdat).
DATA(ld_i_gdat) = '19000101'.
 
"SELECT single BWIDT FROM NBEW INTO @DATA(ld_i_gdat_bis).
DATA(ld_i_gdat_bis) = '99991231'.
 
"SELECT single MARK FROM RNT40 INTO @DATA(ld_i_check_anker).
DATA(ld_i_check_anker) = ' '.
 
"SELECT single MARK FROM RNT40 INTO @DATA(ld_i_op_bew).
DATA(ld_i_op_bew) = ' '.
 
DATA(ld_i_case_buttons) = ' '.
 
 
 
"SELECT single FALNR FROM NFAL INTO @DATA(ld_i_falnr).
DATA(ld_i_falnr) = ' '.
 
 
DATA(ld_i_mts_closed) = ' '.
 
DATA(ld_i_rnadp) = ' '.
 
"SELECT single MARK FROM RNT40 INTO @DATA(ld_i_check_datas).
DATA(ld_i_check_datas) = ' '.
 
 
DATA(ld_i_kunden_sort) = ' '.
 
"SELECT single MARK FROM RNT40 INTO @DATA(ld_i_check_lock_pat).
DATA(ld_i_check_lock_pat) = ' '.
 
 
"SELECT single MARK FROM RNT40 INTO @DATA(ld_i_lock_tab).
DATA(ld_i_lock_tab) = 'X'.
 
DATA(ld_i_mode) = 'A'.
 
DATA(ld_i_nbew) = ' '.
 
"SELECT single PATNR FROM NFAL INTO @DATA(ld_i_patnr).
DATA(ld_i_patnr) = ' '.
 
DATA(ld_i_sort) = 'ORGPF'.
 
DATA(ld_i_title) = ' '.
 
DATA(ld_i_vcode) = 'UPD'.
 


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!