Application Development and Automation 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: 
Read only

data element

Former Member
0 Likes
1,547

without creating domain cant we create data element ?if so justify u r answer?plz reply to me.

thanks in advance.

14 REPLIES 14
Read only

amit_khare
Active Contributor
0 Likes
1,518

We can create data element without creating domain.

Just select the second option 'Predefined Types' instead of Domain while creating data element and then give the data type and the length of the field there.

Regards,

Amit

Reward all helpful replies.

Read only

Former Member
0 Likes
1,518

Yes, you can create data element without domain. while definding data element you can assign domain or use built in type option or reference data element.

Cheers

Read only

Former Member
0 Likes
1,518

Hello Naga,

U can do it.

In SE11u can click the Radio Button<b> BUILT IN TYPE</b> and give the datatype and length directly.

REgards,

Vasanth

Read only

Former Member
0 Likes
1,518

Hi Mrudula,

You can create data element without creating domain, by just giving the data type (Eg: CHAR) in the domain field of data element.

Regards,

Dhana

Read only

Former Member
0 Likes
1,518

Hi Mrudula,

We can create a data element without demoain.

We can give the predefined data types and some value for length thats all. also u can give

1)predefined data type

2)reference data tye

3)reference to predefined data type.

Just try to create a data eleent in sell by creating a table, u will understand.

<b>Reward the replies which are useful</b>

Regards,

Sudheer

Read only

jayanthi_jayaraman
Active Contributor
0 Likes
1,518

Hi,

As suggested,you can use built-in type by giving data type ans length.

Read only

Former Member
0 Likes
1,518

We Can create a data element with out using a domain..

Reasons for having domian

1) Reuseability

2) Future changes..should effect all the table fields we cant go to each table and change every document if in case we need to increase the length of it....

VBELN(SD Document) - Domain----


VBELN_VA (Sales Document)

-


VBELN_VF ( Billing Document)

----


VBELNVL (Delivery Document)...

Same length(10) and type (Char)

santhosh

Read only

Former Member
0 Likes
1,518

Hi,

Without creating Domain we are unable to create Data Element.

In creating the table fields, without Data Element we can create field with predefined types.

Since Domain are the technical attributes (length and type).

Regards

Kannaiah

Read only

Former Member
0 Likes
1,518

you can create a dataelement without creating a domain first.

There are several ways to achieve that:

- dont create a new domain, but use one that is already there.

- use not a domain but an internal type

BUT there are quite some arguments pointing out it would be best to create a new domain.

If you are using a domain that is already there, then you might run into problems once the creator of that domain changes the domain due to some reason.

Your dataelement might not work properly anymore the way you intended it.

If you are using an internal type and not a domain you cant check against constant values.

Read only

Former Member
0 Likes
1,518

Hi

Yes you can define....

go to se11-> give data type name ZEMP->choose data element-> you can find under Elementary there is 2 redio button(one is for Domain and another for Predefined type)> thrn click Predefined type-> give data type and lengt---->

save and activate....

thanks

Read only

Former Member
0 Likes
1,518

U have two approaches while creating a table.

1. TOP DOWN approach,

where u ll create table->domains->and dataelements at the last.

2. BOTTOM UP approach.

dataelements->domains->->table.

If u want to create a data element with out a domain.

SE11->Datatype->give ur name->Choose data element checkbox-> In Elementary Type u have two options.

1. Domain -- U have to create a domain if u choose this one

2. Predefined type-- Just give the data type and length.

It will create a data element with out creating a domain for your data element.

Thanks & Regards

Santhosh

Read only

0 Likes
1,518

Hi,

U have to <b>award points for useful answers</b> and u have to mention it as solved if ur question is solved. Dont forget.

Regards,

Sudheer

Read only

Former Member
0 Likes
1,518

Hi Mrudula,

we can create dataelemnt witghout any domain , just we have ti use BUILT-IN TYPE push button wher we can enter Data type and length i.e technical attributes.

and even we can craete a field without datelement too, by using BILT-IN TYPE option.

Revert me back if any queris.

Reward points if helpful

regards,

Naveen

Read only

Former Member
0 Likes
1,518

hi,

yes we can create domain without data element ....just go to SAP - ABAP dictionary n there u can create a domain without specifying the data element....

In tables when we declare a data element we have to define even domain as data element contains domain......for eg;

when we have taken a field and gave a description for it in the data element...then we have to also define its technical characteristics or else wht is the use of defining a field......when we have no idea if its a n integer or a character ......

i hope u got the answer...if satisfied then reward with points...

with regards,

madhuri...