10-10-2007 8:21 AM
in my report i am using a structure
can it possible to loop this structure and get its values to another internal table.
i done like this but when am executing its taking long time and going to short dump
10-10-2007 8:29 AM
Hi,
Structure doesnot hold any data.You cant get any values from it
10-10-2007 8:25 AM
Hi
Structure does't holds any data
you can't loop at structure also beacuse structure can hold only one record at a time
reward if usefull
10-10-2007 8:28 AM
HI,
create a internal with type of the structure and populate values into that n do wat ever u want.
ex:
data: itab type zstruct occurs 0 with header line. // where zstruct is a structure in a database.
select * from .............. into table itab where ...............
..........
............
.
loop at itab.
write:/10 itab-fld1,
20 itab-fld2,
...........
endloop.
if helpful reward some points.
with regards,
suresh aluri.
10-10-2007 8:29 AM
Hi,
Structure doesnot hold any data.You cant get any values from it
10-10-2007 8:30 AM
10-10-2007 8:34 AM
Hi Bharathi,
your question is confusing. I never looped a structure before. I'd suggest you post your code and let the point-seekers do their job.
Regards,
Clemens