SAP FICO_COND_CHECK Function Module for









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

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



Function FICO_COND_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 'FICO_COND_CHECK'"
EXPORTING
I_T_POS = "Items of the Conditions with Buffering Flag
* 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_REF_IF = "
* I_T_RNG_GRP = "
* I_T_POS_REL = "
* I_USEDUNTIL = "Used until
* I_MIN_BACKDATED_CHNG = "
I_APPL = "Application
* I_LIST = "
* I_GRP = "
* I_S_COND_T = "Texts for Conditions (Unbuffered)
* I_RELEASE_PROC = "Call Up in Release Process

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_T_CONDI_ZEROC_4 = "

CHANGING
C_T_CONDI = "Conditions with Buffer Flag
C_T_RETURN = "Return Table
.



IMPORTING Parameters details for FICO_COND_CHECK

I_T_POS - Items of the Conditions with Buffering Flag

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

I_MIN_VALID_FROM - Minimum Value for Valid-From

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

I_MAX_VALID_TO - Maximum Value for Valid-To

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

I_LANGU - Language Key

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

I_REF_IF -

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

I_T_RNG_GRP -

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

I_T_POS_REL -

Data type: FICO_TYP_TAS_POS_REL_BUFF
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_APPL - Application

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

I_LIST -

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

I_GRP -

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

I_S_COND_T - Texts for Conditions (Unbuffered)

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

I_RELEASE_PROC - Call Up in Release Process

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

EXPORTING Parameters details for FICO_COND_CHECK

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_T_CONDI_ZEROC_4 -

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

CHANGING Parameters details for FICO_COND_CHECK

C_T_CONDI - Conditions with Buffer Flag

Data type: FICO_TYP_TAS_CONDI_BUFF
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_COND_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:
lv_e_rc  TYPE SY-SUBRC, "   
lv_i_t_pos  TYPE FICO_TYP_TAS_POS_BUFF, "   
lv_c_t_condi  TYPE FICO_TYP_TAS_CONDI_BUFF, "   
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_ref_if  TYPE IF_FICO_CHECK_MAINTAIN_CONDS, "   
lv_i_t_rng_grp  TYPE FICO_TYP_TAB_GUID_RNG, "   
lv_c_t_return  TYPE BAPIRET2_T, "   
lv_i_t_pos_rel  TYPE FICO_TYP_TAS_POS_REL_BUFF, "   
lv_e_flg_err_validfrom  TYPE BOOLE_D, "   
lv_i_useduntil  TYPE FICO_DUSEDUNTIL, "   
lv_e_flg_err_validto  TYPE BOOLE_D, "   
lv_e_cond_err  TYPE FICO_ICOND, "   
lv_i_min_backdated_chng  TYPE FICO_DMIN_BACKDATED_CHNG, "   
lv_i_appl  TYPE FICO_OAPPL, "   
lv_e_validfrom_err  TYPE FICO_DVALIDFROM, "   
lv_i_list  TYPE FICO_ILIST, "   
lv_e_t_condi_zeroc_4  TYPE FICO_TYP_TAS_CONDI_BUFF, "   
lv_i_grp  TYPE FICO_IGRP, "   
lv_i_s_cond_t  TYPE FICOT_COND_T, "   
lv_i_release_proc  TYPE BOOLE_D. "   

  CALL FUNCTION 'FICO_COND_CHECK'  "
    EXPORTING
         I_T_POS = lv_i_t_pos
         I_MIN_VALID_FROM = lv_i_min_valid_from
         I_MAX_VALID_TO = lv_i_max_valid_to
         I_LANGU = lv_i_langu
         I_REF_IF = lv_i_ref_if
         I_T_RNG_GRP = lv_i_t_rng_grp
         I_T_POS_REL = lv_i_t_pos_rel
         I_USEDUNTIL = lv_i_useduntil
         I_MIN_BACKDATED_CHNG = lv_i_min_backdated_chng
         I_APPL = lv_i_appl
         I_LIST = lv_i_list
         I_GRP = lv_i_grp
         I_S_COND_T = lv_i_s_cond_t
         I_RELEASE_PROC = lv_i_release_proc
    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_T_CONDI_ZEROC_4 = lv_e_t_condi_zeroc_4
    CHANGING
         C_T_CONDI = lv_c_t_condi
         C_T_RETURN = lv_c_t_return
. " FICO_COND_CHECK




ABAP code using 7.40 inline data declarations to call FM FICO_COND_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 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!