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

Function FICO_LIST_COPY_COMPONENT 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_COPY_COMPONENT'".
EXPORTING
I_APPL = "
* I_VALIDFROM_NEW = "Effective From
* I_T_STATUS = "Table for Status Selection
I_FLG_AUTHCHECK = "Data Element for Domain BOOLE: TRUE (='X') and FALSE (=' ')
* 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_MIN_VALID_FROM_NEW = G_CON_MINDATE "Minimum Value for Valid-From
* I_MAX_VALID_TO_NEW = G_CON_MAXDATE "Maximum Value for Valid-To
* I_LANGU = SY-LANGU "Language Key
* I_AMT = "
* I_LIST = "Condition List
* I_LIST_NEW = "Condition List
* I_LISTTYPE = "Condition group type (list type)
I_COND = "Table Type: Assignment Condition List - Condition
* I_IND_COND = "Boolean variable
* I_BUFFER = "Indicator for Buffering
* I_EXTLINK = "External Connection
* I_VALIDFROM = "Effective From
IMPORTING
E_S_COND = "Table Category: Condition Table
E_RC = "Return Value, Return Value After ABAP Statements
E_T_RETURN = "Return Table
E_GRP = "
E_S_COND_T = "Table Type: Texts for Conditions
E_T_AMT = "Table Type: Amount
E_T_AMTPOS = "Table Category: Amount Item
E_T_AMTPOSEXP = "Table Type: Interest and Interest Ref. Rates for Amount Item
E_T_CONDDIFF = "Differentiation
E_T_CONDDIFF_T = "Differentiations of a Condition with Texts
E_T_DATE = "Table Type: Deadline
E_T_DATEPOS = "Table Type: Deadline Item
CHANGING
* C_REF_IF_SOURCE = "
IMPORTING Parameters details for FICO_LIST_COPY_COMPONENT
I_APPL -
Data type: FICO_OAPPLOptional: No
Call by Reference: Yes
I_VALIDFROM_NEW - Effective From
Data type: FICO_DVALIDFROMOptional: Yes
Call by Reference: Yes
I_T_STATUS - Table for Status Selection
Data type: FICOT_STATUSOptional: Yes
Call by Reference: Yes
I_FLG_AUTHCHECK - Data Element for Domain BOOLE: TRUE (='X') and FALSE (=' ')
Data type: BOOLE_DOptional: No
Call by Reference: Yes
I_MIN_VALID_FROM - Minimum Value for Valid-From
Data type: FICO_DVALIDFROMDefault: G_CON_MINDATE
Optional: No
Call by Reference: Yes
I_MAX_VALID_TO - Maximum Value for Valid-To
Data type: FICO_DVALIDTODefault: G_CON_MAXDATE
Optional: No
Call by Reference: Yes
I_MIN_VALID_FROM_NEW - Minimum Value for Valid-From
Data type: FICO_DVALIDFROMDefault: G_CON_MINDATE
Optional: No
Call by Reference: Yes
I_MAX_VALID_TO_NEW - Maximum Value for Valid-To
Data type: FICO_DVALIDTODefault: G_CON_MAXDATE
Optional: No
Call by Reference: Yes
I_LANGU - Language Key
Data type: SPRASDefault: SY-LANGU
Optional: No
Call by Reference: Yes
I_AMT -
Data type: FICO_CAMTOptional: Yes
Call by Reference: Yes
I_LIST - Condition List
Data type: FICO_ILISTOptional: Yes
Call by Reference: Yes
I_LIST_NEW - Condition List
Data type: FICO_ILISTOptional: Yes
Call by Reference: Yes
I_LISTTYPE - Condition group type (list type)
Data type: FICO_OLISTTYPOptional: Yes
Call by Reference: Yes
I_COND - Table Type: Assignment Condition List - Condition
Data type: FICO_ICONDOptional: No
Call by Reference: Yes
I_IND_COND - Boolean variable
Data type: BOOLE_DOptional: Yes
Call by Reference: Yes
I_BUFFER - Indicator for Buffering
Data type: FICO_FBUFFEROptional: Yes
Call by Reference: Yes
I_EXTLINK - External Connection
Data type: FICO_IEXTLINKOptional: Yes
Call by Reference: Yes
I_VALIDFROM - Effective From
Data type: FICO_DVALIDFROMOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for FICO_LIST_COPY_COMPONENT
E_S_COND - Table Category: Condition Table
Data type: FICOT_CONDOptional: No
Call by Reference: Yes
E_RC - Return Value, Return Value After ABAP Statements
Data type: SY-SUBRCOptional: No
Call by Reference: Yes
E_T_RETURN - Return Table
Data type: BAPIRET2_TOptional: No
Call by Reference: Yes
E_GRP -
Data type: FICO_IGRPOptional: No
Call by Reference: Yes
E_S_COND_T - Table Type: Texts for Conditions
Data type: FICOT_COND_TOptional: No
Call by Reference: Yes
E_T_AMT - Table Type: Amount
Data type: FICO_TYP_TAS_AMTOptional: No
Call by Reference: Yes
E_T_AMTPOS - Table Category: Amount Item
Data type: FICO_TYP_TAS_AMTPOSOptional: No
Call by Reference: Yes
E_T_AMTPOSEXP - Table Type: Interest and Interest Ref. Rates for Amount Item
Data type: FICO_TYP_TAS_AMTPOSEXPOptional: No
Call by Reference: Yes
E_T_CONDDIFF - Differentiation
Data type: FICO_TYP_TAS_CONDDIFFOptional: No
Call by Reference: Yes
E_T_CONDDIFF_T - Differentiations of a Condition with Texts
Data type: FICO_TYP_TAS_DIFF_DISPLAYOptional: No
Call by Reference: Yes
E_T_DATE - Table Type: Deadline
Data type: FICO_TYP_TAS_DATEOptional: No
Call by Reference: Yes
E_T_DATEPOS - Table Type: Deadline Item
Data type: FICO_TYP_TAS_DATEPOSOptional: No
Call by Reference: Yes
CHANGING Parameters details for FICO_LIST_COPY_COMPONENT
C_REF_IF_SOURCE -
Data type: IF_FICO_CHECK_MAINTAIN_CONDSOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for FICO_LIST_COPY_COMPONENT 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_appl | TYPE FICO_OAPPL, " | |||
| lv_e_s_cond | TYPE FICOT_COND, " | |||
| lv_c_ref_if_source | TYPE IF_FICO_CHECK_MAINTAIN_CONDS, " | |||
| lv_e_rc | TYPE SY-SUBRC, " | |||
| lv_i_validfrom_new | TYPE FICO_DVALIDFROM, " | |||
| lv_e_t_return | TYPE BAPIRET2_T, " | |||
| lv_i_t_status | TYPE FICOT_STATUS, " | |||
| lv_e_grp | TYPE FICO_IGRP, " | |||
| lv_i_flg_authcheck | 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_min_valid_from_new | TYPE FICO_DVALIDFROM, " G_CON_MINDATE | |||
| lv_i_max_valid_to_new | TYPE FICO_DVALIDTO, " G_CON_MAXDATE | |||
| lv_i_langu | TYPE SPRAS, " SY-LANGU | |||
| lv_i_amt | TYPE FICO_CAMT, " | |||
| lv_i_list | TYPE FICO_ILIST, " | |||
| lv_e_s_cond_t | TYPE FICOT_COND_T, " | |||
| lv_e_t_amt | TYPE FICO_TYP_TAS_AMT, " | |||
| lv_i_list_new | TYPE FICO_ILIST, " | |||
| lv_e_t_amtpos | TYPE FICO_TYP_TAS_AMTPOS, " | |||
| lv_i_listtype | TYPE FICO_OLISTTYP, " | |||
| lv_i_cond | TYPE FICO_ICOND, " | |||
| lv_e_t_amtposexp | TYPE FICO_TYP_TAS_AMTPOSEXP, " | |||
| lv_i_ind_cond | TYPE BOOLE_D, " | |||
| lv_e_t_conddiff | TYPE FICO_TYP_TAS_CONDDIFF, " | |||
| lv_i_buffer | TYPE FICO_FBUFFER, " | |||
| lv_e_t_conddiff_t | TYPE FICO_TYP_TAS_DIFF_DISPLAY, " | |||
| lv_e_t_date | TYPE FICO_TYP_TAS_DATE, " | |||
| lv_i_extlink | TYPE FICO_IEXTLINK, " | |||
| lv_e_t_datepos | TYPE FICO_TYP_TAS_DATEPOS, " | |||
| lv_i_validfrom | TYPE FICO_DVALIDFROM. " |
|   CALL FUNCTION 'FICO_LIST_COPY_COMPONENT' " |
| EXPORTING | ||
| I_APPL | = lv_i_appl | |
| I_VALIDFROM_NEW | = lv_i_validfrom_new | |
| I_T_STATUS | = lv_i_t_status | |
| I_FLG_AUTHCHECK | = lv_i_flg_authcheck | |
| I_MIN_VALID_FROM | = lv_i_min_valid_from | |
| I_MAX_VALID_TO | = lv_i_max_valid_to | |
| I_MIN_VALID_FROM_NEW | = lv_i_min_valid_from_new | |
| I_MAX_VALID_TO_NEW | = lv_i_max_valid_to_new | |
| I_LANGU | = lv_i_langu | |
| I_AMT | = lv_i_amt | |
| I_LIST | = lv_i_list | |
| I_LIST_NEW | = lv_i_list_new | |
| I_LISTTYPE | = lv_i_listtype | |
| I_COND | = lv_i_cond | |
| I_IND_COND | = lv_i_ind_cond | |
| I_BUFFER | = lv_i_buffer | |
| I_EXTLINK | = lv_i_extlink | |
| I_VALIDFROM | = lv_i_validfrom | |
| IMPORTING | ||
| E_S_COND | = lv_e_s_cond | |
| E_RC | = lv_e_rc | |
| E_T_RETURN | = lv_e_t_return | |
| E_GRP | = lv_e_grp | |
| E_S_COND_T | = lv_e_s_cond_t | |
| E_T_AMT | = lv_e_t_amt | |
| E_T_AMTPOS | = lv_e_t_amtpos | |
| E_T_AMTPOSEXP | = lv_e_t_amtposexp | |
| E_T_CONDDIFF | = lv_e_t_conddiff | |
| E_T_CONDDIFF_T | = lv_e_t_conddiff_t | |
| E_T_DATE | = lv_e_t_date | |
| E_T_DATEPOS | = lv_e_t_datepos | |
| CHANGING | ||
| C_REF_IF_SOURCE | = lv_c_ref_if_source | |
| . " FICO_LIST_COPY_COMPONENT | ||
ABAP code using 7.40 inline data declarations to call FM FICO_LIST_COPY_COMPONENT
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_min_valid_from_new) | = G_CON_MINDATE. | |||
| DATA(ld_i_max_valid_to_new) | = G_CON_MAXDATE. | |||
| DATA(ld_i_langu) | = SY-LANGU. | |||
Search for further information about these or an SAP related objects