SAP ISH_CALL_LIST Function Module for IS-H: Screens for calling selection lists from applications
ISH_CALL_LIST is a standard ish call list 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: Screens for calling selection lists from applications 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 call list FM, simply by entering the name ISH_CALL_LIST into the relevant SAP transaction such as SE37 or SE38.
Function Group: N01P
Program Name: SAPLN01P
Main Program: SAPLN01P
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function ISH_CALL_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 'ISH_CALL_LIST'"IS-H: Screens for calling selection lists from applications.
EXPORTING
* ACODE = ' ' "Selection from list possible ->
EINRI = "Institution
* MCODE = 1 "Menu request ->
* WCOL = 5 "Column of upper left corner of window
* WROW = 5 "Line of upper left corner of window
IMPORTING
BCODE = "Return status ->
BEWNR = "Sequential no. of movement
FALNR = "Case number
FZIFF = "Check digit for case number
PATNR = "Patient number
PZIFF = "Check digit for patient number
EXCEPTIONS
WRONG_MCODE = 1
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_SAPLN01P_001 IS-H: Advanced Search
IMPORTING Parameters details for ISH_CALL_LIST
ACODE - Selection from list possible ->
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EINRI - Institution
Data type: TN01-EINRIOptional: No
Call by Reference: No ( called with pass by value option)
MCODE - Menu request ->
Data type:Default: 1
Optional: Yes
Call by Reference: No ( called with pass by value option)
WCOL - Column of upper left corner of window
Data type: SY-WINX1Default: 5
Optional: Yes
Call by Reference: No ( called with pass by value option)
WROW - Line of upper left corner of window
Data type: SY-WINY1Default: 5
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for ISH_CALL_LIST
BCODE - Return status ->
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
BEWNR - Sequential no. of movement
Data type: NBEW-LFDNROptional: No
Call by Reference: No ( called with pass by value option)
FALNR - Case number
Data type: NFAL-FALNROptional: No
Call by Reference: No ( called with pass by value option)
FZIFF - Check digit for case number
Data type: NFAL-FZIFFOptional: No
Call by Reference: No ( called with pass by value option)
PATNR - Patient number
Data type: NFAL-PATNROptional: No
Call by Reference: No ( called with pass by value option)
PZIFF - Check digit for patient number
Data type: NFAL-FZIFFOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
WRONG_MCODE - Inexistent menu called
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ISH_CALL_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: | ||||
lv_acode | TYPE STRING, " SPACE | |||
lv_bcode | TYPE STRING, " | |||
lv_wrong_mcode | TYPE STRING, " | |||
lv_bewnr | TYPE NBEW-LFDNR, " | |||
lv_einri | TYPE TN01-EINRI, " | |||
lv_falnr | TYPE NFAL-FALNR, " | |||
lv_mcode | TYPE NFAL, " 1 | |||
lv_wcol | TYPE SY-WINX1, " 5 | |||
lv_fziff | TYPE NFAL-FZIFF, " | |||
lv_wrow | TYPE SY-WINY1, " 5 | |||
lv_patnr | TYPE NFAL-PATNR, " | |||
lv_pziff | TYPE NFAL-FZIFF. " |
  CALL FUNCTION 'ISH_CALL_LIST' "IS-H: Screens for calling selection lists from applications |
EXPORTING | ||
ACODE | = lv_acode | |
EINRI | = lv_einri | |
MCODE | = lv_mcode | |
WCOL | = lv_wcol | |
WROW | = lv_wrow | |
IMPORTING | ||
BCODE | = lv_bcode | |
BEWNR | = lv_bewnr | |
FALNR | = lv_falnr | |
FZIFF | = lv_fziff | |
PATNR | = lv_patnr | |
PZIFF | = lv_pziff | |
EXCEPTIONS | ||
WRONG_MCODE = 1 | ||
. " ISH_CALL_LIST |
ABAP code using 7.40 inline data declarations to call FM ISH_CALL_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.DATA(ld_acode) | = ' '. | |||
"SELECT single LFDNR FROM NBEW INTO @DATA(ld_bewnr). | ||||
"SELECT single EINRI FROM TN01 INTO @DATA(ld_einri). | ||||
"SELECT single FALNR FROM NFAL INTO @DATA(ld_falnr). | ||||
DATA(ld_mcode) | = 1. | |||
"SELECT single WINX1 FROM SY INTO @DATA(ld_wcol). | ||||
DATA(ld_wcol) | = 5. | |||
"SELECT single FZIFF FROM NFAL INTO @DATA(ld_fziff). | ||||
"SELECT single WINY1 FROM SY INTO @DATA(ld_wrow). | ||||
DATA(ld_wrow) | = 5. | |||
"SELECT single PATNR FROM NFAL INTO @DATA(ld_patnr). | ||||
"SELECT single FZIFF FROM NFAL INTO @DATA(ld_pziff). | ||||
Search for further information about these or an SAP related objects