Sunday, March 20, 2011

OOP ALV toolbar button exclusion

A while ago after reading some stuff in SAP SDN site, I stumbled over this exclusion of alv toolbar buttons and found this pdf guide very useful, courtesy of http://www.volker-wegert.de/en/alv-function-codes

ALV Function Codes

There are two default sets of alv toolbar buttons depending on the grid mode (setting method set_ready_for_input to 1 for editable), whether it is editable or not. But, if you want to exclude only a particular button, then you may use the code constants as shown in the attached above from cl_gui_alv_grid. To apply it, you should include the code constant in IT_TOOLBAR_EXCLUDING importing parameter of set_table_for_first_display object.

No comments:

Post a Comment