SAP FICO_LIST_CHECK_2ND_LEVEL Function Module for









FICO_LIST_CHECK_2ND_LEVEL is a standard fico list check 2nd level 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 fico list check 2nd level FM, simply by entering the name FICO_LIST_CHECK_2ND_LEVEL into the relevant SAP transaction such as SE37 or SE38.

Function Group: FICO_CHECK_LIST
Program Name: SAPLFICO_CHECK_LIST
Main Program: SAPLFICOL0
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function FICO_LIST_CHECK_2ND_LEVEL 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 'FICO_LIST_CHECK_2ND_LEVEL'"
EXPORTING
* I_LIST = "
* I_USEDUNTIL = "Used until
* I_MIN_BACKDATED_CHNG = "
* I_LISTTYPE = "Condition group type (list type)
* I_T_STATUS = "Table for Status Selection
* I_GRP = "
* I_RELEASE_PROC = "Call Up in Release Process
* I_COND_FIND = "If 'X' -> Replace i_cond if Condition Exists
* I_MIN_VALID_FROM = G_CON_MINDATE "Minimum Value for Valid-From
* I_MAX_VALID_TO = G_CON_MAXDATE "Maximum Value for Valid-To
* I_LANGU = SY-LANGU "Language Key
I_COND = "Condition
* I_REF_RULESET = "
I_REF_IF = "
* I_FLG_PRD_CREATE = "
* I_RULECATG = "
* I_STARTDATE = "
* I_T_RNG_GRP = "
I_T_AMTPOS = "Table Category: Amount Item
* I_T_AMTPOSREL = "
I_T_AMTPOSEXP = "Table Type: Interest and Interest Ref. Rates for Amount Item
I_T_CONDDIFF = "Table Type: Assignment Condition - Differentiation
I_S_COND = "Conditions
I_S_COND_T = "Texts for Conditions
I_T_DATEPOS = "Table Type: Deadline Item

IMPORTING
E_RC = "Return Value, Return Value After ABAP Statements
E_FLG_ERR_VALIDFROM = "Data Element for Domain BOOLE: TRUE (='X') and FALSE (=' ')
E_FLG_ERR_VALIDTO = "Data Element for Domain BOOLE: TRUE (='X') and FALSE (=' ')
E_COND_ERR = "GUID of the Condition Causing the Error
E_VALIDFROM_ERR = "'Valid From' GUID of the Condition Component Causing the Error
E_COND_REP = "

CHANGING
C_T_AMT = "Table Type: Amount
C_T_DATE = "Table Type: Deadline
C_T_RETURN = "Return Table
.



IMPORTING Parameters details for FICO_LIST_CHECK_2ND_LEVEL

I_LIST -

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

I_USEDUNTIL - Used until

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

I_MIN_BACKDATED_CHNG -

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

I_LISTTYPE - Condition group type (list type)

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

I_T_STATUS - Table for Status Selection

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

I_GRP -

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

I_RELEASE_PROC - Call Up in Release Process

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

I_COND_FIND - If 'X' -> Replace i_cond if Condition Exists

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

I_MIN_VALID_FROM - Minimum Value for Valid-From

Data type: FICO_DVALIDFROM
Default: G_CON_MINDATE
Optional: No
Call by Reference: Yes

I_MAX_VALID_TO - Maximum Value for Valid-To

Data type: FICO_DVALIDTO
Default: G_CON_MAXDATE
Optional: No
Call by Reference: Yes

I_LANGU - Language Key

Data type: SPRAS
Default: SY-LANGU
Optional: No
Call by Reference: Yes

I_COND - Condition

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

I_REF_RULESET -

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

I_REF_IF -

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

I_FLG_PRD_CREATE -

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

I_RULECATG -

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

I_STARTDATE -

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

I_T_RNG_GRP -

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

I_T_AMTPOS - Table Category: Amount Item

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

I_T_AMTPOSREL -

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

I_T_AMTPOSEXP - Table Type: Interest and Interest Ref. Rates for Amount Item

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

I_T_CONDDIFF - Table Type: Assignment Condition - Differentiation

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

I_S_COND - Conditions

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

I_S_COND_T - Texts for Conditions

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

I_T_DATEPOS - Table Type: Deadline Item

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

EXPORTING Parameters details for FICO_LIST_CHECK_2ND_LEVEL

E_RC - Return Value, Return Value After ABAP Statements

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

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

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

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

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

E_COND_ERR - GUID of the Condition Causing the Error

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

E_VALIDFROM_ERR - 'Valid From' GUID of the Condition Component Causing the Error

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

E_COND_REP -

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

CHANGING Parameters details for FICO_LIST_CHECK_2ND_LEVEL

C_T_AMT - Table Type: Amount

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

C_T_DATE - Table Type: Deadline

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

C_T_RETURN - Return Table

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

