Skip to Content

*Background </p><p>I’ve been involved in building a custom portal for client to display BI reports on portal. We were using SAP EP 7.0 and BI 7.1. The use of portal was the display the data in BI 7.1. in the form of reports to the end users who where given the privilege to navigate and search for the particular report. To fetch the proper data the end user had to provide the Fiscal year / Period / Original Acquisition year as mandatory parameter in all iviews and the Area / Profit Center / Region in some in the initial variable entry screen. The variable entry screen is generated directly from BI and there is no specific configuration in portal iviews for it. The issue here was this variable entry screen was not getting displayed in the BEx Web Application iview when a mandatory value was set for the variables in BI.</p><p> </p><p>Approach</p><p>The process for creating the iviews was not at all complicated. All I had to do is create a logical system for the BI server in portal and create a BEx Web Application iview for BI 7.1. using the template provided with EP 2004s and provide the proper query string as parameter.</p><p>The process for creating BEx Web Application iview for BI 7.1. is as follows. For more details on creating iviews please refer to  (</p><p>Logon to the portal and go to Content Administration -> Portal Content -> Portal Content folder -> Right click -> New -> iView. In the iview template screen select the type as BEx Web Application iView (SAP NetWeaver 7.0 format). In the step 4 of the iview creation wizard, it requires the value for the Query string. </p><p> </p><p>!|height=412|alt=image|width=649|src=|border=0! </p><p> </p><p>For details on BEx Web Application iview please refer to the SAP Help documentation using the link  (</p><p>As mentioned in the document the field BEx Web Application Query String must contain the following values for BEx Web applications, BW queries and BW bookmarks:</p>   <table border=”1″ cellspacing=”0″ cellpadding=”0″><tbody><tr><td width=”144″ valign=”top”><p>BI Object</p></td><td width=”374″ valign=”top”><p>Value</p></td></tr><tr><td width=”144″ valign=”top”><p>[Web Template |]</p></td><td width=”374″ valign=”top”><p>template=<TEMPLATE></p></td></tr><tr><td width=”144″ valign=”top”><p>[Query |]</p></td><td width=”374″ valign=”top”><p>query=<QUERY></p></td></tr><tr><td width=”144″ valign=”top”><p>[Query View |]</p></td><td width=”374″ valign=”top”><p>initial_state=VIEW&initial_state-view=<VIEW></p></td></tr><tr><td width=”144″ valign=”top”><p>[InfoProvider |]</p></td><td width=”374″ valign=”top”><p>initial_state=INFOPROVIDER&initial_state-infoprovider=<INFOPROVIDER></p></td></tr><tr><td width=”144″ valign=”top”><p>[Bookmark |]</p></td><td width=”374″ valign=”top”><p>bookmark=<BOOKMARK_GUID></p></td></tr><tr><td width=”144″ valign=”top”><p>[Report |]</p></td><td width=”374″ valign=”top”><p>report=<REPORT></p></td></tr></tbody></table><p> </p><p>There was no parameter mentioned specifically that should be added to the Query string to get the variable entry window. I tried with all of them one by one but none of them showed the variable entry screen. Instead it directly showed the report taking into consideration the default value of the Fiscal year / Period / Original Acquisition year variable  .</p><p> </p><p>Solution*

Since the variable screen was generated automatically there was no specific setting for this in portal. The solution to this was found in the BEx Web Application Designer. When I executed the template using BEx Web Application Designer (WAD) I found that the string in the address bar of the executed page contained a fully qualified query string.


To report this post you need to login first.


You must be Logged on to comment or reply to a post.

  1. Former Member
    Thanks for sharing your solution.

    You can also use SELECTION_OPTION=X parameter in the URL, to achieve the same results.

    You can also set the global setting to always “force show” the selection screen by change the “default template” and providing the parameter SELECTION_OPTION=X in there.

  2. Kamaljeet Kharbanda
    Even though you are populating variables values in advance still the template shows variable screen using the default iView query string. I am not sure why it was creating problem for you, but it works for me always.

    The only scenario where it won’t prompt for variable screen is when you have set the web template variable screen property in WAD as ‘ not to show variable screen’. Please check your WAD property, and this should solve your problem.

  3. Former Member
    If the query does not have a required parameter, by default the template does not show the variable screen.  To display you can add the parameter Seleciton_Option=X as Ashish mentioned or change the Display Variable property in the WAD template to ON from OFF.  This will force the display of Variable screen.
  4. Former Member
    Hi Seema

    I have a question……..How to get the query description in place of “General Variables” word above the variable screen……..because in the previous version we were able to display the query description at that place…….is there any way to get that???


Leave a Reply