SAP OBJECT_IDENTIFICATION_GET Function Module for









OBJECT_IDENTIFICATION_GET is a standard object identification 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 object identification get FM, simply by entering the name OBJECT_IDENTIFICATION_GET into the relevant SAP transaction such as SE37 or SE38.

Function Group: BO01
Program Name: SAPLBO01
Main Program:
Appliation area:
Release date: 01-Jan-1970
Mode(Normal, Remote etc): Normal Function Module
Update:



Function OBJECT_IDENTIFICATION_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 'OBJECT_IDENTIFICATION_GET'"
EXPORTING
OBJNR = "Object number
* NO_BUKRS = ' ' "Omit company code in IDENTIFICATION
* NO_ERKRS = ' ' "Omit operating concern in IDENTIFICATION
* NO_KOKRS = ' ' "Omit controlling area in IDENTIFICATION
* LANGU = SY-LANGU "Language for text determination
* DATUM = SY-DATLO "Key date for txt deter. (for time-dep. obj.)
* TEXT_WANTED = "Text is to be returned

IMPORTING
E_KEY = "
IDENT_OBJID = "Object key (edited, up to 30 charact. long)
E_IONRA = "Structure IONRA (object number + object key)
E_TEXT = "Text for OBJNR (if required)
E_IDENTIFICATION = "
E_OBJID = "
IDENT_OBART = "Object type in SY-LANGU
IDENT_TXT10 = "Object type text (10 characters)
IDENT_TXT15 = "Object type text (15 character)
IDENT_TXT20 = "Object type text (20 character)
IDENTIFICATION = "Object ID (IDENT_OBART + IDENT_OBJID)

EXCEPTIONS
OBART_INVALID = 1
.



IMPORTING Parameters details for OBJECT_IDENTIFICATION_GET

OBJNR - Object number

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

NO_BUKRS - Omit company code in IDENTIFICATION

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

NO_ERKRS - Omit operating concern in IDENTIFICATION

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

NO_KOKRS - Omit controlling area in IDENTIFICATION

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

LANGU - Language for text determination

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

DATUM - Key date for txt deter. (for time-dep. obj.)

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

TEXT_WANTED - Text is to be returned

Data type:
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for OBJECT_IDENTIFICATION_GET

E_KEY -

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

IDENT_OBJID - Object key (edited, up to 30 charact. long)

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

E_IONRA - Structure IONRA (object number + object key)

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

E_TEXT - Text for OBJNR (if required)

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

E_IDENTIFICATION -

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

E_OBJID -

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

IDENT_OBART - Object type in SY-LANGU

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

IDENT_TXT10 - Object type text (10 characters)

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

IDENT_TXT15 - Object type text (15 character)

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

IDENT_TXT20 - Object type text (20 character)

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

IDENTIFICATION - Object ID (IDENT_OBART + IDENT_OBJID)

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

EXCEPTIONS details

OBART_INVALID - Object type does not exist

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for OBJECT_IDENTIFICATION_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_key  TYPE STRING, "   
lv_objnr  TYPE ONR00-OBJNR, "   
lv_obart_invalid  TYPE ONR00, "   
lv_ident_objid  TYPE SY-MSGV1, "   
lv_e_ionra  TYPE SY, "   
lv_e_text  TYPE SY-MSGLI, "   
lv_no_bukrs  TYPE SY-CALLD, "   SPACE
lv_no_erkrs  TYPE SY-CALLD, "   SPACE
lv_e_identification  TYPE J_OBJNR_OUT, "   
lv_e_objid  TYPE J_OBJID_OUT, "   
lv_no_kokrs  TYPE SY-CALLD, "   SPACE
lv_langu  TYPE SY-LANGU, "   SY-LANGU
lv_ident_obart  TYPE TBO01-OBART_LD, "   
lv_datum  TYPE SY-DATUM, "   SY-DATLO
lv_ident_txt10  TYPE TBO01-TXT10, "   
lv_ident_txt15  TYPE TBO01-TXT15, "   
lv_text_wanted  TYPE TBO01, "   
lv_ident_txt20  TYPE TBO01-TXT20, "   
lv_identification  TYPE SY-MSGV1. "   

  CALL FUNCTION 'OBJECT_IDENTIFICATION_GET'  "
    EXPORTING
         OBJNR = lv_objnr
         NO_BUKRS = lv_no_bukrs
         NO_ERKRS = lv_no_erkrs
         NO_KOKRS = lv_no_kokrs
         LANGU = lv_langu
         DATUM = lv_datum
         TEXT_WANTED = lv_text_wanted
    IMPORTING
         E_KEY = lv_e_key
         IDENT_OBJID = lv_ident_objid
         E_IONRA = lv_e_ionra
         E_TEXT = lv_e_text
         E_IDENTIFICATION = lv_e_identification
         E_OBJID = lv_e_objid
         IDENT_OBART = lv_ident_obart
         IDENT_TXT10 = lv_ident_txt10
         IDENT_TXT15 = lv_ident_txt15
         IDENT_TXT20 = lv_ident_txt20
         IDENTIFICATION = lv_identification
    EXCEPTIONS
        OBART_INVALID = 1
. " OBJECT_IDENTIFICATION_GET




ABAP code using 7.40 inline data declarations to call FM OBJECT_IDENTIFICATION_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 OBJNR FROM ONR00 INTO @DATA(ld_objnr).
 
 
"SELECT single MSGV1 FROM SY INTO @DATA(ld_ident_objid).
 
 
"SELECT single MSGLI FROM SY INTO @DATA(ld_e_text).
 
"SELECT single CALLD FROM SY INTO @DATA(ld_no_bukrs).
DATA(ld_no_bukrs) = ' '.
 
"SELECT single CALLD FROM SY INTO @DATA(ld_no_erkrs).
DATA(ld_no_erkrs) = ' '.
 
 
 
"SELECT single CALLD FROM SY INTO @DATA(ld_no_kokrs).
DATA(ld_no_kokrs) = ' '.
 
"SELECT single LANGU FROM SY INTO @DATA(ld_langu).
DATA(ld_langu) = SY-LANGU.
 
"SELECT single OBART_LD FROM TBO01 INTO @DATA(ld_ident_obart).
 
"SELECT single DATUM FROM SY INTO @DATA(ld_datum).
DATA(ld_datum) = SY-DATLO.
 
"SELECT single TXT10 FROM TBO01 INTO @DATA(ld_ident_txt10).
 
"SELECT single TXT15 FROM TBO01 INTO @DATA(ld_ident_txt15).
 
 
"SELECT single TXT20 FROM TBO01 INTO @DATA(ld_ident_txt20).
 
"SELECT single MSGV1 FROM SY INTO @DATA(ld_identification).
 


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!