Skip to Content
author's profile photo Former Member
Former Member

Passing parameters to BW report

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.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 24, 2005 at 07:46 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Praveen,

      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.

      Each time the report is called we will be passing different parameters (eg. customer number) so we can't use the regular BW template iView.

      Patrick.

  • author's profile photo Former Member
    Former Member
    Posted on Feb 17, 2005 at 09:33 AM

    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
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.