05-11-2006 2:42 PM
hi can any one help me out
what is the differance between DataElement and Domain.
05-11-2006 2:44 PM
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
05-11-2006 2:44 PM
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
05-11-2006 2:45 PM
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
05-11-2006 2:46 PM
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
05-11-2006 2:47 PM
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
05-11-2006 2:49 PM
<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.
05-11-2006 2:49 PM
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.
05-11-2006 2:57 PM
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.