cancel
Showing results for 
Search instead for 
Did you mean: 

Iterator for ALV

daniel_humberg
Contributor
0 Kudos

I am just migrating my application from BSP to WDA.

I liked the concept of an tableview iterator in BSP a lot.

Is there a similar concept for an ALV in WDA?

Accepted Solutions (1)

Accepted Solutions (1)

SergioFerrari
Active Contributor
0 Kudos

Interesting...

You already opened the same message some months ago.

Why not replay in the other thread?

Sergio

daniel_humberg
Contributor
0 Kudos

Hi Sergio,

it was not exactly the same questions, but you are right, I should rather answer the earlier post than opening a new, similar one.

I would summarize it like this:

ALV tables in WDA do not support the concept of an tableview iterator. Instead, you have to prepare the internal table in advance. Furthermore, using the table UI object, you can configure which columns shall be shown and how they should look. This corresponds to the method GET_COLUMN_DEFINITIONS of the tableview iterator in BSP. But there is no corresponding concept for the methods RENDER_ROW_START and RENDER_CELL_START.

Thx and regards,

Daniel

SergioFerrari
Active Contributor
0 Kudos

Hi Daniel,

I can confirm what you are saying. No iterator but everything can be managed very well via OO setter methods.

Anyway, let's see comments from other WDA specialists, I don't want to stop your query.

Sergio

daniel_humberg
Contributor
0 Kudos

Hi Sergio,

i still found no way to convert the data that is displayed in the ALV without putting the converted data into the context.

Example:

I have a context node "user_id" which I show in an ALV.

Instead of the user-id, i would like to display a link to an external address book application (linkToUrl) and as the link text, I would like to show the user name.

Of yource, I can put the user name and the link target into the context, but that's the only way. I found no way to set the link target and the link text dynamically while programming.

Regards, Daniel

Former Member
0 Kudos

I have the same requirement, i need an "iterator" as common in BSP. Are there any possibilities with WDA ALV?

Answers (0)