Skip to Content
avatar image
Former Member

Difference between Data Element and domain

Hi,

Can anybody give me the exact information for data element and domain.

Thanks,

Sriram.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

6 Answers

  • Best Answer
    avatar image
    Former Member
    Sep 02, 2005 at 04:52 AM

    Hi Poornima,

    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.

    Regs,

    Venkat Ramanan

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 01, 2005 at 06:41 AM

    Data type :

    A data element is an elementary type. It describes the type attributes (data type, field length and possibly the number of decimal places) and screen information (explanatory text or field help) about unstructured data objects (table fields and structure fields or variables).

    Table fields and structure fields with the same contents should refer to the same data element. This ensures that the attributes of these fields are always consistent.

    A data element can be referenced in ABAP programs with TYPE. This permits you to define variables that take on the type attributes of the data element in an ABAP program.

    Domain :

    A domain describes the technical attributes of a field, 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.

    Different technical fields of the same type can be combined in a domain. Fields referring to the same domain are changed at the same time when a domain is changed. This ensures the consistency of these fields.

    Additional info about data element

    1.Data type, number of places and possibly the decimal places were entered directly. In this case the field is not filled.

    2.A data element is assigned to the field. The field then gets its data type, length and possibly decimal places from this data element. The semantic attributes of the element (field help, representation of the field in input templates with keyword text, column headers for list output of the table contents and editing of the output with parameter IDs) are also copied.

    Message was edited by: Venkat

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 01, 2005 at 06:50 AM

    Hi Sriram

    Difference:

    Data element contains the business and technical information about a field. It contains Data type, length, field labels. Data element can contain a domain within it for type and length information instead of 'built-in type' and we can also associate search help with Data Element.

    Domain contains only technical information about a field like type, length (and decimal places).

    Regards

    Ashish Jain

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 01, 2005 at 07:08 AM
    Add comment
    10|10000 characters needed characters exceeded

  • Sep 01, 2005 at 07:17 AM

    Hi ,

    Domain represents technical details and data element

    represents business terms.

    vijay

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 01, 2005 at 09:02 AM

    Hi,

    Both are used to describe field properties.

    Domain : Define o/p width, technical data type and value range

    Data element : You can define further characteristics i.e. search help,PID.. and field lables.

    In nut-shell, Domain act as parent. Data element would be child which can inherite domain properities as such, have more unique advantages.

    If you need further informatin Goto->SAP help documentation.

    /karthikeyan

    Add comment
    10|10000 characters needed characters exceeded