Hi,
I was wondering if it is possible to set properties of web items without having to recall the actual webpage?
The reason why I want to do this is because I have a hidden item of the type CL_RSR_WWW_ITEM_LABEL which I use to put info in (in its caption). Since it's not visible to the user, he mind find it anoying that the page does a refresh when there are no visible changes to it.
Now I have something like this in my java-code to set the content of the caption of that label:
var temp = a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k;
var prop = SAPBWGetItemProp("TABBOOKMARK");
if (prop != null)
{
for (i = 1; i < prop.length; i++)
{
if (prop<i>[0] == "CAPTION")
{
if (prop<i>[1] != "")
{
var str = prop<i>[1];
if (str != temp)
{
var url = SAP_BW_URL_Get() + '&ITEM=TABBOOKMARK' + '&CMD=SET_PROPERTIES&CAPTION='+temp;
SAPBWOpenURL(url);
}
}
else
{
var url = SAP_BW_URL_Get() + '&ITEM=TABBOOKMARK' + '&CMD=SET_PROPERTIES&CAPTION='+temp;
SAPBWOpenURL(url);
}
}
}
}
Is there another way to achieve the same goal?
thanks in advance,
Tom