SAP Function Modules

FILA_ECATT SAP Function module







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

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


Pattern for FM FILA_ECATT - FILA ECATT





CALL FUNCTION 'FILA_ECATT' "
  EXPORTING
*   id_bukrs_tst = '0001'       " bukrs
    id_objectid_tst =           " fila_refobj
    id_itemno_tst =             " fila_itemno
*   id_mandt_ref = SY-MANDT     " mandt
*   id_bukrs_ref = '0001'       " bukrs
    id_objectid_ref =           " fila_refobj
    id_itemno_ref =             " fila_itemno
*   if_structure1 = 'X'         " flag
*   if_structure2 = 'X'         " flag
*   if_structure3 = 'X'         " flag
*   if_structure4 = 'X'         " flag
*   if_structure5 = 'X'         " flag
*   if_structure6 = 'X'         " flag
*   if_structure7 = 'X'         " flag
*   if_structure8 = 'X'         " flag
*   if_structure9 = 'X'         " flag
*   if_structure10 = 'X'        " flag
*   if_structure11 = 'X'        " flag
*   if_structure12 = 'X'        " flag
  IMPORTING
    et_result =                 " fila_tb_ecatt_result
    ef_not_exist_ref =          " flag
    ef_not_exist_tst =          " flag
    ed_structure1 =             " char1
    ed_structure2 =             " char1
    ed_structure3 =             " char1
    ed_structure4 =             " char1
    ed_structure5 =             " char1
    ed_structure6 =             " char1
    ed_structure7 =             " char1
    ed_structure8 =             " char1
    ed_structure9 =             " char1
    ed_structure10 =            " char1
    ed_structure11 =            " char1
    ed_structure12 =            " char1
    .  "  FILA_ECATT

ABAP code example for Function Module FILA_ECATT





The ABAP code below is a full code listing to execute function module FILA_ECATT 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_et_result  TYPE FILA_TB_ECATT_RESULT ,
ld_ef_not_exist_ref  TYPE FLAG ,
ld_ef_not_exist_tst  TYPE FLAG ,
ld_ed_structure1  TYPE CHAR1 ,
ld_ed_structure2  TYPE CHAR1 ,
ld_ed_structure3  TYPE CHAR1 ,
ld_ed_structure4  TYPE CHAR1 ,
ld_ed_structure5  TYPE CHAR1 ,
ld_ed_structure6  TYPE CHAR1 ,
ld_ed_structure7  TYPE CHAR1 ,
ld_ed_structure8  TYPE CHAR1 ,
ld_ed_structure9  TYPE CHAR1 ,
ld_ed_structure10  TYPE CHAR1 ,
ld_ed_structure11  TYPE CHAR1 ,
ld_ed_structure12  TYPE CHAR1 .

