cancel
Showing results for 
Search instead for 
Did you mean: 

scripts

Former Member
0 Kudos

Dear Experts,

I am a newbie requiring to code some javascript.

Hope you could allow me post JS question here.

function goto_tab(tablabel) {

SAPBWOpenURL(SAP_BW_URL_Get()'&item=TABLABEL*&multi=X&hidden=X&cmd_1=item%3d'tabname+'*%26hidden%3d %26multi%3dX');

}

Could you kindly help me explain what does the command

SAP_BW_URL_Get() do using the operators or operands that follows this cmd?

I am especially puzzled with the last string of the cmd %3d %26multi%3dX . Why is there a space between %3d and %26 and why another multi%3dX ? Why 2 multi used?

Thanks in advance Gurus,

Mirella

Accepted Solutions (1)

Accepted Solutions (1)

Saravanan_SD
Advisor
Advisor
0 Kudos

Hi Mirella,

Check these links.

<a href="http://">http://help.sap.com/saphelp_nw04/helpdata/en/91/08843b11f28c7ee10000000a114084/content.htm</a>

<a href="http://">http://help.sap.com/saphelp_nw04/helpdata/en/b4/0fa239cec06b40e10000000a11402f/content.htm</a>

Hope it helps.

Regards,

Saravanan.

Answers (1)

Answers (1)

Former Member
0 Kudos

SAP_BW_URL_Get() retuns the URL which is first composed at runtime.

Parameters to add conext menu

Item =<Name of the Web item (if the entry is to be made only for a specific Web item)>

%3D & %26 are nothing but hexadecimal codes for = and & respectively

last string should be read as

cmd_1=item=tabname&hidden= &multi=X

I assume multi & hidden may not be required as that can be passed as a part of cmd

regards,

Piyush

ps: please mark useful answers.

Former Member
0 Kudos

Dear Piyush & Saravanan,

Points awarded your help.

It seems that there can be many cmd and parameters for

SAP_BW_URL_Get(). But based on the help links, I could not find all the commands and params possible with this command. Could I say that there is no limit in terms of the order and number of parameters (&) or cmd= that can be used?

Thanks,

Mirella