2009 Feb 10 3:08 PM
Hello,
if you edit your ALV befor first display you can set the attributes of the layout:
gs_layout-edit = 'X'.
The problem is that I want to have the delete button of the ALV which exist only when I set edit = X.
I don't want to program the function of delete by myself so is there a possibility to have the standard delete button without setting gs_layout-edit=X?
Hello,
if you edit your ALV befor first display you can set the attributes of the layout:
gs_layout-edit = 'X'.
The problem is that I want to have the delete button of the ALV which exist only when I set edit = X.
I don't want to program the function of delete by myself so is there a possibility to have the standard delete button without setting gs_layout-edit=X?
2009 Feb 11 9:10 AM
Hi,
I dont know exactly why you would't to use gs_layout-edit = 'X'.
When you want to have no edit possibility you can use the method set_ready_for_input EXPORTING
I_READY_FOR_INPUT = 1 instead of gs_layout-edit = 'X'.
When you want not to have so more toolbar buttons you can to hide it with the parameter it_toolbar_excluding of the method set_table_for_first_display ([more|http://help.sap.com/saphelp_470/helpdata/en/e5/1cecdc32fc11d4b5c4006094192fe3/frameset.htm])
Regards Bogdan