on 11-15-2004 5:01 PM
I have a javascript funtion which hides a web item and then calls up the value help / filter popup.(see below)
If I include an alert command in between both the hide and popup commands work. If I exclude the alert command only the second popup command works.
How can I perform the hide and popup commands without the alert comand.
function TWOCOMS3()
{
SAPBWOpenURL(SAP_BW_URL_Get() +'&ITEM=FILTER_1&HIDDEN=X');
alert("message 1");
SAPBWOpenURL(SAP_BW_URL_Get() +'&CMD=PROCESS_HELP_WINDOW&DATA_PROVIDER=DATAPROVIDER_1&HELP_SERVICE=DP_VIEW_FILTER&IOBJNM=Z_VENDOR')
}
Thanks
-Hans
Thanks for the response Heike,
I had tried this approach already. However when I call the function the Filter object is hidden but the help popup does not appear. I've also tied hide and drilldown and these with the same result,
The code that you suggested creates the following URL:
-Hans
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Hans,
you should use a command sequence to fire both commands at once. Remember:SAPBWOpenURL will fire an URL to the server and the page gets rendered new.
Use a command sequence like
function TWOCOMS3()
{
SAPBWOpenURL(SAP_BW_URL_Get() +'&ITEM=FILTER_1&HIDDEN=X&CMD_1=CMD%3dPROCESS_HELP_WINDOW%26DATA_PROVIDER%3dDATAPROVIDER_1%26HELP_SERVICE%3dDP_VIEW_FILTER%26IOBJNM%3dZ_VENDOR')
}
Heike
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
10 | |
8 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.