SAP Function Modules

ICLC_IF_TICL005_GET_ALL SAP Function module - Determines Permitted Subclaim Types for Internal Claim Type incl. Add.In







ICLC_IF_TICL005_GET_ALL is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.

See here to view full function module documentation and code listing, simply by entering the name ICLC_IF_TICL005_GET_ALL into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: ICL_IF2
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM ICLC_IF_TICL005_GET_ALL - ICLC IF TICL005 GET ALL





CALL FUNCTION 'ICLC_IF_TICL005_GET_ALL' "Determines Permitted Subclaim Types for Internal Claim Type incl. Add.Info
* EXPORTING
*   i_langu = SY-LANGU          " ticl004t-langu  Language Key
*   i_claimtype =               " ticl005-cltype  Internal Claim Type
*   i_generat =                 " ticl005-generat  Generation of Internal Claim Type
*   i_version =                 " ticl005-version  Version of Internal Claim Type That is Valid on Claim Date
  TABLES
    t_ticl005_004t =            " v_ticl005_004  Return Structure with Permitted Subclaim Types and Text
    .  "  ICLC_IF_TICL005_GET_ALL

ABAP code example for Function Module ICLC_IF_TICL005_GET_ALL





The ABAP code below is a full code listing to execute function module ICLC_IF_TICL005_GET_ALL including all data declarations. The code uses 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 original method of declaring data variables up front. 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).

DATA:
it_t_ticl005_004t  TYPE STANDARD TABLE OF V_TICL005_004,"TABLES PARAM
wa_t_ticl005_004t  LIKE LINE OF it_t_ticl005_004t .


SELECT single LANGU
FROM TICL004T
INTO @DATA(ld_i_langu).


SELECT single CLTYPE
FROM TICL005
INTO @DATA(ld_i_claimtype).


SELECT single GENERAT
FROM TICL005
INTO @DATA(ld_i_generat).


SELECT single VERSION
FROM TICL005
INTO @DATA(ld_i_version).


"populate fields of struture and append to itab
append wa_t_ticl005_004t to it_t_ticl005_004t. . CALL FUNCTION 'ICLC_IF_TICL005_GET_ALL' * EXPORTING * i_langu = ld_i_langu * i_claimtype = ld_i_claimtype * i_generat = ld_i_generat * i_version = ld_i_version TABLES t_ticl005_004t = it_t_ticl005_004t . " ICLC_IF_TICL005_GET_ALL
IF SY-SUBRC EQ 0. "All OK ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.

DATA:
ld_i_langu  TYPE TICL004T-LANGU ,
it_t_ticl005_004t  TYPE STANDARD TABLE OF V_TICL005_004 ,
wa_t_ticl005_004t  LIKE LINE OF it_t_ticl005_004t,
ld_i_claimtype  TYPE TICL005-CLTYPE ,
ld_i_generat  TYPE TICL005-GENERAT ,
ld_i_version  TYPE TICL005-VERSION .


SELECT single LANGU
FROM TICL004T
INTO ld_i_langu.


"populate fields of struture and append to itab
append wa_t_ticl005_004t to it_t_ticl005_004t.

SELECT single CLTYPE
FROM TICL005
INTO ld_i_claimtype.


SELECT single GENERAT
FROM TICL005
INTO ld_i_generat.


SELECT single VERSION
FROM TICL005
INTO ld_i_version.

Contribute (Add Comments)

Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name ICLC_IF_TICL005_GET_ALL or its description.