SAP ECATT_OBJ_ATTR_GET Function Module for









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

Function Group: ECATT_API
Program Name: SAPLECATT_API
Main Program: SAPLECATT_API
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function ECATT_OBJ_ATTR_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 'ECATT_OBJ_ATTR_GET'"
EXPORTING
IS_KEY = "

IMPORTING
ES_ATTRIBUTES_N = "
ET_ATTR_RELEASES = "
ES_TARGET_SYS_MAINTAIN = "
ES_ATTRIBUTES_G = "
ES_ATTRIBUTES_D = "
ES_ATTRIBUTES_C = "
ES_ATTR_VER = "
ET_ATTR_BF_OBJ = "
ET_ATTR_BF_VER = "
E_ATTR_MASTER_SOFTCOMP = "
ET_ATTR_SOFTCOMPS = "

TABLES
RETURN = "
.



IMPORTING Parameters details for ECATT_OBJ_ATTR_GET

IS_KEY -

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

EXPORTING Parameters details for ECATT_OBJ_ATTR_GET

ES_ATTRIBUTES_N -

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

ET_ATTR_RELEASES -

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

ES_TARGET_SYS_MAINTAIN -

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

ES_ATTRIBUTES_G -

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

ES_ATTRIBUTES_D -

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

ES_ATTRIBUTES_C -

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

ES_ATTR_VER -

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

ET_ATTR_BF_OBJ -

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

ET_ATTR_BF_VER -

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

E_ATTR_MASTER_SOFTCOMP -

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

ET_ATTR_SOFTCOMPS -

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

TABLES Parameters details for ECATT_OBJ_ATTR_GET

RETURN -

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

Copy and paste ABAP code example for ECATT_OBJ_ATTR_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_is_key  TYPE ETAPI_OBJ, "   
lt_return  TYPE STANDARD TABLE OF BAPIRETTAB, "   
lv_es_attributes_n  TYPE ETOBJNOVER, "   
lv_et_attr_releases  TYPE ETSYS_REL_TABTYPE, "   
lv_es_target_sys_maintain  TYPE ETSC_TSYS, "   
lv_es_attributes_g  TYPE ETOBJ_GNDT, "   
lv_es_attributes_d  TYPE ETOBJ_DOC, "   
lv_es_attributes_c  TYPE ETOBJ_CNST, "   
lv_es_attr_ver  TYPE ETATTR_VER, "   
lv_et_attr_bf_obj  TYPE ETBF_OBJ_TABTYPE, "   
lv_et_attr_bf_ver  TYPE ETBF_VER_TABTYPE, "   
lv_e_attr_master_softcomp  TYPE DLVUNIT, "   
lv_et_attr_softcomps  TYPE ETSYS_COMP_TABTYPE. "   

  CALL FUNCTION 'ECATT_OBJ_ATTR_GET'  "
    EXPORTING
         IS_KEY = lv_is_key
    IMPORTING
         ES_ATTRIBUTES_N = lv_es_attributes_n
         ET_ATTR_RELEASES = lv_et_attr_releases
         ES_TARGET_SYS_MAINTAIN = lv_es_target_sys_maintain
         ES_ATTRIBUTES_G = lv_es_attributes_g
         ES_ATTRIBUTES_D = lv_es_attributes_d
         ES_ATTRIBUTES_C = lv_es_attributes_c
         ES_ATTR_VER = lv_es_attr_ver
         ET_ATTR_BF_OBJ = lv_et_attr_bf_obj
         ET_ATTR_BF_VER = lv_et_attr_bf_ver
         E_ATTR_MASTER_SOFTCOMP = lv_e_attr_master_softcomp
         ET_ATTR_SOFTCOMPS = lv_et_attr_softcomps
    TABLES
         RETURN = lt_return
. " ECATT_OBJ_ATTR_GET




ABAP code using 7.40 inline data declarations to call FM ECATT_OBJ_ATTR_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.

 
 
 
 
 
 
 
 
 
 
 
 
 


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!