cancel
Showing results for 
Search instead for 
Did you mean: 

iView Exception

Former Member
0 Kudos

I have two iviews in a page.

How should a handle timeout issue,the data is lost within 2 or 3 minutes this iview gets id from other iview(thru eventing) in the same page. Please help..

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Geogi,

Not sure how clientdatabag will work in my case, also there is limit on how much data it can hold right?

My problem is i have a model which display these two columns for e.g

<u><b>column1</b></u> <u><b> column2</b></u>

Class1 http://www.java.com

Class2 http://www.cnn.com

when i preview the iview data is there i mean the links will work but after assigning to a page, the data collapses i mean the links will not work, somehow the model data is getting cleared. and it gives portal runtime error.

Former Member
0 Kudos

Hi Tegala

In the sys admin->sys config->service config->applications-com.sap.portal.epcf.loader->Services.

Right click on epcf loader ->configure->property.

Set the framework level to 1.

The clientdatabag is implemented as a cookie in the browser for framework level 1 and is stored as java class attribute for framework level 2. So setting in the cookie may help better. Also there is no restriction in the number of databag variables, only unique name has to be there.

Regards

Geogi

Answers (4)

Answers (4)

Former Member
0 Kudos

Finally was able to solve by rebuilding the model again

if (mybean.model == null)

{

getRFCdata()

}

Thanks for your time and help . I have assigned full points.

Former Member
0 Kudos

Detlev,

I did set them as URL Isolated, I am using Standard MSS Team viewer iview in Dynamic navigation,and I have a custom iview(It gets Pernr from team viewer) both are on same page.

I am storing the data in tableviewmodel,my table has lot of links to external sites, when i click on the links it gives portal runtime.

Former Member
0 Kudos

Hi tegala

This link helps you to start with

The data is stored in the client databag variable. You can use this value in your portal until that session exists.

If you have more doubts post your code.

Regards

Geogi

Former Member
0 Kudos

Geogi,

Thanks,

Let me be more clear

I have a report iView which gets 7 columns and 20 rows, the iView collapses withing 2 or 3 minutes. My report basically has links, I am passing Id's thru these links to call another portal component.If i have to refill the bean can you please explain how to achieve this.. Thanks..

detlev_beutner
Active Contributor
0 Kudos

Hi Tegala,

a timeout of two or three minutes seems to be very unprobable. Have you set isolation mode to URL isolated (instead of embedded). If not, try to, for both iViews.

> the iView collapses withing 2 or 3 minutes

?!?! Could you explain this more detailed? I cannot imagine what happens from your description?!

Hope it helps

Detlev

Former Member
0 Kudos

Hi tegala

The data can be saved in clientdatabag instead of passing directly. Then you can read from it at any time.

EPCM.storeClientData ( 'urn:myNameSpace', 'myvarname', myvarvalue);

In the receving iview

value = EPCM.loadclientdata('urn:myNameSpace', 'myvarname');

Regards

Geogi