BEX function variable

Hi Experts,
Does anyone know if it is possible to save a KF value into a function variable (both in the same Query), so we can play with the KF value in the user exit?
Thanks
Regards,
Albert

Hey!
Maybe it helps you to know that you could have a formula variable. You can calculate this value over an exit and calculate in this formula whatever you want with other key figures.
Best regards,
Peter

Similar Messages

  • Bex analyzer variable screen input ready?

    Hi Experts,
    If we open a query in the Bex analyzer (BI 7.0 – netweaver 2004s), it seems only possible for us to enter variables in the dialog screen after the pushbuttons Ctrl + K for each variable.  Is it possible to change the default setting in the BEx analyser variable screen, so that the variables are ready for input (without the ctrl + k)?
    In the SAPhelp information, only the following information is provided.
    Prerequisites
    In the BEx Analyzer, you have executed a query that contains variables and you want to change or personalize one or all of the variables in the query.
    Procedure
    1.      In the analysis toolbar, choose Change Variable Values or in the menu, choose BEx Analyzer ® Change Variable Values.
    The Select Values for Variables dialog box appears. Follow the instructions to select a value to assign to the variable.
    2.      Specify a variant name and values for the variables for which you want to change the current values.
    Switch to display mode or use the pushbuttons Ctrl + K to enter values.
    Kind regards
    Dennis
    Message was edited by:
            D.C.M. van den Oord

    Hello All,
    We have a similar issue only in 2004s query designer when we execute a query via the web. We have the variable set up to accept multiple single values and we can pick multiple single values and add them, however, we cannot paste a list of, for example, personnel numbers from an excel spreadsheet into the web selection box to add multiple single values at one time.  Does this functionality exist?
    Regards,
    Ann Bohn

  • Reason: Error in sieve filter: Unknown function/variable found: church around input line 79 [ stop; } require " f^ileinto"; if header ]

    My wife's email has been getting filled with hundereds of emails with this in them this morning. I don't see where anyone else is having this problem today, but I wanted to see if it's on iCloud's end or ours.
    Processing errors occurred during delivery:
    Recipient address: [email protected]
    Reason: Error in sieve filter: Unknown function/variable found: church around input line 79 [ stop; } require " f^ileinto"; if header ]
    Delivery processing continued in spite of these errors.
    Reporting-MTA: dns;ms21034.mac.com (tcp_intranet-daemon)
    Arrival-date: Tue, 13 Mar 2012 07:33:18 +0000 (GMT)

    My Wife and I both have an Ipad and an iPhone, I use an iMac and my wife a MacBook Pro.
    I have this problem with all my devices.
    My wife has NOT got this problem.
    We both use a [email protected] email acount.
    Just compared the settings:
    For "Incoming server" I have p03-imap.mail.me.com
    My Wife has p02-imap.mail.me.com .... and has not got this problem.
    I have setup a new rule for incoming mails (for the meantime):
    move all incoming emails from [email protected] to trash and delete it.
    Works fine for now,......until APPLE deals with the problem.
    Message was edited by: RTONLINE

  • 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.

  • Crystal Report for Enterprise  Bex Text Variables

    Hi
    We are on Crystal Reports for Enterprise XI 4.0, Version 14.02.2.
    We have a text variable for cost center in our column heading that displays "Cost Center XXXX Budget" where XXXX is populated by the text variable.
    When this column element displays in the Crystal report it displays as "Not assigned".
    When I use the exact same query in Webby the cost center displays exactly as expected.
    Has anyone exeprienced a similar problem?
    Thanks
    Ian

    Hi,
    BEx Text Variables are fully supported by the BI 4.0 client tools, so this 'should' work
    I'd recommend that you contact Support and log an OSS incident.  We recently corrected a few issues with text variables in webi, so -at a guess- a fix needs to be ported to CR4E
    Regards,
    H

  • Function call another function variable

    Is it possible to call another function variable?
    Below is my Script:
    f2();
    function f1() { 
      var v2 = 1; 
    function f2(v2) { 
      var v3= 2; 
      alert(v2);

    Hi creativejoan0425,
    Some additional notes:
    > Is it possible to call access another function variable?
    No, it isn't. A local variable only lives in the scope of the function (body) where it is declared. In that sense any local variable should be considered private—in OOP terms.
    pixxxel schubser's solution is based on setting a global scope for the variable myA, so it is visible from every place of your code.
    Another solution could be implemented using JS closure mechanism. You can create a local scope (in an anonymous function which is executed once) then return your main function and additional helpers from that scope. All inner functions have then access to the local variables that have been declared in the scope. For example, you can create your function f1 and attach a getter function to it, as follows:
    var f1 = (function(/*anonymous*/__)
        // Local variable to be nested in the closure
        var v1;
        (__ = function(/*optional init value*/x)
            // Here is your *actual* function
            // do what you want with v1
            v1 = 'undefined'!=typeof x ? x : Math.random();
        ).getVar = function()
            // Here is your getter
            return v1;
        return __;
    var f2 = function()
        alert( f1.getVar() );
    // Process
    f1('init');
    f2();           // => 'init'
    f1();
    f2();           // => some random number
    f1();
    f2();           // => another random number
    // etc
    This way v1 remains almost private but the outer code can read it through f1.getVar().
    Anyway this seems to me a complicate approach for a basic script that probably does not require high security level. Another option, really easy to set up, is to use the fact that a function is an object. Instead of declaring a local variable, just handle v1 as a (public) member of f1, as follows:
    var f1 = function F(/*optional init*/x)
        // Do something with F.var
        F.v1 = 'undefined'!=typeof x ? x : Math.random();
    var f2 = function()
        alert( f1.v1 );
    f1('init');
    f2();          // => 'init'
    f1();
    f2();          // => some random number
    f1();
    f2();          // => another random number
    That's it!
    > why every function need to return?
    No, return is not required. By default, any function that has no return statement will simply return undefined.
    @+
    Marc

  • Bpf with report bex with variable BPC Embedded 10.1

    Hi BPC Friends
    I am creating a BPF with BPC 10.1 Unified.
    I have attached at this BPF a BPC report based on a Bex Query with a variable for the company code.
    The driving dimension of the BPF  is  the company code so I have selected some company codes.
    I have created the BPF Istance and I have assigned at the different company codes the proper users as performers.
    The problem is this:
    The user run the bpf istance for its company but  the report having the variable for the company code allow to the user to select also a different company code.
    I was expecting that the variable for the company code was locked for the company code assigned to the user
    Thanks
    Michele

    Hi Michele
    In the above scenario, from what I was able to understand, you have defined a BPF, the activity within the BPF opens a workbook, the workbook is using a BEx query that has already been defined. The BEx query has a variable which prompts the user for values for company code.
    The authorization variable will populate the BEx company code variable with the values that the user has been allowed to see.
    For example: If the user has a BW analysis authorization that only allows them to see company code 1000, 1003. When the user executes the report in Analysis For Office, the prompt in the workbook should only display the values 1000 and 1003. (Meaning that the user only has access to 1000,1003 to choose from)
    I don't understand where the performer is a prompt?.
    The data access profile is typically used to restrict access to the data (restrict what you can see in your report). The BEx authorization variable will not be driven by the Data Access Profile, this will be driven by the BW Analysis Authorization. (I say this under possible correction)
    Do you want the prompt in the workbook to display the performer of the BPF activity ? If so, I don't understand the requirement or why you would want to achieve this.
    Please could you provide more context,
    Hope this helps,
    Kind Regards
    Daniel

  • Dynamic filtering with BEx query variables in WebI 3.1

    Hi experts.
    Can anybody help me ?
    1) I use BEx query variables in WebI 3.1 .  But i can't understand how to order fields of selection screen in WebI reports
    2) How can i use Dynamic filtering with BEx query variables in WebI 3.1 ?
        It's need that  list of second field on selection screen will be accoding to result of selection first field on selection screen and so on .
        Need i use BEx user-exit variables ?
    Thank you

    Hi,
    1)  Variable sequence isn't respected in XI3.1 - and can't be modified in OLAP.unv  (this enhancement exists in 4.0 )
    2)  Dynamic filtering?  Yes, Exit routines are the best way to go for this.
    Regards,
    H

  • Buffer allocation in functional variable is driving me crazy

    Hello,
    I have a functional variable that holds 16 waveforms. Theses waveforms will be growing in time. For more memory efficency, I'm trying to use preallocation of the data arrays (let's say 300000 doubles).
    But it looks like there is a new buffer allocation at the shift register and  this is slowing my application big time.
    Since i'm pre-allocating and using inplace structure, I don't see why LabVIEW is doing a duplication of all the waveforms. 
    Any idea to acheive an efficient functional variable?
    Here are the code of my functional variable.
    Thanks in advance!
    Vincent
    Solved!
    Go to Solution.

    I don't think that buffer allocation dot is your problem. That will appear on any uninitialized shift register, and is just LV's way of telling you it's going to store data there.
    To improve performance I would add a new case called Get Data that outputs the waveform buffer, rather than having the shift register wired directly to an output indicator. That just forces LV to make a copy of the whole buffer every time this FG is called, even just to write or initialize data. The Get Data case would fork the shift register wire and send it to an output. Select the Use Default Value option for this output for this output terminal, so that the other cases (writing, initializing, etc.) just output an empty array of waveforms, which LV can do very efficiently.
    Jarrod S.
    National Instruments

  • BEx analyzer variable screen Copy  and paste the input values functionality

    Hi all,
    in bw 3.5 we have functionality on the variable screen we can do directly copy the values and paste in the input screen. But in BI 7.0 BEx analyzer I am not able to find it. Is it required to apply any patches?
    Please guide me on this.
    Thanks

    Hello All,
    We have a similar issue only in 2004s query designer when we execute a query via the web. We have the variable set up to accept multiple single values and we can pick multiple single values and add them, however, we cannot paste a list of, for example, personnel numbers from an excel spreadsheet into the web selection box to add multiple single values at one time.  Does this functionality exist?
    Regards,
    Ann Bohn

  • Issue with Xcelsius reading BEx Formula Variable

    I have a dashboard that is connected directly to a BEx query via a SAP Netweaver BW Connection. The BEx query has several characteristics restricted by mandatory variables (mostly User Exit type). So when I publish/launch my dashboard in the Portal, my dashboard is able to read in all values passed at the BEx prompt page, except one. I have one formula variable that is mandatory called Duration, but whenever I try to map the "Current Filter Value (Key)" or "Current Filter Value (Text)" in my connection to an Excel cell in my dashboard, it causes my dashboard to hang on the "Initializing..." screen indefinitely.
    Does anybody know if there is something special I need to do in order to have my dashboard properly read in the value from a formula variable?
    Xcelsius Enterprise 5.3.0.0
    Build Number:  12.3.0.670
    Any help on this would be much appreciated!
    Thanks,
    -Brian

    Hai
    Check this it will help u to Some extent.
    http://myxcelsius.com/2011/06/15/xcelsius-2008-sp4-waterfall-chart/?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3AMyxcelsius%28MyXcelsius%29
    Download the Xlf file and Check it for Summation in Excel
    http://xcelsius.excelyogi.com/supported.html
    http://www.forumtopics.com/busobj/viewtopic.php?t=171271&sid=244b8c717e3635721363eea8011cbb0d
    http://myxcelsius.com/2008/09/11/list-of-microsoft-excel-functions-supported-in-xcelsius-2008/
    http://www.ozgrid.com/News/named-ranges.htm
    Thank u
    Naveenkumar kc

  • Webi  Bypassing BEx Authorization Variable with SAP Exit

    BEx query has Hierarchy Node Variable with Authorization as processing type. Its set as User Input ready
    When the Webi report is refreshed, the LoVs appear as per the Authorization. However, if user doesn't select any value (pushes from right to left in variable screen) he gets NOT_AUTHORIZED error. Which is not intended, it should check the authorization in the background via SAP exit and populate the result. This is how it runs inBEx query.
    However, in Webi it's giving NOT_AUTHORIZED error? This is how the product is designed to work or is it a bug.
    I see several forum threads and SAP KBAs/notes but they are not answering my question. Could anyone please help.
    I am ready to provide more details on this error.
    Thanks,
    Tilak

    Hi,
    this is how authorization variable would work in any of the clients and not just Web Intelligence.
    You created an authorization variable which is configured as "read for input", so the user is getting prompted.
    So In Web Intelligence the LoV shows up.
    if the user does not select a value, then you are not sending a value, so you basically asking for all data and you are not allowed to see all data and therefore you are getting the message "no authorization".
    if you are making authorization variables as ready for input then the user needs to select the proper values - regardless of the BI tool.
    if you want the authorization to be check in the background then the authorization variable should be configured to not have ready for input.
    regards
    Ingo Hilgefort

  • XSLT-Processor functions/variables

    Hello
    I have a problem with variables in a xslt-sheet. Are there any restrictions
    in the oracle.xml.parser.v2 about variables and functions?
    Thanks for your help
    best
    chrue.

    No restrictions beyond those required by the specification.
    Would surely help to see a simple example of the problem you're running into.

  • Optional BEx query variables not working in WebI

    Hi,
    I have an Webi report based on Bex Query using BICS connection.
    One characteristic is restricted with two variables. First an authorization variable and additional with an input ready variable.
    This input ready variable is optional. When it comes up in webi and you choose a value it doesn't filter on it.
    We are on BO 4.1. SP3 and BW 7.31.
    With SAP_ALL the optional prompt is working, but for a user with limited access, the optional variable doesn't work.
    I have already made a RSRT trace with a test user. But I'm not sure what's the problem.
    Trace returned:
    S_RS_AUTH  RC=4 -->  BIAUTH=0BI_ALL; type=RF;name=BICS_PROV_OPEN;
    But I don't want to give the user 0BI_ALL, otherwise my analysis authorizations for this info object would be obsolete.
    Any ideas?
    Thx and Regards,
    Katharina

    Hi Neetika,
    thank you for your advice!
    I tried the filter without authorziation variable and it was working.
    I in addition I tried another option: I defined auth variable as input ready and deleted filter variable and that would work working.
    With this setting I recognized that for the authorization variable all allowed values are set as default values! If you execute query with SAP_ALL no default is set, but with limited access the allowed values are set as default.
    This may be the problem here. I don't know if this behaviour is by design or if there is a problem with rights?
    But now I know where the problem comes from.
    Regards,
    Katharina

  • Sort the values in Bex query variable screen

    Dear Experts,
    Is it possible to sort the values of a dropdown list for variables on BEX variable selection screen ? 
    For example, For calender month selection, the values are by default sorted by ascending order.
    Is it possible to sort by descending order ? 
    Regards,
    ravindra

    Hi Ravindra,
    yeah it is possible by writing an abap code for the field calmonth/week...etc this is depends on the F4 help of the selection field. so you need to write a code for F4 help for making it in descending order. hope it helps.
    Thanks,
    Vachan

Maybe you are looking for