BKK_CASH_BAL_GET_ALL 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_CASH_BAL_GET_ALL into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
FBA1
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'BKK_CASH_BAL_GET_ALL' "BCA: Selection of a Position List for Each Account
EXPORTING
i_bkkrs = " ibkkakeyin-bkkrs Bank Area
* i_cashb_catg = G_CON_CHEQUE " ibkkakeyin-cashbcatg Internal Key of a Position
* i_accnoint = " ibkk42-acnum_int Internal Account Number
* i_r_cashbtype = " bkks_r_tab_cashbtype Range Table for Position Types
* i_r_cashbstat = " bkks_r_tab_cashbstat Range Table for Position Status
* i_cashbnofrom = " ibkkakeyex-cashbno Position Number From
* i_cashbnoto = " ibkkakeyex-cashbno Position Number To
* i_flg_authcheck_acc = " boole-boole Indicator: Authorization Check for Account
* i_flg_authcheck_type = " boole-boole Indicator: Authorization Check for Position Type
* i_actvt = " tact-actvt Activity for Authorization Check
IMPORTING
e_rc = " sy-subrc Return Code (See Long Text)
e_cnt_selected = " sy-dbcnt Number of Selected Positions
TABLES
* t_where_cond = " rsdswhere Table of WHERE Conditions
t_cashb_selected = " bkka1 Table of Selected Positions
. " BKK_CASH_BAL_GET_ALL
The ABAP code below is a full code listing to execute function module BKK_CASH_BAL_GET_ALL 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).
| ld_e_rc | TYPE SY-SUBRC , |
| ld_e_cnt_selected | TYPE SY-DBCNT , |
| it_t_where_cond | TYPE STANDARD TABLE OF RSDSWHERE,"TABLES PARAM |
| wa_t_where_cond | LIKE LINE OF it_t_where_cond , |
| it_t_cashb_selected | TYPE STANDARD TABLE OF BKKA1,"TABLES PARAM |
| wa_t_cashb_selected | LIKE LINE OF it_t_cashb_selected . |
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_rc | TYPE SY-SUBRC , |
| ld_i_bkkrs | TYPE IBKKAKEYIN-BKKRS , |
| it_t_where_cond | TYPE STANDARD TABLE OF RSDSWHERE , |
| wa_t_where_cond | LIKE LINE OF it_t_where_cond, |
| ld_e_cnt_selected | TYPE SY-DBCNT , |
| ld_i_cashb_catg | TYPE IBKKAKEYIN-CASHBCATG , |
| it_t_cashb_selected | TYPE STANDARD TABLE OF BKKA1 , |
| wa_t_cashb_selected | LIKE LINE OF it_t_cashb_selected, |
| ld_i_accnoint | TYPE IBKK42-ACNUM_INT , |
| ld_i_r_cashbtype | TYPE BKKS_R_TAB_CASHBTYPE , |
| ld_i_r_cashbstat | TYPE BKKS_R_TAB_CASHBSTAT , |
| ld_i_cashbnofrom | TYPE IBKKAKEYEX-CASHBNO , |
| ld_i_cashbnoto | TYPE IBKKAKEYEX-CASHBNO , |
| ld_i_flg_authcheck_acc | TYPE BOOLE-BOOLE , |
| ld_i_flg_authcheck_type | TYPE BOOLE-BOOLE , |
| ld_i_actvt | TYPE TACT-ACTVT . |
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_CASH_BAL_GET_ALL or its description.
BKK_CASH_BAL_GET_ALL - BCA: Selection of a Position List for Each Account BKK_CASH_BAL_DELETE_LAST - Position Payment Transactions: Deletion of Payment Item to be Processe BKK_CASH_BAL_DELETE_FROM_UPD - Delete Position From List of Positions to be Changed BKK_CASH_BAL_DELETE_FROM_INS - Delete Position From List of New Positions to be Inserted BKK_CASH_BAL_DB_UPDATE - Database Update of Changed Position Data BKK_CASH_BAL_DB_STACK_NR_BKKA1 - Get all Position Data for a Stack Number