Skip to Content
0
Former Member
Nov 01, 2005 at 12:05 PM

populating dynamic internal table with data

19 Views

Hi,

I have an internal table with the data like the below

profit lineId amount

center

s21 70 1000

s21 80 1200

s22 70 800

In the above internal table the number of distinct lineIDs will be vary based on selection-screen creiteria.

So for this I build a fieldcatalog and dynamic internal table like the following

The data available in the above internal table should be placed into the dynamic internal table like the following.

profit

center LineID70 LineID80 .....etc

S21 1000 1200

S22 800

Can any one suggest how to proceed?

Thanks in advance

Nanda.