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

Why we create data element in table creation?

1,121

Why we create data element in table creation,

if we can create data element by using predefined tab in table creation.

So why it is necessary to create data element while table creation?

1 ACCEPTED SOLUTION
Read only

maheshpalavalli
Active Contributor
0 Likes
955

Pre defined tab provides very basic function for a column in a table. Uses of data element:

1. It provides different texts -> small, medium, Large => automatically picked in SAP ALV based on column size. This also provides translations for different languages.

2. It provides conversion exit which is again liked to domain.

3. You can define a search help.

4. Most importantly it provides re usability where all above will be reused in different table which is very important and a crucial part in any project.

I know there are much more to discuss, but I will leave those up to you to explore as you can find much more documentation in ABAP help which you should read.

Best Regards,
Mahesh

3 REPLIES 3
Read only

maheshpalavalli
Active Contributor
0 Likes
956

Pre defined tab provides very basic function for a column in a table. Uses of data element:

1. It provides different texts -> small, medium, Large => automatically picked in SAP ALV based on column size. This also provides translations for different languages.

2. It provides conversion exit which is again liked to domain.

3. You can define a search help.

4. Most importantly it provides re usability where all above will be reused in different table which is very important and a crucial part in any project.

I know there are much more to discuss, but I will leave those up to you to explore as you can find much more documentation in ABAP help which you should read.

Best Regards,
Mahesh

Read only

0 Likes
955

Sir I told them interview that

Data element describe the business logic and sementric attribute of table field that way it is used.

Is it wrong?

Read only

0 Likes
955

It will not describe the business logic, but only provides the attributes to a table field.