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: 

table creation

Former Member
0 Kudos

Hi Gurus,

I am creating Ztable there is no data elements for suitable to my fields.

can I create data element or can I use buit in type(option is there).

If I create data element. in data element there is two options domain and predefined type

which I have to choose.

please give me the answer.

Regards,

Shashikumar.G

1 ACCEPTED SOLUTION

gopi_narendra
Active Contributor
0 Kudos

Yes you can always create a Z Data elements

You can either chose the Domain or Predefined types.

But make sure you activate all the Data Elements created in order to activate the table

Regards

Gopi

9 REPLIES 9

Former Member
0 Kudos

Choose domain. There is probably one that you require. If not you can also create domains.

gopi_narendra
Active Contributor
0 Kudos

Yes you can always create a Z Data elements

You can either chose the Domain or Predefined types.

But make sure you activate all the Data Elements created in order to activate the table

Regards

Gopi

former_member196280
Active Contributor
0 Kudos

You can create data element on your own or you can click the button Data element/Direct type and give that is suitable to your field.

Regards,

Sairam

Former Member
0 Kudos

Creating your own data elements is usually better, as you can then use these same data elements in programs and function module interface where this table is used.

If you want to limit the values in your field you should use a domain, othewise predefined type is fine.

Regards,

Nick

former_member197281
Active Participant
0 Kudos

Hi,

You can create dataelement or use the built in type.

when creating data element,if you have to define a value range you should create a domain for for the data element otherwise you can use the built in type.

You can double click on the dataelement for creating it.same for domain also.

Reward points if helpful,

regards,

jinesh.

Former Member
0 Kudos

hi,

If there is no predefined datatype for ur requirement then u can create ur own datatype.

If u have to create a datatype u need to assign it to a domain.If u r not having a predefined domain for ur requirement then u need to create the domain also.

Former Member
0 Kudos

Hi Shashi,

You can create a domain with your required Technical Definition and use the domain or you can use the Predefined type too.

It is easy to use Predefined option, but creating a Domain might give you a chance to reuse in future too. You may use the same domain in creating other Data Elements having the same technical definition. So this gives you reusability.

Now the choice is yours, but the ideal thing to do is to create a Domain if there aren't any domains which satisfy your technical requirements and to use them in defining the Data Elements.

<b>Reward points if this helps,</b>

Kiran

Former Member
0 Kudos

Create ur own Domain and Data Element for the fields which dont have predefined data elements.Please study ABAP 21 days before starting of doing Coding in ABAP Editor.

Former Member
0 Kudos

u create ur own domain as per ur technical requirment