09-24-2014 2:10 PM
Hi Experts,
I need to display 10 default empty lines in OO ALV output Screen how can i achieve this please provide any suggetions or any usefull links
Regards.
09-24-2014 2:13 PM
Hi,
You can append initial lines to your internal table and then pass the itab to the ALV
for ex:
do 10 times.
APPEND INITIAL LINE TO lt_table. " lt_table being your internal table
enddo.
Then pass the lt_table to the ALV
Regards,
Kiran
09-24-2014 2:24 PM
Hi Kiran,
Thanks for the reply.
As you said i can pass the initial lines but in my scenarios
1.there is no selection screen in my program user can upload data by clicking on a button in the application toolbar after that the alv get filled with data if user didn't upload any file he can be able to insert the lines by using Insert button(+) so i want to display 10 default empty lines so that user can enter the data without pressing any Insert button.
will your solution work in this scenario.
Regards.
09-25-2014 5:59 AM
Hi,
Yes. And make sure you make it as editable ALV so that you can enter the data into those empty lines.
Regards,
Kiran