on 11-30-2009 11:19 AM
Hi All,
I have a view in Webdynpro ABAP which displays data in an ALV table view (using SALV_WD_TABLE component).
By default we have the SAP Object Selector for selecting a particular row of the table. This has to be replaced with radio buttons.
I mean instead of using the SAP Object Selector, I need radio buttons at the start of each row.
What I have thought of is to make the SAP Object Selector Invisible and create another attribute for the radio button in the node which contains ALV output data.
Can you please let me know how to remove the SAP Object Selector from ALV output table and also how to include a column with radio button in the ALV output table.
Thanks and Regards,
Sayan Ghosh
Hi,
For that ALV try to set the selection mode as None if_salv_wd_table_settings of cl_salv_wd_config_table....
After this, Get the column references for that ALV using the GET_COLUMNS of if_ssalv_wd_column_setings..
For the first column try to create a reference object for radiobutton(check the availability using CL_SALV_WD_UIE*)
if the radiobutton option is not available try to use the check box if requried.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Lekha,
Thanks for the suggestion. It is indeed helpful. I will try out that solution and let you know.
I also need one more help.
The column headers in the ALV output table come from the Context node attribute names mapped to the ALV node.
How do we manually change the column headers in the output without changing the context attribute names.. ??
Thanks and Regards,
Sayan Ghosh
Hi Lekha,
I am working with HRASR00_PROCESS_EXECUTE WD component of MSS application. In order to generate the data, this in turn calls another component called DATAOBJECTPROVIDER. I need to make the table selection as none and replace the SAP Object Selector with the radio button.
Do you know under which method in DATAOBJECTPROVIDER do we need make the changes. I tried to search all the methods but couldnt understand a suitable one.
Thanks and Regards,
Sayan Ghosh
Hi Lekha,
Yes.. DataObjectProvider is a standard component. It is using an ALV to display the result.
In that ALV output I need to replace the SAP object selector for rows with radio buttons. I understand I need to implement the coding through an enhancement. Just wondered whether you are aware of where (I mean the method) where the changes need to be done.
Thanks and Regards,
Sayan Ghosh
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.