on 06-06-2014 3:13 PM
Hello together,
I'm looking for a good solution to enable/disable certain cells in a table.
For example I have the following table (the real table is more complex - with buttons and so on...):
User | ToDo | State |
---|---|---|
A | Todo1 | Done |
B | Todo2 | In Process |
A | Todo3 | In Process |
B | Todo4 | Done |
I have different users which are working on this tabe:
- Administrator: Can edit whole table (except State column)
- Employee: Can only edit State Column where he is assigned
I think it would be difficult to work with context attributs in this case?
Is it possible to Loop over all table lines an set "enabled" Attribut in the coding?
Best Regards
Hi Uwe,
Check this below links
How to edit conditionally row of a ALV table in Web Dynpro for ABAP
Thanks
KH
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
All you need to have the information of the columns to which the user is permitted to edit data.
Based on this, you can look for the particular column name and set the read only property dynamically.
You can refer the below document, in this document I have explained how to lock/unlock cells dynamically
Hope this helps you.
Regards,
Rama
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
23 | |
11 | |
9 | |
8 | |
5 | |
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.