How to Get data into I_ table which is Created dynamically

Question: Hi Guys ,


I created one dynamic internal table , now I am want to display same internal table in my ALV? , how can I populate data into this internal table from my internal table based on some condition.


My Requirement is?

I have to display like this

1.This is my heading (field_cat of my ALV in which pack size may varry based on the flavor).
Plant flavor pack_size1----------------------------pack_sizen



2. I have internal table( itab2) with all the pack-sizes and plant details.

3. how can I pass the these data into (itab1) which going to display in ALV ?

I can loop at itab2.
How to pass this data into itab1 relevent fields ?

Looking for Val. Inputs

Regards
Prabhu
Pepsi
_________________
With Best Regards
Prabhu
TC-Team SAP
Pepsi India
nethranp@hotmail.com

Answer:
One of the BCALV examples or the reuse library does this, IIRC.
I suspect the reason I know that is because it was asked before. It's REF TO DATA and 42 field-symbols.

Oops, I said field-symbols. Now Vic will put a bag on his head and we'll all have to get in the fish tank and sing. "And did those feet, in ancient time...".
_________________
First he pinches my sig, Now he's cribbing my posts too!
Copyright ?2007 - 2008 www.jt77.com