cancel
Showing results for 
Search instead for 
Did you mean: 

Problem With Two ALV Tables/Elements In The Same View

former_member552974
Participant
0 Kudos

Hello Everyone,

I am attempting to place two ALV tables in the same view and I am getting an error when running my application after inserting the second ALV table. The error I am getting is pasted below.

Data no longer available when SALV_WD_TABLE GET_MODEL called

Does anyone know what could be causing this? I have checked and rechecked and from what I can tell, everything with the second ALV table is set up properly (Component Use, Window, etc). I have debugged this and the exception is being raised because several attributes in class CL_SALV_WD_DATA_TABLE is not being filled. Does anyone have any insight as to what I could be missing?

Thanks,

Scott

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi scott,

Run the webdynpro component SALV_WD_TABLE and check whether the data is geeting displayed.

Regards,

Sravanthi

ramasamy_kumar
Explorer
0 Kudos

Here are the steps.

Make sure that you have added one more SALV_WD_TABLE with different componet name say for ex .ALVCHILD in your used component in the application

2. go to the component usuage open the ALVCHILD and add COMPONENTCONTROLLER in to it.

3. Map your table content to the data.

4. in your view create a view container element.

5. in your window add the table correspoinding to ALVCHILD

Hope it helps.

Cheers

~ Kumar

Former Member
0 Kudos

Hi Scott,

I don't know if you have already fixed your problem.

I had the same error (but with just one ALV) and I forgot to map the context node of my web dynpro component to context DATA of the interface controller of the ALV component.

Have a look at the HowTo [Simple Example for Using ALV in Web Dynpro for ABAP|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/3439404a-0801-0010-dda5-8c14514d690d] at page 11 and 12 (-> "Set data to ALV for display...").

Regards,

Andreas

Former Member
0 Kudos

thanks that helped with my problem of Data no longer available when SALV_WD_TABLE GET_MODEL called

former_member552974
Participant
0 Kudos

Thank you for the response. Yes, I have two component usages (one for each ALV table).

Former Member
0 Kudos

Do you have two component usages for the ALV component?