‎2005 Nov 16 12:34 PM
Hello,
when I call the set_toolbar_interactive methode of the alv_grid I get a short dump. The message says that a reference to a menubutton is not set. This problem also arises when I don't make any changes the the alv-grid instance before calling the method. Has anybody an Idea? Thanks.
Regards, Lars.
‎2005 Nov 16 12:46 PM
Lars,
Have u excluded any Buttons from the Tool Bar ???
If u have excluded some buttons, i am feeling that would b the problem.
Thanks
Kam
‎2005 Nov 16 1:20 PM
Place the method after call this method. please see the sample code below
**Calling the Method for ALV output
CALL METHOD G_GRID->SET_TABLE_FOR_FIRST_DISPLAY
EXPORTING
IT_TOOLBAR_EXCLUDING = LT_EXCLUDE
IS_VARIANT = LS_VARI
IS_LAYOUT = GS_LAYOUT
I_SAVE = 'A'
CHANGING
IT_FIELDCATALOG = IT_FIELDCAT
IT_OUTTAB = IT_FINAL[].
Set editable cells to ready for input initially
CALL METHOD G_GRID->SET_READY_FOR_INPUT
EXPORTING
I_READY_FOR_INPUT = 1.
CALL METHOD G_GRID->SET_TOOLBAR_INTERACTIVE.
‎2005 Nov 16 2:20 PM