Binding variables to a button in BEx Analyser

Hi,
I have built a planning application in BEx Analyser but I am having an issue with planning sequences I have attached to a button.
I have attached a planning sequence to a Save button, carried out the steps of choosing planning sequence radio button, the appropriate data provider, attaching the planning sequence etc and then I attached a save to that same button as well. So when I run the application now it tells me the planning sequence ran with no issues and the data was saved. But I get an error message also saying: Parameter VAR_VALUE_LOW(_EXT)_2 is missing for variable ZINGRNG1
The data gets saved but the planning sequence doesnt actually execute despite it saying so. I know it is not an issue with the planning sequence as I have the same planning application built in BEx Web Application Designer.
To explain further I have 2 dropdowns boxes with must be selected before the the data becomes input ready and it as if when I save it doesnt recognise these variables or something.
Can any shed some light on this issue. Need to resolve it if at all possible for a presentation I am doing.
Thanks,
Elle

Hello,
Perhaps you can find the answer in these resources:
1) note 1121654
2) https://wiki.sdn.sap.com/wiki/display/BI/BI-IP%20Passing%20Variable%20Values%20to%20Planning%20Functions%20from%20BEx%20Analyzer
or at this "How To.."-Paper.
3) https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/f0881371-78a1-2910-f0b8-af3e184929be&overridelayout=true
Regards,
Michael

