on 01-27-2015 10:51 PM
I have an ALV usage for my WDC, and I'd like to list in one of the cells multiple LinkToURL cell editors; however, the number of cell editors depends on row data.
For example.
row 1 data has columns a, b and c. row 1 has a sub node with 4 elements. for each of those elements, i'd like to create a cell editor and place it in a multi-cell editor in column c.
so you might have some data that looks like this:
|-----------------------------------------------------------|
| data | data | url1, url2, url3 |
|-----------------------------------------------------------|
| data | data | url1, url2 |
|-----------------------------------------------------------|
| data | data | url1, url2, url3, url4 |
|-----------------------------------------------------------|
in the example above, each of the url#s would be an individual LinkToURL cell editor.
Hi Robert,
Please refer the below help document
Defining Multiple Cell Editors for a Column - Web Dynpro for ABAP - SAP Library
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.
Hi,
Try using Multi editor cell variant CL_SALV_WD_MULTI_CELL_EDITOR and create the LinktoURL/LinktoAction UI
hope this helps,
Regards,
Kiran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For all the multi-cell editor responses, please refer to my original problem statement. I am familiar with the multi-cell editor, and indeed I am using it. However, that is not the problem. I am not creating a static list of cell editors to place into the multi cell editors, instead, the cell editors should be dynamically based on context data and added at runtime.
Hi,
I'm not sure if you can dynamically set the multi cell editor as the interfaces are different. Try this if it works, Use the Cell Variant for the column CL_SALV_WD_CV_STANDARD, and then set the Variant as Multi Cell Editor CL_SALV_WD_MULTI_CELL_EDITOR ( which has other Cell Editors ) to that.
You may refer to this document on dynamically setting cell editors to different rows : Dynamic Cell Editors in ALV
Regards,
Kiran
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
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.