SAP BKK_FIKEY_PROCESS_OPEN Function Module for FI Key: Set for Start of General Ledger Operation
BKK_FIKEY_PROCESS_OPEN is a standard bkk fikey process open SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for FI Key: Set for Start of General Ledger Operation 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 fikey process open FM, simply by entering the name BKK_FIKEY_PROCESS_OPEN into the relevant SAP transaction such as SE37 or SE38.
Function Group: FBC1
Program Name: SAPLFBC1
Main Program: SAPLFBC1
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function BKK_FIKEY_PROCESS_OPEN 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_FIKEY_PROCESS_OPEN'"FI Key: Set for Start of General Ledger Operation.
EXPORTING
I_BKKRS = "Bank Area
I_GLPROCESS = "General Ledger Process
* I_T_POST_DATES = "
IMPORTING
E_FIKEY_CURR = "
EXCEPTIONS
OLD_FIKEY_CLOSED = 1 NO_GL_CUSTOMIZING = 2 PARAM_ERROR = 3
IMPORTING Parameters details for BKK_FIKEY_PROCESS_OPEN
I_BKKRS - Bank Area
Data type: TBKK01-BKKRSOptional: No
Call by Reference: No ( called with pass by value option)
I_GLPROCESS - General Ledger Process
Data type: TBKKC03-PROCESSOptional: No
Call by Reference: No ( called with pass by value option)
I_T_POST_DATES -
Data type: BKKH_T_POST_DATEOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for BKK_FIKEY_PROCESS_OPEN
E_FIKEY_CURR -
Data type: BKKC01-FIKEYOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
OLD_FIKEY_CLOSED - FI Key Generated Earlier Closed (Termination)
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_GL_CUSTOMIZING - No Customizing for BCA -> FI; Accrual/Deferral Not Possible
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
PARAM_ERROR - Errors in Parameter
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for BKK_FIKEY_PROCESS_OPEN 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_bkkrs | TYPE TBKK01-BKKRS, " | |||
| lv_e_fikey_curr | TYPE BKKC01-FIKEY, " | |||
| lv_old_fikey_closed | TYPE BKKC01, " | |||
| lv_i_glprocess | TYPE TBKKC03-PROCESS, " | |||
| lv_no_gl_customizing | TYPE TBKKC03, " | |||
| lv_param_error | TYPE TBKKC03, " | |||
| lv_i_t_post_dates | TYPE BKKH_T_POST_DATE. " |
|   CALL FUNCTION 'BKK_FIKEY_PROCESS_OPEN' "FI Key: Set for Start of General Ledger Operation |
| EXPORTING | ||
| I_BKKRS | = lv_i_bkkrs | |
| I_GLPROCESS | = lv_i_glprocess | |
| I_T_POST_DATES | = lv_i_t_post_dates | |
| IMPORTING | ||
| E_FIKEY_CURR | = lv_e_fikey_curr | |
| EXCEPTIONS | ||
| OLD_FIKEY_CLOSED = 1 | ||
| NO_GL_CUSTOMIZING = 2 | ||
| PARAM_ERROR = 3 | ||
| . " BKK_FIKEY_PROCESS_OPEN | ||
ABAP code using 7.40 inline data declarations to call FM BKK_FIKEY_PROCESS_OPEN
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 BKKRS FROM TBKK01 INTO @DATA(ld_i_bkkrs). | ||||
| "SELECT single FIKEY FROM BKKC01 INTO @DATA(ld_e_fikey_curr). | ||||
| "SELECT single PROCESS FROM TBKKC03 INTO @DATA(ld_i_glprocess). | ||||
Search for further information about these or an SAP related objects