Skip to Content
0
Former Member
Sep 14, 2005 at 11:14 PM

Help with internal tables!

24 Views

Hi everybody!

I really need help with internal tables, what I need is, when a run a query I extract information from ekpo-peinh and keep the values in an internal table it_medidan-peinh, but I need those values in seperate fileds, for example:

Select peinh

ekpo into table it_medidan.

It'll bring me as a result: 1 2 3 4 5 6 7 8 etc..., and these values are all together contained in it_medidan-peinh.

But what I need is to move each value from it_medidan-peinh to:

data: begin of it_total occurs 0,

t90 like ekpo-peinh,

t95 like ekpo-peinh,

etc...

end of it_total.

And as a result will be it_total-t90 = 1, it_total-t95= 2, it_total-t10 = 3, and so on, and that's what I don't know how to do it.

So if anyone can help me , I really appreciate it.

Thanks for your time.