on 07-28-2011 11:32 AM
Hi friends,
I have an ALV with three columns . Initially when the ALV is loaded with data it is in read only mode. All the fields in the first column are links .Now I have created a ALV button called 'Create'. When the user clicks on it a new row should be appended and its first column should be an editable input field but for the remaining rows the first column should be a link. Now when the user enter something in the input field and clicks on save that input field should also become a link and that row should also become read only.
Thanks.
Hello Mohsin,
you need to create cell variants for this. Its same like what we do in normal Table UI element.
Create two cell variants, one for link and other for input field and bind them accordingly. The below tutorial will explain you how to create cell variants for ALV columns
BR, Saravanan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please refer the folloing links,
[Edit conditionally row of a ALV table in Web Dynpro ABAP|http://wiki.sdn.sap.com/wiki/display/WDABAP/HowtoeditconditionallyrowofaALVtableinWebDynprofor+ABAP]
[Simple Editable Alv|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/3133474a-0801-0010-d692-81827814a5a1?quicklink=index&overridelayout=true]
[Column Editable Using ALV Function Elements|http://www.saptechnical.com/Tutorials/WebDynproABAP/Column/page1.htm]
Hope this helpful.
Thanks,
Renuka S.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.