Variable values on BI 7 Workbook

Hi
We have created a Workbook template in BI 7, where we display three text elements - Status of data, Last refreshed time and Display Infoprovider.
In addition, we also want to show the user entry variable values on the workbook. Eg: our report has  Delivery type and Material group as user entry variables, which we want to display.
In 3.5, the "Display text elements" used to work. How do we do this in BI 7?
Thanks
Mihir

Hello, Mihir.
Check this link
/message/2001143#2001143 [original link is broken]
http://help.sap.com/saphelp_nw2004s/helpdata/en/d9/bfdfb454b4465585cc6334eb89b195/frameset.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/31951d58-0701-0010-6b8b-885795f595c7
Hope this helps
sharp deep

Similar Messages

  • How to change the variable value format in Ip workbooks

    Dear Experts,
    How to add zeros to a vaiable value before passing to a planning function in BEx analyzer?
    eg: 'ZPRCTR_VAR1' (For Infoobject 0PROFIT_CTR)
    User enters value 20 for 'ZPRCTR_VAR1' , but the system know only '0000000020'. I wrote a user exit like this, but nothing happens and I get variable value 20 is incorrect, planning function cannot execute. Please advice .
    DATA ZDIVISION   TYPE /BI0/OIPROFIT_CTR.
    DATA ZDIVISION1   TYPE /BI0/OIPROFIT_CTR.
    WHEN 'ZPRCTR_VAR1'.
         IF i_step = 2.
          LOOP AT i_t_var_range INTO loc_var_range
            WHERE vnam = 'ZPRCTR_VAR1'.
            zdivision = loc_var_range-low.
           MOVE l_s_range-low to zdivision.
          ENDLOOP.
        ENDIF.
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
       EXPORTING
         INPUT         = zdivision
      IMPORTING
         OUTPUT        = zdivision1.
        CLEAR l_s_range.
        l_s_range-sign  =  'I'.
        l_s_range-opt   =  'BT'.
        MOVE zdivision1 TO l_s_range-low.
        APPEND l_s_range TO e_t_range.
    Thanks,
    Gnana

    Hi Gnana,
    you can use de "area value" option when define a button with planning function and variables for passing values to function. These values are in excell cells so you can modify it as you want.
    So imagine that your planning function has only one variable, the command sequence looks like
    CMD                                           1       EXECUTE_PLANNING_FU
    PLANNING_FUNCION_NAME       1       YOUR_FUNCTION
    DATA_PROVIDER_FILTER           1       DATA_PROVIDER_1
    VAR_NAME_1                             1       YOUR_VARIABLE
    and now you delete row with VAR_VALUE_1 and in result area you use for example
    $A$1:$C$1
    Now, cell A1 = VAR_VALUE_1
    cell B1 = 1
    cell C1 = Reference to another cell with your variable value (text item). You can use any excell function for fill 0's
    And now, when you execute planning function you're passing cell C1 as value of your variable.
    Hope it helps.
    Enrique
    Edited by: Enrique Delgado on Jun 3, 2008 7:00 PM

  • How to set variables values via VBA.

    Anybody please help.
    How to set variables values via VBA in workbook. SAP Netweaver 2004s.

    Pass variable values with VBA and BI 7.0 funtions to Query
    At first a remark u2013 Iu2019ve read a lot of threads saying that passing values to a query can be done by using VBA code only. Iu2019ve tested it but Iu2019m not sufficient with the new BEX 7.0 API and therefore I use a mixture of BEX 7.0 funtionality and VBA. I create a BEX 7.0 design item button passing the values to a query u2013 I hide this button somewhere on the sheet or on a hidden sheet and I then raise the event to click the button from VBA code. Works fine and the maintenance is easier if something changes in the API in the future again.
    How to start:
    Switch to design mode in BEX Analyzer:
    Implement a BEX 7.0 design item u201Cbuttonu201D
    Click on the button to implement the properties
    Make the input for the commands
    data_provider = dataprovider_1
    cmd = process_variables
    subcmd = var_submit
    No comes the part with the variables u2013 Letu2019s assume a query has 4 variables but you only want to change 1 with the button u2013 an organizational unit for instance.
    Make a range somewhere in the excel with the following structure:
    Name    Index   Value
    VAR_NAME_1      1       Variablename
    VAR_VALUE_EXT_1 1       variablevalue
    Value should contain the name of your variable of course and u201Cvalueu201D the value of your variable
    Set a name for this range with EXCEL functionality but without the header:
    Back to the properties of the button: Insert the name of the range with the variables in the field Command Range:
    If you have more variables to process you can of course enhance your Filterrange!
    In the left upper Corner you have a name for your button:
    Now you can raise the button-click in vba like this:
    Application.Run "'" & ThisWorkbook.Name & "'!Sheet2.BUTTON_35_Click"
    regards, Lars

  • How to get variable value in BI 7.0 Workbook (Excel 2007)

    Dear experts,
      We are creating workbooks with BI 7.0 BEx Analyzer Addon 7.10 (Excel 2007).
    And we'd like to get the variable value (that are passed to the backend using the variable screen) so that we can reuse it as an input value for planning function execution later.
      Any idea on how we can achieve this is high appreciated.
    Thanks in advance,
    Shady

    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

  • One workbook, 2 identical queries, different variable values

    We have a query which has a number of user-input parameters - Cost Centre, Year, Material etc.
    We wish to embed this query twice in a BEx Analyser Workbook - with the same values for Year and Cost Centre, but each with a different Material.
    What we are looking to do is make Year and Cost Centre global for the workbook, but Material to be variable. From what I can see our only option is to switch off the ability to collectively process all variables.
    Thus my questions are:
    1. Is there any way of selectively defining which variables to process during refresh?
    2. Is there any other way of setting variable values (properties, macros etc)
    Many thanks!

    Hy,
    try the bexgetdata available in Nw2004s/bi.
    You generate 1 dataprovider in your workbook (maybe query with businessunit,
    cost-centre, material, year and month + further in rows )
    Embed the queryresult in your workbook.
    Convert the result to formular (bexgetdata)
    Now all cells have a formula (bexgetdata) with cell-adresses to the criterias.
    For example, create a mastersheet and place year and period (central-variables).
    Insert cells/rows at the top of each sheet (business-unit) and fill in the value for businessunit.
    Now change the bexgetdata-formula, instead of the references in rows, refer to the
    cell-adress of mastersheet and to the cell-adress of each workbooks.
    You can use excel-functionality to copy all new formulas in each cell.
    You can also copy the formula to each worksheet.
    Delete all the lines you do not need. (Deleting the lines will not reduce the
    result of the query!)
    So you have one query (with a large selection) and you can place different
    sub-results to the sheets.
    Regards
    Roland

  • Run Variable values out of the "variable values window" in a excel workbook

    Dear experts,
    I am working on BI 7.10.
    Our workbooks are made of several data providers based on the same query and require many different variable values, which give us a long and unconvenient (for the users) "select values for variables" window (ex : we have a Profit and Loss report to run on different consolidation versions, fiscal years etc...)
    So I wonder if there is another way to enter these values, out of this window...(macro?)
    Many thanks for your help.
    Armelle

    my variables are global for all data providers since I use the same query for my data providers.
    It's just the values (some of them : ex: conso version) that differ from one data provider to another.
    ex : here for 2 diff Data providers based on the same query i need to enter the following values for mandatory variables
    Different versions / different years but same conso group / data entry year/ posting period.
    i would like to have the possibility to enter these values out of the "select values for variable" window (not convenient when we have 7 or 8 DP...), but directly in the workbook.
    But maybe this is not possible...
    In DP1                 
    conso version = A_PL                         
    conso group = FR01
    data entry year = 9999
    fiscal year = 2010
    Posting period = 12
    In DP2
    Conso version = P4_MAG
    Conso group = FR01
    Data entry year = 9999
    fiscal year =2011
    Posting period = 12

  • How to save  particular variable values for all users

    Hi Experts,
    I have variables posting period with user entry default value  and fiscal year(with entry vulaue mandataory)in 30 queries.Now user wants to set this values i.e.posting period to 0 -16 (interval) and fiscal year to 2008.
    whoever opnes the workbook he should  get the the defualt values as posting period 0-16 and fiscal
    2008 in variable selection screen.unless user enters the values it should remain same Please suggest me how to do that.Is this changes should be saved as vaintat in variable selection screen and transported or shall I do this change for all thse quesries or shall I change the variable value to default setting in variable propeties so that changes should be visible to all 30 queries .Please suggest....!!!!
    Regards
    Prasad

    Hi Prasad,
    Just go to that variables in query designer, and give the default values for the variables as 0-16 and for Fiscal year 2008.
    http://help.sap.com/saphelp_sem40bw/helpdata/EN/ae/1e9b3c334d8c15e10000000a114084/content.htm
    Now while generating the query in the variables screen select the personalization, so that these values will be fixed and personalized for the query.
    http://help.sap.com/saphelp_nw04/helpdata/en/3f/30ae3d47afd652e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/3f/30ae3d47afd652e10000000a114084/frameset.htm
    Rgs,
    I.R.K

  • Authorization Variable doesn't work in Workbook

    Hi all,
    I have defined authorization variable for a characteristics in Query. When I run the query, the variable's value can be derived from user's authorization. But when running in workbook, it doesn't work. The value is empty and workbook shows "No Authorization". Does anyone have the same problem?

    Dear Eric,
    Are you sure that you have enabled the authorization object for your InfoProvider? This is something that has to be done in transaction RSSM after an authorization object as been created.
    Greetings,
    Stefan

  • How to change variable values dynamicly  in broadcasting

    Dear Friends i am scheduling workbooks using broadcasting feature.
    i want to know how can i change the variable values of report in broadcasting dynamically.
    becuase i dont want to schedule report again and again after changing the variable values.
    Regards
    Malik

    i did the same but its not working.
    i create one variant for the query ABC  using RSRT now if i look into table RSRVARIANT we can see that variant
    entry in this table. Now i create variant by bex on this query with the same name.
    now i schedule it using broadcasting but its not takeing the values of RSRVARIANT table.
    Its taking the value of variant which i save in bex.
    By default variant which is save in bex not appear in RSRVARIANT table.
    But i f you make a variant in RSRT you can see those entries in Table RSRVARIANT.
    But RSRT variant is not showing in Broadcast scheduling. Only Bex variant are showing.
    Where should create the variant in Workbook, in Bex web analyzer, or in RSRT.
    Regards
    Malik
    Edited by: Malik Naeem on Jun 9, 2010 2:05 PM

  • Problem with exit Variable in may BEx Analyzer Workbook

    Hello,
    I have created a workbook. In this workbook I use the 0CMONTH variable. I always want to get the previous month. For that I have the variable 0CMONTH-1 inserted in the query at default values in the query designer by 0calmonth.
    It will automatically deliver the previous month.
    When I put this query in the Bex Excel Anayzer Workbook, then comes the following message:
    Diagnosis
    In the query definition, the default values of characteristic
    [0CALMONTH]Calendar Year/Month are stored as variables. The system tires to fill
    these variables again from the last restrictions so that it can use them as
    default values. In this case, however, the restriction is so complex, that the
    variable values cannot be reconstructed from it.
    System Response
    Procedure
    Change the restrictions in the query result if necessary.
    Procedure for System Administration
    Kind Regards
    Kerim

    Hello,
    I can not find the SAP variable 0CMLMON in 0CALMONTH. I have OI_CMNTH, 0CMONTH ...
    Do I have to register somewhere?
    regards
    Kerim

  • Variable value for IP Revaluation

    Hi Experts,
    I would like to run a revaluation function (with a button in workbook - IP). Variable is on the key-figure.
    The situation is strange:
    - click on the button with planning function call  - nothing happened
    - then when I click on change variable screen button (standard BEX function), system ask for variable value and execute the revaluation with entered %!
    What I'm doing wrong?
    How this could be marge together?
    What is the procedure to enter variable value in some cell in the WB?
    Thanks, Tom

    Hi,
    Just check the link below: how to pass variables to planning functions executed from BeX Analyzer.
    It also specifies how to enter variable value in some cell in the WB.
    I suggest you to use seperate variables for filter and seperate variable for Planning functions so as to avoid confusion.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0881371-78a1-2910-f0b8-af3e184929be
    Best Rgds
    Shyam

  • 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

  • Use of Variable - Refreshing the Queries in Workbook

    Hi All,
    I have a workbook which contains 5 Queries. All these queries uses the same variable. While I am refreshing all the  queries in the workbook, it pops-up the variable input screen 5 times.
    Here I just want the variable screen appear to be once and the same input be taken to all the queries.
    We are in 3.x.
    In 7.x Analyzer, I know that When you have multiple queries(with variables) embedded in a single workbook, we can use "Change Variables" icon to acheive the same.
    How can I achieve this in 3.5.
    Thanks in advance.
    Siva
    Edited by: Siva Reddy S on Jun 9, 2009 10:32 AM

    Hi Joke,
    Thanks for your reply.
    The option "save and reuse variable values" is something to do with the input values to save and reuse the same for the next time execution.
    Here I just wanted to input the variable at one query and the same value needs to be taken to all the queries. The Variable used in all the queries is the same one.
    Thanks again..
    Any body any inputs.
    Siva

  • How to remove Variable-Values prior to transporting to prod-system?

    Hi specialists,
    I've got the following problem:
    We've got a mixed BEx-client-environment with user using BEx 3.5 as well as BEx 7.x.
    So I create workbooks with BEx-Analyzer 3.5 and transport them from the developement-system to the production-system.
    The problem: Obviously the variable-selection that I used at last in the developement-system is saved in the workbook. So let's say I tested the query in the dev-system with "DE01" as value for the company_code on the variable screen, then this value is saved in the workbook and transported to the prod-system.
    In the production-system the value is not replaced anymore by the users permitted company-code values (the variable is based on the users permissions), but the user has to remove this "DE01" manually and has to enter all his personal company-codes manually - which makes the permission-bases-variable senseless.
    Even if I clear all variable-values in the developement system (which is not possible for mandatory variables) prior to saving the workbook, the issue is the same: This time empty fields are presented in the prod-system, but the permission-based-variable isn't set correctly - the field stays empty (=exactly as it was when I saved the workbook in the dev-system).
    So, how can I clear the variable-screen-values before I save and transport the workbook to the prod-system? The only way (and it is certainly not the recommended one) i found: If I cancel the query at once after having confirmed the variable-screen and save/transport that query, then the variables seem to be really empty and the permission-based variables in the prod-system work.

    So, when user run the report in production, they will have to remove # for mandatory variables and put thier value.
    Mh - most of our reports have variables for "company_code","sales_org" (for example).
    Normaly this fields are not mandatory but optional.
    But: Normaly if the user opens such a variable-screen (for the first time) the company_code and sales_org are preset according to the users permissions for this chars.
    If I follow your description, then the variable-screen would open with "#" or "" - but wouldn't be replaced by the user's permitted values anymore :/ - hence the phone rings because the users didn't manage to restrict the variables to their permitted values.
    Maybe this is a case for an oss-message for the area BW-BEX-ET-USAB Userability Frontend....

  • BEx Analyzer: Use Of Variable Values For Planning Sequence

    Hi experts,
    I want to start a planning sequence using a button item in a BEx Analyzer workbook. The planning sequence itself is defined with several variables, that are input ready. The same variables are used in BEx Queries that are bound to DataProviders in the workbook. Therefore the variables are filled by the user, if the workbook has been started. If the user wants to start the planning sequence, that is defined on the button item, the same variable values (which the user has already set in the beginning) should be used. But I didn't find a way to fill planning sequence variable from variables (like it is possible in the web interface using the DataBinding function). It seems, that it is only possible to set the variable with static values, that are defined in the button item. Am I erring in this point?
    Anyone here who can help me regarding this issue?

    Eitan Ohayon wrote:
    Why did you raise this question?,did you face any problem?
    Hi Eitan,
    The problem was, that the planning sequence worked fine in web but not in analyzer. The system told me in web, that several records had been read, created, changed and deleted. System messages in BEx Analyzer always indicated zero reads, creations, reads and deletions.
    Using your idea to set breakpoint in the INIT_EXECUTION method gave me the information, that all variables are not set or set with initial values (like '0000' for fiscal year). This seems to be the reason for my problem. Now I've reduced the planning sequence definition on the button only to that variables, that are really needed. Furthermore I defined the Command Range to get dynamic values for the variables from the excel sheet grid. So it seems to work.
    Thank you for your help!

