on 09-29-2011 6:37 AM
Hi Expert,
In my project, I am working extensively in WDP ALV component. My have some tropical requirement in this project.
1. Get the reference of the particular box of a ALV table. There is some set-focus functionality, but there is nothing called get focus. Do any one have any ides, how can I get the reference of the particular selected box ( cell ) from a ALV table.
2. Is it possible to set Hot key in the WDP component? For a example, if I click that hot key, it will trigger some action.
It will be an great help, if any one can provide any idea on this.
Thanks in advance,
Regards,
Satrajit.
Hi Satrajit,
For hot keys..
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/47/b951297a6d2d65e10000000a42189c/content.htm
You want to do on perticular cell.. this helps.
http://help.sap.com/saphelp_NW70EHP1core/helpdata/en/45/12093591152464e10000000a1553f7/content.htm
http://wiki.sdn.sap.com/wiki/display/WDABAP/HowtotriggertheeventON_CELL_ACTIONin+ALV
OR based on attribute you can do any actions..
for example :..
DATA lt_table_settings TYPE REF TO if_salv_wd_table_settings.
DATA lt_column_settings TYPE REF TO if_salv_wd_column_settings.
DATA lt_columns TYPE salv_wd_t_column_ref.
DATA ls_columns TYPE salv_wd_s_column_ref.
DATA lv_column TYPE REF TO cl_salv_wd_column.
lt_columns = lt_column_settings->get_columns( ).
*** To change and set Column Header Text ***
LOOP AT lt_columns INTO ls_columns.
lv_column = ls_columns-r_column.
CASE ls_columns-id.
WHEN 'DEALER '. // your attribute name
// your action...
ENDCASE.
ENDLOOP.
Cheers,
Kris.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
As per SAP docu, The Web Dynpro framework supports the function of hotkeys if the WDLIGHTSPEED parameter is active.
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/47/b951297a6d2d65e10000000a42189c/content.htm
for other WD ALV stuff , below link may be helpful.
Thanks,
Chandra
Edited by: Chandrashekhar Mahajan on Sep 29, 2011 11:22 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
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.