Copy and paste ABAP code example for FICO_LIST_CHECK_2ND_LEVEL 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_e_rc  TYPE SY-SUBRC, "   
lv_i_list  TYPE FICO_ILIST, "   
lv_c_t_amt  TYPE FICO_TYP_TAS_AMT, "   
lv_i_useduntil  TYPE FICO_DUSEDUNTIL, "   
lv_i_min_backdated_chng  TYPE FICO_DMIN_BACKDATED_CHNG, "   
lv_i_listtype  TYPE FICO_OLISTTYP, "   
lv_i_t_status  TYPE FICOT_STATUS, "   
lv_i_grp  TYPE FICO_IGRP, "   
lv_i_release_proc  TYPE BOOLE_D, "   
lv_i_cond_find  TYPE BOOLE_D, "   
lv_i_min_valid_from  TYPE FICO_DVALIDFROM, "   G_CON_MINDATE
lv_i_max_valid_to  TYPE FICO_DVALIDTO, "   G_CON_MAXDATE
lv_i_langu  TYPE SPRAS, "   SY-LANGU
lv_i_cond  TYPE FICO_ICOND, "   
lv_c_t_date  TYPE FICO_TYP_TAS_DATE, "   
lv_e_flg_err_validfrom  TYPE BOOLE_D, "   
lv_i_ref_ruleset  TYPE CL_FICO_FCT_RULESET, "   
lv_i_ref_if  TYPE IF_FICO_CHECK_MAINTAIN_CONDS, "   
lv_i_flg_prd_create  TYPE BOOLE_D, "   
lv_i_rulecatg  TYPE FICO_ORULECATG, "   
lv_i_startdate  TYPE FICO_DVALIDFROM, "   
lv_i_t_rng_grp  TYPE FICO_TYP_TAB_GUID_RNG, "   
lv_c_t_return  TYPE BAPIRET2_T, "   
lv_i_t_amtpos  TYPE FICO_TYP_TAS_AMTPOS, "   
lv_e_flg_err_validto  TYPE BOOLE_D, "   
lv_e_cond_err  TYPE FICO_ICOND, "   
lv_i_t_amtposrel  TYPE FICO_TYP_TAS_POS_REL_BUFF, "   
lv_i_t_amtposexp  TYPE FICO_TYP_TAS_AMTPOSEXP, "   
lv_e_validfrom_err  TYPE FICO_DVALIDFROM, "   
lv_e_cond_rep  TYPE FICO_ICOND, "   
lv_i_t_conddiff  TYPE FICO_TYP_TAS_CONDDIFF, "   
lv_i_s_cond  TYPE FICOT_COND, "   
lv_i_s_cond_t  TYPE FICOT_COND_T, "   
lv_i_t_datepos  TYPE FICO_TYP_TAS_DATEPOS. "   

  CALL FUNCTION 'FICO_LIST_CHECK_2ND_LEVEL'  "
    EXPORTING
         I_LIST = lv_i_list
         I_USEDUNTIL = lv_i_useduntil
         I_MIN_BACKDATED_CHNG = lv_i_min_backdated_chng
         I_LISTTYPE = lv_i_listtype
         I_T_STATUS = lv_i_t_status
         I_GRP = lv_i_grp
         I_RELEASE_PROC = lv_i_release_proc
         I_COND_FIND = lv_i_cond_find
         I_MIN_VALID_FROM = lv_i_min_valid_from
         I_MAX_VALID_TO = lv_i_max_valid_to
         I_LANGU = lv_i_langu
         I_COND = lv_i_cond
         I_REF_RULESET = lv_i_ref_ruleset
         I_REF_IF = lv_i_ref_if
         I_FLG_PRD_CREATE = lv_i_flg_prd_create
         I_RULECATG = lv_i_rulecatg
         I_STARTDATE = lv_i_startdate
         I_T_RNG_GRP = lv_i_t_rng_grp
         I_T_AMTPOS = lv_i_t_amtpos
         I_T_AMTPOSREL = lv_i_t_amtposrel
         I_T_AMTPOSEXP = lv_i_t_amtposexp
         I_T_CONDDIFF = lv_i_t_conddiff
         I_S_COND = lv_i_s_cond
         I_S_COND_T = lv_i_s_cond_t
         I_T_DATEPOS = lv_i_t_datepos
    IMPORTING
         E_RC = lv_e_rc
         E_FLG_ERR_VALIDFROM = lv_e_flg_err_validfrom
         E_FLG_ERR_VALIDTO = lv_e_flg_err_validto
         E_COND_ERR = lv_e_cond_err
         E_VALIDFROM_ERR = lv_e_validfrom_err
         E_COND_REP = lv_e_cond_rep
    CHANGING
         C_T_AMT = lv_c_t_amt
         C_T_DATE = lv_c_t_date
         C_T_RETURN = lv_c_t_return
. " FICO_LIST_CHECK_2ND_LEVEL




ABAP code using 7.40 inline data declarations to call FM FICO_LIST_CHECK_2ND_LEVEL

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 SUBRC FROM SY INTO @DATA(ld_e_rc).
 
 
 
 
 
 
 
 
 
 
DATA(ld_i_min_valid_from) = G_CON_MINDATE.
 
DATA(ld_i_max_valid_to) = G_CON_MAXDATE.
 
DATA(ld_i_langu) = SY-LANGU.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


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!