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: 

Abap

Former Member
0 Kudos

is it possible to create a table without data element and domain.if yes , what is diff b/w table with data element and domain.

3 REPLIES 3

Former Member
0 Kudos

Yes, you can.

In SE11, click on the 'Built-in type' button.

Data elements and domains are for ease of management.

You can use a data domain for several data elements.

You can use a data element for several table fields.

Also data elements and data domains have particular properties attached to them that you may well wish to use.

For example:

there are assorted lengths of field label in a data element;

a data domain can have a value list or a value table.

Former Member
0 Kudos

Hi,

Hope it helps.

Yes its possible, that by using predefined types.

Data element is used while we go for search help.

domain gives the techincal attributes of the data object.

( techincal attributes - data type , length , decimal places, uppercase or lowercase etc...)

data element gives the descriptional attributes of the data object.

( descriptional attributes - The business functionality of the object )

2)

One data element can have onli one domain...

One domain can be attached to no .of data elements..

The best example is..

suppose say in your Organization .. employee id's will be there..

for this suppose say u have created a domain of TYPE CHARACTER and LENGTH 5. ( the value ranges are Z0000 to Z9999 )

and u have attached this to a data element .. at this data element level u will give the business functionality of the object.. say the description is Employee ID.

and you will have Departments in your organization ..

for this suppose say u are using the same domain that u have used for User ID's... but using different series of numbers.. ( A0000 to A9999 )

now u will assign this domain to another data element .. for this data element the desctiption is Department ID.

so u have used the same domain for different data elements, which different business functionalities....

**********************************************

The main advantage of these data elements and domains is the Maintainability ( using the same multiple times )

Reward if you find helpful.

Thanks & Regards,

rajesh

Message was edited by:

rajesh pattnaik

Former Member
0 Kudos

Hi,

you can create the Table fields without a Data element and a Domain,

the difference is, if you create the Data element then you will maintain the Short text and Medium text and the long text for that data element,then these names will be appear in SM30 transaction code as the headers.

if you use the Domain then you can give the Fixed values and value table for that field.

if you not used the Data element and domain then you can not get these options

Regards

Sudheer