2006 Apr 25 4:58 PM
I'm looking for the ALV Grid Control simplest code for inserting a row data. Please give me some reference!!
2006 Apr 25 5:01 PM
Hi,
did you check this example <b>BCALV_EDIT_04</b>, if not check it once,...
Regards
vijay
2006 Apr 25 5:06 PM
Hi Chun,
Cant recollect the name..
Try BCALEDIT...
Let me know if you find the program..
Regards,
Tanveer.
Mark helpful answers.
2006 Apr 25 5:14 PM
I have already checked those BCALEDIT sample. It is too diffcult to me.
2006 Apr 25 5:18 PM
what part you are not able to understand. please let me know.
Regards
vijay
2006 Apr 25 5:27 PM
I can find a lot of sample which is about to display the data. So, i would like to know the simplest way to append a row of data by ALV.
2006 Apr 25 5:48 PM
Hi,
Here is the simplest way.
In the layout that you pass - set the EDIT field to 'X'. This puts all the fields in the EDIT mode and automatically the toolbar will have new buttons to add / delete new rows.
If you are looking at adding new rows manually, you will have append a blank row to the table and REFRESH_TABLE_DISPLAY. This will add a blank row, however you will have to do this on a specific action of the user. I am not aware of your requirements there. Here also, you can set the EDIT field in the LAYOUT to 'X' so that all the fields are in edit mode. If you want specific fields in the EDIT mode, do the same in the FIELDCAT.
Regards,
Ravi
Note : Please mark the helpful answers