Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Differance between DataElement and Domain

Former Member
0 Kudos

hi can any one help me out

what is the differance between DataElement and Domain.

8 REPLIES 8

Former Member
0 Kudos

Hii

domain describes <b>Technical Characteristics of a table fields e.g. value range</b>

Elements describe <b>role played by a fields in technical contains e.g. Form of field text.</b>

<b>•Data element:</b> is definition of the properties

and type for a table field. It is an intermediate object between the object type domain and the table field. A field in R/3 system is always associated with a data element, which at the same time is related to domain.

<b>•Domain:</b> is formal definition of the data type from a technical point of view. It sets the attributes such as data type, length, possible value range and so on.

hope this helps

Thanks&Regards

Naresh

suresh_datti
Active Contributor
0 Kudos

A Data Element is a child & gets its type characterisitcs from the Domain.

A Domain is a parent & can have any number of children ie Data Elements tied to it.

Regards,

Suresh Datti

Former Member
0 Kudos

Hi,

Domain is nothig but attributes of a table field,data element is text for field.Domain is reusable thing means we can use same domain for the fields which has same technical attributes.

Cheers,

Bujji

rahulkavuri
Active Contributor
0 Kudos

Domain as already explained defines the technical properties of a field such as type and value range.

data element assigns a certain meaning to the table field, which are defined using that data element. A Data element always needs to be defined over a domain and field is always defined over a data element. This allows all fields with same technical properties to use the same data element.

Data element defines properties and type for a table field. It is an intermediate object between the object type domain and the table field

Former Member
0 Kudos

domain refers to the technical attributes of a field

while data elemnt is the intermediate object between doamin & a field which will have text attributes

Former Member
0 Kudos

<b>Data Element :</b> Object that describes the data type and semantic meaning of a table or structure field.

Fields with the same purpose should have the same underlying data element.

Data elements are like types, so you can address them in ABAP programs using the TYPE statement. This allows you to define elementary types that have the type attributes (one of the ABAP Dictionary data types, field length, and, where appropriate, number of decimal places) of a data element.

<b>Domain :</b> Object that describes the technical attributes of a field such as its data type and length.

A domain defines a value range containing the valid values for fields that refer to that domain.

You can group fields that have similar technical or business purposes together under a single domain. All fields based on a domain are automatically updated when you change the domain. This guarantees the consistency of the fields.

Former Member
0 Kudos

hi pramod,

domain: <b>gives the technical charaterstics of the field

</b>such as the data type or the number of positions in a field. The domain defines primarily a value range describing the valid data values for the fields referring to this domain.

dataelement:They describe the data type attributes (such as given Dictionary data type, number of places) and information that is relevant for the screen (such as title) of unstructured data objects (variables/fields).

hope this helps,

priya.

Former Member
0 Kudos

Hi Karthik,

Domains:Domain is the central object for describing the technical characteristics of an attribute of an business objects. It describes the value range of the field. Data Element: It is used to describe the semantic definition of the table fields like description the field. Data element describes how a field can be displayed to end-user.

u can find more info. in

http://cma.zdnet.com/book/abap/ch03/ch03.htm#DeterminingWhentoCreateorReuseDomainsandDataElements

regards,

keerthi.