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: 

doubt regarding predefined type in dataelement and necessity of domain

Former Member
0 Kudos

hi all,

when we can give the data type and length of the field in the data element itself by declaring it as predefined type and giving data type and length in predefined type of data element, what is the necessity of creating Domain ?i dont want to give any value range also for that field. so what is the necessity of domain in this case??

plz clarify my doubt

regards,

pavan

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Pavan

The necessity of domain is 'Reusability'. Once you create a domain, you can use that domain for the other fields in the same table or different table.

Domain will give you Data Type and Length..

Data element is just give u description about domain,

To create any field domain is must..

Also you can create Field Without data element also but its not good practice.

Rgds

Santo

6 REPLIES 6

Former Member
0 Kudos

Hi Pavan kumar,

The necessity of domain and data element is 'Reusability'. Once you create a domain, you can use that domain for the other fields in the same table or different table.

The same applies for Data element also.

Everytime there is no need for you to declare the datatype and length.

Former Member
0 Kudos

Hi pavan,

<content removed and points unassigned as it was just a copy and paste without giving a source>

regards

Thirumaran K

Edited by: Mike Pokraka on Jul 31, 2008 2:06 PM

matt
Active Contributor
0 Kudos

Don't request points, and don't cut and paste without giving source: http://abaplovers.blogspot.com/2008/03/conversion-routines-in-sap.html

Former Member
0 Kudos

Hi Pavan

The necessity of domain is 'Reusability'. Once you create a domain, you can use that domain for the other fields in the same table or different table.

Domain will give you Data Type and Length..

Data element is just give u description about domain,

To create any field domain is must..

Also you can create Field Without data element also but its not good practice.

Rgds

Santo

Former Member
0 Kudos

Hi Pavan,

As per your requirement there is no need to create a domain , you can select as pre-defined type and save the data element

If you have to create a


    Value Table,  
   Assign conversion Routine for that field
   Maintain in Lower case 

for that dataelement , then you have to create a domain for that

Former Member
0 Kudos

hi check this...

if you give the data element then you will get the help values or f4 values for that otherwise you cannot get any help data