SAP ICL_TREE_CREATE Function Module for Create and fills the navigation tree and participants grid









ICL_TREE_CREATE is a standard icl tree create SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Create and fills the navigation tree and participants grid 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 tree create FM, simply by entering the name ICL_TREE_CREATE into the relevant SAP transaction such as SE37 or SE38.

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



Function ICL_TREE_CREATE 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_TREE_CREATE'"Create and fills the navigation tree and participants grid
EXPORTING
I_CLMODE = "Claim processing mode
I_USERGROUP = "Claim Handler Group
* I_VARNR = "BDT: Screen Sequence
* I_XTOGGLE = "Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')

IMPORTING
EO_CLAIM = "Root Node

TABLES
* T_SSEQ_EXT = "

EXCEPTIONS
DOCK_ERROR = 1 CUSTOMIZING_ERROR = 2
.



IMPORTING Parameters details for ICL_TREE_CREATE

I_CLMODE - Claim processing mode

Data type: TICL042-CLMODE
Optional: No
Call by Reference: Yes

I_USERGROUP - Claim Handler Group

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

I_VARNR - BDT: Screen Sequence

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

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

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

EXPORTING Parameters details for ICL_TREE_CREATE

EO_CLAIM - Root Node

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

TABLES Parameters details for ICL_TREE_CREATE

T_SSEQ_EXT -

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

EXCEPTIONS details

DOCK_ERROR -

Data type:
Optional: No
Call by Reference: Yes

CUSTOMIZING_ERROR -

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

Copy and paste ABAP code example for ICL_TREE_CREATE 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_eo_claim  TYPE CL_NAVTREE_ICL, "   
lv_i_clmode  TYPE TICL042-CLMODE, "   
lv_dock_error  TYPE TICL042, "   
lt_t_sseq_ext  TYPE STANDARD TABLE OF ICL_SSEQ_EXT, "   
lv_i_usergroup  TYPE ICL_USERGRP, "   
lv_customizing_error  TYPE ICL_USERGRP, "   
lv_i_varnr  TYPE BU_VARNR, "   
lv_i_xtoggle  TYPE BOOLE_D. "   

  CALL FUNCTION 'ICL_TREE_CREATE'  "Create and fills the navigation tree and participants grid
    EXPORTING
         I_CLMODE = lv_i_clmode
         I_USERGROUP = lv_i_usergroup
         I_VARNR = lv_i_varnr
         I_XTOGGLE = lv_i_xtoggle
    IMPORTING
         EO_CLAIM = lv_eo_claim
    TABLES
         T_SSEQ_EXT = lt_t_sseq_ext
    EXCEPTIONS
        DOCK_ERROR = 1
        CUSTOMIZING_ERROR = 2
. " ICL_TREE_CREATE




ABAP code using 7.40 inline data declarations to call FM ICL_TREE_CREATE

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 CLMODE FROM TICL042 INTO @DATA(ld_i_clmode).
 
 
 
 
 
 
 


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!