on 07-23-2008 3:58 PM
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
Hi scott,
Run the webdynpro component SALV_WD_TABLE and check whether the data is geeting displayed.
Regards,
Sravanthi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for the response. Yes, I have two component usages (one for each ALV table).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Do you have two component usages for the ALV component?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.