2012 Sep 13 6:53 PM
My Requirement : when i click on in-built button 'INSERT ROW' in alv grid and add data to this row then on click of save button on standard toolbar( for which i have given the coding(using modify db table statement ) ) then the database is updating ....
BUT the PROBLEM is that with this inserted record a extra record is also inserted at the top of table with default 0000000000 value in the key fields ... i dont know why it is happening ...can anyone help in this regard...
2012 Sep 13 7:16 PM
Hi Sandeep,
May be you are inserting one empty rows also.
Better you debug your code, you'll get the solution.
- Thanks,
Manish Shankar.
My Requirement : when i click on in-built button 'INSERT ROW' in alv grid and add data to this row then on click of save button on standard toolbar( for which i have given the coding(using modify db table statement ) ) then the database is updating ....
BUT the PROBLEM is that with this inserted record a extra record is also inserted at the top of table with default 0000000000 value in the key fields ... i dont know why it is happening ...can anyone help in this regard...
2012 Sep 13 7:16 PM
Hi Sandeep,
May be you are inserting one empty rows also.
Better you debug your code, you'll get the solution.
- Thanks,
Manish Shankar.
2012 Sep 16 4:54 PM
thanks manish... actually there was some problem in the code itself...
2012 Sep 14 12:31 AM
Hi,
Can you give a snipp it of the code when the button is pressed so we can go over it?
Best,
Iftah
2012 Sep 16 4:55 PM
2012 Sep 17 5:39 AM
Hi Sandeep,
As per you there is "in-built button 'INSERT ROW' in alv grid " but when i checked on ALV output there is not such button. Could you please specify bit more on this functionality (i.e in buit functionality of INSERT) so that it can be useful to others.
Thhanks & Regards
Sachin
2012 Sep 17 5:40 PM
hi sachin ,
At run time these buttons are automatically created on the alv grid's menu toolbar ,
BUT if your alv is not editable then insert button will not appear , so first make it editable and then check the output , you will surely get all the buttons there...
thanks
regards
sandeep
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |