‎2013 Feb 20 3:56 PM
Hello Experts,
I have a requirement to display at the most 21 table controls on a single screen.
Not always 21 table controls has to be displayed but at the most 21 table controls can be displayed.
No. of table controls depends on No. of entries to be entered on input screen. There is a validation for at the most 21 entries.
For each entry in input screen one internal table has to be generated.
All of the data/internal tables to be displayed on single screen with scroll bars enabled and heading/data description for each internal table.
Is there any other approach other than table controls and classical reports.
I am also thinking of Blocked alv, "REUSE_ALV_BLOCK_LIST_APPEND" but there is no option for text/heading for each internal table.
Please help in implementing this functionality.
‎2013 Feb 21 7:11 AM
Dear Shubham,
You can use the event TOP_OF_LIST for the block list. Give the form name in the event. Here it is 'TOP_OF_PAG1'. And write the logic for the Heading inside this form.
Hope this is helpful.
Thanks and Regards
Davis
‎2013 Feb 20 4:17 PM
Shubham,
I have done this kind of a solution.
The best and the most optimum solution will be to use the OOPS ALV.
Since these are objects associated with this, just create objects during selection from your input screen.
Let me know if this helps.
Thanks,
Sreekanth
‎2013 Feb 21 7:11 AM
Dear Shubham,
You can use the event TOP_OF_LIST for the block list. Give the form name in the event. Here it is 'TOP_OF_PAG1'. And write the logic for the Heading inside this form.
Hope this is helpful.
Thanks and Regards
Davis
‎2013 Mar 05 4:09 PM
Hello Srikanth,
Thank you for replying.
I had tried by drawing container controls on the screen in screen painter and creating the objects at runtime.
I am counting the no. of entries entered by user on the input screen and creating the corresponding container objects at runtime.
My problem here is how can I draw 21 container controls in one screen so that I can display ALV in all of them at a time.
Putting 21 container controls on single screen will not give enough space for displaying data for ALV.
Please suggest and correct if I am doing wrong somewhere.