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

How can we select data from structure ?

Former Member
0 Likes
1,454

When I try to select data through structure , m getting error like this not a defined table or view in ABAP.

4 REPLIES 4
Read only

Former Member
0 Likes
544

Hi,

ya its correct u can use structures only to refer to the fields it contain, structures does not contain data like table or view

if you want to get data from some source then u have to use vie or table not structure .

Read only

Former Member
0 Likes
544

Hi,

can you please show the abap where we can see what you really whant

to select.

Regards, Dieter

Read only

Former Member
0 Likes
544

HI,

You can not read data from the stucture. Because structure does not hold any data. but Table hold data.

hope this will help you.

Regards,

Kiran

Read only

matt
Active Contributor
0 Likes
544

I suggest you read the documentation for the data dictionary, and read for yourself the difference between a structure and a table.

Thread locked.