Skip to Content
Former Member
Mar 20, 2008 at 11:53 AM

Need help in dynamic report for a range of year and period


Dear all,

I need help in creating an ALV report with dynamic columns based on the Year and period entered on the selection screen. for example if in the year we enter 2002 and period range from 10 to 12 then we should get the 3 columns display for cost(example) for period 10/2002, 11/2002 and 12/2002.

Can anyone help me in achieving this dynamically since the user can enter the year also in intervals along with the period and data also needs to be populated in the corresponding columns.

An example code would be of great help.