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: 

difference between domain and data element

Former Member
0 Kudos

hi

what is the difference between domain and data element?

16 REPLIES 16

Former Member
0 Kudos

hi,

domain gives u technical attribute and data element igives cemantic attribute.

Santosh.

Former Member
0 Kudos

Hi Jyothsna,

domain gives technical specifications i.e the data type and length.

data element gives Symantic Information for the element.

regards,

srinivas

0 Kudos

hi,

what do u mean by symantic informatiom?

whether it is, in which we may not give detail such as attibutes, isnt it?

thanks in advance..

RAMACHANDER.

0 Kudos

Hi Ram,

Symantic information means just a detail description or u can say naming.

Just look at one of the reply for this thread in which he has given a practical example (choclate and a wrapper) Data element is symantic attribute just like wrapper and domain is technical attribute the main thing just like choclate

Former Member
0 Kudos

Hi Jyotsna,

Dataelement means in which we will define the properties like datatype,length...for the field

Domain is nothing but the label of the field

Former Member
0 Kudos

Hello,

Domain explains what type of data( size,characterisitic) you are storing .

Data element is more on how you will name this domain.

A real life example :

1) Think domain as a chocolate

2) And Data element as its wrapper.

chocolate is the actual content and the wrapper is just a description of the chocolate.

You can have same chocolate content covered by various wrappers ( by giving various brands ) according to the usage.

Kesari

Former Member
0 Kudos

Hi Jyothsna,

Different fields having the same technical type can be

combined in domains. A domain defines the value range of

all table fields andstructure components that refer to this

domain.

The ABAP Dictionary also contains the information displayed

with the F1 and F4 help for a field in an input template.

The documentation about the field is created for a data

element that describes the meaning of the contents of a table

field.

The list of possible input values that appears for the input

help is created by a foreign key or a search help.

*****rewords point.

Rgds,

P.Naganjana Reddy

Former Member
0 Kudos

For Data Element we define

The information includes the field's representation on the screen in the form of FIELD TEXTS, COLUMN CAPTIONS in list outputs of the table contents and the format of the output via PARAMETER IDS and Online field documentation.

For Domain

Data Type,Field Length and the allowed data values are defined

Former Member
0 Kudos

Hi Jyothsna,

Domain provides technical attributes for field like data type, length, and possible value range.

Data element provides business context. i.e., it provides field labels for the field in the backend,

Regards,

Vara Prasad

Former Member
0 Kudos

Hi,

Domain whic Gives the Technical Attributes like Data type and the Size

Ex: (Char 20)

Data Element which Give the Field Description or Field Lable in the Front End.

LFA1-LIFNR

Domain Data type CHAR Length 10

Data Element

Length Field label

10 Vendor

15 Vendor

20 Vendor

10 Vendor

Thanks,

Nelson

Reward Points if Helpfull.

0 Kudos

Domain gives the information of technical attributes like data type and length

Data Element gives the information of Semantic attributes like field label, documentation(F1 help), F4 help for list of elements

Tables: customer table vendor table

data element: customer name(cname) vendor name(vname-field label)

domain Name(Numc, 30) Name(Numc, 30)

Domain can be used for multiple tables but data element shd be only one for a table.

Former Member
0 Kudos

Hi,

DOMAINS defines the technical attributes

DATA ELEMENTS defines the information attributes.

<b>reward points if useful.</b>

regards,

Vinod Samuel.

UdayS
Participant
0 Kudos

Hi jyothsna,

You might have already got answer for your question but i want you to know some difference between them.

The major difference is for one domain you can have any number of data elements attached to that but for one data element you can have only one domain.

Like one of the practical example in the thread choclate and wrapper. You can have as many wrappers for one choclate but u cant get many choclates in one wrapper.

Former Member
0 Kudos

Hi,

Data Element: consists of the Semantic properties of the field, that is Field description, which is used for the documentation.

for example ID - Identification Number

Domain: consists of the Technical properties of the field, that is Data Type and Data Size.

for example ID - Type C, of 15

Bye,

KC

Former Member
0 Kudos

Hi,

Domain is technical attributes of the field,nothing but data type, field length.

Data element is semantic information of the field, field label also.

Former Member
0 Kudos

HI,

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.

Plz reward points if its usefull