SAP ISH_CHECK_SHARE Function Module for









ISH_CHECK_SHARE is a standard ish check share 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 check share FM, simply by entering the name ISH_CHECK_SHARE into the relevant SAP transaction such as SE37 or SE38.

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



Function ISH_CHECK_SHARE 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_CHECK_SHARE'"
EXPORTING
* ATARIF = ' ' "Indicator whether billing srv + charge master specified
* COMPLETE = ' ' "Indicator complete missing % / amount 'X'
I_RNEXL = "Header information such as: FALNR, EINRI, etc.
* MESSAGE_SHOW = ' ' "Display Collected Messages

IMPORTING
BTRAG = "Amount of excess/insufficient coverage
WAERS = "Local currency or currency insurance verification request
ERROR = "
DIFFERENCE = "'X'= coverage is insufficient; ' '= coverage not insufficient
DMENGE = "Difference to max. full quantity (basic quantity)
KPROZ = "Difference percentage quantity to 100 percent
LEIID = "Service for which excess/insufficient coverage exists
MAXENDDT = "Start of excess/insufficient coverage
MINBEGDT = "End of excess/insufficient coverage
PREIS = "Difference price to max. basic price
SURPLUS = "'X'=excess coverage exists; ' '= no excess coverage

TABLES
LEIST = "Table with all services to be checked of an ID
NVVF_TAB = "Table containing the current IRs for the case
I_NBEW = "
* SS_NKSP = "
* SS_RNLE5 = "Current benefits

EXCEPTIONS
MIXED = 1 MIXED_WAERS = 2
.



IMPORTING Parameters details for ISH_CHECK_SHARE

ATARIF - Indicator whether billing srv + charge master specified

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

COMPLETE - Indicator complete missing % / amount 'X'

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

I_RNEXL - Header information such as: FALNR, EINRI, etc.

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

MESSAGE_SHOW - Display Collected Messages

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

EXPORTING Parameters details for ISH_CHECK_SHARE

BTRAG - Amount of excess/insufficient coverage

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

WAERS - Local currency or currency insurance verification request

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

ERROR -

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

DIFFERENCE - 'X'= coverage is insufficient; ' '= coverage not insufficient

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

DMENGE - Difference to max. full quantity (basic quantity)

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

KPROZ - Difference percentage quantity to 100 percent

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

LEIID - Service for which excess/insufficient coverage exists

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

MAXENDDT - Start of excess/insufficient coverage

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

MINBEGDT - End of excess/insufficient coverage

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

PREIS - Difference price to max. basic price

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

SURPLUS - 'X'=excess coverage exists; ' '= no excess coverage

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

TABLES Parameters details for ISH_CHECK_SHARE

LEIST - Table with all services to be checked of an ID

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

NVVF_TAB - Table containing the current IRs for the case

Data type: NCIR
Optional: No
Call by Reference: Yes

I_NBEW -

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

SS_NKSP -

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

SS_RNLE5 - Current benefits

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

EXCEPTIONS details

MIXED - Mixed percentage + amound specified

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

MIXED_WAERS -

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

Copy and paste ABAP code example for ISH_CHECK_SHARE 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_btrag  TYPE RNLE2-DBTRAG, "   
lt_leist  TYPE STANDARD TABLE OF RNLE2, "   
lv_mixed  TYPE RNLE2, "   
lv_atarif  TYPE RNLE1-MODIFY, "   SPACE
lv_waers  TYPE RNLE2-WAERS, "   
lv_error  TYPE RNLE1-MARK, "   
lv_complete  TYPE RNLE1-MODIFY, "   SPACE
lt_nvvf_tab  TYPE STANDARD TABLE OF NCIR, "   
lv_difference  TYPE RNLE1-MODIFY, "   
lv_mixed_waers  TYPE RNLE1, "   
lv_dmenge  TYPE RNLE2-DMENGE, "   
lt_i_nbew  TYPE STANDARD TABLE OF VNBEW, "   
lv_i_rnexl  TYPE RNEXL, "   
lv_kproz  TYPE RNLE2-KPROZ, "   
lt_ss_nksp  TYPE STANDARD TABLE OF RNKSP, "   
lv_message_show  TYPE RNLE1-MARK, "   SPACE
lv_leiid  TYPE RNLE2-LEIST, "   
lt_ss_rnle5  TYPE STANDARD TABLE OF RNLE5, "   
lv_maxenddt  TYPE RNLE1-ENDDT, "   
lv_minbegdt  TYPE RNLE1-BEGDT, "   
lv_preis  TYPE RNLE2-DPREIS, "   
lv_surplus  TYPE RNLE1-MODIFY. "   

  CALL FUNCTION 'ISH_CHECK_SHARE'  "
    EXPORTING
         ATARIF = lv_atarif
         COMPLETE = lv_complete
         I_RNEXL = lv_i_rnexl
         MESSAGE_SHOW = lv_message_show
    IMPORTING
         BTRAG = lv_btrag
         WAERS = lv_waers
         ERROR = lv_error
         DIFFERENCE = lv_difference
         DMENGE = lv_dmenge
         KPROZ = lv_kproz
         LEIID = lv_leiid
         MAXENDDT = lv_maxenddt
         MINBEGDT = lv_minbegdt
         PREIS = lv_preis
         SURPLUS = lv_surplus
    TABLES
         LEIST = lt_leist
         NVVF_TAB = lt_nvvf_tab
         I_NBEW = lt_i_nbew
         SS_NKSP = lt_ss_nksp
         SS_RNLE5 = lt_ss_rnle5
    EXCEPTIONS
        MIXED = 1
        MIXED_WAERS = 2
. " ISH_CHECK_SHARE




ABAP code using 7.40 inline data declarations to call FM ISH_CHECK_SHARE

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 DBTRAG FROM RNLE2 INTO @DATA(ld_btrag).
 
 
 
"SELECT single MODIFY FROM RNLE1 INTO @DATA(ld_atarif).
DATA(ld_atarif) = ' '.
 
"SELECT single WAERS FROM RNLE2 INTO @DATA(ld_waers).
 
"SELECT single MARK FROM RNLE1 INTO @DATA(ld_error).
 
"SELECT single MODIFY FROM RNLE1 INTO @DATA(ld_complete).
DATA(ld_complete) = ' '.
 
 
"SELECT single MODIFY FROM RNLE1 INTO @DATA(ld_difference).
 
 
"SELECT single DMENGE FROM RNLE2 INTO @DATA(ld_dmenge).
 
 
 
"SELECT single KPROZ FROM RNLE2 INTO @DATA(ld_kproz).
 
 
"SELECT single MARK FROM RNLE1 INTO @DATA(ld_message_show).
DATA(ld_message_show) = ' '.
 
"SELECT single LEIST FROM RNLE2 INTO @DATA(ld_leiid).
 
 
"SELECT single ENDDT FROM RNLE1 INTO @DATA(ld_maxenddt).
 
"SELECT single BEGDT FROM RNLE1 INTO @DATA(ld_minbegdt).
 
"SELECT single DPREIS FROM RNLE2 INTO @DATA(ld_preis).
 
"SELECT single MODIFY FROM RNLE1 INTO @DATA(ld_surplus).
 


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!