cancel
Showing results for 
Search instead for 
Did you mean: 

Two ALVs in the same component

MauricioMiao
Contributor
0 Kudos

Hello,

I need to develop a WDA ALV component with two ALVs, the first one display a list of documents and once the user select one document and press a custom function, it should call another ALV to display a list of all the itens linked to the selected document.

But when I try to call the second ALV, it reaises a short dump:

There is already an instance of view TABLE in the component.

So to solve this problem I need to create another separated component for the second list and then call this separated component?

Regards,

Mauricio

Accepted Solutions (1)

Accepted Solutions (1)

former_member215843
Active Participant
0 Kudos

Hi Mauricio,

You have to declare 2 ALV component usages, e.g. ALV1 and ALV2, and then you can include them in 2 different ViewContainerUIAreas. This works!

Regina

MauricioMiao
Contributor
0 Kudos

Hello Regina,

That is what I did, and after your answer I checked everything again and I saw I did all right but when embeding the second ALV view by mistake I embeded the first one again.

Now it is working!

Thanks,

Mauricio

Answers (0)