Using Portal Variables in filter criteria of BEx Web App query string

Our BI 7 instance is connected to a NW2004 portal, where we have created SAP BW Report iViews to access templates created with the Web Application Designer.  We would like to use some of the portal variables about the user to create filters for the BEx Web Application Query String.
The query string would have a set of parameters at the end that looks something like:
&FILTER_IOBJNM_1=0PLANT&FILTER_VALUE_1=<plant>
Where <plant> is a value stored in a portal variable.
Is it possible to do this in the SAP BW Report iView or will we have to code our own custom iView to pick up the variable values?
Cheers,
Lee Smith

Any one?

Similar Messages

  • How do you pass a custom value on a BW iVew (BEx Web App Query String)

    Hi,
    I am using a <b>BW Report iView</b> to display a report (BEx Web App) on a external facing portal. As part of the BEx Web App Query String, I need to pass the customer number. So, I followed the same procedure as the appIntegrator iView and put in the parameter <Custom.Customer number> as part of BEx Web Application Query String, which is supposed to get replaced dynamically with value from the UME by using the custom 'ParameterProvider' service we had written. But, it's not working here. We are using the same Customer Exits for 'ParameterProvider' on the AppIntegrator and it works there. The BW Report is bit different then the appIntegrator iView and I think I am missing something. Need some help to resolve this please. Thank you.
    Regards,
    Abu

    Any one?

  • Issue in using presentation variable as filter condition in the reports

    Hi,
    I have an issue in using presentation variable as filter condition in my reports the details are as follows:
    Details :
    We want to implement the Max and Min variables through Presentation variables only.we do not want to implement it through session variables in this case.
    We have two variables MIN and MAX to be used as Presentation Variables,for a column of the report (which is a quantity),so that the user wants to see the data for this column within a particular range.i.e the Min and the Max.This part has been implemented well . The issue is when the user wants to see the full data.In that case we will not pass any values to these two Presentation Variable or in other words we are not restricting the report data so we are not passing any value to the variables,this is when the report is throwing the error. we want to leave this variables blank in that case.but this is giving error.
    Please suggest how can I overcome this issue.
    Thanks in Advance.
    Regards,
    Praveen

    i think you have to use guided navigation for this. create two reports first is the one you are having currently and second is the one in which remove the presentation variable from the column formula. i.e. the same report with no aggregation applied.
    Now create a dummy report and make it return value only when the presentation variable value is not equal to max or min. guide the report to navigate between the first and second report based on the result of the dummy report.

  • Can I use Web App data string (image) in a CSS hover function?

    I am developing a "show and tell" company employee profile using the Web App. I built my list item and the detailed items. Works fine. However, I have no hover function. So I created  some css - a div id and added a background image then a div hover with another image for the hover. This worked. I moved the code over from Dreamweaver to BC – inside the Web App (the list template). I replaced the image paths with the Web App data string - image ( ex. {tag_employee photo} ). Then I did the same for the hover – I switched out the image to the data string ( ex., {tag_employee photo2} ). It doesn't work now.
    All the CSS is written inside the body so it's not pulling from an outside path. I figured an outside path may not understand the data string.
    How can I get this to link with the image data string? Am I missing something?
    How can I create a image switch using CSS and the hover function WITH the BC Web App data strings?
    Below is how I wrote the DIV id:
    # List_photo {
        height: 200px;
        width: 200px;
        background-image:url("{tag_employee photo (200px)}");
        position: relative;
        margin-bottom:10px;
        display:block;
    # List_photo:hover {
        height: 200px;
        width: 200px;
        background-image:url("{tag_employee photo (hover)}");
        position: relative;
        margin-bottom:10px;
        display:block;
    Thanks!
    Robert

    Hi Robert,
    The concept of what you are doing will work (so long as the <style>s are on the actual page) but you need to append '_value' to any image tag to get the image url and not the HTML output of the image.
    So your tag would be {tag_employee photo (hover)_value}

  • Error in using a variable in filter condition in an Interface

    Hi All,
    I am using a variable in my interface in a filter condition. I have an EMP table of scott schema and want to pull all the records wiht hiredate date lying between 2 dates, incremental pull.For this I have created 2 variables and using them in the filter condition. I am getting an error inthe interface when I run in a package after declaring and refresing the variables.
    com.sunopsis.sql.SnpsMissingParametersException: Missing parameter
         at com.sunopsis.sql.SnpsQuery.completeHostVariable(SnpsQuery.java)
         at com.sunopsis.sql.SnpsQuery.updateExecStatement(SnpsQuery.java)
         at com.sunopsis.sql.SnpsQuery.executeUpdate(SnpsQuery.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execStdOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSqlI.treatTaskTrt(SnpSessTaskSqlI.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
         at com.sunopsis.dwg.cmd.e.i(e.java)
         at com.sunopsis.dwg.cmd.g.y(g.java)
         at com.sunopsis.dwg.cmd.e.run(e.java)
         at java.lang.Thread.run(Unknown Source)
    Regards,
    Krishna

    Hi Krishna,
    What is the datatype of the Variable lastupdate ?
    In my case
    Variable
    Name : LastUpdateDate
    Datatype : Alphanumeric
    Action : Historize
    Query : select to_char(to_date(sysdate,'DD-MON-YY'),'DD-MON-YY') from sys.dual
    Then in filter I used
    EMP.HIREDATE>to_date('#LastUpdateDate','DD-MON-YY')
    Thanks
    Sutirtha

  • Maximum number of filter values in BEx web

    Hi
    Is it possible to change the maximum number of filter values displayed when running a query?
    Example: When the user runs a query and has to put in a material number, he pushes the button which shows him the possible values for input. The number of values displayed per page is 14 and the maximum number of pages is 72. The maximum number of values is 1000. If the user tries to search, he only searches amongst the 1000 possible values. Is it possible to change the number of possible values shown to unlimited?
    We use NW04s BI SP09.
    Kind regards
    Erik

    Hi Experts
    I have the same problem , the maximum number of hits si set to 200 , ant the variable contains over 300 values , it is a variable based on  a time charactersitic , and the values appear in ascending order , i mean the first 01.1900 , and the last value 03.2012 . i wonder if there is a way to change the order of sort  to descending order . I mean the  first value 03.2012 and the last one 01.1900 . I attach the image .
    Thanks for your help.

  • Can we use session variables in BI publisher's Data Model SQL Query?

    Hi Experts,
    We need to implement Data level security in BI Publisher 11g.
    In OBIEE we do so by using session variables, so just wanted to ask if we can use the same session variables in BI Publisher as well
    ie can we include the where clause in the Data Models SQL Query like
    Where ORG_ID = @{biServer.variables['NQ_SESSION.INV_ORG']}
    Let me know your views on this.
    PS: We are implementing EBS r12 security in BI Publisher.
    Thanks

    Read this -> OBIEE 11g: Error: "[nQSError: 23006] The session variable, NQ_SESSION.LAN_INT, has no value definition." when Creating a SQL Query using the session variable NQ_SESSION.LAN_INT in BI Publisher [ID 1511676.1]
    Follow the ER - BUG:13607750 - NEED TO BE ABLE TO SET A SESSION VARIABLE IN OBIEE AND USE IT IN BI PUBLISHER
    HTH,
    SVS

  • How can I use more than one Data Provider in my web Apps

    I am trying to use two different data provider in my web apps to run two different queries from the same table ,the data provider A is working correctly but when I attempt to run data provider B ,It display an error page ,here is the error message : Exception Details :javax.servlet.ServletEx ception
    java.lang.RuntimeException: java.sql.SQLException : Cannot connect .Both dataSourceName and url properties are null.

    Hi,
    You can use more than one data provider in your application. However if you have defined a dataprovider for a particular table already, and wish to bind a component, select the component and use its context menu to Bind to Data...

  • Using Prsentation variable as filter error"None of the fact source are comp

    Hi
    I am capturing two date presentation variables SDATE and EDATE using calendar picker and i have a field for expected date which should be between the dates captured so the column formulas here are like
    "CASE WHEN CASE WHEN '@{SDATE}' IS NULL THEN CURRENT_DATE ELSE CAST('date'||' '|| CHAR(39)||RIGHT('@{SDATE}',4)||'-'||LEFT('@{SDATE}',LOCATE('/','@{SDATE}')-1)||'-'||SUBSTRING('@{SDATE}'FROM LOCATE('/','@{SDATE}')+1 FOR LOCATE('/','@{SDATE}',LOCATE('/','@{SDATE}')+1)-LOCATE('/','@{SDATE}')-1 )||CHAR(39) AS DATE) END<CAST("- Opportunity Custom Attributes".DATE_25 AS DATE) THEN 1 ELSE 0 END"
    "CASE WHEN CASE WHEN '@{EDATE}' IS NULL THEN CURRENT_DATE ELSE
    CAST('date'||' '|| CHAR(39)||RIGHT('@{EDATE}',4)||'-'||LEFT('@{EDATE}',LOCATE('/','@{EDATE}')-1)||'-'||SUBSTRING('@{EDATE}'FROM LOCATE('/','@{EDATE}')+1 FOR LOCATE('/','@{EDATE}',LOCATE('/','@{EDATE}')+1)-LOCATE('/','@{EDATE}')-1 )||CHAR(39) AS DATE) END >=CAST("- Opportunity Custom Attributes".DATE_25 AS DATE) THEN 1 ELSE 0 END"
    I am able to see the value 1 or 0 as per the formulas but now if i apply filter on these above columns say =1 or = 0 then as soon as i run dashboard it throws error as
    "ORA-01841: (full) year must be between -4713 and +9999, and not be 0 at OCI call OCIStmtExecute" as in when there is no value for presentation variable.
    If i pass some value in prompt then reports works fine.
    Any thoughts will be really helpful.

    Just add a default value into the prompt.
    If the default is really complicated then you might have to use SQL to get the default value you want. It's tricky but here's an example of one I've used that defaults the first day of the year:
    SELECT date from "Lead Analysis" where date = TIMESTAMPADD(SQL_TSI_MONTH,-MONTH(current_date)+1,TIMESTAMPADD(SQL_TSI_DAY,-DAY(current_date)+1,current_date))

  • Using bind variable in dynamic where clause and concatenate with query

    Hi,
    In my procedure i am framing where clause dynamically with bind variable,When i am concatenate this with my sql query for REF CURSOR i got sql command not properly ended exception.
    Is it possible to pass values to the bind variable through the dynamic variable/value?
    Please advise
    Thanks in advance
    Siva
    IF in_applicationId IS NOT NULL THEN
              optional_where := optional_where || ' AND a.APPLICATION_ID like '||':e%';
              optional_using := ' in_appFuncGroup'||',in_currentUserID'||',in_appFuncGroup'||',in_queue_id'||',in_applicationId';
         END IF;
    My query is like this
    open Out_Main FOR SelectQuery USING optional_using

    Thanks for reply,
    In my procedure, i suppose to frame the where clause with bind dynamically according to the input parameters. so that i am framing the values of the bind variables also dynamically like this,
    Please advise...
    IF in_assignedAppFlag IS NOT NULL THEN
              IF in_assignedAppFlag = 'Y' THEN
                   optional_where := optional_where || ' AND b.ASSIGNED_TO = :b' ;
              optional_using := ' in_appFuncGroup'||',in_currentUserID';          
              ELSe
                   IF in_isSupervisor = 0 THEN
                        optional_where := optional_where || ' AND (b.ASSIGNED_TO = :b'||' OR b.ASSIGNED_TO = ''-1'' OR b.ASSIGNED_TO IS NULL)';
              optional_using := ' in_appFuncGroup'||',in_currentUserID';
                   END IF;
              END IF;
         ELSE
              IF in_isSupervisor = 0 THEN
                   optional_where := optional_where || ' AND (b.ASSIGNED_TO = :b'||' OR b.ASSIGNED_TO = ''-1'' OR b.ASSIGNED_TO IS NULL)';
                   optional_using := ' in_appFuncGroup'||',in_currentUserID';
              END IF;
         END IF;
         IF in_appFuncGroup IS NOT NULL THEN
              optional_where := optional_where || ' AND e.APP_FUNC_GROUP= :c';
              optional_using := ' in_appFuncGroup'||',in_currentUserID'||',in_appFuncGroup';
         END IF;
         IF in_queue_id IS NOT NULL THEN
              optional_where := optional_where || ' AND b.QUEUE_ID = :d';
              optional_using := ' in_appFuncGroup'||',in_currentUserID'||',in_appFuncGroup'||',in_queue_id';
         END IF;
         IF in_applicationId IS NOT NULL THEN
              optional_where := optional_where || ' AND a.APPLICATION_ID like '||':e%';
              optional_using := ' in_appFuncGroup'||',in_currentUserID'||',in_appFuncGroup'||',in_queue_id'||',in_applicationId';
         END IF;
         IF in_sourceCode IS NOT NULL THEN
              optional_where := optional_where || ' AND e.APP_SOURCE_CODE like '||':f%';
              optional_using := ' in_appFuncGroup'||',in_currentUserID'||',in_appFuncGroup'
              ||',in_queue_id'||',in_applicationId'||',in_sourceCode';
         END IF;
         IF in_logo IS NOT NULL THEN
              optional_where := optional_where || ' AND appProds.PRODUCT_TYPE like '||':g%';
              optional_using := ' in_appFuncGroup'||',in_currentUserID'||',in_appFuncGroup'
              ||',in_queue_id'||',in_applicationId'||',in_sourceCode'||',in_logo';
         END IF;
         IF in_firstName IS NOT NULL THEN
              optional_where := optional_where || ' AND upper(a.FIRST_NAME) like upper(:h%)';
              optional_using := ' in_appFuncGroup'||',in_currentUserID'||',in_appFuncGroup'
              ||',in_queue_id'||',in_applicationId'||',in_sourceCode'||',in_logo'||',in_firstName';
         END IF;
         IF in_surName IS NOT NULL THEN
              optional_where := optional_where || ' AND upper(a.SURNAME) like upper(:i%)';
              optional_using := ' in_appFuncGroup'||',in_currentUserID'||',in_appFuncGroup'
              ||',in_queue_id'||',in_applicationId'||',in_sourceCode'||',in_logo'||',in_firstName'||',in_surName';
         END IF;
         IF in_retreival_id IS NOT NULL THEN
              optional_where := optional_where || ' AND e.RETREIVAL_ID like :j%';
              optional_using := ' in_appFuncGroup'||',in_currentUserID'||',in_appFuncGroup'
              ||',in_queue_id'||',in_applicationId'||',in_sourceCode'||',in_logo'||',in_firstName'||',in_surName'||',in_retreival_id';
         END IF;

  • How to extract list of object and formula used in variables as Excel for a particular Webi Report

    Hi,
    Is it possible to get the list of variables and objects, and variable formula used in a webi report extracted in excel or PDF in BO XI R3.1?
    Thanks In Advance,
    Shenbu

    Hi Shenbaga,
    You can try to get this information using the report engine sdks of BusinessObjects which is specific to webi reports.
    Please refer to the link to download the dev guide and api referrence for XI 3.1
    SAP BusinessObjects BI 3.x and Lower - Developer SDK Library
    Refer to the Report Engine Java SDK dev guide and api referrence.
    Go through the dev guide in detail and you would be able to use the report engine sdks as per your needs.
    Additional Note: There have been changes in report engine sdks from XI 3.1 to BI 4.0 and you would not be able to get all the features available in XI 3.1 report engine sdks in BI 4.0.
    Hope this helps.
    Regards,
    Chandrahas

  • Unable to perform SP 2010 SP2 to SP 2013 SP1 Upgrade using Mount-SPContentDatabase content db -DatabaseServer dbserver -WebApplication web app

    We have performed our upgrade process successfully 4 times prior without issue but now we can not seem to get past this issue:
    When we run this command Upgrade using Mount-SPContentDatabase STS_Content_TFS -DatabaseServer <> -WebApplication <>, we receive this error:
    There is a compatibility range mismatch between the Web server and database "", and connections to the data have been blocked to due to this incompatibility. This can happen when a content database has not been upgraded to be within the compatibility
    range of the Web server, or if the database has been upgraded to a higher level than the web server. The Web server and the database must be upgraded to the same version and build level to return to compatibility range.
    We have tried services restarts, reboots, re-applying app poll and service accounts and even re-image of vm and nothing seems to work
    We have also tried to run PSConfig.exe -cmd upgrade -inplace b2b -force -cmd applicationcontent -install -cmd installfeatures and are now getting Cannot open SPTimerV4 service on computer.
    Hope someone can help, we are running out of things to try to resolve this. 
    Many Thanks
    Kim Bates

    Hi Kim,
    I recommend to check if the server farm account password has expired or was changed, update the server farm account password. Then, try to upgrade the server farm again.
    To update the server farm account password, type the following command at an elevated command prompt and then press ENTER:
    Stsadm -o updatefarmcredentials -userlogin domain\username -password password
    In addition to that, you can also clear the config cache location for timer service from the below location:
    %ALLUSERSPROFILE%\Application Data\Microsoft\SharePoint\Config
    For the detailed information about how to clear the config cache, check out the following article:
    http://blogs.msdn.com/b/jamesway/archive/2011/05/23/sharepoint-2010-clearing-the-configuration-cache.aspx
    More references:
    http://support.microsoft.com/kb/981487
    http://blogs.technet.com/b/sharepointwarrior/archive/2012/12/07/sp-2010-psconfig-fails-with-missing-security-updates-that-are-actually-installed.aspx
    Thanks,
    Victoria
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Error on BEx Web Anallyzer over Portal (roles)

    Hi gurus:
    We ve implemented BI 7.0 with portal 7.0 , some queries r saved on a rol which is shown on Portal-BI-BEx Web Analyzer-New Analysis, it works ok so far, but something happened (looks like some queries were deleted from role) so every time I click on role (inside tab "Rol" on portall-bew web analyzer) it shows my queries but it also show a message saying :
    You have attempted to open query BUYMEXC08A9T9TB4HV4VQR8N5 from the Query Designer. However, this query does not exist in the database in the system to which you have made a connection.
    System Response
    Opening the query was terminated.
    Procedure
    Make sure that you have connected to the correct BW system. Note: The query may have been deleted by another user.
    It looks like porta is searching a query that doesnt exist anymore, what can I do to solve this? refresh or restart some service on portal ?
    best regards
    joker

    Hi,
    Is this query assigned to any web template. And have you assigned this web template to the Bex Web Application Query String property in the property editior for that iview, something like cmd=ldoc&TEMPLATE_ID=WAD_01
    In case, if this template has been deleted, then you will have to re-create this template and assign the query string to this template.
    How about the system given for BI connection ? Is it working fine.
    Please test all of the above and let me know.
    Thanks,
    Nikhil

  • BEx Web iView displays graph only after page Refresh

    Dear Friends,
    I am facing problem in BEx Web application iView.
    I am using the SAP Standard BEx Web iView template to call BI Report by passing parameter as below
    com.sap.ip.bi.bex?TEMPLATE=ZSD1_WR_TREND_HY
    URL is Link[http://<hostname>:52000/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?TEMPLATE=ZSD1_WR_TREND_HY]
    The report got 2 graphical representations along with a table data.
    Problem is the graphs displays data representation only after refreshing the page.
    Infact the problem exists in production system and works fine in Development system.
    When I checked from portal prospective I found no difference.
    Can anybody help on this.
    Thanks in advance.
    Lakshmikantha

    hi,
    find the iview from the content administration menu in portal.
    If you are using a standard role open the role
    and trace the pages until you find the iview containing the template.
    Open the iview and check the parameter Content-BW report.
    At the field BEx Web Application Query String go to and and check the template name.
    Go to web application designer and open the above template.
    Change the parameters from the post above and save the web template as zXXXXX.
    Change the web template at iview as well.
    What i figured out is that bex handler has a problem creating an array when you are using same session for more than one charts.
    When you use seperate sessions for each chart there is no need for array creation and works just fine.
    *If you are using best practices go to Content Provided by SAP->Specialist->Best Practices and find the role and iview you are using.
    It should work..

  • XCelsius + BICS + Publish to EP + BEx Web Application Designer

    Dear Friends,
    Any one have idea about how we can publish an XCelsius Dashboard (with BICS connectivity) to the SAP Enterprise portal using Bex Web Application Designer?
    I tried to publish the dashboard using the iView, by following the below link.
    http://wiki.sdn.sap.com/wiki/display/BOBJ/IntegrationofanXcelsiusdashboardinNetWeaverEnterprisePortal
    Since it can only support individual report, I can not use this option in my client.
    Appreciate your help to provide me the information how we can publish the dashboard using Bex Web Application Designer.
    Thanks & Regards,
    Ajish George

    Hi,
    Did creating the iView using the instructions in the link work for one Xcelsius report?  Can you explain what you requirement is or expand on your comment "Since it can only support individual report, I can not use this option in my client.".  One iView can only launch one object.  If you have multiple BW connected XC files to launch I think that you will have to create multiple iViews with the "DASHBOARD=" each XC file value in each iViews  BEx Web iView query string parameter  setting.
    If you only want one link off of your Portal then you could create a BW 7.0 Web application where you could use objects like buttons to launch each individual URL string for the seperate dashboards.  The challenge with this would be that your URLs would be static and if you are using a regular BW landscape, DEV / QAS / PRD, then you would need to employ logic find and  update the system part of the URL.  I am not sure how this would be done, but it would probably require JavaScript.  If you do report development in your PRD system this would not be an issue.
    From a support perspective I would suggest using a container iView to group your XC reports together and then create a seperate iView for each XC report.  This eliminates dealing with the system identifier as the Portal enviroment manages this as the objects are transported through the systems.  A container iView with the action iViews in it would look like a menu structure on your Portal.
    Rgds,
    Mel

Maybe you are looking for

  • Idoc creation on production order create and save

    I need to know if there is a way to create an idoc on the change and save of a production order.  We will need to base this on plants (not all plants get an idoc).  Is there any "safe" way to do this automatically?  We previous had a system in place

  • Thinkpad W500 and OpenSuse 11.1

    I installed OpenSuse 11.1 on W500. I am very impressive. What works out of the box:     X-windows (I use Intel driver)     Microphone     Webcam     Trackpoint and trackpad     Bluetooth     Wireless (it identified my card as 5100 rather than 5300, b

  • Patch Installation Error

    Hi , The Patch that i installed was .. Oracle HRMS Legislative Data Patch Available (HR Global / hrglobal) Apply $PER_TOP/patch/115/driver/hrglobal.drv to the database tier. The error that occured during the installation was .. ATTENTION: All workers

  • How to use application builder to generate installation disk without compiling the the support files?

    Hello, What I am trying to do is to use LV application builder generating an installation disk without compiling the support files. I mean: the support fils like the help files are located on a different directory , for example, installation disk is

  • Action script 3: Export object to image with PNG format - make transparent

    Hi! I have a problem in export a object to image .PNG (and make transparent). When i add a object TextField in stage and add effect for my object. Then i export to image with format is .PNG.I use BlendMode.NORMAL properties of BitmapData to draw my i