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
573

hi all,

can anyone please tell me that is it neccessary to define data element for any table field? if we dont define then what will happen? why we need it?

regards saurabh.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
552

dear friend,

if you want that field in your future going

table and u need to make a link between

the two table u must need the data element.

DATA element is the technical specification of

any filed.

as a short cut you can use BUILD IN TYPE but

that must be not a good way to develope or customize

table.

as a time being use buil in type.

but in future always use data element.

reasion is ONE and ONLY ONE that is REUSABILTY.

nothing else.

hope now much clear to you.

if help full

rewards are expecting.

any doubt pls keep in touch.

vivek

5 REPLIES 5
Read only

Former Member
0 Likes
552

A data element is an unstructured type. In addition to the type definition (built-in data type, length, number of decimal places), a data element also contains semantic information. This semantic information can be used to edit the representation of table fields and structure components (pointing to the data element) in screens.

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.

The text appearing in the field help (F1 help) in a field of an input template comes from the corresponding data element.

Have a look at belwo link for details:

[Data Elements|http://help.sap.com/saphelp_nw70/helpdata/en/73/f938361329ec5ae10000009b38f889/frameset.htm]

I hope it helps.

Best Regards,

Vibha

Please mark all the helpful answers

Read only

Former Member
0 Likes
553

dear friend,

if you want that field in your future going

table and u need to make a link between

the two table u must need the data element.

DATA element is the technical specification of

any filed.

as a short cut you can use BUILD IN TYPE but

that must be not a good way to develope or customize

table.

as a time being use buil in type.

but in future always use data element.

reasion is ONE and ONLY ONE that is REUSABILTY.

nothing else.

hope now much clear to you.

if help full

rewards are expecting.

any doubt pls keep in touch.

vivek

Read only

Former Member
0 Likes
552

Every field shld have some functionality thats y we use data element .

Read only

former_member182354
Contributor
0 Likes
552

Hi Saurabh,

It is not at all necessary to create a dataelement for a field if you are creating a table. You can always use the predefined data types to substitute a Domain and Description field to substitute an Data element.

Raghav

Read only

Former Member
0 Likes
552

Hi Saurabh,

Data element gives the technical role played by the field.In sap it is neccessay for consistancy of data,like if there is a change in the domain ..the change going to reflect to the data element and then the filed,

here this is the hierachy and flow

Fields->Data elements->Domains--->Data types

'

Reward if helpful.

Amit