cancel
Showing results for 
Search instead for 
Did you mean: 

Data no longer available when SALV_WD_TABLE GET_MODEL called

LGA
Participant
0 Kudos

Hello

I created a view that retrieves data from one table to select a row in the table and proceed to the second view but I get an error like this:

Data no longer available when SALV_WD_TABLE GET_MODEL called

I did check the mapping between my view and the componentcontroller

thank you

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Check the Context node in your Component controller has a binding with the "Data"-node in InterfaceControllerUsage.

If there is no binding, data will not be shown.

Thanks,

Shailaja Ainala.

LGA
Participant
0 Kudos

hello

thank you for responding, I check the forum before I apply my question and tried to apply what you said but it did not work. is that you can look at my code?

thank you

former_member199125
Active Contributor
0 Kudos

You have to make sure that your Context node in your Component controller has a binding with the "Data"-node in your InterfaceControllerUsage (you can find it under "Component Usages" but of course you already knew that).

If that binding does not exist, than no data will be shown.

Also check that the cardinality of your node (that contains the data) is at least 0-N or 1-N (else it isn't a table).

follow the tutorial

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/60ea94e5-0901-0010-c3bb-aad5e...

Regards

Srinivas

Edited by: sanasrinivas on Dec 14, 2011 5:52 AM

LGA
Participant
0 Kudos

Hello,

Before applying to this problem I implemented this solution that I found on the forum:

but it did not work that's why I put the slows down the rendering on the forum may be that there is another solution.

thank you

former_member199125
Active Contributor
0 Kudos

hello,

In above posts, two guys asked you to check about DATA node context binding. So, please check and reply accordingly, so that we can help.

Simply asking help, doesn't understand your issue. So please elaborate your issue with steps you have taken.

the error which you post, related to binding of data node.

Regards

Srinivas

LGA
Participant
0 Kudos

Hello,

Thank you for your advice and I'm sorry.

I will detail my problem in my context I COMPONENTCONTROLLER, i have a node SFLIGHT with cardinality 0 .. n znd selection 0 .. 1 .

In addition I have done with the biding INTERFACECONTROLLER context for the node 'data' in my context COMPONENTCONTROLLER.

In the context from my view I did the binding with the context of COMPONENTCONTROLLER. for the node SFLIGHT

node SFLIGHT has the same cardinality with node that is in the context COMPONENTCONTROLLER.

thank you

former_member199125
Active Contributor
0 Kudos

There are several possiblities for this error.

1) In your table, is there any field name starts with Number?

2) Is your application 2 level process?( i mean two views? based on alv another alv)

and Please check the below note.

1528254

and below

If youare binding dynamically check this thread

Regards

Srinivas

Edited by: sanasrinivas on Dec 14, 2011 11:51 AM

LGA
Participant
0 Kudos

Hello,

Thank you for your response, first of all I would like to show you the tutorial I am trying to follow

http://wiki.sdn.sap.com/wiki/display/WDABAP/GettingtheRowSelectedIntheALV....andMuchMore ..

Yes, the table begins with a field number

I use three views in the application

thank you

Former Member
0 Kudos

Hi,

Before you actually use the model object(Instantiation), Try to fetch the data into the node i'm the statement BIND_TABLE should have been written prior to the instantion of the Model object, keeping all the other solutions in place.

Hope this solves your issue.

Regards,

Lekha.

LGA
Participant
0 Kudos

thank you

is solved