Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Alv Problem: Dynamic Header & Dynamic item

Former Member
0 Likes
309

Dear all,

i have two internal table.

one for header and one for item.

in header table record is stored like this: (In Vertical Base)

ID Description

******************

L1 Level1

L2 Level2

L3 Level3

L4 Level4

ALV Displayed like this:

Level1 Level2 Level3 Level4

in item table record is stored like this: (in Horizental Base)

L1 L2 L3 L4

**********************

20 30 40 50

21 31 41 51

22 32 42 52

23 33 43 53

the question is that how can i display items data on the base of Header.

thanx in advance

Anshuman

1 REPLY 1
Read only

Sm1tje
Active Contributor
0 Likes
288

It looks to me that you already have all your item data in an internal table. Pass this table to your ALV (FM or OOP). Based on your header data, feed the Fieldcatalog with this data, and you're done.