SAP BKKF_BKKA_BKKTERM_COLLECT Function Module for Collection of Term Agreement
BKKF_BKKA_BKKTERM_COLLECT is a standard bkkf bkka bkkterm collect SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Collection of Term Agreement 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 bkkf bkka bkkterm collect FM, simply by entering the name BKKF_BKKA_BKKTERM_COLLECT into the relevant SAP transaction such as SE37 or SE38.
Function Group: FKBF0
Program Name: SAPLFKBF0
Main Program: SAPLFKBF0
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function BKKF_BKKA_BKKTERM_COLLECT 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 'BKKF_BKKA_BKKTERM_COLLECT'"Collection of Term Agreement.
EXPORTING
* I_TAB_NAME_CURRENT = "Table Name
* I_STR_TERM_CURRENT = "Structure: Operative Data for Fixed-Term Deposit
* I_TAB_NAME_ROLLOVER = "Table Name
* I_STR_TERM_ROLLOVER = "table type for dynpro structure IBKK_TD_s1
IMPORTING Parameters details for BKKF_BKKA_BKKTERM_COLLECT
I_TAB_NAME_CURRENT - Table Name
Data type: DD02D-TABNAMEOptional: Yes
Call by Reference: No ( called with pass by value option)
I_STR_TERM_CURRENT - Structure: Operative Data for Fixed-Term Deposit
Data type: BKKTERMOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_NAME_ROLLOVER - Table Name
Data type: DD02D-TABNAMEOptional: Yes
Call by Reference: No ( called with pass by value option)
I_STR_TERM_ROLLOVER - table type for dynpro structure IBKK_TD_s1
Data type: IBKK_TD_S1Optional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for BKKF_BKKA_BKKTERM_COLLECT 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_i_tab_name_current | TYPE DD02D-TABNAME, " | |||
| lv_i_str_term_current | TYPE BKKTERM, " | |||
| lv_i_tab_name_rollover | TYPE DD02D-TABNAME, " | |||
| lv_i_str_term_rollover | TYPE IBKK_TD_S1. " |
|   CALL FUNCTION 'BKKF_BKKA_BKKTERM_COLLECT' "Collection of Term Agreement |
| EXPORTING | ||
| I_TAB_NAME_CURRENT | = lv_i_tab_name_current | |
| I_STR_TERM_CURRENT | = lv_i_str_term_current | |
| I_TAB_NAME_ROLLOVER | = lv_i_tab_name_rollover | |
| I_STR_TERM_ROLLOVER | = lv_i_str_term_rollover | |
| . " BKKF_BKKA_BKKTERM_COLLECT | ||
ABAP code using 7.40 inline data declarations to call FM BKKF_BKKA_BKKTERM_COLLECT
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 TABNAME FROM DD02D INTO @DATA(ld_i_tab_name_current). | ||||
| "SELECT single TABNAME FROM DD02D INTO @DATA(ld_i_tab_name_rollover). | ||||
Search for further information about these or an SAP related objects