‎2007 Apr 25 9:49 AM
without creating domain cant we create data element ?if so justify u r answer?plz reply to me.
thanks in advance.
‎2007 Apr 25 9:50 AM
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.
‎2007 Apr 25 9:50 AM
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
‎2007 Apr 25 9:51 AM
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
‎2007 Apr 25 9:51 AM
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
‎2007 Apr 25 9:52 AM
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
‎2007 Apr 25 9:53 AM
Hi,
As suggested,you can use built-in type by giving data type ans length.
‎2007 Apr 25 9:53 AM
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)
----
Same length(10) and type (Char)
santhosh
‎2007 Apr 25 9:55 AM
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
‎2007 Apr 25 9:55 AM
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.
‎2007 Apr 25 9:57 AM
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
‎2007 Apr 25 9:58 AM
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
‎2007 May 07 11:15 AM
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
‎2007 May 07 11:17 AM
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
‎2007 May 07 12:53 PM
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...