Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

SAPBWOpenURL - passing 2 parameters in URL but only one being used in query

Hi All,

Here's my scenario:

1. am running a bEX bw template as an iview from portal.

2. a portal event causes 2 parameters to be passed to the BW template e.g. material and plant.

3. I pick these 2 parameters up using javascript and construct the URL which i call using SAPBWOpenURL(d_url).

My problem is that it would appear that only one parameter is being used by the query. So say i have plant 1011 and material 900322. It's bringing back the plant alright, but it's bringing back all materials for that plant, instead of just the material being passed.

I have tested the query independently of portal and it works fine when i input the plant number and material, so I would assume that the query is fine, it's the way I'm constructing the URL??

Can anyone see anything wrong with this:

function myEventReceiver( eventObj ){

var darray = eventObj.dataObject .split(",");

var url = location.protocol "//";

url = url + "&data_provider=DATAPROVIDER_1&FILTER_IOBJNM=0MATERIAL&FILTER_VALUE=" + darray[0] +"&filter_collapse=" + "&FILTER_IOBJNM=0PLANT&FILTER_VALUE=" + darray[1] + "&filter_collapse=";



Any guidance would be most welcome as i'm under pressure to get this issue resolved and have no idea what to try next.

Thanks in advance,


Former Member
Not what you were looking for? View more on this topic or Ask a question