SAP Function Modules

BKK_COND_INT_FIELDATTR_READ SAP Function module - Read Field Control







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

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


Pattern for FM BKK_COND_INT_FIELDATTR_READ - BKK COND INT FIELDATTR READ





CALL FUNCTION 'BKK_COND_INT_FIELDATTR_READ' "Read Field Control
  EXPORTING
    i_condcatg =                " tbkk89-condcatg
*   i_attr_cond =               " tbkk89-attr_cond
*   i_list_cond =               " tbkk89-list_cond
*   i_zero_cond =               " tbkk89-zero_cond
*   i_attr_pos =                " tbkk89-attr_pos
*   i_list_pos =                " tbkk89-list_pos
*   i_zero_pos =                " tbkk89-zero_pos
  TABLES
    t_attribute =               " ibkk9e
    .  "  BKK_COND_INT_FIELDATTR_READ

ABAP code example for Function Module BKK_COND_INT_FIELDATTR_READ





The ABAP code below is a full code listing to execute function module BKK_COND_INT_FIELDATTR_READ 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:
it_t_attribute  TYPE STANDARD TABLE OF IBKK9E,"TABLES PARAM
wa_t_attribute  LIKE LINE OF it_t_attribute .


SELECT single CONDCATG
FROM TBKK89
INTO @DATA(ld_i_condcatg).


SELECT single ATTR_COND
FROM TBKK89
INTO @DATA(ld_i_attr_cond).


SELECT single LIST_COND
FROM TBKK89
INTO @DATA(ld_i_list_cond).


SELECT single ZERO_COND
FROM TBKK89
INTO @DATA(ld_i_zero_cond).


SELECT single ATTR_POS
FROM TBKK89
INTO @DATA(ld_i_attr_pos).


SELECT single LIST_POS
FROM TBKK89
INTO @DATA(ld_i_list_pos).


SELECT single ZERO_POS
FROM TBKK89
INTO @DATA(ld_i_zero_pos).


"populate fields of struture and append to itab
append wa_t_attribute to it_t_attribute. . CALL FUNCTION 'BKK_COND_INT_FIELDATTR_READ' EXPORTING i_condcatg = ld_i_condcatg * i_attr_cond = ld_i_attr_cond * i_list_cond = ld_i_list_cond * i_zero_cond = ld_i_zero_cond * i_attr_pos = ld_i_attr_pos * i_list_pos = ld_i_list_pos * i_zero_pos = ld_i_zero_pos TABLES t_attribute = it_t_attribute . " BKK_COND_INT_FIELDATTR_READ
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_i_condcatg  TYPE TBKK89-CONDCATG ,
it_t_attribute  TYPE STANDARD TABLE OF IBKK9E ,
wa_t_attribute  LIKE LINE OF it_t_attribute,
ld_i_attr_cond  TYPE TBKK89-ATTR_COND ,
ld_i_list_cond  TYPE TBKK89-LIST_COND ,
ld_i_zero_cond  TYPE TBKK89-ZERO_COND ,
ld_i_attr_pos  TYPE TBKK89-ATTR_POS ,
ld_i_list_pos  TYPE TBKK89-LIST_POS ,
ld_i_zero_pos  TYPE TBKK89-ZERO_POS .


SELECT single CONDCATG
FROM TBKK89
INTO ld_i_condcatg.


"populate fields of struture and append to itab
append wa_t_attribute to it_t_attribute.

SELECT single ATTR_COND
FROM TBKK89
INTO ld_i_attr_cond.


SELECT single LIST_COND
FROM TBKK89
INTO ld_i_list_cond.


SELECT single ZERO_COND
FROM TBKK89
INTO ld_i_zero_cond.


SELECT single ATTR_POS
FROM TBKK89
INTO ld_i_attr_pos.


SELECT single LIST_POS
FROM TBKK89
INTO ld_i_list_pos.


SELECT single ZERO_POS
FROM TBKK89
INTO ld_i_zero_pos.

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