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: 

domain

Former Member
0 Kudos

hi

give me the defination of DOMAIN & DATAELEMENT in one word ans

i.e in one line answer.

1 ACCEPTED SOLUTION

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

Domain is an object which desribes the data type and length and if required, values.

Data elements are objects which describe using field labels. So the data element can use the domain to describe the type, length, and values, and the data element defintion would have the field labels(short, med, long).

Regards

Rich HEilman

4 REPLIES 4

Former Member
0 Kudos

hi,

Domain defines the technical attributes.. data element give the descriptive (Simantic)attributes of a field.

thanks

Mahesh

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

Domain is an object which desribes the data type and length and if required, values.

Data elements are objects which describe using field labels. So the data element can use the domain to describe the type, length, and values, and the data element defintion would have the field labels(short, med, long).

Regards

Rich HEilman

Former Member
0 Kudos

Hi,

Dataelement: An intermediate object b/w domain & Table field ,it is the definition of properties and type for a field.

Domain: they set of Attributes such as data type , length , possible value range & etc

Still if your confusion go SE11 and open any Table and see practically what is domain and dataelement so that u can understand clearly

Former Member
0 Kudos

• <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.

<b>Creating Domain</b>

Domain as already explained defines the technical properties of a field such as type and value range. A domain can be created from initial screen of data dictionary by clicking on create and clicking domain Radiobutton. Parameters to be passed are:

Data type: Where you need to enter the data type available in SAP.

Field length: Field length is the number of valid position.

Value table: Name of a table to be entered. The fields referring to this domain may only assume values contained in the value table.

Once the domain is created, save and activate it, so that it can be used for further objects (basic rule of dictionary).

<b>Creating Data Element</b>

The second step of table creation is to create data element. It 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.

Parameters to be passed when creating a data element:

Short text: Mandatory field.

Domain: A mandatory field. If the domain does not exist, SAP can take you directly to domain definition screen.

Text element: You can enter description is short or long text for the field. This text is used when

entering data for these fields.

Save and activate.

Regards,

Santosh