SAP K_KKB_OBJECT_IDENT_GET Function Module for









K_KKB_OBJECT_IDENT_GET is a standard k kkb object ident get SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 k kkb object ident get FM, simply by entering the name K_KKB_OBJECT_IDENT_GET into the relevant SAP transaction such as SE37 or SE38.

Function Group: KKB3
Program Name: SAPLKKB3
Main Program: SAPLKKB3
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function K_KKB_OBJECT_IDENT_GET 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 'K_KKB_OBJECT_IDENT_GET'"
EXPORTING
I_OBJNR = "Object Number
* I_NO_BUKRS = "ABAP program, ABAP program call mode
* I_NO_KOKRS = "ABAP program, ABAP program call mode
* I_LANGU = SY-LANGU "Current Language
* I_DATUM = SY-DATLO "Date and Time, Current (Application Server) Date
* I_OBART_ONLY = "ABAP program, ABAP program call mode

IMPORTING
E_TEXT = "Messages, Message Line
E_IDENTIFICATION = "Messages, Message Variable
E_IONRA = "General Object Number and Object Keys
E_IDENT_OBART = "Three-character, language-dependent value for object type
E_IDENT_OBJID = "Messages, Message Variable
E_KKRVDCOOBJ = "Internal Structure for CKRCO + CKRCT (Summarized CO Object)
.



IMPORTING Parameters details for K_KKB_OBJECT_IDENT_GET

I_OBJNR - Object Number

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

I_NO_BUKRS - ABAP program, ABAP program call mode

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

I_NO_KOKRS - ABAP program, ABAP program call mode

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

I_LANGU - Current Language

Data type: SY-LANGU
Default: SY-LANGU
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_DATUM - Date and Time, Current (Application Server) Date

Data type: SY-DATUM
Default: SY-DATLO
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_OBART_ONLY - ABAP program, ABAP program call mode

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

EXPORTING Parameters details for K_KKB_OBJECT_IDENT_GET

E_TEXT - Messages, Message Line

Data type: SY-MSGLI
Optional: No
Call by Reference: Yes

E_IDENTIFICATION - Messages, Message Variable

Data type: SY-MSGV1
Optional: No
Call by Reference: Yes

E_IONRA - General Object Number and Object Keys

Data type: IONRA
Optional: No
Call by Reference: Yes

E_IDENT_OBART - Three-character, language-dependent value for object type

Data type: TBO01-OBART_LD
Optional: No
Call by Reference: Yes

E_IDENT_OBJID - Messages, Message Variable

Data type: SY-MSGV1
Optional: No
Call by Reference: Yes

E_KKRVDCOOBJ - Internal Structure for CKRCO + CKRCT (Summarized CO Object)

Data type: KKRVDCOOBJ
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for K_KKB_OBJECT_IDENT_GET 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_text  TYPE SY-MSGLI, "   
lv_i_objnr  TYPE ONR00-OBJNR, "   
lv_i_no_bukrs  TYPE SY-CALLD, "   
lv_e_identification  TYPE SY-MSGV1, "   
lv_e_ionra  TYPE IONRA, "   
lv_i_no_kokrs  TYPE SY-CALLD, "   
lv_i_langu  TYPE SY-LANGU, "   SY-LANGU
lv_e_ident_obart  TYPE TBO01-OBART_LD, "   
lv_i_datum  TYPE SY-DATUM, "   SY-DATLO
lv_e_ident_objid  TYPE SY-MSGV1, "   
lv_e_kkrvdcoobj  TYPE KKRVDCOOBJ, "   
lv_i_obart_only  TYPE SY-CALLD. "   

  CALL FUNCTION 'K_KKB_OBJECT_IDENT_GET'  "
    EXPORTING
         I_OBJNR = lv_i_objnr
         I_NO_BUKRS = lv_i_no_bukrs
         I_NO_KOKRS = lv_i_no_kokrs
         I_LANGU = lv_i_langu
         I_DATUM = lv_i_datum
         I_OBART_ONLY = lv_i_obart_only
    IMPORTING
         E_TEXT = lv_e_text
         E_IDENTIFICATION = lv_e_identification
         E_IONRA = lv_e_ionra
         E_IDENT_OBART = lv_e_ident_obart
         E_IDENT_OBJID = lv_e_ident_objid
         E_KKRVDCOOBJ = lv_e_kkrvdcoobj
. " K_KKB_OBJECT_IDENT_GET




ABAP code using 7.40 inline data declarations to call FM K_KKB_OBJECT_IDENT_GET

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 MSGLI FROM SY INTO @DATA(ld_e_text).
 
"SELECT single OBJNR FROM ONR00 INTO @DATA(ld_i_objnr).
 
"SELECT single CALLD FROM SY INTO @DATA(ld_i_no_bukrs).
 
"SELECT single MSGV1 FROM SY INTO @DATA(ld_e_identification).
 
 
"SELECT single CALLD FROM SY INTO @DATA(ld_i_no_kokrs).
 
"SELECT single LANGU FROM SY INTO @DATA(ld_i_langu).
DATA(ld_i_langu) = SY-LANGU.
 
"SELECT single OBART_LD FROM TBO01 INTO @DATA(ld_e_ident_obart).
 
"SELECT single DATUM FROM SY INTO @DATA(ld_i_datum).
DATA(ld_i_datum) = SY-DATLO.
 
"SELECT single MSGV1 FROM SY INTO @DATA(ld_e_ident_objid).
 
 
"SELECT single CALLD FROM SY INTO @DATA(ld_i_obart_only).
 


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!