Hello all,
We display a few BW reports in our portal. Instead of using the BW template iView we use custom developed Java iViews and display the report in an isolated HTML container. This is because we do some client side eventing, the user selects a customer from a table in one iView, we display the report for that customer in another iView.
So generaly the URL we call will look something like this;
http://host:port/sap/bw/BEx?sap-language=EN&bsplanguage=EN&CMD=LDOC&TEMPLATE_ID=TEMPLATE_Z_CREDIT_06
to which (if we wanted to filter on customer number) we would add something like this;
&IOBJNM=0CUSTOMER&FILTER_VALUE=000012345
This is all fine and well when we filter on only one parameter. But say we wish to filter on customer number and date, I just can't figure out the URL for this.
I imagine that to reduce the URL length we need to run some hash code over the parameters, does anyone know if this is correct... if so, do we have access to this in Java... where?
Another question I'd like to ask concerns URLGenerator. When I use URLGenerator to generate the URL I always get the BW menu bar displayed with no report, like the report doesn't exist. Any tips here?
Thanks in advance,
Patrick.
Hi Patrick,
Just wanted to know as why u are using IsolatedHTMLContainer for displaying the BW reports in SAP Portal, rather u can use SAP BW iview and just pass query string which would take care of rest of the things.
Let me know if this situations applicable to you.
Thanks,
Praveen
Just solved this.
To pass more than one paramEter in the URL calling a BW report you need to add '_X' (X being param number) to the filter paramters. Something like;
&FILTER_IOBJNM=0CUSTOMER&FILTER_VALUE=000123&<b>FILTER_IOBJNM_1</b>=0CALYEAR&<b>FILTER_VALUE_1</b>=2005&<b>FILTER_IOBJNM_2</b>=0SHIP_TO&<b>FILTER_VALUE_2</b>=000456
Add a comment