04-14-2011 12:04 PM
Hello All,
I have created a OO-ALV which is having output rows that can be editable.
My problem is, there is option on ALV tool bar Append Row. I would like to have same function in my ALV but with a push button. So that when the user click this push button a empty editable row should be added to the output list.
Please can anyone provide me a sample code? How to approach using object oriented ALV?
Many Thanks in advance!!
Regards,
Riti
04-14-2011 12:10 PM
HI,
There is no need of any sample code for this. When you click the button append an initial line to your internal table and display it in editable mode.
04-14-2011 12:21 PM
04-14-2011 12:37 PM
Hi,
Check this SAP standard report BCALV_TEST_GRID_EDITABLE. This have functioanlity of adding and deleting rows in an outptu ALV grid.
04-14-2011 1:09 PM
I have checked almost all the programs, but not able to understand from where I can find the way to put this functionality.
04-14-2011 1:24 PM
>
> I have checked almost all the programs, but not able to understand from where I can find the way to put this functionality
Did you check BCALV_EDIT_04?
If there is a standard functionality available in the ALV Grid why do you want to create your own button?
04-15-2011 4:23 AM
Hi,
How is your output displayed in ALV? Is it in a container or a in ALV grid?
Regards,
Ramnivas