Similar Messages

  • Button in Bex Analyser 7.0 - problem with setting up Static Parameters

    Hello,
    I know a similar problem has been discussed here already, but I am still having problems with setting up Static Parameters of my Button in BEx Analyser 7.0, so that I can pass Variable values from that button to my query.
    This is what I do - in Static Parameters of my Button I set the following values:
    Name                          Index          Value
    DATA_PROVIDER        0               DP_1
    CMD                             0               PROCESS_VARIABLES
    SUBCMD                      0               VAR_SUBMIT
    VAR_NAME                 0               0RMA_FIP
    VAR_VALUE               0               004/2010
    As a result, I would like the value 004/2010 to be passed to variable 0RMA_FIP (which is mandatory) and the query to be executed with that value. For some reason, however, the value is not passed correctly, and instead the variable is filled with a blank or not filled at all, and I am getting a message "Specifiy value for variable Fiscal year/period". What do I do wrong?
    Just to give you a broader picture - I would like to later use this logic to pass more than one variables into a query, including a hierarchy node, and read the values from an Excel worksheet - however, after many attempts to do so, I started playing with just one variable to figure out what the problem was.
    I have already seen the following two threads and SAP notes on passing variable values from the button:
    Re: Button in BEx Analyzer 7.0
    Re: How to set variables values via VBA.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0881371-78a1-2910-f0b8-af3e184929be?quicklink=index&overridelayout=true
    Can anyone please advise?
    Cheers,
    AL

    I managed to figure it out myself!
    Instead of VAR_VALUE I need to enter VAR_VALUE_EXT, and it works fine.
    I will mark this thread as "answered".

  • How do I display variables in a query in Bex Analyser 7.0?

    Is this option gone in 7.0? I know I can insert navigation pane or filters, but how do I display what variables have been used to run a particular query?
    I run a query and there is no way of telling HOW I ran it... I am surely missing something here, no?
    Also, I know that SAPBExQueries sheet is gone in 7.0. I used it to override variables values and force query/workbook refresh with the new variables (as a way of automation of a report). How do I go about this in 7.0 if I don't even see the variables anywhere? What other way of forcing a workbook to refresh for, say, 10 different clients?
    Thanks,
    A.

    Jacob,
    Many thanks for your reply.
    As for Bex, you said:
    "So any query needs to start in a default workbook design where you got the filter and nav pane. Then you got a "Variables Screen" option."
    Regardless of whether I run a stand alone query, or I insert analysis grid, nav pane and filters in the design mode, my variables are not dislayed anywhere. What do you mean by "then you got a variables screen option"? Where is it? I checked toolbars, menus, properties, I couldn't find anything. I can, of course, change variables, if that's what you mean, but I still can't display them on my worksheet. So if somebody's looking  at my query they have no idea what variables I used. 
    As for broadcasting, sorry, it's not an option. By "say 10 clients" I meant "say 100 clients" times 20 different managers i.e. 200 different variants (seperate reports)  Not possible to use a broadcaster, I am afraid, as the list of  clients, managers and fiscal periods (and other variables) changes too often and we need to have the flexibility.
    By looking at the new 7.0 I fear we will need to stick to the version 3.5 for that reason. Worrying...
    Cheers,
    A.

  • ADF Desktop - Bind Variable

    Hi Folks,
    I created some business components, 1 Entity Object and 1 View Object, based on a database table has 3 columns: ID, NAME and DESCRIPTION.
    Then I edited the View and created a bind variable and modified the SQL to use it (Ex: where ID =: Bid)
    Executed a test using Business Component Browser and everything works fine.
    After that I executed the steps:
    1. Created an Empty Panel
    2. Expanded the datacontrol -> Operations -> ExecuteWithParams -> Parameters
    3. Selected the bind variable "Bid"
    4. Drag and dropped it into my panel and choose "Combobox" option.
    When I run the project and the panel is displayed the Combobox is always empty.
    I expected that it should be populated with the ID values from the View.
    Is this workflow correct?
    Regards,
    Luis

    Frank,
    I got your point. Now that the concept is clear, I created a input field to the bind variable and a button dragging-n-dropping the
    operation "ExecuteWithParams" into the panel.
    Finally, to test the query, I created a table dragging-n-dropping the Datacontrol into the panel.
    When I created the view object, I defined a default value to the bind variable. (Value 1), so when I run the application, the input field
    is populated with value 1 and the table shows the corresponding record.
    But, if i change the input value and click in ExecuteWithParams button, the table is cleaned and show no record.
    Am I missing anything?
    Regards,
    Luis

  • Variable screeen popup with button in bex

    Hi ,
    When I try to display variable screen using a button in bex, I get the following error. has anyone come across this. pls advise.
    BExItemButton.RenderData01: Unable to get the Item property of the OLEObjects classErr: Unable to get the Item property of the OLEObjects class
    Kartheek

    Sounds front end related, are all your Front end patches (FEP) upto date.  Might be worth downloading FEP 11.
    Cheers,
    Pom

  • Apex listener installed no test and set bind variables buttons

    I have installed Apex listener and while creating restful service module i dont see test and set bind variables buttons in the source region.
    I went through the many posts. Installed apex listener successfully.
    getting http://localhost:8080/ords/ started message when i start the listener.
    and using Apex URL as http://localhost:7780/pls/htmldb.
    What are the possibilities for this issues?
    Please help me on this.
    Thanks
    Chandran

    Apex listener version is 2.0.9
    Apex version is 4.2

  • HOW TO  DO VARIABLE IN BEX ANALYSER  IN BI-7 GIVE SCREENSHOTS DETAIL

    HOW TO  DO VARIABLE IN BEX ANALYSER  IN BI-7 GIVE SCREENSHOTS DETAIL

    Hi
    I hope these links helps you,
    Defining Variables:[http://help.sap.com/saphelp_nw70/helpdata/EN/ac/789b3c4d4d8d15e10000000a114084/content.htm]

  • Calling ASP script from APEX button passing Bind variable

    I am looking for some examples or best form for calling asp script from apex button that will pass apex bind variable to asp script to process.
    Thanks,s
    Bob

    I am surprised by the degree of no replies. I have solved this by using asp redirects such as:
    Response.Redirect("test.aspx?UserName="&user)
    My formulated solution contains a page with a manually built interactive report. I have a number of bind variables at the top of the reoprt where users can query the information they want based on desginated database columns for this particular report. Once they have the "manual" interactive report displaying what they want, they click a button where a asp script is called with parameters passed that calls a Java based Crystal Reports plugin with the called correspnding report displayed with passed parameters.
    Works like a charm!
    This solves our reporting needs without having to resort to Bi Publisher (much too expensive) and other third party applications that kinda indicate it can work with apex but provide limited help or best form for doing so.
    Bob

  • Selection Variables display in report output using BEX ANALYSER 7.0

    HI All,
    I am using BEX Analyzer 7.0 , I want to display the Variables  selected in the selection screen, to be printed in the
    Report Output.when i execute the same query in 3.5 , i am getting all hard coded and selected variable values in report  output.
    But in 7.0 analyzer  i am not getting any filter values.can i know the reason for this ? do i need to do any settings ? how to display all filter values in report output.
    Thanks and Regards,
    Joseph

    Hi Joseph,
    I feel there might be personalization of variables.
    After executing the query click on "Change Variable Values" which is on Bex Tool Bar and there click on personaliztion icon and check if any personalizations are there.
    Regards
    Ravi

  • How can i use Button in BEx  7.0

    Dear Folks,
    Could you help me please ..
    In BI 7.0, for BEx analyzer i see we can use button, combo box, analysis grid.
    If i have a requirement like this:
    1. I have sales report, where it has information about sales person.
    2. And i want to filter that report with the sales person that i choose from combo box.
    For that requirement, i tried to :
    1. I Create a query to Sales info-provider for displaying sales.
    2. I Create a query to either to MD Sales person / Sales info-provider in order to get Sales persons data.
    3. I assign point no 1 to Analysis Grid.
    4. I assign point no 2 to Combo box.
    My questions are:
    a. Is my techniques correct ??
    b. How can i use button to execute filter into the corresponding report ???
    c. Is there any tutorial regarding this ?? Could you share it to me please ..
    Really need your guidances..
    regards,
    Niel..

    Hi Niel,
    You can use the method you specified.
    In Bex Analyzer you have design mode where you can have the following items Button, Analysis Grid and Combo box.
    To work with the button you need to use the Command Wizard which consists of pre-defined functions, out of those select the one which suits your requirement and supply the parameters. As it is done thorugh a Wizard it would be easy to do.
    Also,
    The Button Name displays the name of the button, which is generated automatically and is unique. This name is used on the BEx Analyzer Design Toolbar menu to refer to a particular instance of the button.
    · Range u2013 Manipulate coordinates for a cell or cells in this field to move or resize the button.
    · Button Text - The text (caption) you want to display on the button. You can use this to describe the command the button executes.
    · Command Range (optional) - Specify a three-column range of cells in the worksheet that contains command parameters. In these cells, you provide the same parameters (Name, Index, and Value) as in the Static Parameters, but in the worksheet these can be variable, changing during
    navigation based on query results or on a value you manually specify.
    Button in Bex analyzer
    Regards,
    Neelesh Jain.

  • IP - Various problems with BEX Analyser - help would be nice

    Hi,
    we use IP in combination with BEX analyser. We experience certain problems. Does anyone experienced the same issues mentioned below:
    1) if a planning function is executed, it is executed twice when your cursor is within the query itself. If it is outside the query when clicking on the button, it is executed once (like it should).
    2) Locking: we don't have locking problems, but from the moment two people lock each other once, they need to close their analyser and re-open it (so logon again) in order to be able to start planning again in a non-locked part. If they just change their selection (to the not-lock part) they remain locked!!!
    3) planning function with multiple variables: system cannot retrieve values of all variables.
    details of function:
    CMD                                               1       EXECUTE_PLANNING_FUNCTION
    PLANNING FUNCTION NAME           1      AG10_COPY01
    DATA PROVIDER_FILTER                 1     DATA_PROVIDER_1
    VAR_NAME                                     1       PROF_CTR
    VAR_VALUE                                    1       510
    VAR_NAME                                     2     PERIOD
    VAR_VALUE                                    2        012
    VAR_NAME                                     3       CUSTOMER
    VAR_VALUE                                    3     1000
    -> following the instruction of the SAP course, in case of multiplle variables they should start from 0 and have an incremental increase. But the system only recognizes the variable with index = 1
    regards
    D

    Dear Dries,
    could it be that the variable type you use require a different set of commands?
    In general the parameters of the BEx Analyzer follow the rules of the SAp BW 3.5 Webruntime. When reading this detailed documentation you find that depending on the type of variable other names have to be used, e.g. when using a selection option variable you need something line varname_low, varname_high, ...
    The documentation can be found in the online-help:
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/07/ff413a3ace7022e10000000a11402f/content.htm">http://help.sap.com/saphelp_nw04/helpdata/en/07/ff413a3ace7022e10000000a11402f/content.htm</a>
    Best regards, Olaf Fischer

  • BEx Analyser: how to add filter information in query output

    Hello,
    When query is executed in BEx Analyser, there are three buttons with additional info. But none of them shows the selections that were made when the report was executed (variable screen) and the "static" filters within the query definition. How can I solve this problem?
    Thank you.
    Kind regards,
    Danijela

    I have place static filter left to the table on row 115 and then I copy it to desired destination in VBA callback function.
    (I also have filter values on row 65)
    HTH.
    BR
    Ondrej
    Sub SAPBEXRefresh(queryID As String, resultArea As Range)
        If queryID = "DATA_PROVIDER_1" Then
           j = 15
           i = 115
           While Sheet2.Cells(i, 6) <> ""
             If Sheet2.Cells(i, 7) <> "Empty selection" And Sheet2.Cells(i, 7) <> "" Then
               Sheet2.Cells(j, 6) = Sheet2.Cells(i, 6)
               Sheet2.Cells(j, 7) = Sheet2.Cells(i, 7)
               Sheet2.Cells(j, 6).Interior.Color = RGB(239, 246, 251)
               Sheet2.Cells(j, 7).Interior.Color = RGB(239, 246, 251)
               Sheet2.Cells(i, 6) = ""
               Sheet2.Cells(i, 7) = ""
               j = j + 1
             End If
               i = i + 1
           Wend
           k = 65
           While Sheet2.Cells(k, 6) <> ""
             If Sheet2.Cells(k, 7) <> "" And Sheet2.Cells(k, 7) <> "Prázdné vymezení" Then
               Sheet2.Cells(j, 6) = Sheet2.Cells(k, 6)
               Sheet2.Cells(j, 7) = Sheet2.Cells(k, 7)
               Sheet2.Cells(j, 6).Interior.Color = RGB(213, 227, 242)
               Sheet2.Cells(j, 7).Interior.Color = RGB(213, 227, 242)
               j = j + 1
             End If
             Sheet2.Cells(k, 6) = ""
             Sheet2.Cells(k, 7) = ""
             k = k + 1
           Wend
           While j < 65
             Sheet2.Cells(j, 6) = ""
             Sheet2.Cells(j, 7) = ""
             Sheet2.Cells(j, 6).Interior.Color = RGB(255, 255, 255)
             Sheet2.Cells(j, 7).Interior.Color = RGB(255, 255, 255)
             j = j + 1
           Wend
        End If
    end sub

  • Commands (interface) for BEx Analyser

    Hi Gurus,
    has anyone a complete documentation or has detailed information about the functionality that can be used Excel/BEx Analyser (e.g. with buttons)?
    Example:
    With button commands you can set variables or set the input mode of a query:
    CMD  1  SET_INPUT_MODE
    SET_INPUT_MODE  1  ACTIVE
    Any info about the command interface of the BEx Analyser is highly appreciated.
    Thanks in advance,
    Leo

    The problem is solved for greek letter by adding a system variable sap_codepage - 1704. But only one entry can be maitained for this variable. And the report still cannot identify Russian characters.
    Is there any way to solve this problem for BEX 3.X for all multiple languages?

  • Control BEx Analysis Grid context menu entries via VBA

    Hey Forum,
    I have kind of a tricky question for you. I want to control BEx Analysis Grid context menu entries via VBA, namely the Expand Hierarchy Node function when I right click on a Hierarchy node entry.
    Does anyone know how to access this function via VBA?
    I also thought about adding a BEx button and access it via VBA but I am lacking the correct Button Parameters to expand/collapse a hierarchy node.
    Anyone has a tipp for me?
    Thanks,
    R.

    Hello, DDrazdou and All too
    Did you have any information about requested function?
    I need to call binded transaction in R\3, and meanwhile, I just write wrapping functional module in the R\3, and making RFC call from VBA...
    It seems to work fine, but may be the better(standart) way is posible.
    with best regards, Alex.

  • How to update bind variable and restrict values in a Model Driven LOV?

    Hi Guys,
    Using JDev 11.1.1.2.0
    I've recreated an excellent Frank Nimphius article about restricting values derived from a model driven LOV (http://www.oracle.com/technetwork/developer-tools/adf/learnmore/44-restrict-lov-169186.pdf)
    But my bind variable isn't updating. Deleting the bind variable gets me the entire LOV. Activate the code below and insert a bind variable into the where clause like Frank says and I get nothing back. Bind variable is blank. Any ideas? Code wasn't supplied with the article. It seems simple enough but the bind variable isn't updating in the SQL, even though the updated value shows up here...
      public void onLovLaunch(LaunchPopupEvent launchPopupEvent)
        BindingContext bctx = BindingContext.getCurrent();
        BindingContainer bindings = bctx.getCurrentBindingsEntry();
        FacesCtrlLOVBinding lov = (FacesCtrlLOVBinding)bindings.get("DepartmentId");
        lov.getListIterBinding().getViewObject().setNamedWhereClauseParam("deptId","60");
        System.out.println("lov name: " + lov.getName().toString());
        System.out.println("lov Param Attrs: " + lov.getListIterBinding().getViewObject().getNamedWhereClauseParams().getAttribute("deptId").toString());
        System.out.println("lov View Object: " + lov.getListIterBinding().getViewObject().getName().toString());
        System.out.println("lov IterBinding: " + lov.getListIterBinding().getName().toString());
       }Gets me ...
    lov name: DepartmentId
    lov Param Attrs: 60
    lov View Object: _LOCAL_VIEW_USAGE_lov_model_queries_EmployeesView_DepartmentsView
    lov IterBinding: DepartmentIdList_2

    That's a good idea, but it's still not working. Here is how I implemented it. It might be different from your suggestion as I'm still pretty new to this.
    I have a recursive tree table. You select a node. You then click a button which calls the listener below. "findParents" is a method call to the AppModuleImpl class and it finds all parent nodes of your selection. "restrictPartBomLOV", also of the AppModuleImpl class, then modifies the model driven lists' View Object (partBomLOV) to exclude those parent node values.
    The resulting model driven LOV on the popup should be updated, yeah? But it still isn't udpating. If I manually type in the updated Where clause in PartBomLOV.xml query tab, it works, but it doesn't programmatically.
      public void insertPopupFetchListener(PopupFetchEvent popupFetchEvent)
        BindingContainer bindings = getBindings();
        OperationBinding operationBinding = bindings.getOperationBinding("findParents");
        parents = (List)operationBinding.execute();
        operationBinding = bindings.getOperationBinding("restrictPartBomLOV");
        operationBinding.execute();
       public void restrictPartBomLOV(List parents)
          ViewObjectImpl vo = getPartBomLOV();
          String wcl = "";
          Object[]   p = parents.toArray();
          for(int i = 0; i < p.length; i++)
             if (i == 0)
                wcl = wcl + "PNUM <> '" + p.toString() + "'";
    else
    wcl = wcl + "AND PNUM <> '" + p[i].toString() + "'";
    vo.setWhereClause(wcl);
    System.out.println(vo.getWhereClause().toString());
    vo.executeQuery();
    Edited by: LovettWB on Nov 11, 2010 11:23 PM

Maybe you are looking for

  • Batch cost

    Hi , I have tried my best to write a query  to get batch cost based on landed cost and A/P invoice or goods receipt but could not get it. I would be grateful if you can provide me a query which gives the batch cost for purchase taking into account la

  • How do I write code for a website that is viewed in different browsers?

    Hello.  My website looks fine when using the Firefox and Safari browsers.  But when I went to the library and viewed it using Internet Explorer, it looks bad.  It doesn't look the way I want it to.  Many of the elements are in different positions, et

  • Can't get quick time to work with windows thumbnail

    When I purchased a new camera, unlike my old camera that saved files as .avi and which allowed me to use the files with all software and which allowed me to view automatically the thumbnails for the .avi file, my new camera used the garbage .mov from

  • Reading a file and parsing the data for a calculation method

    i am trying to read a file with 3 feilds double double and int . am able to read the file but i am getting an exception right befor i parse the data ...code import java.io.BufferedReader; import java.io.FileReader; import java.io.*; //import com.sun.

  • What's "Erase & Sync"? Restored my system.

    My computer most recently caught a virus and I had to restore my system. Now that I have re installed I-Tunes and have all of my music on my computer including songs that were purchased. When I try to Sync my I-pod it want allow me to, it gives off a