Display interval variables value in BeX

Hello Gurus,
I am using Bex BI 7.0 to build my reports. I can't see how to display the value of variable values I have selected in the beginning of the query.
To clarify with an example I want to choose the period from January to March and to display this selection in the report I have built.
The only way I was thinking about was to create a Text variable to display in the title of the query but I noticed it displays only single value and don't manage interval like these.
Is there any other tricks?
Thanks in advance
Massimo

Very good Jaya. I have solved my problem and I rewarded it. The only problem that still remains with this feature is that in a query I use a filtered key figure to obtain cumulated value for period. The "from period" is fixed (january) and the "to period" is given by my period variable.
I noticed that in this case the text variable return me no value. Is there any another trick to manage text variable in filtered key figure like that?
Regars
Massimo

Similar Messages

  • Display of variable value / Bex Web Apllication Designer

    Hello everyone,
    I am using the Bex Web Application Designer to broadcast a report in PDF format.
    In my WebTemplate, in the Info_Field_Item, i have to display a variable value : Company code.
    My problem is in the PDF generated.
    When the number of company code is 4, the result in the PDF is like this:
    Company code : Company1; Company2; Company3; Company4.
    But, when the number of companies is more than 4, for example 8, the result in the PDF is displayed like this:
    Company code : Company1
    Company code : Company2
    Company code : Company3
    Company code : Company4
    Company code : Company8
    It makes a problem of harmonization of reports, i tried many tests, but the result still the same.
    Please, can somone knows how to change it, the PDF result must be like this way (watever the number of companies):
    Company code : Company1; Company2; Company3; Company4; Company5; ...; Company8
    Thank you and have a nice day,
    Best regards.
    Amine

    I found an interesting link about creating Print versions of BI Applications.
    Here, the link, hope it helps:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/43/68ce8391886e47e10000000a422035/content.htm
    I made many tests in the Bex Broadcaster, but always the same issue.
    Also, i modified the size of the INFO FIELD ITEM, but it changes nothing in the final result.
    May be, there is a solution by modifiying the XHTML generated code in the Bex Web Applicatin Designer, especially the concerned line, but i don't knwo how to do, may be somone?
    the concerned line is like this:
    <bi:INFORMATION_ELEMENT_LIST type="ORDEREDLIST" >
                            <bi:INFORMATION_TYPE type="CHOICE" index="1" value="VARIABLE" >
                                <bi:VARIABLE value="AB_COMPANY" text="Company Code" />
    I am waiting your answers
    Best regards,
    Amine

  • Unable to display a variable value in xml through xsl using coldfusion

    Hi ColdFusion Heroes ,
    Is their any one to help me in this issue . I am new to cold
    fusion , XML and XSL .
    Detail Explaination :
    develoment_files.cfm is a .cfm page , which includes an xml
    page .
    development_files_dropdown.xsl is a xsl page .
    develoment_files.cfm : Code is as follows .
    <CFDIRECTORY ACTION="LIST" DIRECTORY="#somepath#"
    NAME="DirContents" FILTER="p*">
    <CFQUERY DBTYPE="query" NAME="Files">
    SELECT *
    FROM DirContents
    WHERE Type = 'File'
    </CFQUERY>
    <CFOUTPUT><?xml version='1.0' encoding='UTF-8'?>
    <?xml-stylesheet type="text/xsl"
    href="../XSL/development_files_dropdown.xsl"?>
    <Test xmlns:xsi='
    http://www.w3.org/2001/XMLSchema-instance'>
    <CFLOOP QUERY="Files">
    <Directory>
    <DisplayName>#Name#</DisplayName>
    <FullPath>#Name#</FullPath>
    </Directory>
    </cfloop>
    </Test></CFOUTPUT>
    This file generates a query resulting files starting with p*
    and then it should be a file and manipulates in xml.
    development_files_dropdown.xsl pages is as follows.
    <?xml version='1.0'?>
    <xsl:stylesheet version="1.0" xmlns:xsl="
    http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="html" indent="yes"/>
    <xsl:preserve-space elements="*"/>
    <xsl:template match="/">
    <xsl:apply-templates/>
    </xsl:template>
    <xsl:template match="Test">
    <B>Script Name: </B>
    <select name="T1_Dev_Script" CLASS="DevInput">
    <xsl:for-each select="Directory">
    <option>
    <xsl:attribute name="value">
    <xsl:value-of select="FullPath/text()"/>
    </xsl:attribute>
    <xsl:value-of select="DisplayName/text()"/>
    </option>
    </xsl:for-each>
    </select>
    </xsl:template>
    </xsl:stylesheet>
    This is only for the purpose of display .
    Now i want to get one particular file named "pfile" { Code is
    written in development_files.cfm page and kept it in a variable } I
    want to display it in #Name# filed. how can i do that ? I am
    getting XML Parsing error from javascript .
    Could any one look into this .
    Thanks & Regards,
    Nataraj G

    The first part is right -
    1) drag a text element onto the page, at a location in which you want the variable value to be displayed
    2) On the left hand bottom page - go to the web item properties for the text element
    3) scroll down to the specific properties for the item - in that uncheck the first two check boxes - display general text elements & display static filter values
    4) in the next item in the properties (List of text elements) click once on the box where List is written and then clcik on the small browse button that appears.
    5) in the window that opens, in the element type field, select variable/variable value as key (as per your requirement) and then under the element ID field type in the technical name of your variable that you want to display.
    click ok and save your template and try executing it.
    See if this solves your problem.
    regards,
    Nikhil

  • How to display a variable value in WAD?

    I am using a replacement path variable to filter a report by project number. While this works fine, the project number is not easily visible (only via Filter -> Display All Filter Values and this only displays the description, not the key).
    How can I display the key and the description of the project number variable at the top of the report?
    Thank you,
    Dennis

    The first part is right -
    1) drag a text element onto the page, at a location in which you want the variable value to be displayed
    2) On the left hand bottom page - go to the web item properties for the text element
    3) scroll down to the specific properties for the item - in that uncheck the first two check boxes - display general text elements & display static filter values
    4) in the next item in the properties (List of text elements) click once on the box where List is written and then clcik on the small browse button that appears.
    5) in the window that opens, in the element type field, select variable/variable value as key (as per your requirement) and then under the element ID field type in the technical name of your variable that you want to display.
    click ok and save your template and try executing it.
    See if this solves your problem.
    regards,
    Nikhil

  • BEx broadcaster precalculation variable value shows BEx web analyser iview

    Hi Experts,
    I'm getting this very weird problem on BEx Broadcaster in BI production portal. In BEx Broadcaster, the general precalculation tab, variable value create /change link when clicked show BEx Web Analyser iview instead of variable entry screen.
    This was working fine until two days back when this problem started showing up.
    Users are not able to create new broadcast settings in the production environment nor able to change variables of existing setting which is casuing lot of problem.
    If anyone has faced this issue before please let me know how can this be resolved? Also it will be greatly appreciated if someone can explain how the link is calling the variable entry screen.
    Thanks & Regards,
    Seema Rane

    Hi Experts,
    Can anyone please guide?? We are facing this issue on Production portal and affecting the functaionality.
    Any inputs are appreciated.
    Regards,
    Seema Rane

  • Variable Values in BEX Analyzer 3.5

    Hello,
    I have a query that has a user input variable for a country.
    The first time I run the query I select GB.
    I run the query again and select FR.
    All fine so far.
    The third time I run the query I notice that the variable value has changed back to GB. It has not remained as FR which was my last selection.
    This happens for all variables that I am using. Is there a setting or offset that is awry?
    Cheers,
    Guy

    Hello Durgesh,
    Not quite what I had in mind as now I can't view any of my variables when refeshing the query.
    I just need variable values to remain constant unless I change them but, I still want to view them before executing the query.
    Guy

  • Display compounded InfoObject value in BEX selection screen

    Hi people,
    Problem in 7.0
    I have Costcenter compounded with Plant and I am using Costcenter for Selections in the BEx varaible screen.
    After running the report, in the selection screen value help, only the value of Costcenter is displayed, not the compounded value (So it becomes very difficult to identify from which plant  the costcenter is from)
    What should I do so that the User sees as Plant/Costcenter in the Value help?
    Problem in 3.5
    The above issue is not there in 3.5, but.......
    I select COSTCENTER X from PLANT A and execute the report. In the report output, I do not see the records only for COSTCENTER X from PLANT A, but for COSTCENTER X from all Plants
    why is this? Is it how this works or is it a bug?
    Please help. I appreciate your assistance very much.
    Thanks,
    Shameem

    Hey there,
    Please understand the behaviour of compounded keys from the below notes:
    1111632   Problem with text display in BEx Query Designer
    1080863   FAQ: Input helps in Netweaver BI
    541253    Restricting characteristics with compound characteristics
    575563    Selecting filter values for compound characteristics
    Hope this can help,
    Diego Seben

  • Authorization Variable values in BEX.

    Hi all,
    I have a report with an authorization object (for example 0COUNTRY) restricted to an authorization variable.
    The object restricts the report according to the user's role. I want a user, with multiple country authorization, to be able to run the report on a few countries that he is authorized to see. For example he is authorized to see US DE FR & CH, and wants to run the report on DE & FR.
    So, I created the authorization variable "Ready for Input", but now when the user runs the report he <b>can insert</b> other values but when he click on the options he can choose from (F4),<b>he can't see the texts</b> (DE - Germany, FR - France) and he gets the message:
    <b>"BRAIN655 - No values available or not authorized to display"</b>
    Full points for the answer promised.
    Many thanks, Yaniv.

    I've done these steps when I createted this object long ago. I have no problem with the authorization itself. it works great.
    You are right, the selection option window shows the values US DE FR & CH, but I want the user to see the description also (when pressing F4) so he will be able to tell which countries to choose . that is when the message pops up.
    <b>It is like the user does not have the authorization to view the 0COUNTRY values and their texts</b>.

  • How to set variable value in BEX analyzer for IP Layout

    Hi All,
       I have created a simple planning function to copy data from one account to another and I have used mandatory selection variable for Fiscal year /period. When I execute the planning function through Planning modeler I get the prompt for the variable and the planning functions execute without errors and return the values. But now when I design the Bex workbook using my Input ready query that have button to execute the planning function,I don't get the prompt for the mandatory selection variable. I need to set the variable vaule in design mode then the function return the values. Is there way to get the prompt for the variable when I choose to execute the planning function. Also is there a option in Web application designer too?
    Please let me know what I'm missing.
    Appreciate you help.
    regards,
    Balaji

    Hi,
    At the back of button specify the following parameter:-
    CMD    1        Execute_planning_function
    Planning_function_name  1   xyz
    Var_name     1    variable_name
    var_value      1    blank
    Can also refer to link below:-
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0a89464-f697-2910-2ba6-9877e3088954?quicklink=index&overridelayout=true(can refer to page 20)
    http://www.sdn.sap.com/ddc5564a-337d-4cf9-a34e-2dab64df09be/finaldownload/downloadid-a61a6724ba8e7b7fbd9c5df9590ab50d/ddc5564a-337d-4cf9-a34e-2dab64df09be/irj/scn/go/portal/prtroot/docs/library/uuid/f0881371-78a1-2910-f0b8-af3e184929be?quicklink=index&overridelayout=true
    Hope it may help

  • User Variables values are not showing in Bex analyzer

    Dear Friends,
    I created a report in Bex analyzer ( Excel).
    Now i want to show the variables values in the report.
    i put text item there and click on it but in filter tab there is no variable is exist.
    Any help will be highly appricated.
    Regards
    Naeem

    dear i know how to display the variable values.
    But unfortunatilly there is nothing appear in filter tab.
    my variables are not in filter tab its empty.
    i already choose the data provider.
    regards
    Malik

  • Display variable values in Web report

    Hi Bw Mates,,,
    I am trying to display the variable values in Web Report.
    I put one text Item in Template and checked the Variable Display and entered the variable name in List.
    still I cannot see the variable values in the report.
    Thanks for your help.
    RSB

    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="TEXTELEMENTS_1"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEXT_ELEMENTS"/>
             <param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>
             <param name="GENERATE_LINKS" value=""/>
             <param name="GENERATE_CAPTION" value="BORDER"/>
             <param name="SHOW_COMMON_ELEMENTS" value=""/>
             <param name="ELEMENT_TYPE_1" value="VARIABLE"/>
             <param name="ELEMENT_NAME_1" value="Z_CP_018"/>
             ITEM:            TEXTELEMENTS_1
    </object>
    as the other poster mentioned the variable name has to be in upper case.
    if only_values = 'X' you will just get the value other wise
    you will get something like below.
    variable description = variable value
    Regards
    Raja
    Reward the helpful answers and close the thread once its answered.
    sorry for the delay in answering, it was weekend for us

  • Display variable values selected as header in WAD

    Hi All Gurus,
    I need to display the variable values entered for running the report as a header to the report being displayed.
    I'm using NW2004s BI and standard template 0analysis_pattern. Is there a way I can display the variable values as header info.
    Thanks in Advance
    Sid

    Hi Sid,
    You may need to make a copy of this template, or create your own and use the Information Field web item:
    http://help.sap.com/saphelp_nw70/helpdata/en/47/96784226d1d242e10000000a1550b0/content.htm
    You can set this to display the Variables  (VARIABLES_VISIBLE)
    Hope this helps...

  • How I can gain the variable value in web-application?

    Hi,
    I have a web-template with several web-item. The data provider refers to a query with a variable screen.
    After the report run and the table is displayed, i have need to set a paticular filter-item with the variable value that i put in pop-up screen.
    Therefore I am trying a function or method in order to pass the variable value (pop-up variable).
    Help me, Thanks in advance

    Hi Ciro,
    in the Web item properties of the Text element web item you can specifically select in the ITEM_LIST a list of text elements. For variables you can choose if you want to display text or key values. This should work for the print template.
    With the Excel display I'm a bit unsure. There is a BEx Function called SAPBEXshowTextElements that allows you to display the variable values. I just don't know if you can execute it in the SAPBEXonRefresh. You can find additional information in the BW help under Business Explorer->Analysis & Reporting: BEx Analyzer->Queries in Workbooks->Integration with Visual Basic for Application (in the BW 3.1 documentation).
    Another thing that might work is to add another navigational attribute to the needed InfoObjects with reference to the InfoObject. While loading Master Data you can fill the navigational attribute with the same value as the characteristic. Then you can drag the variable into the filter and put the Navigational attribute into the query.
    Example: You have the IO 0COSTCENTER that you want to put a filter on. Create an IO COSTC_N (Costcenter Navigation) with reference to 0COSTCENTER and insert it into 0COSTCENTER as navigational attribute. While loading Master Data for 0COSTCENTER fill COSTC_N from 0COSTCENTER.
    In the query put COSTC_N into the filter box and create a fitting variable. 0COSTCENTER can now be displayed in the rows and the filter values for COSTC_N are displayed in the query.
    Best regards
       Dirk

  • Default value of BeX customer Exit variable not Displayed in WeBI??

    Hello Experts,
    We are stuck with a problem where WeBI report is created on top of BeX query and we are not able to see the default value of Bex Customer exit variable in WeBI run. Here is the complete scenario:
    1. One restricted KF is created in BeX, restricted with Customer exit variable on net Due date. And this variable is mandatory, ready for input, and Default value in calculated is user exit as current Week's Monday.
    2. So, by default KF data should be restricted to Monday of current week, if user does not change this value.
    3. Now, WeBI report is created on top of this Bex query, and all is working fine, i.e. we are getting variable as Prompt in WeBI, but Default value is not shown while Running the Webi Report.
    So, need your inputs on the same, if default values from BeX in WeBI is supported or not? If yes, why this is happening, and how to resolve it?
    Please notice, the restrcition is in KF only, it is not a separate restrcition on Net Due date in Filter area or in Defualt area of BeX
    and we are on SAP BW 7.1 and BOXI 3.1 SP4.
    Regards,
    Vipul
    Edited by: VIPUL GOYAL on Nov 23, 2011 9:44 PM

    Hi,
    See 1285993 - Support of Customer Exit Variables from BEx query into WebIntelligence via OLAP universe
    WebI will prompt when executed, but the default values calculated by the user exit  - do not appear.
    Note: If the BEx variable has property 'ready for input' set / enabled, then its WebI prompt shows ok, but no default value appears.
    Cause
    This behaviour expected 'by design' (in the context of the product's current limitations) as explained in the online guide below:
    Please refer to Chapter 7, page 44, document link here: http://help.sap.com/businessobject/product_guides/boexir3/en/xi3_sap_olap_universes_en.pdf
    Characteristic variable > processing type > Customer Exit  is "Supported, without user entry"                                                                               
    -->  This should be understood as meaning "User will not be shown a prompt"
    regards,
    H

  • BICS - Passing Mandatory Filter Variable value to a BEx Query

    Hi All,
    I have similar problem as the below URL.
    BICS - Passing variables to a BEx Query
    Details:
    I have a mandatory filter - Display Currency in BEx query. I'm trying to input this mandatory filter from Xcelsius, (by mapping the filter value to a cell in Xcelsius spreadsheet).
    However, when I lauch the dashvoard in IE page, it still throws an error:
    " One or more mandatory varaibles of the query... are not filled"
    Does anyone face this issue?
    Regards,
    AK

    Hi Sriram,
    I assume you are using SAP direct connectivity.
    >> Yes, it is direct connectivity to SAP-BW.
         (And I'm publishing this dashboard in SAP-BW system itself.)
    1. What are all the Variables you get in intial variable screen?
    because if you have a Mandatory variable in your Bex query, a intial variable screen will appear with all the variables.
    >> I'm testing the underlying BEx query, it has one mandatory variable for "Display Currency". Other are optional variable-filters, so other filters are not a problem.
    2. when you get this error "One or more mandatory varaibles of the query... are not filled", just after the Launch or after the variable screen?
    >> I use the option in Xcelsius: SAP --> Launch -->  a new IE page opens, then I get this error
    3. However you can bye pass this screen only when you give default values to your mandatory variables.
    >> When I use personalization in BEx side, to input default value (e.g: USD), and then run this standard content dashboard, the hangs.(Do not see anything on IE page for long time. Though the data is very less-Few hundres rows)
    So, I'm looking at passing the value from Xcelsius-spreadsheet, however, the dashboard is not picking up the value from the mapped-cell.
    Hope this gives more clarity on the problem.
    Cheers,
    AK
    Edited by: Anil Kumar2981 on Jun 16, 2011 12:12 AM

Maybe you are looking for