SAP FICO_COND_READ Function Module for
FICO_COND_READ is a standard fico cond read 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 read FM, simply by entering the name FICO_COND_READ into the relevant SAP transaction such as SE37 or SE38.
Function Group: FICOC1
Program Name: SAPLFICOC1
Main Program: SAPLFICOC1
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FICO_COND_READ 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_READ'".
EXPORTING
I_LIST = "Condition List
* I_FLG_READ_ARCH = "
* I_FLG_READ_BYPASS_BUFFER = "
I_BUFFER = "Indicator for Buffering
* I_FLG_READTEXT = 'X' "Read Text
* I_STARTDATE = "Effective From
* 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
* I_FLG_READ_AGAIN = ' ' "Data Element for Domain BOOLE: TRUE (='X') and FALSE (=' ')
* I_EXTLINK = "External Connection
IMPORTING
E_T_LISTCOND = "
E_T_LISTCOND_GL = "
E_T_LISTCOND_DB = "
E_APPL = "
E_RC = "Return Value, Return Value After ABAP Statements
E_DB_READ_PART = "'X'= Read Cond. From DB AND Transfer All Undeleted Components
E_T_LISTCOND_COMP = "Table Type: List ID, Cond. ID and Semantic Key of Condition
IMPORTING Parameters details for FICO_COND_READ
I_LIST - Condition List
Data type: FICOT_CONDI-I_LISTOptional: No
Call by Reference: Yes
I_FLG_READ_ARCH -
Data type: XFELDOptional: Yes
Call by Reference: Yes
I_FLG_READ_BYPASS_BUFFER -
Data type: XFELDOptional: Yes
Call by Reference: Yes
I_BUFFER - Indicator for Buffering
Data type: FICO_FBUFFEROptional: No
Call by Reference: Yes
I_FLG_READTEXT - Read Text
Data type: BOOLE-BOOLEDefault: 'X'
Optional: Yes
Call by Reference: Yes
I_STARTDATE - Effective From
Data type: FICO_DVALIDFROMOptional: Yes
Call by Reference: Yes
I_MIN_VALID_FROM - Minimum Value for Valid-From
Data type: FICO_DVALIDFROMDefault: G_CON_MINDATE
Optional: Yes
Call by Reference: Yes
I_MAX_VALID_TO - Maximum Value for Valid-To
Data type: FICO_DVALIDTODefault: G_CON_MAXDATE
Optional: Yes
Call by Reference: Yes
I_LANGU - Language
Data type: SYLANGUDefault: SY-LANGU
Optional: Yes
Call by Reference: Yes
I_FLG_READ_AGAIN - Data Element for Domain BOOLE: TRUE (='X') and FALSE (=' ')
Data type: BOOLE_DDefault: SPACE
Optional: Yes
Call by Reference: Yes
I_EXTLINK - External Connection
Data type: FICO_IEXTLINKOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for FICO_COND_READ
E_T_LISTCOND -
Data type: FICO_TYP_TAS_LISTCOND_BUFFOptional: No
Call by Reference: Yes
E_T_LISTCOND_GL -
Data type: FICO_TYP_TAS_LISTCOND_BUFFOptional: No
Call by Reference: Yes
E_T_LISTCOND_DB -
Data type: FICO_TYP_TAS_LISTCOND_BUFFOptional: No
Call by Reference: Yes
E_APPL -
Data type: FICOT_CONDI-O_APPLOptional: No
Call by Reference: Yes
E_RC - Return Value, Return Value After ABAP Statements
Data type: SY-SUBRCOptional: No
Call by Reference: Yes
E_DB_READ_PART - 'X'= Read Cond. From DB AND Transfer All Undeleted Components
Data type: XFELDOptional: No
Call by Reference: Yes
E_T_LISTCOND_COMP - Table Type: List ID, Cond. ID and Semantic Key of Condition
Data type: FICO_TYP_TAS_LISTCOND_COMPOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for FICO_COND_READ 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_i_list | TYPE FICOT_CONDI-I_LIST, " | |||
| lv_e_t_listcond | TYPE FICO_TYP_TAS_LISTCOND_BUFF, " | |||
| lv_i_flg_read_arch | TYPE XFELD, " | |||
| lv_i_flg_read_bypass_buffer | TYPE XFELD, " | |||
| lv_i_buffer | TYPE FICO_FBUFFER, " | |||
| lv_e_t_listcond_gl | TYPE FICO_TYP_TAS_LISTCOND_BUFF, " | |||
| lv_i_flg_readtext | TYPE BOOLE-BOOLE, " 'X' | |||
| lv_e_t_listcond_db | TYPE FICO_TYP_TAS_LISTCOND_BUFF, " | |||
| lv_e_appl | TYPE FICOT_CONDI-O_APPL, " | |||
| lv_i_startdate | TYPE FICO_DVALIDFROM, " | |||
| lv_e_rc | TYPE SY-SUBRC, " | |||
| lv_i_min_valid_from | TYPE FICO_DVALIDFROM, " G_CON_MINDATE | |||
| lv_e_db_read_part | TYPE XFELD, " | |||
| lv_i_max_valid_to | TYPE FICO_DVALIDTO, " G_CON_MAXDATE | |||
| lv_i_langu | TYPE SYLANGU, " SY-LANGU | |||
| lv_e_t_listcond_comp | TYPE FICO_TYP_TAS_LISTCOND_COMP, " | |||
| lv_i_flg_read_again | TYPE BOOLE_D, " SPACE | |||
| lv_i_extlink | TYPE FICO_IEXTLINK. " |
|   CALL FUNCTION 'FICO_COND_READ' " |
| EXPORTING | ||
| I_LIST | = lv_i_list | |
| I_FLG_READ_ARCH | = lv_i_flg_read_arch | |
| I_FLG_READ_BYPASS_BUFFER | = lv_i_flg_read_bypass_buffer | |
| I_BUFFER | = lv_i_buffer | |
| I_FLG_READTEXT | = lv_i_flg_readtext | |
| I_STARTDATE | = lv_i_startdate | |
| I_MIN_VALID_FROM | = lv_i_min_valid_from | |
| I_MAX_VALID_TO | = lv_i_max_valid_to | |
| I_LANGU | = lv_i_langu | |
| I_FLG_READ_AGAIN | = lv_i_flg_read_again | |
| I_EXTLINK | = lv_i_extlink | |
| IMPORTING | ||
| E_T_LISTCOND | = lv_e_t_listcond | |
| E_T_LISTCOND_GL | = lv_e_t_listcond_gl | |
| E_T_LISTCOND_DB | = lv_e_t_listcond_db | |
| E_APPL | = lv_e_appl | |
| E_RC | = lv_e_rc | |
| E_DB_READ_PART | = lv_e_db_read_part | |
| E_T_LISTCOND_COMP | = lv_e_t_listcond_comp | |
| . " FICO_COND_READ | ||
ABAP code using 7.40 inline data declarations to call FM FICO_COND_READ
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 I_LIST FROM FICOT_CONDI INTO @DATA(ld_i_list). | ||||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_flg_readtext). | ||||
| DATA(ld_i_flg_readtext) | = 'X'. | |||
| "SELECT single O_APPL FROM FICOT_CONDI INTO @DATA(ld_e_appl). | ||||
| "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. | |||
| DATA(ld_i_flg_read_again) | = ' '. | |||
Search for further information about these or an SAP related objects