Application Development 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: 

Multiply headers at alv list view

shiz0frenik
Participant
0 Kudos

Can i create such grid with list view?

I've got a dynamic table.It extension depends on input date at selection-screen. At the example field 20211231 means price1 at 31.12.2021, field 20211231S means price2 at 31.12.2021,

field 20220131 - Price1 at 31.01.2022 and etc..

I tried to use 'REUSE_ALV_LIST_DISPLAY' and as i understood i can't just add fieldname in fieldcat if my table doesn't containt it. Mb i can do it the other way. But i don't know how,

if there are a other method how to do it?

4 REPLIES 4

FredericGirod
Active Contributor
0 Kudos

Asked several time, search little bit

raymond_giuseppi
Active Contributor
0 Kudos

Perform some search with the 'dynamically' keyword...

shiz0frenik
Participant
0 Kudos

raymond.giuseppi, it displyed well in alv grid, with same view on the second img, i want to diaplay it
with the view similar with the first.
I show it on the first screen, and after clicking toolbar button i want to display it with listview.

For example to unite this selected columns into one ( which i will devide into second header ).

But the problem is that thier fieldnames are(20211231 and 20211231S) and i cannot add additional united field into fieldcat of slis,because i don't have this field in table i want to display.

raymond_giuseppi
Active Contributor
0 Kudos

You have to create a new itab dynamically from values of the first itab.