Reagrding BW Query URL

Hi all,
I am trying to publish BW reports in portal through import of roles to portal.I am just adding the queries to role and then uploading the role to portal.
For this i got the below steps-
1. Edit the role in question
2. Go to the tab "Menu" and click on button "Other"
3. Add "BW Query URL" from the list.
I am not clear with point 3 cause when i select BW Query URL and the help button it takes me to my desktop.
PLs guide me with point 3,and also if possible steps to upload BI roles to portal.
Thanks,
Rajendra

Dear Rajendra,
It is for sure that you cannot use the searchhelp to fill in the BEx Query URL. I do not know why it is pointing to the desktop, but it is better to fill it in manually.
If you are using BI 7.0, you can use function module RSWR_GET_DEPLOY_PORTAL_INFO to get the exact adress for you portal. If you add '/irj/portal' to it, you will get to the login screen.
The complete URL can also be found when you execute the query from the BEx Query Designer. It should look something like this:
http://<hostname>:<port>/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?QUERY=<queryname>
Please keep in mind that the role menu is removed as a web item in BI 7.0, because BI is more integrated with the portal. The role menu can only be accessed/used via the BW3.5 tools (like Web Application Designer).
Best Regards,
Steven Groot

Similar Messages

  • SAP BW Query URL question.

    Hello,
    In our company, we use security roles to publish our BW Queries. We do this by inserting a SAP BW Query URL using pfcg tcd. This is working well as long as you don't have a URL string bigger than the content of the Object description and continuation box.
    Does anybody has an idea in the way we can insert a bigger URL in the role.
    Tanks a lot.
    Stéphane.

    You could try a few things...
    1) Try using a query view
    2) Update the underlying table using open sql ( not recommended)
    3) Create a new template which redirects the page to another page and point your role entry to this new template.
    Code for the new template
    <html>
    <head>
    <title>Redirecting...</title>
    <meta http-equiv="refresh" content="0; url=insert your really long url" /> 
    </head>
    <body>
    </body>
    </html>

  • Build/call Query URL with selections using JavaScript???

    I have created a web query to list specific materials and each row has a checkbox for the user to select which materials they would like to work with.  Once they push the "Submit" button I have collected the materials they selected into a Javascript array. 
    I would now like to call a different query with the materials selected as a filter.  Can anyone show me how to build an URL to call the query and use the materials as a filter?  There could be 10 or 20 selected materials...
    Thanks for any direction you can provide!

    Hi,
    the form should look like this:
    <form action="<SAP_BW_URL>" method="post">
    <input type="hidden" name="CMD" value="LDOC"/>
    <input type="hidden" name="QUERY" value="yourQueryname"/>
    <input type="hidden" name="INFOCUBE" value="yourInfoCubename"/>
    <input type="hidden" name="FILTER_IOBJNM" value="0MATERIAL"/>
    <input type="checkbox" name="FILTER_VALUE_1" value="Mat1"/>
    <input type="checkbox" name="FILTER_VALUE_2" value="Mat2"/>
    <input type="checkbox" name="FILTER_VALUE_N" value="MatN"/>
    <input type="submit" value=" Submit "/>
    </form>
    form Method has to be post because of url length restriction!
    Heike

  • URL for query

    Is is true that when queries are saved in roles, URL for display of the query in the WEB is created?
    If yes , where I can see this URL.
    Thanks

    Hi,
    If you have a  Browser, you can see the query URL through that. Or the simplest way is to hit the publish query button in Query designer and in the address bar of the Web browser window you get the URL.
    Cheers,
    Kedar

  • Use of Global Properties in URL path of XML Query

    I am trying to use global properties to define the URL of XML query:
    Globals.ImageFilePath&"SomePath/\File.xml"
    but it does not like it. If I put the content of the Globals.ImageFilePath it works fine. What is the synatax for that?
    I am using the XML query in a transaction within an image creation action block. When I try to define the URL parameter of the XML file as a link, it is not taken on account, and the image created has no data (it is empty). The URL is taken when defined on the Cofigure Object screen, but there I have the same problem to use the global variable parameter.
    Any suggestions?
    Thanks,
    Vlad
    Edited by: Vladimir Baltchev on Jul 29, 2008 11:33 PM
    Edited by: Vladimir Baltchev on Jul 29, 2008 11:40 PM

    As I mentioned in my first posting, yes, I can put the global variable of the link editor for the URL parameter, it evaluates well, but it is not taken on account by the query, and the image generated is empty. Obviously there is a bug here, so I am trying to find a work around to use the global variable on the Configure Object screen, where the parameter URL is taken by the XML query, but on this screen I can not use the global variable. It works only if I put the content of the global variable.
    So, does anybody know if we can use global variables on a Configure Object  screen, or on the XML query URL field, and if so, what is the syntax to indicate global variable?
    Thanks again,
    Vlad

  • Setting a bind variable in a Shared Component Report Query

    I have defined a Shared Component Report Query in APEX using a bind variable similar to below
    Select name, id , ....
    from asset
    where id = :id
    I have also created a Report Region that displays a table where one of the columns contains a value I would like to be a link column that can launch the Report Query and pass its value to the bind parameter :id in the report query. This in turn would generate a pdf report for the details associated with that column. I am having problems setting the :id bind parameter. How do I do this?
    Can anyone help?
    Thanks

    The bind values are set from session state. So if try something like this:
    Select name, id , ....
    from asset
    where id = :P1_ID
    With P1_ID being a page item, for which you set the session state / value before generating the PDF file. So assuming you already have a page with a report and a page item, and that page item is already used in your report, then you could just create a button to download the PDF, make sure the button is a submit button, and create a branch pointing to the report query URL (or in 3.1 use the create button wizard, to do this declaratively.)
    Regards,
    Marc

  • URL syntex for XML queries

    Hi all,
    I am using MII 12.1 and facing a problem with xml query url syntex.
    suppose my project folder name is "X" and my tag query name is "Y"
    so what is the syntex of url url in XML query for above query?
    Edited by: Manoj Bilthare on Jul 28, 2009 11:39 AM

    Dear Jeremy,
    Path: ActivePortal-->ActivePortalMonitor
    Actually in active portal there is a transaction "ActivePortalMonitor" by which we can insert data for alert log and metrics.
    So in Metrics there are some formula to calculate metrics which we defined in "metric editor".
    I need to use "calculated columns" action block for these metric calculation and this action comes under "XML functions "
    thats why i require XML Query in case of tag query.
    It may be that i am not able to explain you clearly so for better understanding please refer
    "ActivePortal-->ActivePortalMonitor.trx" in "active portal" project.

  • How to use OData Date filter query to filter data from OData NetWeaver Gateway Service?

    Hello,
    I am trying to use the OData Filter query. to filter data records from the OData Service, using Date range for filters.
    Please check the below URL for the SAP's sample OData Service, with filter option.
    Service Query URL :
    https://sapes1.sapdevcenter.com/sap/opu/odata/sap/ZGWSAMPLE_SRV/SalesOrderCollection?$filter=CreatedAt eq DateTime
    It gives out following error :->
    <message xml:lang="en">'$filter ' is not a valid system query option</message>
    Please let me know, if there is any mistake in the Query or is there anything that needs to be done on the
    Backend  Service.
    Thanks & Regards,
    Suraj Kumar

    Hi Jitendra,
    Once again, thank you for your help.
    I am able to filter the records using a date range.
    I am sharing the information, just in case anyone out there might need it.
    The OData Filter Query for Date Range (i.e. with Two date values) will return the results only if the OData Back-end Service is modified to accommodate such filter requests.
    This has to be done in ABAP.
    Please refer the following links which talks more about the Back-end ABAP Service being modified to ensure that the service returns records of data, as per the date range filter query
    http://scn.sap.com/thread/3170195
    http://scn.sap.com/blogs/lindsay.stanger/2012/12/29/gateway-odata-calls-convert-ivfilterstring-to-itfilterselectoptions
    http://scn.sap.com/thread/3173146
    Hope these links are helpful for those looking for OData Date Range filter query.
    Do let me know.
    Regards,
    Suraj Kumar.

  • Dynamic Reports. Runtime parameter passing to Report Query.

    Hi everyone,
    I have developed a report using apex shared components (report query and report layout) along with BI Publisher for report printing in pdf format. the Report template is built using Template Builder for Word. I have configured my Apex4.1 env with BI Publisher 11.
    This report is working fine for hardecode ID ( like REQUEST_ID=10 ).
    to make report dynamic i have made following additions in the report
    I have added
    where clause in report query as WHERE REQUEST_ID = :REQUEST_ID (:REQUEST_ID is the text field in my page).
    Added a text field names :REQUEST_ID to get user input at run time.
    Create a button and add Repot Query URL in its properties.
    When i run the report with some valid value in :REQUEST_ID text field  i did not get expected result infect there is no record getting displayed in the PDF file.
    i think this is not the write way to do this but interestingly im not getting any error.
    please can someone guide me that how can i get this functionality in apex this way or the other ?
    Best Regards.

    Hi,
    the online help will help you on how to build a parameter list at all. For your desired functionality, all you need to do is to have the user pressing a button after he selected the parameters he want to assign values to and then create the parameter list in a PSLQL program unit in Forms.
    Frank

  • Query execution takes long time

    Hi All,
    I have one critical problem in my production system.
    I have three sales related queries in the production system and when i try to execute it in the BEx analyser(in Microsoft excle) it will take too much time and at last it will give am error that "Time Limit Exceeded" .
    Actually we have created these three queries on one Infoset and that Infoset contains three DSOs and two master data.
    Please give me the proper solution and help me to solve this production problem.

    Dear James,
    first give some filter conditions on the query and try to restrict for lesser volume of data.from the message it is evident that may be you are trying to fetch large volume of data.so please execute the query once in RSRT and try to find the solution in that.there you can get all the statistics reagrding the query.if still you cant find please let me know the message you are getting in RSRT.then we can give a viable solution for that.
    hope you might aware of all the options reagarding RSRT.
    assign points if it helps..
    Thanks & Regards,
    Ashok.

  • Why URL column in WWSBR_ALL_ITEMS is empty for url item type??

    I tried to query url of the url item from WWSBR_ALL_ITEMS, but url doesn't return anything. Did I queried wrong table? Can someone please let me know how to find the actual url(such as http://www...) for the url item type. Thanks!

    I don't remember exactly where I got this solution -- I think it was from a TAR -- but I have the following comment on the copy of WWSBR_ALL_ITEMS that we use to replace the one that ships with Portal 3.0.9.8:
    "The join between WWV_THINGS(t) and WWSBR_URL$(u) is defined as t.url = u.url(+). The join should be t.id = u.object_id(+)"
    I haven't looked at the type stuff in a while, but I remember that we used the subtype to identify things when we were working with that view.

  • Display BEx query in iFrame (non portal)?

    Hi,
    We're currently having trouble displaying a BEx query URL in an iFrame outside of the portal.   Meaning, we have a different application web server that is attempting to point to the URL from the SAP server. 
    When we simply paste the URL in the web browser, it's not a problem; so the URL is ok.   However, when we include the URL in an iFrame, the portal login screen appears, but soon after you log in, the page loops infinitely through the same request and never gets to the intended page.
    Has anyone run into a solution for this situation?
    Thanks

    Hi,
    Check this link....might be useful to ur reqq..
    Access BEx Queries through non-SAP Portal
    http://help.sap.com/saphelp_nw2004s/helpdata/en/43/d08b00d73001b4e10000000a11466f/content.htm
    Hope this helps u..
    Best Reards,
    VVenkat..

  • BW/query Authorizations

    We are implementating BW MM. As a part of planning phase we are trying to find out the authorization needed for Users. Requirement comes from user is to restrict queries at Plant/Sloc/Porg/Pgrp level.
    What my understanding about authorization is here
    Use Object S_RS_COMP to restrict at infoarea and query level, not very sure how S_RS_COMP1 works (pls explain)
    Use RSSM to create customized objects and add above char. This object will later be added to the profile and values will be assigned accordingly.
    Now q has asked, how to give user to only run the reports.
    1. Is it by giving Bex access and restrict at infocube and query level and then to char level (I think covered above)
    2. Use Bex Browser to give link for queries (by running on web copy and paste link in the role)
    3. Give authorization for workbook
    I am not very familiar with 2 & 3rd option. Pls advise
    Is there anything that I missed?
    Thanks in advance
    Alok

    Hi Rohini,
    The note 588144 says:
    <b>Symptom</b>This note describes how as BW queries can be entered in roles.
    If you are unable to open queries in the BEx Analyzer or the BEx Query Designer using the Open dialog box in the roles view, the problem described below may be occurring in your system.
    Similarly, this problem may the reason why short dump XXX appears in the the system log.
    Other terms
    BW, BEx, 20B, 21C, 30A, 30B, in 310, relative addressing
    <b>Reason and Prerequisites</b>
    BW 3.0B and higher
    The URL on the BW query was probably created manually in role maintenance as follows:
    1. Call role maintenance (transaction PFCG)
    2. Enter the role and select Role/Change in the menu
    3. Selecting the "Menu" tab
    4. Click on the "+ Other" switch
    5. Select the "SAP BW query URL" field
    6. Enter the description in "Text"
    7. Enter the URL in "Object Description" (use both input fields if necessary)
    Creating the URL using the following steps is also <b>incorrect:</b>
    1. Call role maintenance (transaction PFCG)
    2. Enter the role and select Role/Change in the menu
    3. Select the "Menu" tab
    4. Select switch "+ Report"
    5. Select selection field "BW Report" (this is only suitable for BW workbooks; see note 570632)
    6. ...
    If you create the entry manually, the corresponding entry in table AGR_HIER will not contain any value in the SAP_GUID field.The field SAP_GUID usually contains the query's GENUNIID.The query <b>cannot be opened</b> because of the missing SAP_GUID value.See the section on the correction of manual entries under "Solution" below.
    For information on entering URLS manually, see note 400348.
    BW 2.0B/2.1C
    Saving URLs in roles is not supported in BW 2.0B/2.1C.
    <b>Solution</b>
    Creating BW Queries in Roles with the BEx Query Designer
    The BEx Query Designer allows you to select a role when you save URLs.
    Creating BW Queries in Roles with the Open Dialog Box in the BEx Analyzer and the BEx Query Designer
    The Open dialog box has two switches - "Enter in Role" and "Add to Favorites", which allow you to enter a BW query in a role.
    Creating BW Queries in Roles with the Bex Browser
    The BEx Browser allows you to copy BW queries bewteen different roles, within a role and to your favorites using Drag&Drop.
    Correcting Incorrect Entries in BW Queries
    You can only correct incorrect entries in BW queries with help from SAP.
    With rgds,
    Anil Kumar Sharma .P

  • Query builder performance

    Hi
    I'm running into very big performance problems with QueryBuilder.
    I'm using asset viewer to browse my CQ DAM images. We have loaded more than 100.000 images... all of them are tagged.
    Launching an http request like the following one:
    http://localhost:port/bin/querybuilder.json
    ?_charset_=utf-8
    &_dc=1332289410422
    &fulltext=
    &1_group.property.3_value=tag1
    &1_group.property.29_value=tag2
    &1_group.property.30_value=tag3
    &1_group.property.31_value=tag4
    &1_group.property.32_value=tag5
    &1_group.property.33_value=tag6
    &1_group.property.34_value=tag7
    &0_group.property=jcr%3Acontent%2Fmetadata%2Fcq%3Atags
    &0_group.p.or=true
    &1_group.property=jcr%3Acontent%2Fmetadata%2Fcq%3Atags
    &1_group.p.or=true
    &p.limit=24
    &2_group.0_path=%2Fcontent%2Fdam%2Fmyfolder%2Fimage%2Fprodotto
    &3_group.0_type=dam%3AAsset
    &mainasset=true
    &p.hitwriter=full
    &p.nodedepth=4
    &orderby=path
    &p.offset=0
    it is going to take a *lot* of time (22 minutes!). This query has 36.000 results... but they are paginated... It's not possible to wait 22 minutes to get the first page of results... so I think I'm making some mistakes in the query, but cannot find anything to make it better following the documentation.
    How can I improve performances?
    Thanks
    Ignazio

    Hi Alex.
    Yes, the order by may be consuming and I already removed it in the past. I have removed it again, but it is not the dominant.
    It's difficult for me to explain to a client that with asset viewer (using querybuilder) he has to wait for a very long time to get the first 24 results of a set of 20.000 matches in a 120.000 image repository.
    I can understand I need to wait a lot of time to get all the 20.000 matches, but I'm asking only for the first 24 (the first page) setting p.limit = 24.
    Here the debug for the query I'm referring to:
    21.03.2012 13:18:41.613 *INFO* [172.31.2.2 [1332332321612] GET /bin/querybuilder.json HTTP/1.1] com.day.cq.search.impl.builder.QueryImpl executing query (URL):
    0_group.p.or=true&0_group.property=jcr%3acontent%2fmetadata%2fcq%3atags&0_group.property.0 _value=immaginegenerale&1_group.p.or=true&1_group.property=jcr%3acontent%2fmetadata%2fcq%3 atags&2_group.0_path=%2fcontent%2fdam%2fimage%2fprodotto&3_group.0_type=dam%3aAsset&fullte xt=&fulltext.relPath=jcr%3acontent%2fmetadata%2f%40dc%3amarketingdescription&mainasset=tru e&p.hitwriter=full&p.limit=24&p.nodedepth=4&p.offset=0
    21.03.2012 13:18:41.613 *INFO* [172.31.2.2 [1332332321612] GET /bin/querybuilder.json HTTP/1.1] com.day.cq.search.impl.builder.QueryImpl executing query (predicate tree):
    ROOT=group: limit=24, hitwriter=full, nodedepth=4, offset=0[
        {fulltext=fulltext: relPath=jcr:content/metadata/@dc:marketingdescription, fulltext=}
        {mainasset=mainasset: mainasset=true}
        {0_group=group: or=true[
            {property=property: property=jcr:content/metadata/cq:tags, 0_value:immaginegenerale}
        {1_group=group: or=true[
            {property=property: property=jcr:content/metadata/cq:tags}
        {2_group=group: [
            {0_path=path: path=/content/dam/image/prodotto}
        {3_group=group: [
            {0_type=type: type=dam:Asset}
    21.03.2012 13:18:41.615 *INFO* [172.31.2.2 [1332332321612] GET /bin/querybuilder.json HTTP/1.1] com.day.cq.search.impl.builder.QueryImpl xpath query: /jcr:root/content/dam/image/prodotto//element(*, dam:Asset)[((jcr:content/metadata/@cq:tags = 'immaginegenerale'))]
    21.03.2012 13:18:44.078 *INFO* [172.31.2.2 [1332332321612] GET /bin/querybuilder.json HTTP/1.1] com.day.cq.search.impl.builder.QueryImpl xpath query took 2465 ms
    21.03.2012 13:18:44.078 *INFO* [172.31.2.2 [1332332321612] GET /bin/querybuilder.json HTTP/1.1] com.day.cq.search.impl.builder.QueryImpl filtering predicates: {mainasset=mainasset: mainasset=true}, , , ,
    21.03.2012 13:22:16.394 *INFO* [172.31.2.2 [1332332321612] GET /bin/querybuilder.json HTTP/1.1] com.day.cq.search.impl.builder.QueryImpl >> xpath query returned 20117 results (counted)
    21.03.2012 13:22:16.395 *INFO* [172.31.2.2 [1332332321612] GET /bin/querybuilder.json HTTP/1.1] com.day.cq.search.impl.builder.QueryImpl filtering took 212317 ms
    21.03.2012 13:22:16.395 *INFO* [172.31.2.2 [1332332321612] GET /bin/querybuilder.json HTTP/1.1] com.day.cq.search.impl.builder.QueryImpl >> after filtering there are 20117 results
    21.03.2012 13:22:16.397 *INFO* [172.31.2.2 [1332332321612] GET /bin/querybuilder.json HTTP/1.1] com.day.cq.search.impl.builder.QueryImpl entire query execution took 214784 ms
    As you can see all the time is spent on the filtering predicates.
    Is there a way to cut down significantly this time? or is it possible to distribute this effort only during pagination?
    in a db-like approach I would have done a sql  SELECT COUNT followed by a SELECT LIMIT 0,24... for sure taking a portion of this time.
    Thanks
    Ignazio

  • Need a regular expression for URL

    Regular expression: ^(udp|norm)://(?:(?:25[0-5]|2[0-4]\\d|[01]\\d\\d|\\d?\\d)(?(?=\\.?\\d)\\.)){4}:(6553[0-5]|655[0-2][0-9]\\d|65[0-4](\\d){2}|6[0-4](\\d){3}|[1-5](\\d){4}|[1-9](\\d){0,3})$
    Source: udp://125.3.4.121:23456
    Getting error:java.util.regex.PatternSyntaxException: Unknown inline modifier near index 54
    ^(udp|norm)://(?:(?:25[0-5]|2[0-4]\d|[01]\d\d|\d?\d)(?(?=\.?\d)\.)){4}:(6553[0-5]|655[0-2][0-9]\d|65[0-4](\d){2}|6[0-4](\d){3}|[1-5](\d){4}|[1-9](\d){0,3})$

    paulcw wrote:
    I can't help wondering if a simpler solution would involve creating a java.net.URL object, passing it the string to be checked, and let URL do the parsing and an initial pass at checking the syntax. Then you could query URL for individual components for further checking (e.g., getting the transfer type to make sure it's one of the kinds you want). This approach would probably be more self-documenting, if nothing else.Nice idea, but java.net.URL doesn't actually do much work at all. It basically takes the protocol part, looks up a handler for it, and delegates everything else to that. The handlers themselves are down in the sun packages (or whatever your Java impl is) and since there isn't one for the OPs protocol, he'd have to write and register his own anyway, which kind-of negates the entire purpose of leveraging it.
    @OP: Paul's suggestion can still be of use. Apache, Codehaus and the like will have written their own protocol handlers, it's worth grabbing the source code for, say, Apache HttpClient, and seeing if they've got anything useful in there. Then again, who's to say that what's a valid URL for this 'norm' protocol, other than whoever designed the protocol?

Maybe you are looking for

  • Getting Error Message in Catch ALL block

    I want to get the error message in the CatchALL block Can anybody tell me the way how to catch the exception details in CatchALL block. Some of the exceptions are not caught by CatchALL.Can anybody tell me what are the limitations on CatchALL blcok.

  • Restoring desktop from backed up user folder - Time machine doesn't ??

    I need to restore my desktop from a backed up copy of my user files. Went to the Genius Bar and discovered my disk was failing (Apple replaced it at No Charge! kudos) The Genius backed up my files to a folder on my external hard drive before replacin

  • Problem with Function Module

    Hi Friends, im calling a fm(SD_DELIVERY_UPDATE_PICKING_1) to update the picking quantity during delivery creation wn ever sto is saved,inside a badi(LE_SHP_DELIVERY_PROC).Now the controll is not comming out of the code. method IF_EX_LE_SHP_DELIVERY_P

  • Combine two large documents fails

    I have two large PDF files with multiple embedded videos. One is 1GB and the other is 2.12GB. When I try to combine them and save, the save fails with a message: "The Document could not be saved. The file is too big." This has happened in two compute

  • Userexists (MV45AFZZ - FORM USEREXIT_MOVE_FIELD_TO_VBKD.)

    Hi Gurus, The requirements is as like below and plead guide me where i am doing mistake in below coiding. If sales order required delivery date (VBAK-VDATU) is LT Document create date7days(SY-DATUM7) and next condition is item required delivery date