QUERY VARIABLE TITLE ON WAD

Hi Guys
I Have to Enter the long description of an InfoObject  of my query as a title of the report on the WAD. can somebody help me here?
Thanx And Best Regards

A couple of helpful links.
Advance Web:
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b085e86e-2353-2910-0c96-9f6ab693d0e6
Blog on xpath:
Tips & Tricks when Printing to PDF in SAP NetWeaver 2004s BI
I have found it is easiest to write a javascript function that utilizes an xpath query that brings in the values I want, and then I can manipulate, format or whatever and then use a simple document.write to return it to the screen vs. the replacement example in the Blog above...and the SAP Help link below:
http://help.sap.com/saphelp_nw2004s/helpdata/en/44/7af8e5db0b6573e10000000a11466f/content.htm
If you want more in depth xpath query examples you can google it...there is a wealth of good examples out there.

Similar Messages

  • Search query variable not working

    Apologies for this essay but I felt it may be best if I include all the details in order to describe the issue I'm experiencing.
    I have two site collections in one web app called Library and Store respectively. The library site collection has a content type called Book which is made available to the Store site collection through the content type syndication. The Book content type
    has a site column in it called Book Author which is of managed metadata type (the term set has a few terms representing authors). The parent content type of the Book is the out of the box Article Page and the Store site collection has custom page layout associated
    with the Book content type.
    I then add a page and switch its page layout to my custom layout based on the Book content type and on the page, I put a content search web part. I have a managed property called BookAuthor which is mapped to the crawled property pointing at the Book Author
    field and this is where things start to go awry. The query I use in the content search web part looks something like this:
    ContentType:Book BookAuthor:{Page.Book Author}
    According to the documentation of the query variables and FQL (http://technet.microsoft.com/en-us/library/jj683123(v=office.15).aspx), this should return items that are of the Book content type where the BookAuthor is the value of the Book Author field on
    the current page that the content search web part resides on. In this case, my query returns no results. In order to test if it actually works, I manually typed in the value of the author for the BookAuthor property so it looked something like this:
    ContentType:Book BookAuthor:John Doe
    The second query returned the results I expected, but the first one didn't. I've come across a similar problem to  this and previously, I found out that SharePoint had duplicated the Book Author field in the content type such that one was named "Book
    Author" and the type showing was TaxonomyFIeldTypeMulti while the other one was named "Book Author_0" and the type showing was Note. I used the following powershell script to determine the names of the fields in the content type:
    $site = new-object Microsoft.SharePoint.SPSite("http://www.yousite.com/")
    $web = $site.OpenWeb()
    $list = $web.Lists["YourList"]
    $list.Fields | Format-Table Title, InternalName, TypeAsString
    Previously when I encountered this problem, I simply tried both fields and one would always work. For example, I would try BookAuthor:{Book Author} and BookAuthor{Book Author_0} and one of them would work. In this case, I've tried both and none of them seem
    to yield any results in my query. I noticed that I always seem to get duplicated fields only when I'm using columns of managed metadata type. I know my managed properties work because I can specify manual values and that yields the results I expect, but as
    soon as I try to use the query variable from the page fields, it doesn't work. Strangely enough, I can use the Title or any other non-managed metadata fields of the page in my query variable (e.g. {Page.Title}) and I can get results that way. I've done index
    resets and full crawls but nothing seems to fix this. Any help or insight on this would be greatly appreciated as it is driving me nuts!

    Hi,
    Please refer to the following post:
    Infoobject F4 help in the Query takes lot of time and hangs
    F4 Process takes a long time to show the values
    There are several SAP notes on performance improvement for F4 help as mentioned in the first post. You may refer to the SAP notes as well.
    Hope it helps,
    Thanks,
    Abhishek.

  • Variable screen in WAD

    i have couple of questions on variable screen while working with Web Application Designer
    1) i am using variables with multiple single entries in my query and when the variable screen in WAD is displayed i have something called insert row icon for each of the variable i used. i do not want to display this icon. is it possible. when i have a single mandatory variable i don't see this icon
    2) when i select a value for one of my variable, say for plant. then i only want the key to be displayed. whereas when i choose a particular plant i can see the key in the variable box and the text which describes the plant adjacent to the variable box. is it possible to display only key.
    3) i have something like this
    Plant     Description
    NJ         New Jersey (description is seen adjacent to the key in the variable box)
    now when i want to empty the screen and run the query for all plants i can delete the key but my description is still seen.
    any idea
    thanks

    thanks for your responses.  i have another problem which is similar to the above ones
    i have variables with multiple single values as optional. now in the variable screen if i choose to enter more than one value, lets say 2 values for the plant then i have two values and its text adjacent to the selection box.
    since i am using optional variable and if the user wants to run the report for all the plants then he comes back to the variable screen and has to empty the selection box. the problem is we can empty the selection box but we are not able to remove the text description adjacent to the selection box which the user says its confusing.
    is there any way we can get rid of it. may be when we refresh the variable screen can we write a code which simply displays the empty variable screen.
    any ideas gurus
    thanks

  • Text lines in the BW query variables screen

    Hi gurus.
    The bw users ask me to display some text lines in the BW query variables prompt.
    The text lines are saved in a custom table.
    The only idea that I've got is to use customer exit text variables and fill them in CMOD when I_step = 1.
    I don't like this solution (I should have more the 10 text lines and so I have to mantain more than 10 Text variables) but I can't find any other solution.
    Any new idea or solution?
    Is there in Bex enviroment a functionality (that I don't know) for doing somenthing like this ?
    Thanks fo any help.
    S.

    Hi,
    to resolve it you should create all the prompts in the BW query. You are using a query with 2 parameters and then a dynamic list of values. the dynamic list of values can only work after you entered the other values.
    Ingo

  • BW Query variable default value put in Crystal report variable question

    Why BW Query variable default value put in Crystal report variable for BO InfoView to open crystal report.
    I using Analyzer to open bw query,variables had default value ,but crystal report can't had variable default value ,and can't search variable  value.
    pho:
    [http://file.itpub.net/f/e38876ad4f6efb7e73980488e7d71f8d/4ae940e9/day_091029/20091029_2b04da1232144feba180OrB23SNvXtoT.gif/p/1.gif]
    [http://file.itpub.net/f/d93ddfe61e0eaf80429726c61f1a02ff/4ae940e9/day_091029/20091029_3211ffe04bf0302fbab5FRKnbwmH80p7.gif/p/BW_QUERY_Crystal.gif]
    Edited by: flying on Oct 29, 2009 8:20 AM

    I Know what to do .
    but Crystal report date variable value are Garbage characters "###".
    PHO:
    [http://file.itpub.net/f/39a8510104476707ae21c945db93ecba/4ae97949/day_091029/20091029_32dcbb7e7d99141483aesJ9KBJHXN0Kj.gif/p/2.gif]

  • Problem with Variable screen in WAD

    Hi ,
    I have a problem with variable screen in WAD , in the varable seen it is displaying only Key , it is not giving any description , but in BEX is is displaying both Key and Description , can any only have an idea why is this happening . this is occuring only for one variable , rest are working fine .
    Thanks,
    Abraham

    Hi Abraham,
    thsi could be a problem from the specisic setting of the infocube. Please check the BEx Settings from the infocube. You can find them by the following steps:
    - search for the infocube
    - doubleclick on the infocube
    - choose an specific infoobjekt
    - right mousebutton and click "specific dataprovider settings"
    - check if the right entries are set
    Hope this will help.
    André

  • How to Read Variable Values in WAD 7.0 Using JavaScript

    I found a how to: How to Read Variable Values in WAD 7.0 Using JavaScript on SDN.
    I get a Javascript error:
    bics.getElementsByTagName is not a function
    vars = bics.getElementsByTagName("VARIABLES")[0]; // <VARIABLES>
    Thats my script:
    function currency()
    var varnm = "SFS_CP_CURR"; // Name of the variable to be read
    root = document.childNodes[0]; // <HTML>
    body = root.getElementsByTagName("BODY")[0]; // <BODY>
    xml = body.getElementsByTagName("XML")[0]; // <XML>
    bics = xml.childNodes[0]; // <BICS_VIEW>
    vars = bics.getElementsByTagName("VARIABLES")[0]; // <VARIABLES>
    varl = vars.getElementsByTagName("VARIABLE"); // gives no. of variable in DP
    for ( i = 0; i <= varl.length; i++ ) // Loop one by one
    vari = vars.getElementsByTagName("VARIABLE")<i>;
    varnam = vari.attributes[0].text; // get variable name
    mem = vari.getElementsByTagName("MEMBER")[0];
    varval = mem.attributes.getNamedItem("name").value; // read variable value
    if (varnam == varnm) //check varname in loop needs to be read
    if (varval == "ZMON") // check for value1 and fire command1
    SFS_CP_M();
    if (varval == "ZKON") // check for value2 and fire command2
    SFS_CP_K();
    break;
    Where's the mistake?

    I'm afraid I haven't made my question understood clearly.
    What I am looking for is a method to get the value of variable inside excel (e.g. put it into a cell / range of a worksheet, so that we can reference it and use it as an input for planning function execution).
    Please advice.
    Thanks in advance,
    Shady

  • BW Authorizations - Query variable with processing mode as "customer exit"

    Hi,
    Iam new to BW authorizations and have not yet worked on customer exit before. I was going through the documentation at various sites but I could not get the end to end description on how the query process( when using a variable for an InfoObject) works in case of customer exit.
    Let's assume that I am using  a query variable with processing mode as "customer exit" and at the exit I  write some code to extract user's authorizations from a z table. if this is the case, then when an end user runs a query,how will the the system know what value needs to be filled in the variable for the requesting user. Are the user details  also sent to the code along with the query variable? If so how. If I mis-understood the process then forgive me and let me know the correct process.

    Hi!
    welcome to SDN!
    customer exit variables need programing by user. so if you create a customer exit variable, you got to right a program which extracts values into this variable. we can do what ever we want in program, SAP will not deal anything ´with customer exits.
    with regards
    ashwin
    PS n:  Assigning point to the helpful answers is the way of saying thanks in SDN.  you can assign points by clicking on the appropriate radio button displayed next to the answers for your question. yellow for 2, green for 6 points(2)and blue for 10 points and to close the question and marked as problem solved. closing the threads which has a solution will help the members to deal with open issues with out wasting time on problems which has a solution and also to the people who encounter the same porblem in future. This is just to give you information as you are a new user.

  • How to track query variable input in FM

    Hi All,
    There are a MultiCube1 and a Query1 based on it.
    There is Virtual Infoprovider1 based on Query1.
    And finaly there is a Query2 based on Virtual Provider1.
    How to check inputed variables of Query2 in FM for Virtual Provider1.

    Hi,
    there is no way to read query variables in the is_protected method, since data slice run time and query run time are separated.
    Of course you can do the 'usual' trick by implementing an exit variable, export some variable values to memory and read it in the is_protected method.
    But is_overlapping is the correct method to read the used selection (of a query of planning function filter) to do some initializing work. This method is called when a function is processed or a query will be opened. Is_protetecd is called on a record basis, i.e. maybe very often.
    Regards,
    Gregor

  • Query rule using query variables

    Hi All,
    I am working on a query rule in SharePoint 2013. I am trying to build a query text using query variables to provide profile based results to the users. The query text which I am using in the query builder is of the following format:
    {SearchBoxQuery} CombinedLanguage:{User.PreferredContentLanguage}
    but its not taking the user.preferredcontentlanguage value. Has any one worked on similar type of query rules using query variables? Please share your suggestions.
    Thanks !!

    Hi,
    As I understand, you cannot get the user.preferredcontentlanguage value.
    1. Make sure you have set the value of query variable {user.preferredcontentlanguage}, it will return -1 if not set.
    2. Make sure you search in the right result source.
    3. Please check the crawled property mapped to the managed property CombinedLanguage and make sure that there is at least one value indexed by the crawled property equal to the {user.preferredcontentlanguage}.
    The article below is about the query variables.
    https://technet.microsoft.com/en-us/library/jj683123.aspx
    The article below is about the different query variables return different result examples.
    http://techmikael.blogspot.in/2014/05/s15e03-query-variables-constant-trouble.html
    Best regards
    Sara Fan
    TechNet Community Support

  • BEx: How to change a Query Variable that is not visible in Filters List?

    Hello Experts,
    Good day, I'm currently editing an old query, I am changing the Query Variables with new ones, but I found one variable that I cannot replace.
    Please see the screenshot below, in the Query Properties Window [Variable Sequence Tab (right side of picture)] the Variable that I am trying to replace (Unit) is visible. But when I look for the variable in the "Filter Tab" (left side of picture) under Characteristic Restrictions, it doesn't exist in the list.
    How can I find this Variable and replace it with a new one?
    Other reports are still using this variable so it will impact the other reports if I simply edit the variable. So I need to replace it with a new variable instead.
    Thank you for your time.

    Hi,
            SInce you are searching for a variable for Unit, look into below screenshot and navigate to the variables.
    First click on drop down and select 'Entry for variable' then you will get lisl (after you click on drop down in 'Target Unit' drop down option.
    Normally these type of variable called 'Formula Variable' try editing any of the formula and locate the option as shown below,
    Hope it helps! don't forget to update the final solution and mark the correct/helpful answers.
    Remember it will help others to find the solution and motivate the members to answer your question.
    Thanks,
    Umashankar

  • How to enable wild search(*) on a query variable

    how to enable wild search(*) on a query variable?

    Prakash,
    When you build the variable, what did you use as the "Processing By"? Were there any other special options you had to use to get it to work....This is something our client base would love to use....
    Thank you in advance...
    Jim

  • Table name where query variables stored

    Hi All,
    can any one please tell me in which data base table all the custom query variables are stored???

    Hi Pousali,
      Check RSZGLOBV.
    Hope it Helps
    Srini

  • Query variables for 0CALDAY

    Hello gurus,
       I´m trying to create a query variable that shows the last calendar day(infoobject 0CALDAY) in the previous year, current year, next year. I´m not finding these variables in Business Content. Does anybody know any variable for this? If I gonna need to create a user exit for this, where should I put the result of the ABAP program?
    Thanks,
    David.

    Hello David!
    Yes, you must create user-exit variable for this.
    Go to transaction CMOD and find or create project with RSR00001 enhancement ("BI: Enhancements for Global Variables in Reporting"). After that edit ZXRSRU01 include in function EXIT_SAPLRRS0_001.
    Add to ZXRSRU01 code for you user-exit variable. For example:
        WHEN 'ZB_DATE_LASTMINUS1'.
          LOOP AT i_t_var_range INTO wa_range WHERE vnam = 'ZB_FISCYEAR_M1S'.
          ENDLOOP.
          n4 = wa_range-low.
          n4 = n4 - 1.
          CONCATENATE n4 '1231' into l_s_range-low.
          APPEND l_s_range TO e_t_range.
    in example ZB_FISCYEAR_M1S - variable for manual input on 0fiscyear characteristic.
    ZB_DATE_LASTMINUS1 - user-exit variable. calculate last day for input year - 1.
    Anton.

  • WebI Prompts using BEx Query Variables

    Hello,
    I have the following issues with WebI report selection input paramaters (prompts) that use BW BEx Query variables. Could anyone please assist?
    Issue 1:
    The WebI report has one mandatory and two optional input paramaters (all paramaters from BW BEx Query). When I execute the report via WebI rich client directly, enter the value for mandatory input parameter and leave blanks for both optional input parameters, the report ran OK and has no issue. However, when I ran it through CMC a strange thing happen: I could not select the value for mandatory input paramater as it requires to have values for both optional input paramaters first (which I wish to have them blank and optional). When I refersh values for the mandatory paramater, it says "List of Values for current prompt requires values for following prompts:...(ie. the two optional parameters).
    Anyone has any idea - it seems like it is a CMC issue for the WebI...
    Issue 2:
    Take the same WebI report above, the issue here is the order sequence of the prompts (ie. the selection input parameters). How can we change/control the sequence of the prompts? Whatever sequence of the varaiables (input paramters) in BW BEx Query, the WebI ignores it. Please advise.
    Thanks & Regards,
    Andy

    I did not see separate thread for issue #1, therefore I'll us this thread.
    I am running into similar issue when I get an error message ''List of Values for current prompt requires values for following prompts: <Name of the prompt>".
    We are using BO V4, SP2, Patch 10 with SAP BW as DB via BEx queries.
    I opened support ticket for this issue since obviousely it's still an issue after applying patch 10.
    It's not an issue when 'Rich Internet Application' option is selected to view report in 'Reading' mode (via Launchpad Preferences then Web Inteligence; defautl value for viewing is 'Web').
    I have not tried to use Client tools but even if it works with Client tools - it is not a solution for us. Our company does not plan to install client tools on end user computers.
    Bigger issue us is that report scheduling invokes Web version (not Rich Internet Application). Therefore we cannot schedule report that is giving us problem described. I tried scheduling report from Launchpad and from CMC and both game me error highlighted.

Maybe you are looking for

  • Sharepoint Workflow : how to get document full path + file name into variable?

    Hi, Anybody knows how to get document full path + file name into a variable in Sharepoint 2010 workflow? Example http://sp1:80/InvoiceQueue/Shared Documents/123.pdf I am using List Workflow which links to a document library.

  • Xcode/AppleScript App - bring window to front

    i have built an xcode/applescript wrapper application which executes a unix shell script. while the shell script is running (downloading + installing stuff, takes several minutes), the wrapper application is displaying an animated NSProgressIndicator

  • Cisco Firewall Module 6509

    Hi there, I'm encountering a problem uploading a file when passing through the firewall module using a .NET application. Without passing through the firewall module, it only takes about 3 seconds for a 1mb file, however when passing through the firew

  • Photoshop CC cannot connect to server

    I have recently started getting repeated messages under the Libraries tab saying "Sorry, we cannot connect to the server" with the option buttons Retry and +Create New Library. I am unable to find the implications of this and when I select either opt

  • My itunes shuts down as soon as i open with a error message from windows

    as soon as i open itunes windows automatically shuts it down ive tried un-installing all apple products off my computer and re-installing but no joy ive deleted any software that i think may have corrupted it, and even tried running in safe mode but