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: 

Issues in ALV Display

Former Member
0 Kudos
814

Hi Team

I've developed a 3 level alv display for one of my requirements using OO factory ALV. I'm facing a few issues in the same mentioned below. Could you help me out.

1. The first screen is an overlay ALV display on selection screen (as part of displaying ALV below selection screen). In this though the overlay alv is movable and has more width than the selection screen, the end user wants the alv display to be fixed at a certain position on screen so that it does not hide the selection screen when the screen size changes. Is there any way to fixate the ALV at a certain position below the selection screen and reduce it's width to match it with that of selection screen?

2. The second alv display comes up with hotspot click on the above screen, in that I have to reproduce the selection screen content (all non-editable). So, I've made use of top of page to put in all values from previous selection screen. But the issue is that, first the top of page takes some time to get displayed and as the screen size changes, it gets shrunk and user has to scroll down to see all the content. Is it possible to dynamically adapt top of page to screen size of the system we're running it on?

Waiting for your response. Also let me know if you need any more information on the same.

Thanks,

Satyavrit

3 REPLIES 3

sabirshah1
Participant
0 Kudos
211

are you using custom controller in your screen , you can resize it by goig into screen editor itslef .

Sandra_Rossi
Active Contributor
0 Kudos
211

Hi

1. You probably use a DOCKING container. If you really want the selection screen to have a fixed height and the container below, then one solution is to define a subscreen area below your parameters (selection-screen begin of screen 1001 as subscreen..., in which you assign a subscreen dynpro containing a custom container area, etc. See ABAP doc/forum for more info.

2. Technically, it's possible to define it with splitter->SET_HEIGHT with a fixed size, but you need to retrieve the splitter generated by the ALV. Not sure how to get it (search forum maybe the question has been already asked). Another way is to not display the header by the ALV, but generate it yourself with the inner HTML (splitter container + HTML viewer).

nikhil_kalawade
Explorer
0 Kudos
211

Hi Satyavrit,

Point 1: This part you can achieve it by defining Split container for ALV you can define it by;

create object for  class [cl_gui_splitter_container] and call the method [get_container] there you will get Parameters ROW and  COLUMNS. This two will define the position of your ALV and Container parameter will define your which ALV Grid to be assigned. Please check and confirm once.

Point 2: I think once you use the split ALV you will get an idea to achieve this too and same thing discussed above.

I hope this will work.

Thanks!

Regards,

Nikhil