on 08-16-2012 4:06 AM
Hi all,
I am working on a abap webdynpro program which the existing ALV is displaying data from the RCF_S_CANDIDACY_LIST_PL structure.
Now if the user select 2 or more rows from the ALV and click on one of the column, it will trigger the popup with a dropdown to change that particular row values for all the selected rows.
How do I change the context elements or attributes for the selected rows? Will the values in the ALV updated by itself once the values in the context node are changed? Thanks.
Hi,
No It will not automatically update your context data.
first you have to read the context node and get the values then bind it with the Same node.
Regards,
Nishant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nishant,
So you mean after I got the value from the popup box dropdown, I need to
1. get my context element set from my node into an internal table,
2. update with new values for the selected rows in the internal table
3. invalidate the node.
4. re-bind the node with my internal table
The ALV will update with new values once the node has been re-binded with my internal table?
Hi Nishant,
So you mean after I got the value from the popup box dropdown, I need to
1. get my context element set from my node into an internal table,
2. update with new values for the selected rows in the internal table
3. invalidate the node.
4. re-bind the node with my internal table
The ALV will update with new values once the node has been re-binded with my internal table?
Hi Siong,
Like Nishant says, after actual edit alv cell , in the action event method of any button You can read the node to which alv is bound into internal table. And using modify command you can update database table. And again bind the internal table with alv grid.
Thanks
Santosh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.