‎2008 Jun 19 10:04 AM
Hello!
How can I use the PATTERN Button in the Abap workbench for call of the following event ?
ITEM_DOUBLE_CLICK OF cl_gui_alv_tree_simple
regards
ertas
‎2008 Jun 19 10:27 AM
HI,
DATA: obj1 TYPE REF TO cl_gui_alv_tree_simple.
1) Click on Pattern (BUTTON)
2) Select ABAP Objects Pattern (Radio Button) and click on CONTINUE button.
3) A dialog box will be displayed in that we can find the different radiobuttons as below:
1) Call Method
2) Create Object
3) Raise Event
4) Raise Exception.
Then you can perform appropriate action by selecting the specific radiobutton.
--> Any way you are trying for ITEM_DOUBLE_CLICK, this is an event, before all these you should create the event class and should handle the event for cl_gui_alv_tree_simple class, unless do these you cannot call the event.
‎2008 Jun 19 10:10 AM
Hi llhas,
Here is the step how to use Pattern Button.
1. Click on pattern Button.
2. Click Radion Button ABAP Object Patterns and click ok
3. Next Popup will come Select the Radion Button Raise/Event.
4. Enter Class/Interface: cl_gui_alv_tree_simple
5. Enter Event : ITEM_DOUBLE_CLICK
6. Click Ok....
You would see automatically create a block of code for the above event.
&*********************Reward Point if helpful***********************&
‎2008 Jun 19 10:11 AM
Hi,
Just click on Pattern, then select the radio button ABAP objects patterns radio button (2nd from top), in the next coming pop up screen select Raise event radio button (3rd from top) then give class name and event name there. If you call methods or can create objects in the same way.
Rgds,
Bujji
‎2008 Jun 19 10:27 AM
HI,
DATA: obj1 TYPE REF TO cl_gui_alv_tree_simple.
1) Click on Pattern (BUTTON)
2) Select ABAP Objects Pattern (Radio Button) and click on CONTINUE button.
3) A dialog box will be displayed in that we can find the different radiobuttons as below:
1) Call Method
2) Create Object
3) Raise Event
4) Raise Exception.
Then you can perform appropriate action by selecting the specific radiobutton.
--> Any way you are trying for ITEM_DOUBLE_CLICK, this is an event, before all these you should create the event class and should handle the event for cl_gui_alv_tree_simple class, unless do these you cannot call the event.
‎2008 Jun 19 10:39 AM
actually I ment something like this:
METHODS:
on_double_click FOR EVENT double_click OF cl_gui_alv_grid
IMPORTING es_row_no e_column.
I get IMPORTING Parameters. But the Pattern Button generates
exporting paramters
regards
sas