DATA(ld_id_bukrs_tst) = 'Check type of data required'.
DATA(ld_id_objectid_tst) = 'Check type of data required'.
DATA(ld_id_itemno_tst) = 'Check type of data required'.
DATA(ld_id_mandt_ref) = 'Check type of data required'.
DATA(ld_id_bukrs_ref) = 'Check type of data required'.
DATA(ld_id_objectid_ref) = 'Check type of data required'.
DATA(ld_id_itemno_ref) = 'Check type of data required'.
DATA(ld_if_structure1) = 'Check type of data required'.
DATA(ld_if_structure2) = 'Check type of data required'.
DATA(ld_if_structure3) = 'Check type of data required'.
DATA(ld_if_structure4) = 'Check type of data required'.
DATA(ld_if_structure5) = 'Check type of data required'.
DATA(ld_if_structure6) = 'Check type of data required'.
DATA(ld_if_structure7) = 'Check type of data required'.
DATA(ld_if_structure8) = 'Check type of data required'.
DATA(ld_if_structure9) = 'Check type of data required'.
DATA(ld_if_structure10) = 'Check type of data required'.
DATA(ld_if_structure11) = 'Check type of data required'.
DATA(ld_if_structure12) = 'Check type of data required'. . CALL FUNCTION 'FILA_ECATT' EXPORTING * id_bukrs_tst = ld_id_bukrs_tst id_objectid_tst = ld_id_objectid_tst id_itemno_tst = ld_id_itemno_tst * id_mandt_ref = ld_id_mandt_ref * id_bukrs_ref = ld_id_bukrs_ref id_objectid_ref = ld_id_objectid_ref id_itemno_ref = ld_id_itemno_ref * if_structure1 = ld_if_structure1 * if_structure2 = ld_if_structure2 * if_structure3 = ld_if_structure3 * if_structure4 = ld_if_structure4 * if_structure5 = ld_if_structure5 * if_structure6 = ld_if_structure6 * if_structure7 = ld_if_structure7 * if_structure8 = ld_if_structure8 * if_structure9 = ld_if_structure9 * if_structure10 = ld_if_structure10 * if_structure11 = ld_if_structure11 * if_structure12 = ld_if_structure12 IMPORTING et_result = ld_et_result ef_not_exist_ref = ld_ef_not_exist_ref ef_not_exist_tst = ld_ef_not_exist_tst ed_structure1 = ld_ed_structure1 ed_structure2 = ld_ed_structure2 ed_structure3 = ld_ed_structure3 ed_structure4 = ld_ed_structure4 ed_structure5 = ld_ed_structure5 ed_structure6 = ld_ed_structure6 ed_structure7 = ld_ed_structure7 ed_structure8 = ld_ed_structure8 ed_structure9 = ld_ed_structure9 ed_structure10 = ld_ed_structure10 ed_structure11 = ld_ed_structure11 ed_structure12 = ld_ed_structure12 . " FILA_ECATT
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_et_result  TYPE FILA_TB_ECATT_RESULT ,
ld_id_bukrs_tst  TYPE BUKRS ,
ld_id_objectid_tst  TYPE FILA_REFOBJ ,
ld_ef_not_exist_ref  TYPE FLAG ,
ld_id_itemno_tst  TYPE FILA_ITEMNO ,
ld_ef_not_exist_tst  TYPE FLAG ,
ld_id_mandt_ref  TYPE MANDT ,
ld_ed_structure1  TYPE CHAR1 ,
ld_id_bukrs_ref  TYPE BUKRS ,
ld_ed_structure2  TYPE CHAR1 ,
ld_id_objectid_ref  TYPE FILA_REFOBJ ,
ld_ed_structure3  TYPE CHAR1 ,
ld_id_itemno_ref  TYPE FILA_ITEMNO ,
ld_ed_structure4  TYPE CHAR1 ,
ld_if_structure1  TYPE FLAG ,
ld_ed_structure5  TYPE CHAR1 ,
ld_ed_structure6  TYPE CHAR1 ,
ld_if_structure2  TYPE FLAG ,
ld_ed_structure7  TYPE CHAR1 ,
ld_if_structure3  TYPE FLAG ,
ld_ed_structure8  TYPE CHAR1 ,
ld_if_structure4  TYPE FLAG ,
ld_ed_structure9  TYPE CHAR1 ,
ld_if_structure5  TYPE FLAG ,
ld_ed_structure10  TYPE CHAR1 ,
ld_if_structure6  TYPE FLAG ,
ld_ed_structure11  TYPE CHAR1 ,
ld_if_structure7  TYPE FLAG ,
ld_ed_structure12  TYPE CHAR1 ,
ld_if_structure8  TYPE FLAG ,
ld_if_structure9  TYPE FLAG ,
ld_if_structure10  TYPE FLAG ,
ld_if_structure11  TYPE FLAG ,
ld_if_structure12  TYPE FLAG .

ld_id_bukrs_tst = 'Check type of data required'.
ld_id_objectid_tst = 'Check type of data required'.
ld_id_itemno_tst = 'Check type of data required'.
ld_id_mandt_ref = 'Check type of data required'.
ld_id_bukrs_ref = 'Check type of data required'.
ld_id_objectid_ref = 'Check type of data required'.
ld_id_itemno_ref = 'Check type of data required'.
ld_if_structure1 = 'Check type of data required'.
ld_if_structure2 = 'Check type of data required'.
ld_if_structure3 = 'Check type of data required'.
ld_if_structure4 = 'Check type of data required'.
ld_if_structure5 = 'Check type of data required'.
ld_if_structure6 = 'Check type of data required'.
ld_if_structure7 = 'Check type of data required'.
ld_if_structure8 = 'Check type of data required'.
ld_if_structure9 = 'Check type of data required'.
ld_if_structure10 = 'Check type of data required'.
ld_if_structure11 = 'Check type of data required'.
ld_if_structure12 = '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 FILA_ECATT or its description.