SAP ICL_POLN_LINE_CHECK Function Module for Checks a line of ICLPOLN









ICL_POLN_LINE_CHECK is a standard icl poln line check SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Checks a line of ICLPOLN 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 icl poln line check FM, simply by entering the name ICL_POLN_LINE_CHECK into the relevant SAP transaction such as SE37 or SE38.

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



Function ICL_POLN_LINE_CHECK 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 'ICL_POLN_LINE_CHECK'"Checks a line of ICLPOLN
EXPORTING
IS_POLN = "global memory structure for ICLPOLN
I_TABIX = "Internal Tables, Current Row Index
* I_XNO_POLM = "Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
* I_XNO_POLO = "Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')

TABLES
T_POLN = "global memory structure for ICLPOLN
* IT_POLO = "Insured Object in Policy Snapshot
* IT_POLM = "Extended ICLPOLM (Coverage in Policy Snapshot)

EXCEPTIONS
NO_INSURED_OBJECT = 1 INVALID_INSURED_OBJECT = 2 NO_COVERAGE = 3 INVALID_COVERAGE = 4 DUPLICATE_LINES = 5 INSOBJ_COVTYPE_REPEAT = 6
.



IMPORTING Parameters details for ICL_POLN_LINE_CHECK

IS_POLN - global memory structure for ICLPOLN

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

I_TABIX - Internal Tables, Current Row Index

Data type: SY-TABIX
Optional: No
Call by Reference: Yes

I_XNO_POLM - Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')

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

I_XNO_POLO - Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')

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

TABLES Parameters details for ICL_POLN_LINE_CHECK

T_POLN - global memory structure for ICLPOLN

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

IT_POLO - Insured Object in Policy Snapshot

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

IT_POLM - Extended ICLPOLM (Coverage in Policy Snapshot)

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

EXCEPTIONS details

NO_INSURED_OBJECT -

Data type:
Optional: No
Call by Reference: Yes

INVALID_INSURED_OBJECT -

Data type:
Optional: No
Call by Reference: Yes

NO_COVERAGE -

Data type:
Optional: No
Call by Reference: Yes

INVALID_COVERAGE -

Data type:
Optional: No
Call by Reference: Yes

DUPLICATE_LINES -

Data type:
Optional: No
Call by Reference: Yes

INSOBJ_COVTYPE_REPEAT -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for ICL_POLN_LINE_CHECK 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_poln  TYPE STANDARD TABLE OF ICL_POLN, "   
lv_is_poln  TYPE ICL_POLN, "   
lv_no_insured_object  TYPE ICL_POLN, "   
lt_it_polo  TYPE STANDARD TABLE OF ICL_POLO, "   
lv_i_tabix  TYPE SY-TABIX, "   
lv_invalid_insured_object  TYPE SY, "   
lt_it_polm  TYPE STANDARD TABLE OF ICL_POLM_EXT, "   
lv_i_xno_polm  TYPE BOOLE_D, "   
lv_no_coverage  TYPE BOOLE_D, "   
lv_i_xno_polo  TYPE BOOLE_D, "   
lv_invalid_coverage  TYPE BOOLE_D, "   
lv_duplicate_lines  TYPE BOOLE_D, "   
lv_insobj_covtype_repeat  TYPE BOOLE_D. "   

  CALL FUNCTION 'ICL_POLN_LINE_CHECK'  "Checks a line of ICLPOLN
    EXPORTING
         IS_POLN = lv_is_poln
         I_TABIX = lv_i_tabix
         I_XNO_POLM = lv_i_xno_polm
         I_XNO_POLO = lv_i_xno_polo
    TABLES
         T_POLN = lt_t_poln
         IT_POLO = lt_it_polo
         IT_POLM = lt_it_polm
    EXCEPTIONS
        NO_INSURED_OBJECT = 1
        INVALID_INSURED_OBJECT = 2
        NO_COVERAGE = 3
        INVALID_COVERAGE = 4
        DUPLICATE_LINES = 5
        INSOBJ_COVTYPE_REPEAT = 6
. " ICL_POLN_LINE_CHECK




ABAP code using 7.40 inline data declarations to call FM ICL_POLN_LINE_CHECK

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 TABIX FROM SY INTO @DATA(ld_i_tabix).
 
 
 
 
 
 
 
 
 


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!