SAP BKK_FIKEY_GET_FOR_PROCESS Function Module for FI Key: Read Current and Next FI Key for Process









BKK_FIKEY_GET_FOR_PROCESS is a standard bkk fikey get for process 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: Read Current and Next FI Key for Process 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 get for process FM, simply by entering the name BKK_FIKEY_GET_FOR_PROCESS 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_GET_FOR_PROCESS 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_GET_FOR_PROCESS'"FI Key: Read Current and Next FI Key for Process
EXPORTING
I_BKKRS = "Bank Area
I_PROCESS = "Process
* I_DATE_POST = "Date for FI Key; Currently Only for Data Transfer

IMPORTING
E_FIKEY_CURR = "FI Key Currently Valid
E_FIKEY_NEXT = "Next FI Key
E_DATE_POST = "

TABLES
* E_T_PROCESS_DATE = "

EXCEPTIONS
DATA_ERROR = 1 FIKEY_NOT_FOUND = 2
.



IMPORTING Parameters details for BKK_FIKEY_GET_FOR_PROCESS

I_BKKRS - Bank Area

Data type: BKKC03-BKKRS
Optional: No
Call by Reference: No ( called with pass by value option)

I_PROCESS - Process

Data type: BKKC03-PROCESS
Optional: No
Call by Reference: No ( called with pass by value option)

I_DATE_POST - Date for FI Key; Currently Only for Data Transfer

Data type: BKKC03-DATE_POST
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for BKK_FIKEY_GET_FOR_PROCESS

E_FIKEY_CURR - FI Key Currently Valid

Data type: BKKC03-FIKEY_CURR
Optional: No
Call by Reference: No ( called with pass by value option)

E_FIKEY_NEXT - Next FI Key

Data type: BKKC03-FIKEY_NEXT
Optional: No
Call by Reference: No ( called with pass by value option)

E_DATE_POST -

Data type: BKKC03-DATE_POST
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for BKK_FIKEY_GET_FOR_PROCESS

E_T_PROCESS_DATE -

Data type: BKKC03
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

DATA_ERROR - Error in Parameters, etc

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

FIKEY_NOT_FOUND - No FI Key Found

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for BKK_FIKEY_GET_FOR_PROCESS 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 BKKC03-BKKRS, "   
lv_data_error  TYPE BKKC03, "   
lv_e_fikey_curr  TYPE BKKC03-FIKEY_CURR, "   
lt_e_t_process_date  TYPE STANDARD TABLE OF BKKC03, "   
lv_i_process  TYPE BKKC03-PROCESS, "   
lv_e_fikey_next  TYPE BKKC03-FIKEY_NEXT, "   
lv_fikey_not_found  TYPE BKKC03, "   
lv_e_date_post  TYPE BKKC03-DATE_POST, "   
lv_i_date_post  TYPE BKKC03-DATE_POST. "   

  CALL FUNCTION 'BKK_FIKEY_GET_FOR_PROCESS'  "FI Key: Read Current and Next FI Key for Process
    EXPORTING
         I_BKKRS = lv_i_bkkrs
         I_PROCESS = lv_i_process
         I_DATE_POST = lv_i_date_post
    IMPORTING
         E_FIKEY_CURR = lv_e_fikey_curr
         E_FIKEY_NEXT = lv_e_fikey_next
         E_DATE_POST = lv_e_date_post
    TABLES
         E_T_PROCESS_DATE = lt_e_t_process_date
    EXCEPTIONS
        DATA_ERROR = 1
        FIKEY_NOT_FOUND = 2
. " BKK_FIKEY_GET_FOR_PROCESS




ABAP code using 7.40 inline data declarations to call FM BKK_FIKEY_GET_FOR_PROCESS

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 BKKC03 INTO @DATA(ld_i_bkkrs).
 
 
"SELECT single FIKEY_CURR FROM BKKC03 INTO @DATA(ld_e_fikey_curr).
 
 
"SELECT single PROCESS FROM BKKC03 INTO @DATA(ld_i_process).
 
"SELECT single FIKEY_NEXT FROM BKKC03 INTO @DATA(ld_e_fikey_next).
 
 
"SELECT single DATE_POST FROM BKKC03 INTO @DATA(ld_e_date_post).
 
"SELECT single DATE_POST FROM BKKC03 INTO @DATA(ld_i_date_post).
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!