on 08-13-2012 8:45 PM
Hi Experts,
I have two ALV tables. I want to drag the rows from one table to the other table. I am able to drag the row but some how the drop is not hapening.
The code in table 1:
CALL METHOD lr_config->if_salv_wd_drag_and_drop~create_drag_source_info
EXPORTING
tags = 'FROM_TABLE1'
enabled = 'X'.
The code in table 2:
CALL METHOD lr_config->if_salv_wd_drag_and_drop~create_drop_row_target_info
EXPORTING
id = 'ALV_TABLE2'
name = 'FROM_TABLE1'
tags = 'FROM_TABLE1'
enabled = 'X'.
I have created an event handler method for the drop but the method never gets called.
Pls help whats missing?
Thanks,
Pris.
Issue resolved. Had to add the following code:
lr_config->if_salv_wd_drag_and_drop~set_drop_row_name( 'FROM_TABLE1' ).
lr_config->if_salv_wd_drag_and_drop~set_drop_row_name_fieldname( '' ).
Thanks,
Pris.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.