‎2007 Aug 29 12:01 PM
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
‎2007 Aug 29 12:04 PM
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.
‎2007 Aug 29 12:07 PM
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
‎2007 Aug 29 12:09 PM
yes correct if u find the table then use that tble and their fields to fetch the data
Regards,
Vimal
‎2007 Aug 29 12:05 PM
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
‎2007 Aug 29 12:08 PM
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
‎2007 Aug 29 12:11 PM
‎2007 Aug 29 12:05 PM
Structures does not hold any datas.
try to find the table tht u want.
if wrong plz change me.
Regards,
Vimal