Skip to Content
0
May 08, 2006 at 11:41 PM

ALV report with dynamic columns, and repeated structure rows

1323 Views

Hey Guys,

I've done some ALV programming, but most of the reports were straight forward. This one is a little interesting. So here go the questions...

Q1: Regarding Columns:

What is the best way to code a report with columns being dynamic. This is one of the parameters the user is going to enter in his input.

Q2: Regarding Rows:

I want to repeat a structure(say it contains f1, f2, f3) multiple time in rows. What is the best way to do it? The labels for these fields have to appear in the first column.

Below is the visual representation of the questions.

-


Jan 06 , Feb 06, Mar 06....(dynamic)

material 1

Current Stock

current required

$Value of stock

material 2

Current Stock

current required

$Value of stock

material 3

Current Stock

current required

$Value of stock

.

.

.

Thanks for your help.

Sumit.