SAP ISH_INSREL_VALUE_HELP Function Module for IS-H: List with IRs with Selection Option









ISH_INSREL_VALUE_HELP is a standard ish insrel value help 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: List with IRs with Selection Option 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 insrel value help FM, simply by entering the name ISH_INSREL_VALUE_HELP into the relevant SAP transaction such as SE37 or SE38.

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



Function ISH_INSREL_VALUE_HELP 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_INSREL_VALUE_HELP'"IS-H: List with IRs with Selection Option
EXPORTING
* SI_PATNR = "IS-H: Patient Number
* SI_READ_DB = ' ' "Display Database Status
* SI_FALNR = "IS-H: Case Number
* SI_EINRI = "IS-H: Institution
* SI_MODE = 'A' "'A': All IRs, 'P': Patient-Related only, 'C': Case-Related only
* SI_SEL_IF_ONE = ' ' "'X': No Dialog with only one IR
* SI_DISPLAY_EMPTY = ' ' "'X': Display Empty List also
* SI_CONTAINER = "Use this Container and not Separate Screen
* SI_OKCODE_SEL = 'SEL' "OK Code for F2 on List (for External Container)
* SI_VCODE = 'DIS' "IS-H: Processing Mode

IMPORTING
SE_KOSTR = "IS-H: Insurance Provider
SE_LFDNR = "IS-H: Sequence Number of Insurance Relationship
SE_VVFAL = "IS-H: Insurance Maintained for Case

TABLES
* SI_FILTER_KOSTR = "IS-H: General Range Structure for Insurance Provider
* SI_FILTER_PATKZ = "IS-H: General Range Structure for Indicators (Checkboxes)
* SI_FILTER_VERNR = "IS-H: General Range Structure for Insurance Numbers
* SI_FILTER_LNCRD = "

EXCEPTIONS
NOTHING_SELECTED = 1 NOTHING_FOUND = 2
.



IMPORTING Parameters details for ISH_INSREL_VALUE_HELP

SI_PATNR - IS-H: Patient Number

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

SI_READ_DB - Display Database Status

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

SI_FALNR - IS-H: Case Number

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

SI_EINRI - IS-H: Institution

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

SI_MODE - 'A': All IRs, 'P': Patient-Related only, 'C': Case-Related only

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

SI_SEL_IF_ONE - 'X': No Dialog with only one IR

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

SI_DISPLAY_EMPTY - 'X': Display Empty List also

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

SI_CONTAINER - Use this Container and not Separate Screen

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

SI_OKCODE_SEL - OK Code for F2 on List (for External Container)

Data type: SY-UCOMM
Default: 'SEL'
Optional: Yes
Call by Reference: No ( called with pass by value option)

SI_VCODE - IS-H: Processing Mode

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

EXPORTING Parameters details for ISH_INSREL_VALUE_HELP

SE_KOSTR - IS-H: Insurance Provider

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

SE_LFDNR - IS-H: Sequence Number of Insurance Relationship

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

SE_VVFAL - IS-H: Insurance Maintained for Case

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

TABLES Parameters details for ISH_INSREL_VALUE_HELP

SI_FILTER_KOSTR - IS-H: General Range Structure for Insurance Provider

Data type: RNRANGEKOSTR
Optional: Yes
Call by Reference: Yes

SI_FILTER_PATKZ - IS-H: General Range Structure for Indicators (Checkboxes)

Data type: RNRANGEXFELD
Optional: Yes
Call by Reference: Yes

SI_FILTER_VERNR - IS-H: General Range Structure for Insurance Numbers

Data type: RNRANGEVERNR
Optional: Yes
Call by Reference: Yes

SI_FILTER_LNCRD -

Data type: RNRANGELNCRD
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

NOTHING_SELECTED - User Canceled Selection

Data type:
Optional: No
Call by Reference: Yes

NOTHING_FOUND - Nothing Found

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for ISH_INSREL_VALUE_HELP 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_se_kostr  TYPE KH_KOSTR, "   
lv_si_patnr  TYPE PATNR, "   
lt_si_filter_kostr  TYPE STANDARD TABLE OF RNRANGEKOSTR, "   
lv_nothing_selected  TYPE RNRANGEKOSTR, "   
lv_si_read_db  TYPE ISH_ON_OFF, "   ' '
lv_se_lfdnr  TYPE LFDVV, "   
lv_si_falnr  TYPE FALNR, "   
lv_nothing_found  TYPE FALNR, "   
lt_si_filter_patkz  TYPE STANDARD TABLE OF RNRANGEXFELD, "   
lv_se_vvfal  TYPE ISH_FALGEF, "   
lv_si_einri  TYPE EINRI, "   
lt_si_filter_vernr  TYPE STANDARD TABLE OF RNRANGEVERNR, "   
lv_si_mode  TYPE C, "   'A'
lt_si_filter_lncrd  TYPE STANDARD TABLE OF RNRANGELNCRD, "   
lv_si_sel_if_one  TYPE ISH_ON_OFF, "   ' '
lv_si_display_empty  TYPE ISH_ON_OFF, "   ' '
lv_si_container  TYPE CL_GUI_CONTAINER, "   
lv_si_okcode_sel  TYPE SY-UCOMM, "   'SEL'
lv_si_vcode  TYPE ISH_VCODE. "   'DIS'

  CALL FUNCTION 'ISH_INSREL_VALUE_HELP'  "IS-H: List with IRs with Selection Option
    EXPORTING
         SI_PATNR = lv_si_patnr
         SI_READ_DB = lv_si_read_db
         SI_FALNR = lv_si_falnr
         SI_EINRI = lv_si_einri
         SI_MODE = lv_si_mode
         SI_SEL_IF_ONE = lv_si_sel_if_one
         SI_DISPLAY_EMPTY = lv_si_display_empty
         SI_CONTAINER = lv_si_container
         SI_OKCODE_SEL = lv_si_okcode_sel
         SI_VCODE = lv_si_vcode
    IMPORTING
         SE_KOSTR = lv_se_kostr
         SE_LFDNR = lv_se_lfdnr
         SE_VVFAL = lv_se_vvfal
    TABLES
         SI_FILTER_KOSTR = lt_si_filter_kostr
         SI_FILTER_PATKZ = lt_si_filter_patkz
         SI_FILTER_VERNR = lt_si_filter_vernr
         SI_FILTER_LNCRD = lt_si_filter_lncrd
    EXCEPTIONS
        NOTHING_SELECTED = 1
        NOTHING_FOUND = 2
. " ISH_INSREL_VALUE_HELP




ABAP code using 7.40 inline data declarations to call FM ISH_INSREL_VALUE_HELP

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_si_read_db) = ' '.
 
 
 
 
 
 
 
 
DATA(ld_si_mode) = 'A'.
 
 
DATA(ld_si_sel_if_one) = ' '.
 
DATA(ld_si_display_empty) = ' '.
 
 
"SELECT single UCOMM FROM SY INTO @DATA(ld_si_okcode_sel).
DATA(ld_si_okcode_sel) = 'SEL'.
 
DATA(ld_si_vcode) = 'DIS'.
 


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!