on 02-15-2007 10:08 AM
Hi all
My requirement is that i have to put checkbox in a table for each row..
so tht i can select multiple rows by checking the check box
and when i click submit whole of the data for all selected rows should go to the back end..
My problem is..
1) I can't check or uncheck the checkboxes
to make it checked or unchecked i hv to make the table editable
doing this all the fields become editable which i dnt want..
My portal is working on SP10.
2) And hw all the data for the selected rows can be saved to the back end..
i can do it if i select for one row..
but how if i select multiple rows.
Thanks
Monika
Hi sooraj
Thanks for reply
ya it worked
bt when i select multiple checkboxes all values dont go the back end
only one row values go
Can u help
Monika
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I don't have any idea regarding how to select multiple rows with a checkboxes.
I specified my concern regarding this in my last post itself. Anyway, try the following idea.
May be you can use some intermediate table (hidden table) which receives data based on the previous tables checkbox values. Then use the hidden table as input for the data service.
Regards,
Sooraj
Hi,
For the table:
<b>Editing Mode</b> is Editable. Disable all the columns other than the check box, individually.
<b>Selection Mode</b> is Multiple.
In the eventing line you pull out to connect to service, set the mapping scope to All data rows. Service can be modified to consider only the checked data.
Hope this helps.
Thanks.
Srinivas.
Hi Monika,
there is also the possibility to pass the whole table to the backend system. You can use then an ABAP Coding, which selects those rows, which the checkboxes were checked. These rows are passed into the BAPI/function module.
This scenario you can always use if a BAPI or VC doesn't support a function resp. your requirements. In this case you must programm an ABAP RFC. I wrote a blog about using this RFC function modules. If you are interested in you can find my blog <a href="/people/marcel.salein/blog/2007/02/01/visual-composer-and-abap-rfcbapi-a-powerful-combination-part-i">here.</a>
Best Regards,
Marcel
Hi Marcel
I have gone thru the link but this is not my requirement..
I want checkboxes to be inserted in table to select rows..
When i put checkboxes into the table it is disabled..
and to make it enable i hv to make the table editable..
n i dnt wanna make the table editable
and my other reqmt is that i hv to select the checkboxes to select rows..
so tht selected rows data goes to back end..
but this is not working
Pls help
Thanks
Monika
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Monika,
you should set the selection mode of your table to "multiple", then you can select multiple rows without set the editing.mode to "Editable".
For passing multiple data to your backend system you can have a look here:
<a href="https://wiki.sdn.sap.com/wiki/display/VC/Selectingmultiplevalues">https://wiki.sdn.sap.com/wiki/display/VC/Selectingmultiplevalues</a>
Best Regards,
Marcel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
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.