Maybe you are looking for

  • Blue screen after upgrading to boot camp 3.0 (snow leopard)

    after updating my vista ultimate 64 to the latest boot camp drivers, i experience a blue screen right before logging in (5 seconds after the password requester appears), the error is "systemserviceexception" i tried to uninstall all the apple stuff i

  • Transferring photos from CF card to external hard drive

    Such a dumb basic question.  New mac user, huge learning curve. Could transfer photos in my sleep on my pc. Cant use the usual drag and drop motions here. Do NOT want to load my new mac with thousands of pics (im a photographer) I JUST want to transf

  • [KDE] Force ntfs drives to be case insensitive. How?

    Hi to all, I use KDE and I mount usb ntfs drives with the applet (no fstab configs). I would like to configure KDE and ntfs-3g to mount ntfs drives using the mount option "windows_names" to force linux to consider that filesystem as case insensitive

  • What are "Settings" in Migration Assistant?

    One of the choices that Migration Assistant offers to transfer is "Settings".  What exactly are the "settings" that Migration Assistant will migrate?

  • Storing MPEG4 files in TV Programmes library. Is this possible?

    I have a number of TV Programmes I have recorded with a PVR. I have converted them to MP4 so I can view them with Apple TV. The Itunes library stores them as home movies by default, I would rather keep the files in the TV Programmes folder...which is