SAP Function Modules

FICO_COND_COPY_COMPONENT SAP Function module







FICO_COND_COPY_COMPONENT 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 FICO_COND_COPY_COMPONENT into the relevant SAP transaction such as SE37 or SE80.

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


Pattern for FM FICO_COND_COPY_COMPONENT - FICO COND COPY COMPONENT





CALL FUNCTION 'FICO_COND_COPY_COMPONENT' "
  EXPORTING
    i_list =                    " fico_ilist    Condition List
*   i_list_new =                " fico_ilist    Condition List
    i_cond =                    " fico_icond    Condition
    i_ind_cond = 'X'            " boole_d       Individual Condition
*   i_buffer =                  " fico_fbuffer  Indicator for Buffering
*   i_extlink =                 " fico_iextlink  External Connection
*   i_validfrom =               " fico_dvalidfrom  Effective From
*   i_validfrom_new =           " fico_dvalidfrom
*   i_t_status =                " ficot_status  Table for Status Selection
    i_min_valid_from = G_CON_MINDATE  " fico_dvalidfrom  Minimum Value for Valid-From
    i_max_valid_to = G_CON_MAXDATE  " fico_dvalidto  Maximum Value for Valid-To
    i_min_valid_from_new = G_CON_MINDATE  " fico_dvalidfrom  Minimum Value for Valid-From
    i_max_valid_to_new = G_CON_MAXDATE  " fico_dvalidto  Maximum Value for Valid-To
    i_langu = SY-LANGU          " spras         Language Key
*   i_amt =                     " fico_camt
    i_ref_if_source =           " if_fico_check_maintain_conds
*   i_listtype =                " fico_olisttyp
  IMPORTING
    e_t_condi =                 " fico_typ_tas_condi_buff  Conditions with Buffer Flag
    e_t_cond_t =                " fico_typ_tas_cond_t  Table Type: Texts for Conditions
    e_t_pos =                   " fico_typ_tas_pos_buff  Items of the Conditions with Buffering Flag
    e_t_pos_rel =               " fico_typ_tas_pos_rel_buff
    e_cond_new =                " ficot_condi-i_cond  Condition
    e_rc =                      " sy-subrc      Return Value, Return Value After ABAP Statements
    e_t_return =                " bapiret2_t    Return Table
    e_grp =                     " fico_igrp
    .  "  FICO_COND_COPY_COMPONENT

ABAP code example for Function Module FICO_COND_COPY_COMPONENT





The ABAP code below is a full code listing to execute function module FICO_COND_COPY_COMPONENT 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:
ld_e_t_condi  TYPE FICO_TYP_TAS_CONDI_BUFF ,
ld_e_t_cond_t  TYPE FICO_TYP_TAS_COND_T ,
ld_e_t_pos  TYPE FICO_TYP_TAS_POS_BUFF ,
ld_e_t_pos_rel  TYPE FICO_TYP_TAS_POS_REL_BUFF ,
ld_e_cond_new  TYPE FICOT_CONDI-I_COND ,
ld_e_rc  TYPE SY-SUBRC ,
ld_e_t_return  TYPE BAPIRET2_T ,
ld_e_grp  TYPE FICO_IGRP .

