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: 

data element

Former Member
0 Kudos

hi gurus

what is data element?what is it function?is it possible with out data element to create table?

1 ACCEPTED SOLUTION

former_member196299
Active Contributor
0 Kudos

hi Babu,

Data element defines the semantics attributes ( short text , field levels ) of a field.it contains a domain which provides the technical infoormation of a field .

it is possible to create a DB table without a data element .

Reward if helpful ,

Regards,

Ranjita

Message was edited by:

Ranjita Kar

8 REPLIES 8

Former Member
0 Kudos

Hi,

Yes..It is possible to create a table with out data element...

Thanks,

Naren

Former Member
0 Kudos

Data elements are symantic definition of the table fields.It contains description of the fields(field label) and linked to domain.It also provides online documentation.We can create a table without data element by using direct method.

Former Member
0 Kudos

hi babu,

Technically we can say Data element describes the semantic attributes of the field.With out the dataelement also we can create a field.

We can define that field by using built in type..Try this

Try to reward if this helps u yar

former_member196299
Active Contributor
0 Kudos

hi Babu,

Data element defines the semantics attributes ( short text , field levels ) of a field.it contains a domain which provides the technical infoormation of a field .

it is possible to create a DB table without a data element .

Reward if helpful ,

Regards,

Ranjita

Message was edited by:

Ranjita Kar

Former Member
0 Kudos

hi,

A data element describes either an elementary type or a reference type.

An elementary type is defined by the built-in data type, length and possibly the number of decimal places. These type attributes can either be defined directly in the data element or copied from a domain.

A reference type defines the types of reference variables in ABAP programs.

You can use a data element to define the type of a table field, structure component or the row type of a table type. A data element can also be referenced in ABAP programs with TYPE. As a result, variables that take on the attributes of a data element can be defined in an ABAP program.

Information about the meaning of a table field or structure component and information about editing the corresponding screen field can be assigned to a data element. This information is automatically available to all screen fields that refer to the data element.

This information includes the display of the field in input templates using key word text, column headers for list output of the table contents (see Field Labels ), and output editing using parameter IDs.

This is also true for online field documentation. The text appearing in the field help (F1 help) in a field of an input template (see Documentation and Docu Status) comes from the corresponding data element.

yes it is possible to create a table without dataelement. But with this the reusability of that field is not possible. This type of table we can create by clicking the builit in type tab in fields tab.

Former Member
0 Kudos

Data element is nothing but a description of the field and in that u have a domain where u have to declare the data type and length of the field..

if u want to create a field without a data element means u can go for built-in-type..

Don't forget to Reward if u r satisfied..

Former Member
0 Kudos

Hi Babu,

Data elements in the ABAP Dictionary describe individual fields.

Data elements can be elementary types or reference types.

--> The elementary type has semantic attributes, such as texts, value tables, and documentation, and has a data type.

Domains specify the technical attributes of a data element.

--> Reference types describe single fields that can contain references to global classes and interfaces from the ABAP class library.

In an ABAP program, TYPE addition can be used to refer to a data element directly.

Eg:

TYPES: dtype TYPE vbeln. (vbeln is the data element)

We can very well create a table with out a data element.

Reward if found useful.

Regards

Sayee

0 Kudos

I found no one told the method how to create table without data element.

Method is:

1. Se11 > give table name > Give field name only.

2. Now press a button called 'Predefined type' just above side.

3. Give direct data type lenght and all .

Done.