SAP BKK_ARCH_SET_OBJECTID Function Module for Generate Object ID for Index Access
BKK_ARCH_SET_OBJECTID is a standard bkk arch set objectid SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Generate Object ID for Index Access 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 arch set objectid FM, simply by entering the name BKK_ARCH_SET_OBJECTID into the relevant SAP transaction such as SE37 or SE38.
Function Group: FB0ARCH
Program Name: SAPLFB0ARCH
Main Program: SAPLFB0ARCH
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function BKK_ARCH_SET_OBJECTID 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_ARCH_SET_OBJECTID'"Generate Object ID for Index Access.
EXPORTING
* I_KEY1 = "
* I_KEY10 = "
* I_KEY2 = "
* I_KEY3 = "
* I_KEY4 = "
* I_KEY5 = "
* I_KEY6 = "
* I_KEY7 = "
* I_KEY8 = "
* I_KEY9 = "
IMPORTING
E_OBJECTID = "
EXCEPTIONS
OBJECTID_TOO_LONG = 1
IMPORTING Parameters details for BKK_ARCH_SET_OBJECTID
I_KEY1 -
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
I_KEY10 -
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
I_KEY2 -
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
I_KEY3 -
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
I_KEY4 -
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
I_KEY5 -
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
I_KEY6 -
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
I_KEY7 -
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
I_KEY8 -
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
I_KEY9 -
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for BKK_ARCH_SET_OBJECTID
E_OBJECTID -
Data type: BKK_ARCH_OBJECTIDOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
OBJECTID_TOO_LONG -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for BKK_ARCH_SET_OBJECTID 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_key1 | TYPE STRING, " | |||
| lv_e_objectid | TYPE BKK_ARCH_OBJECTID, " | |||
| lv_objectid_too_long | TYPE BKK_ARCH_OBJECTID, " | |||
| lv_i_key10 | TYPE BKK_ARCH_OBJECTID, " | |||
| lv_i_key2 | TYPE BKK_ARCH_OBJECTID, " | |||
| lv_i_key3 | TYPE BKK_ARCH_OBJECTID, " | |||
| lv_i_key4 | TYPE BKK_ARCH_OBJECTID, " | |||
| lv_i_key5 | TYPE BKK_ARCH_OBJECTID, " | |||
| lv_i_key6 | TYPE BKK_ARCH_OBJECTID, " | |||
| lv_i_key7 | TYPE BKK_ARCH_OBJECTID, " | |||
| lv_i_key8 | TYPE BKK_ARCH_OBJECTID, " | |||
| lv_i_key9 | TYPE BKK_ARCH_OBJECTID. " |
|   CALL FUNCTION 'BKK_ARCH_SET_OBJECTID' "Generate Object ID for Index Access |
| EXPORTING | ||
| I_KEY1 | = lv_i_key1 | |
| I_KEY10 | = lv_i_key10 | |
| I_KEY2 | = lv_i_key2 | |
| I_KEY3 | = lv_i_key3 | |
| I_KEY4 | = lv_i_key4 | |
| I_KEY5 | = lv_i_key5 | |
| I_KEY6 | = lv_i_key6 | |
| I_KEY7 | = lv_i_key7 | |
| I_KEY8 | = lv_i_key8 | |
| I_KEY9 | = lv_i_key9 | |
| IMPORTING | ||
| E_OBJECTID | = lv_e_objectid | |
| EXCEPTIONS | ||
| OBJECTID_TOO_LONG = 1 | ||
| . " BKK_ARCH_SET_OBJECTID | ||
ABAP code using 7.40 inline data declarations to call FM BKK_ARCH_SET_OBJECTID
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.Search for further information about these or an SAP related objects