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

Retrieve data from Structure

Former Member
0 Likes
2,876

Hi all

I have a structure KAEP_COAC.Now i need to retreive data from this structure but if i use the SELECT statement am getting KAEP_COAC is not defined in ABAP Dictionary.Please tell me how can i retreive dats from the structure..

With Regards

Vijay

7 REPLIES 7
Read only

Former Member
0 Likes
1,387

HI,

structure will not contain any data.

thats why u shouldn't write select statements to get the data from the structures.

<b>reward if helpful</b>

rgds,

bharat.

Read only

0 Likes
1,387

Hi bharat

Thanks.I went to SE11->KAEP_COAC ther i have clicked on entry help and it gave me the exact place(Database table) from which the field is being retrived so should i use the database table to retrieve my data..please get back to me

with regards

Vijay

Read only

0 Likes
1,387

yes correct if u find the table then use that tble and their fields to fetch the data

Regards,

Vimal

Read only

Former Member
0 Likes
1,387

Hi,

You cannot retrieve data from a structure using a select statement. The only way u can get data is by copying contents to another structure.

For ex.

ZKAEP_COAC = KAEP_COAC.

Now you have the contents in your Z structure.

You may have to debug the program in the standard transaction to identify from which table this structure is getting populated. You could use St05 for that.

Thanks..

Preetham s

Read only

0 Likes
1,387

Hi Preetham,

Can u elobarate like ZKAEP_COAC that u mentioned should be declared as a table or an structure or variable.please get back to me

With Regards

Vijay

Read only

0 Likes
1,387

yaa u r correct,u shouln't declare it as table or varible

Read only

Former Member
0 Likes
1,387

Structures does not hold any datas.

try to find the table tht u want.

if wrong plz change me.

Regards,

Vimal