DATA(ld_i_list) = 'Check type of data required'.
DATA(ld_i_list_new) = 'Check type of data required'.
DATA(ld_i_cond) = 'Check type of data required'.
DATA(ld_i_ind_cond) = 'Check type of data required'.
DATA(ld_i_buffer) = 'Check type of data required'.
DATA(ld_i_extlink) = 'Check type of data required'.
DATA(ld_i_validfrom) = 'Check type of data required'.
DATA(ld_i_validfrom_new) = 'Check type of data required'.
DATA(ld_i_t_status) = 'Check type of data required'.
DATA(ld_i_min_valid_from) = 'Check type of data required'.
DATA(ld_i_max_valid_to) = 'Check type of data required'.
DATA(ld_i_min_valid_from_new) = 'Check type of data required'.
DATA(ld_i_max_valid_to_new) = 'Check type of data required'.
DATA(ld_i_langu) = 'Check type of data required'.
DATA(ld_i_amt) = 'Check type of data required'.
DATA(ld_i_ref_if_source) = 'Check type of data required'.
DATA(ld_i_listtype) = 'Check type of data required'. . CALL FUNCTION 'FICO_COND_COPY_COMPONENT' EXPORTING i_list = ld_i_list * i_list_new = ld_i_list_new i_cond = ld_i_cond i_ind_cond = ld_i_ind_cond * i_buffer = ld_i_buffer * i_extlink = ld_i_extlink * i_validfrom = ld_i_validfrom * i_validfrom_new = ld_i_validfrom_new * i_t_status = ld_i_t_status i_min_valid_from = ld_i_min_valid_from i_max_valid_to = ld_i_max_valid_to i_min_valid_from_new = ld_i_min_valid_from_new i_max_valid_to_new = ld_i_max_valid_to_new i_langu = ld_i_langu * i_amt = ld_i_amt i_ref_if_source = ld_i_ref_if_source * i_listtype = ld_i_listtype IMPORTING e_t_condi = ld_e_t_condi e_t_cond_t = ld_e_t_cond_t e_t_pos = ld_e_t_pos e_t_pos_rel = ld_e_t_pos_rel e_cond_new = ld_e_cond_new e_rc = ld_e_rc e_t_return = ld_e_t_return e_grp = ld_e_grp . " FICO_COND_COPY_COMPONENT
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_e_t_condi  TYPE FICO_TYP_TAS_CONDI_BUFF ,
ld_i_list  TYPE FICO_ILIST ,
ld_e_t_cond_t  TYPE FICO_TYP_TAS_COND_T ,
ld_i_list_new  TYPE FICO_ILIST ,
ld_e_t_pos  TYPE FICO_TYP_TAS_POS_BUFF ,
ld_i_cond  TYPE FICO_ICOND ,
ld_e_t_pos_rel  TYPE FICO_TYP_TAS_POS_REL_BUFF ,
ld_i_ind_cond  TYPE BOOLE_D ,
ld_i_buffer  TYPE FICO_FBUFFER ,
ld_e_cond_new  TYPE FICOT_CONDI-I_COND ,
ld_e_rc  TYPE SY-SUBRC ,
ld_i_extlink  TYPE FICO_IEXTLINK ,
ld_e_t_return  TYPE BAPIRET2_T ,
ld_i_validfrom  TYPE FICO_DVALIDFROM ,
ld_e_grp  TYPE FICO_IGRP ,
ld_i_validfrom_new  TYPE FICO_DVALIDFROM ,
ld_i_t_status  TYPE FICOT_STATUS ,
ld_i_min_valid_from  TYPE FICO_DVALIDFROM ,
ld_i_max_valid_to  TYPE FICO_DVALIDTO ,
ld_i_min_valid_from_new  TYPE FICO_DVALIDFROM ,
ld_i_max_valid_to_new  TYPE FICO_DVALIDTO ,
ld_i_langu  TYPE SPRAS ,
ld_i_amt  TYPE FICO_CAMT ,
ld_i_ref_if_source  TYPE IF_FICO_CHECK_MAINTAIN_CONDS ,
ld_i_listtype  TYPE FICO_OLISTTYP .

ld_i_list = 'Check type of data required'.
ld_i_list_new = 'Check type of data required'.
ld_i_cond = 'Check type of data required'.
ld_i_ind_cond = 'Check type of data required'.
ld_i_buffer = 'Check type of data required'.
ld_i_extlink = 'Check type of data required'.
ld_i_validfrom = 'Check type of data required'.
ld_i_validfrom_new = 'Check type of data required'.
ld_i_t_status = 'Check type of data required'.
ld_i_min_valid_from = 'Check type of data required'.
ld_i_max_valid_to = 'Check type of data required'.
ld_i_min_valid_from_new = 'Check type of data required'.
ld_i_max_valid_to_new = 'Check type of data required'.
ld_i_langu = 'Check type of data required'.
ld_i_amt = 'Check type of data required'.
ld_i_ref_if_source = 'Check type of data required'.
ld_i_listtype = 'Check type of data required'.

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 FICO_COND_COPY_COMPONENT or its description.