SAP Function Modules

BKK_COND_IND_SEL SAP Function module - Selection of the Conditions of a Bank Account for List Display







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

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


Pattern for FM BKK_COND_IND_SEL - BKK COND IND SEL





CALL FUNCTION 'BKK_COND_IND_SEL' "Selection of the Conditions of a Bank Account for List Display
  EXPORTING
    i_bkkrs =                   " tbkk01-bkkrs
    i_condgr_cat =              " tbkk81-condgr_cat
*   i_condgroup =               " tbkk85-condgr
    i_acnum_int =               " bkk40-acnum_int
*   i_acnum_ext =               " bkk42-acnum_ext
*   i_curr =                    " tcurc-waers
*   i_curr_old =                " bkk42_cc-accur_old
*   i_header =                  " ibkk99
*   i_xno_global_data =         " boole-boole
  IMPORTING
    e_header =                  " ibkk99
* TABLES
*   t_condition =               " ibkk91
*   t_position =                " ibkk92
    .  "  BKK_COND_IND_SEL

ABAP code example for Function Module BKK_COND_IND_SEL





The ABAP code below is a full code listing to execute function module BKK_COND_IND_SEL 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_header  TYPE IBKK99 ,
it_t_condition  TYPE STANDARD TABLE OF IBKK91,"TABLES PARAM
wa_t_condition  LIKE LINE OF it_t_condition ,
it_t_position  TYPE STANDARD TABLE OF IBKK92,"TABLES PARAM
wa_t_position  LIKE LINE OF it_t_position .


SELECT single BKKRS
FROM TBKK01
INTO @DATA(ld_i_bkkrs).


SELECT single CONDGR_CAT
FROM TBKK81
INTO @DATA(ld_i_condgr_cat).


SELECT single CONDGR
FROM TBKK85
INTO @DATA(ld_i_condgroup).


SELECT single ACNUM_INT
FROM BKK40
INTO @DATA(ld_i_acnum_int).


SELECT single ACNUM_EXT
FROM BKK42
INTO @DATA(ld_i_acnum_ext).


SELECT single WAERS
FROM TCURC
INTO @DATA(ld_i_curr).


SELECT single ACCUR_OLD
FROM BKK42_CC
INTO @DATA(ld_i_curr_old).

DATA(ld_i_header) = 'Check type of data required'.

DATA(ld_i_xno_global_data) = some text here

"populate fields of struture and append to itab
append wa_t_condition to it_t_condition.

"populate fields of struture and append to itab
append wa_t_position to it_t_position. . CALL FUNCTION 'BKK_COND_IND_SEL' EXPORTING i_bkkrs = ld_i_bkkrs i_condgr_cat = ld_i_condgr_cat * i_condgroup = ld_i_condgroup i_acnum_int = ld_i_acnum_int * i_acnum_ext = ld_i_acnum_ext * i_curr = ld_i_curr * i_curr_old = ld_i_curr_old * i_header = ld_i_header * i_xno_global_data = ld_i_xno_global_data IMPORTING e_header = ld_e_header * TABLES * t_condition = it_t_condition * t_position = it_t_position . " BKK_COND_IND_SEL
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_header  TYPE IBKK99 ,
ld_i_bkkrs  TYPE TBKK01-BKKRS ,
it_t_condition  TYPE STANDARD TABLE OF IBKK91 ,
wa_t_condition  LIKE LINE OF it_t_condition,
ld_i_condgr_cat  TYPE TBKK81-CONDGR_CAT ,
it_t_position  TYPE STANDARD TABLE OF IBKK92 ,
wa_t_position  LIKE LINE OF it_t_position,
ld_i_condgroup  TYPE TBKK85-CONDGR ,
ld_i_acnum_int  TYPE BKK40-ACNUM_INT ,
ld_i_acnum_ext  TYPE BKK42-ACNUM_EXT ,
ld_i_curr  TYPE TCURC-WAERS ,
ld_i_curr_old  TYPE BKK42_CC-ACCUR_OLD ,
ld_i_header  TYPE IBKK99 ,
ld_i_xno_global_data  TYPE BOOLE-BOOLE .


SELECT single BKKRS
FROM TBKK01
INTO ld_i_bkkrs.


"populate fields of struture and append to itab
append wa_t_condition to it_t_condition.

SELECT single CONDGR_CAT
FROM TBKK81
INTO ld_i_condgr_cat.


"populate fields of struture and append to itab
append wa_t_position to it_t_position.

SELECT single CONDGR
FROM TBKK85
INTO ld_i_condgroup.


SELECT single ACNUM_INT
FROM BKK40
INTO ld_i_acnum_int.


SELECT single ACNUM_EXT
FROM BKK42
INTO ld_i_acnum_ext.


SELECT single WAERS
FROM TCURC
INTO ld_i_curr.


SELECT single ACCUR_OLD
FROM BKK42_CC
INTO ld_i_curr_old.

ld_i_header = 'Check type of data required'.

ld_i_xno_global_data = some text here

SAP Documentation for FM BKK_COND_IND_SEL


Reads individual conditions and individual condition positions for the list display. Texts are read unlike with the function module ...See here for full SAP fm documentation










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