SAP BKK_COND_GET_FOR_BKST_SECOND Function Module for Determine Interest for an Account for a Period
BKK_COND_GET_FOR_BKST_SECOND is a standard bkk cond get for bkst second SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Determine Interest for an Account for a Period processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for bkk cond get for bkst second FM, simply by entering the name BKK_COND_GET_FOR_BKST_SECOND into the relevant SAP transaction such as SE37 or SE38.
Function Group: FB9I
Program Name: SAPLFB9I
Main Program: SAPLFB9I
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function BKK_COND_GET_FOR_BKST_SECOND pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'BKK_COND_GET_FOR_BKST_SECOND'"Determine Interest for an Account for a Period.
EXPORTING
I_BKKRS = "Bank Area
I_ACNUM_INT = "Internal Account Number
I_COND_DATE_FROM = "Date From
I_COND_DATE_TO = "Date To
I_CURRENCY = "Currency
* I_S_BKK42 = "Checking Account Master Data: Operational Data
* I_S_BKKTERM = "Term Agreement for Fixed-Term Deposit and Installment Savings
* I_SKIP_MESSAGE_HANDLER = ' ' "Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
IMPORTING
E_RC = "Return Code
TABLES
* E_T_STD_COND = "Standard Conditions
* E_T_IND_COND = "Individual Conditions
* E_T_RESULT = "Condition Display Structure for the Bank Statement
IMPORTING Parameters details for BKK_COND_GET_FOR_BKST_SECOND
I_BKKRS - Bank Area
Data type: TBKK01-BKKRSOptional: No
Call by Reference: Yes
I_ACNUM_INT - Internal Account Number
Data type: BKK40-ACNUM_INTOptional: No
Call by Reference: Yes
I_COND_DATE_FROM - Date From
Data type: SY-DATUMOptional: No
Call by Reference: Yes
I_COND_DATE_TO - Date To
Data type: SY-DATUMOptional: No
Call by Reference: Yes
I_CURRENCY - Currency
Data type: TCURC-WAERSOptional: No
Call by Reference: Yes
I_S_BKK42 - Checking Account Master Data: Operational Data
Data type: BKK42Optional: Yes
Call by Reference: Yes
I_S_BKKTERM - Term Agreement for Fixed-Term Deposit and Installment Savings
Data type: BKKTERMOptional: Yes
Call by Reference: Yes
I_SKIP_MESSAGE_HANDLER - Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
Data type: BOOLE-BOOLEDefault: SPACE
Optional: Yes
Call by Reference: Yes
EXPORTING Parameters details for BKK_COND_GET_FOR_BKST_SECOND
E_RC - Return Code
Data type: SY-SUBRCOptional: No
Call by Reference: Yes
TABLES Parameters details for BKK_COND_GET_FOR_BKST_SECOND
E_T_STD_COND - Standard Conditions
Data type: BKKC_T_STD_CONDOptional: Yes
Call by Reference: Yes
E_T_IND_COND - Individual Conditions
Data type: BKKC_T_FIMA_CONDOptional: Yes
Call by Reference: Yes
E_T_RESULT - Condition Display Structure for the Bank Statement
Data type: IBKK_COND_FOR_BKST_SECONDOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for BKK_COND_GET_FOR_BKST_SECOND Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than 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 newer method of declaring data variables on the fly. 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), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_e_rc | TYPE SY-SUBRC, " | |||
| lv_i_bkkrs | TYPE TBKK01-BKKRS, " | |||
| lt_e_t_std_cond | TYPE STANDARD TABLE OF BKKC_T_STD_COND, " | |||
| lv_i_acnum_int | TYPE BKK40-ACNUM_INT, " | |||
| lt_e_t_ind_cond | TYPE STANDARD TABLE OF BKKC_T_FIMA_COND, " | |||
| lt_e_t_result | TYPE STANDARD TABLE OF IBKK_COND_FOR_BKST_SECOND, " | |||
| lv_i_cond_date_from | TYPE SY-DATUM, " | |||
| lv_i_cond_date_to | TYPE SY-DATUM, " | |||
| lv_i_currency | TYPE TCURC-WAERS, " | |||
| lv_i_s_bkk42 | TYPE BKK42, " | |||
| lv_i_s_bkkterm | TYPE BKKTERM, " | |||
| lv_i_skip_message_handler | TYPE BOOLE-BOOLE. " SPACE |
|   CALL FUNCTION 'BKK_COND_GET_FOR_BKST_SECOND' "Determine Interest for an Account for a Period |
| EXPORTING | ||
| I_BKKRS | = lv_i_bkkrs | |
| I_ACNUM_INT | = lv_i_acnum_int | |
| I_COND_DATE_FROM | = lv_i_cond_date_from | |
| I_COND_DATE_TO | = lv_i_cond_date_to | |
| I_CURRENCY | = lv_i_currency | |
| I_S_BKK42 | = lv_i_s_bkk42 | |
| I_S_BKKTERM | = lv_i_s_bkkterm | |
| I_SKIP_MESSAGE_HANDLER | = lv_i_skip_message_handler | |
| IMPORTING | ||
| E_RC | = lv_e_rc | |
| TABLES | ||
| E_T_STD_COND | = lt_e_t_std_cond | |
| E_T_IND_COND | = lt_e_t_ind_cond | |
| E_T_RESULT | = lt_e_t_result | |
| . " BKK_COND_GET_FOR_BKST_SECOND | ||
ABAP code using 7.40 inline data declarations to call FM BKK_COND_GET_FOR_BKST_SECOND
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| "SELECT single SUBRC FROM SY INTO @DATA(ld_e_rc). | ||||
| "SELECT single BKKRS FROM TBKK01 INTO @DATA(ld_i_bkkrs). | ||||
| "SELECT single ACNUM_INT FROM BKK40 INTO @DATA(ld_i_acnum_int). | ||||
| "SELECT single DATUM FROM SY INTO @DATA(ld_i_cond_date_from). | ||||
| "SELECT single DATUM FROM SY INTO @DATA(ld_i_cond_date_to). | ||||
| "SELECT single WAERS FROM TCURC INTO @DATA(ld_i_currency). | ||||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_skip_message_handler). | ||||
| DATA(ld_i_skip_message_handler) | = ' '. | |||
Search for further information about these or an SAP related objects