2024 Feb 29 7:30 AM
HI I am currently using REUSE_ALV_LIST_DISPLAY with layout like this
now i tried to change the function module to REUSE_ALV_GRID_DISPLAY and copied the Import/Export parameters used in REUSE_ALV_LIST_DISPLAY but the layout is different
How to achieve the layout like in REUSE_ALV_LIST_DISPLAY to REUSE_ALV_GRID_DISPLAY?
2024 Feb 29 8:05 AM
If you need to refactor the code, why not just change from the (obsolete) Function Modules to the Class-based "CL_SALV_TABLE" ALV-grid? SAP-Help SAP ALV : link
2024 Feb 29 12:11 PM
Absolutely. It amazes me that people are still using technology that was introduced over 20 years ago - and has been obsolete for more than 15 years!
2024 Feb 29 9:56 AM
I agree with Nic. And I also have the question: which good reason do you have to abandon REUSE_ALV_LIST_DISPLAY?
2024 Mar 01 1:37 AM - edited 2024 Mar 01 1:42 AM
I need to add more text in the top_of_page, but if I add more text in the top_of_page the screen will become like this
80% height for top of page and 20% for the item report list
currently the top_of_page height is not adjustable
so my solution is to change the REUSE_ALV_LIST_DISPLAY to REUSE_ALV_GRID_DISPLAY so the height of top_of_page will become adjustable (see image below)
but my problem is the current design of ALV_LIST , I am not sure if this kind of design is possible in ALV_GRID_DISPLAY
for this object CL_SALV_TABLE
i did not use this because I will need to do more code changes