Quantcast
Channel: SCN : All Content - SAP BusinessObjects Design Studio
Viewing all articles
Browse latest Browse all 4216

DESIGN STUDIO 1.x - code causes database sessions to be kept open

$
0
0

Hi DS experts,

 

I wonder if someone has a clue to this issue.

I am using SAP BI 4.1 SP6 with DS 1.5. However this issue already appeared in SAP BI 4.1 SP3 and DS 1.3.

 

In my dashboard I use this code:

 

var aPeriode = REPORTING_PERIOD.getMembers("_W6nTQB1rEeSznvzEWskMjw", 50);

var nElement = 0;
var SelectedItems = "";

 

aPeriode.forEach( function( element, index)
{
    nElement = Convert.stringToInt(Convert.replaceAll(element.text,"-",""));
    if (nElement > nLow && nElement <= nHigh)
       {
              LISTBOX_PERIODE.addItem(element.internalKey,element.text);
              SelectedItems = SelectedItems + element.text + ',';
       }
}

);

 

The red line seems to cause database sessions to be kept open, even after the dashboard is closed and/or users are logged out from launchpad.

The only way to close the sessions is to restart the AdaptiveProcessingServer (installed as runtime for DS).

Without the red line the issue is gone. Obviously the line is important to the functionality of the dashboard.

 

I have tried all kinds of solutions, otherwise I wouldn't have posted this, but any suggestion is welcome.

 

Thanks in advance.


Viewing all articles
Browse latest Browse all 4216

Trending Articles