cancel
Showing results for 
Search instead for 
Did you mean: 

SAP SAC - can't use objects from another page in script

0 Kudos

Hello,

I need to apply filters and variables to a table that is on another Page, but SAC won't let me.

Why I can't reference to a table within a same story just on different page?

Is there any workaround?

Thank you,

Tomas.

error: "You can't use "table_2" since it is on a different page."

View Entire Topic
N1kh1l
Active Contributor
0 Kudos

tomaskopas86

Try using Script variable and Script Objects ( functions ) in place of local variables.

Hope it helps !!

Nikhil

0 Kudos

Hi Nikhil,

thank you very much, I have created a Script variable to set there the UI5 input list for the filter. Then I have created a new Function and it looked good with no errors. But then when I try to run that function from another Page where is the report for my query I am still getiing that error that the object is not on current Page, this is just insane, it is one story, SAC should be able to get data from one Page to another or vice versa.

It seems that for my purposes can be used a TAB STRIP where multiple queries might be present within 1 page in SAC and script can recognize all the needed objects.

Tomas.

tilted
Explorer
0 Kudos
@N1kh1l Do you have an example how to solve that?