Populating multiple values in variable and accessing it in FOX

Hi Experts,
In one of my requirement, I have restricted a default value in the variable within modeler filter. The properties of variable are:
Manual Entry/Default Value, multiple single values, optional, and not ready for input.
I will need to access this variable in customer exit for Global Variables code (ZXRSRU01) and populate some values based on certain logic in a different variable (processed by customer exit). I will have to access this customer exit variable in FOX.
I want to understand whether the above mentioned linkage between FOX and cusotmer exit code is possible and further will I be able to access the customer exit variable values through VARC and VARI functions supported by FOX.
Appreciate if some one can post a document or link.
Thanks in advance,
Pankaj.

Hi,
please check:
[http://help.sap.com/saphelp_sem40bw/helpdata/en/5d/12a0386de311d4b2f40050dadfb23f/content.htm]
[http://help.sap.com/saphelp_nw70/helpdata/EN/47/8776aa5129500be10000000a421937/frameset.htm]
Try using VARV, VARC and VARI and loops.
Hope this helps.
Regards Matthias

Similar Messages

  • How to store the value into variable and access it in RMAN script

    I want to create a variable and dynamically assign a numeric value to it (may get the value may be from SQL )and access the value in RMAN script.
    Thanks...Raj

    Raj,
    We have been getting this type of request and it is not possible via RMAN to do that.
    BUT--You could write a sql/plus script to query your variable and produce the RMAN script with the new value.
    Just a suggestion.
    Tammy

  • How do I store VI References in global variables and access them later

    From what I know, Labview automatically deletes VI references when they go out of use. Is there a way for me to override this so that I can access a set of preloaded references in a separate VI? Essentially I would like to open the VI's dynamically into the memory, store the references in global variables and access them at a later time. The VI's I'm referencing won't be known until runtime. I know its not the safest way to do it, but it would be the most productive on my end.
    Thank you
    Clay Upton

    I'm not sure what you mean by "a later time", but a VI reference will remain valid as long as the VI is in memory. If you don't unload the VIs, the references will remain valid.
    If you do need to unload the VIs, for whatever reason, I would suggest the following:
    Create a functional global as your interface for obtaining the references.
    Feed the paths to the VIs into the VI when initializing it (since you don't know which VIs in advance).
    When calling the VI to obtain the references, have the VI check them first (using the Not a Number... primitive). If it sees that they're invalid, it can open a new reference and return that.
    You should note that when a VI is removed from memory, the data space is used is released, so if those VIs are expected to hold data (using shift registers, etc.) this will be a problem.
    The description I've given will only be usable in certain instances (and it has its intricacies), but you didn't really give any details about what you're actually trying to accomplish.
    Try to take over the world!

  • Chaining "Get Value of Variable" and "Run AppleScript" actions in Automator

    I'm attempting to access a variable I've set in Automator from within a "Run AppleScript Action". On occasion, generally when I start in a fresh new file, I can chain the "Get Value of Variable" action with the "Run AppleScript" action as you would expect.
    Most times, though, they will not chain together. I haven't specified that the "Run AppleScript" action should ignore input, but it behaves that way. I've tried everything I can think of, but I'm out of ideas.
    Am I going about this all wrong? (Thanks in advance for any suggestions!)
    Message was edited by: rch_nashville (for clarity)

    The *Get Value of Variable* action is another quirky one. I'm not sure what causes it to fail, but sometimes putting another (dummy) action in between gets it to work. You can also access workflow variables directly from the Run AppleScript action, so you might also give that a try:
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    font-weight: normal;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 680px;
    color: #000000;
    background-color: #B5FF6C;
    overflow: auto;"
    title="this text can be pasted into an Automator 'Run AppleScript' action">
    on run {input, parameters} -- get values of workflow variables
    set output to {}
    set theVariables to the name of variables of front workflow
    if the result is not {} then
    set theVariables to (choose from list theVariables with multiple selections allowed and empty selection allowed)
    if result is false then error -128 -- cancel
    repeat with someVariable in theVariables
    set the end of the output to (get value of variable someVariable of front workflow)
    end repeat
    end if
    return output
    end run
    </pre>

  • Multiple Values in Variable.

    How can I assign multiple values to one variable in rpd?
    Say I want 'NY', 'CA', 'IL', 'TX' states in one variable, is that possible? if so how?
    Thanks.

    The session variable, NQ_SESSION.STATE, is defined as Row-Wise Initialization. It is restricted to usage with equality comparisons you receive because you cannot set default value as long as row wise session variable has multiple values and it does not make any sense to set default value, so if you test it in RPD the results is like:
    STATE State1
    STATE State2
    STATE State3
    STATE State4
    Therefore it can be used only in the filter (equality comparisons).
    If you say, for example:
    select 'CATEGORY', prod_category from
    (select distinct prod_category from sh.products)
    where prod_category='Peripherals and Accessories'
    Row wise STATE get only one value and you can use it as default to the dashboard prompt or in Answers edit column formula, otherwise not.
    In your example:
    (SELECT CASE WHEN VALUEOF(NQ_SESSION.GROUP) = 'EXT_USERS' THEN 'FL' ELSE VALUEOF(NQ_SESSION.STATE) FROM ***) END)
    VALUEOF(NQ_SESSION.STATE) has multiple values, so if want to set one of that value as default use another init session variable block to set only one of these values like:
    select 'STATE_DEFAULT', state from dim-locations where state ='NY'
    or just hardcode it in the RPD because you said that you don't want that it shows up for external user in the dashboard prompt (like you hardcode 'FL') and then put it in the default part:
    SELECT CASE WHEN VALUEOF(NQ_SESSION.GROUP) = 'EXT_USERS' THEN 'FL' ELSE VALUEOF(NQ_SESSION.STATE_DEFAULT) FROM ***) END)
    Regards
    Goran
    http://108obiee.blogspot.com

  • Using multiple value presentation variable in a formula

    I am using 11.1.1.5 version of OBIEE. I have a dashboard prompt that contains a value for a list of departments. I want the user to select multiple values. I am pushing these values into a presentation variable called deptname. I know would the multiple values in a formula. I want to do a filter using a statement like this. I don't get an error. It works for one value but not for many. I have tried to use it with an in clause but can't seem to get that to work either. Formula is below. I have also been playing around with quotes since these are strings. Any help is appreciated. I only want the value in the formula filtered not the whole report which is why I am doing it this way. The below works for one value. Returns blank for more than one value.
    FILTER( "Fact Class Enrollment"."Units Taken") USING "Academic Organization"."Academic Organization Level 5 Desc" = '@{deptname}{Sociology}' )

    Michael Nichols wrote:
    I am using 11.1.1.5 version of OBIEE. I have a dashboard prompt that contains a value for a list of departments. I want the user to select multiple values. I am pushing these values into a presentation variable called deptname. I know would the multiple values in a formula. I want to do a filter using a statement like this. I don't get an error. It works for one value but not for many. I have tried to use it with an in clause but can't seem to get that to work either. Formula is below. I have also been playing around with quotes since these are strings. Any help is appreciated. I only want the value in the formula filtered not the whole report which is why I am doing it this way. The below works for one value. Returns blank for more than one value.
    FILTER( "Fact Class Enrollment"."Units Taken") USING "Academic Organization"."Academic Organization Level 5 Desc" = '@{deptname}{Sociology}' )I don't have 11g so this is a shot in the dark. Try something like this:
    FILTER( "Fact Class Enrollment"."Units Taken") USING "Academic Organization"."Academic Organization Level 5 Desc" IN ('@{deptname}{Sociology}'))

  • Exchanging values of variables and printing problems

    Hi, everyone
    I have two questions
    First one:
    Write the definition of a method  printGrade , which has a  char parameter and returns nothing. The method prints on a line by itself the message string  Grade: followed by the  char parameter (printed as a character) to standard output. Don't forget to put a new line character at the end of your line.
    and my code is:
    public static void String printGrade(char A){
    System.out.println("Grade:" +A+ "\n");
    }My question is:
    1.why the compiler asks me to delete the public and String. The method prints out a String messge, shouldn't I use String as the identifier of the method?
    2. the problem ask me to print the char parameter as a character, in this case, should I use the + sign? if I use it, will the compiler return the value for String A?
    Second one:
    temp = i;
    i=j;
    j= temp;We use this method to exchange the values of i and j. My question is why the value of temp can stay unchanged when I write i=j? if I want the value stored in temp from i to j, but not by writing temp=j; what should I do?
    Thank you very much for your help.

    Terry001 wrote:
    1.why the compiler asks me to delete the public and String. The method prints out a String messge, shouldn't I use String as the identifier of the method?The compiler doesn't care what your method prints. Printing is just another method you call. It cares what, if anything, your method returns, and you've already stated that with void.
    2. the problem ask me to print the char parameter as a character, in this case, should I use the + sign? if I use it, will the compiler return the value for String A?The + is fine. "Printing 'as a character'" doesn't make any sense.
    Also, you don't need the \n, since a) println already adds a newline, and b) \n is not the line terminator on all platforms.
    Second one:
    temp = i;
    i=j;
    j= temp;We use this method to exchange the values of i and j. My question is why the value of temp can stay unchanged when I write i=j?Because i and temp are two totally separate variables. Doing "temp = i" does NOT mean that are now "aliases" for each other. It just means that whatever value was in i at that point is copied to temp. Further changes to i do not affectd temp, and vice versa.
    if I want the value stored in temp from i to j, but not by writing temp=j; what should I do?Find a different language. The only way to get j's value into temp in Java is with temp = j. (Or, I suppose temp = somethingElse, where you previously put j's value into somethingElse, but that amounts to the same thing.)

  • ASP VBScript , Remote_User server variable, and Access DB

    I need to recreate some ASP pages that were orginally created
    in MS FrontPage once upon a time.
    I have a table in an Access DB that contains the user's login
    ID. I need to pull the date the user completed a quiz at the end of
    a web training module.
    My connection looks OK, b/c I can pull other info. I can pull
    the quiz completion date if I put in my login ID. The login ID is
    called Email in the DB and the completion date is called Time.
    This works:
    SELECT [Time]
    FROM QuizComplete
    WHERE Email = 'OCSP/BUTLER_A' AND QuizID = 109
    How do I change the WHERE Email so it filters by the Server
    Variable Remote_User?
    Thanks!

    Amy_L wrote:
    > Ah! Ok, I set it up with parameters, but still getting
    error messages.
    >
    > It doesn't seem to like having the
    ServerVariables("REMOTE_USER") as the value
    > for Param1. The webpage won't open in a browser at all.
    >
    > I then tried it with the value as
    Request.ServerVariables("REMOTE_USER"). The
    > web page opens and where the data should be there's an
    error message:
    Ahh yes, thats the correct one.
    > ADODB.Field error '800a0bcd'
    >
    > Either BOF or EOF is True, or the current record has
    been deleted. Requested
    > operation requires a current record.
    That means it not finding a record with the remote_user that
    matches.
    > I'm sure my record is in the DB. Even it wasn't there I
    need where the
    > recordset on the web page is to be blank. Is there an
    additional piece of code
    > I am supposed to add?
    As a test, create a blank page and put
    <%=Request.ServerVariables("REMOTE_USER")%> on it and
    then display the
    page in your browser. You will see what is returned so you
    can then
    double check your database. If you get nothing back, then
    your IIS
    server isn't configured properly, or you are using a browser
    that
    doesn't use your authenticated login from your domain
    controller.
    Firefox needs to have your servers names added to a special
    section in
    advanced options for this to work, IE does it by default,
    Safari can't
    do it at all and Opera will prompt for your username and
    password.
    Dooza
    Posting Guidelines
    http://www.adobe.com/support/forums/guidelines.html
    How To Ask Smart Questions
    http://www.catb.org/esr/faqs/smart-questions.html
    How To Report A Bug To Adobe
    http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

  • OLAP on 11g and Materialised Views with Multiple Value-Based Hierarchies

    Hello OLAPians
    I am trying to setup Orable BIEE to report on an OLAP cube with pre-aggregated data. As OBIEE is not able to hook into the OLAP directly i have to create an SQL cubeview.
    Currently i am on a 10g OLAP environment and am using the oracle sample SQL cubeview generator to create an SQLview of my cube.
    The cube itself has multiple dimensions and these dimensions have multiple VALUE-based (ragged) hierarchies and dimension members can be shared across hierarchies also.
    Initially i had a problem running the view generator plugin because there is a bug within it that does not finish if there are multiple value-based hierarchies present. I was able to get around this by manually editing the limitmap for the cubeview and manually creating the SQL view.
    The question that i want to ask is how robust is the 11g materialised views with multiple value-based hierarchies and the sharing of dimension members across different hierarchies?
    Has anyone successfully been able to create a cubeview and import it into OBIEE without the hassle of manually editing the limitmap?
    A problem arises with the value-based setup whereby if the client creates a newer depth in the ragged hierarchy, i need to manually create the limitmap and the cube-view over again, and then re-map the BI Administration mappings.

    The simple answer to your question,
    how robust is the 11g materialised views with multiple value-based hierarchies...?is that materialized views are not supported on top of value-based hierarchies in 11g. The reason is that it is not possible to write a reasonable SQL statement that aggregates a fact over a value-based hierarchy. Such a SQL statement is necessary if we want to create a rewritable MV on top of the cube.
    But I suspect this is not what you are really asking. If you are trying to set up OBIEE on top of the cube in 10g using the view generator, then you will probably want to use the "ET VIEWS" that are generated automatically in 11g. These are generated whether or not you enable materialized views on top of your cube. I am not aware of any issues with the generated value-based hierarchy view support in 11g. Members may be shared between value hierarchies and you will not need to generate or modify limit maps.

  • Non-static variable cant accessed from the static context..your suggestion

    Once again stuck in my own thinking, As per my knowledge there is a general error in java.
    i.e. 'Non-static variable cant accessed from static context....'
    Now the thing is that, When we are declaring any variables(non-static) and trying to access it within the same method, Its working perfectly fine.
    i.e.
    public class trial{
    ���������� public static void main(String ar[]){      ////static context
    ������������ int counter=0; ///Non static variable
    ������������ for(;counter<10;) {
    �������������� counter++;
    �������������� System.out.println("Value of counter = " + counter) ; ///working fine
    �������������� }
    ���������� }
    Now the question is that if we are trying to declare a variable out-side the method (Non-static) , Then we defenately face the error' Non-static varialble can't accessed from the static context', BUT here within the static context we declared the non-static variable and accessed it perfectly.
    Please give your valuable suggestions.
    Thanks,
    Jeff

    Once again stuck in my own thinking, As per my
    knowledge there is a general error in java.
    i.e. 'Non-static variable cant accessed from static
    context....'
    Now the thing is that, When we are declaring any
    variables(non-static) and trying to access it within
    the same method, Its working perfectly fine.
    i.e.
    public class trial{
    ���������� public static void
    main(String ar[]){      ////static context
    ������������ int counter=0; ///Non
    static variable
    ������������ for(;counter<10;) {
    �������������� counter++;
    ��������������
    System.out.println("Value
    of counter = " + counter) ; ///working fine
    �������������� }
    ���������� }
    w the question is that if we are trying to declare a
    variable out-side the method (Non-static) , Then we
    defenately face the error' Non-static varialble can't
    accessed from the static context', BUT here within
    the static context we declared the non-static
    variable and accessed it perfectly.
    Please give your valuable suggestions.
    Thanks,
    JeffHi,
    You are declaring a variable inside a static method,
    that means you are opening a static scope... i.e. static block internally...
    whatever the variable you declare inside a static block... will be static by default, even if you didn't add static while declaring...
    But if you put ... it will be considered as redundant by compiler.
    More over, static context does not get "this" pointer...
    that's the reason we refer to any non-static variables declared outside of any methods... by creating an object... this gives "this" pointer to static method controller.

  • Help : How to use list of values in Variable in ODI

    Dear All,
    I have a multiple values in table, and I would to use these values a a parameter in ODI to retrieve rows based on these values. As I know that we can use single value in variable in ODI.
    Any one can Help me please?

    Can't you use a join between the tables ?
    ODI mostly take advantage of native technologies.
    i.e If my source technology is oracle then i will create a join between the table i.e. MAINTABLE.column = LOVTABLE.COLUMN and also put a filter on LOVTABLE to take required values.
    OR you can write a subquery in the Filter i.e. MAINTABLE.COLUMN in ( Select LOVVALUES from LOVTABLE where LOVTABLE.ATTRIBUTE = 'BUSINESS_UNIT')

  • Reg: Multiple Ranges for Variables

    Hello Gurus,
    We have a requirement to have Multiple Ranges for Variables and I have gone through the document below which is applicable to 2004s SP 07.
    We are on CE 7.1 SP 3 I was looking for a similar document which can guide me to create Multiple Value ranges in CE.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/07134c67-0b01-0010-0493-b89287cf330f?quicklink=index&overridelayout=true
    If this is not available in SP 3 is there a Workaround to have the same kind of functionality.
    Thanks & Regards,
    Pramod

    Hi Pramod,
    If I understand correctly, u want to send a range of values to the variable of a query.
    This can be done using " ; ". syntax is [value 1];[value 2];[value 3]
    If you want to send two dates to a query date variable... take two date fields then pass to the variable date1;date2 (while creating query you took variable of type range)
    Thanks,
    Pradeep

  • Export - Import In ABAP ( for variables and internal table)

    how can we pass value for the variable and internal table using Export and Import?
    data: var type sy-uzeit.
    var = sy-uzeit.
    EXPORT var TO MEMORY ID 'TIME'.
    data: var type sy-uzeit.
    IMPORT var FROM MEMORY ID 'TIME'.
    write:/ var,sy-subrc,sy-uzeit.
    i found var value 0 while importing. 
    what is the right syntax for passing value of variable and internaltable.
    regards,
    dushyant.

    Hi,
    There are two possible solutions.
    Solution1:
    Program1.Should be run before atleast once so that TIME should be filled.
    data: var type sy-uzeit.
    var = sy-uzeit.
    EXPORT var TO MEMORY ID 'TIME'.
    Program2.IF the TIME is filled,then only it will produce the result.
    data: var type sy-uzeit.
    clear var.
    IMPORT var FROM MEMORY ID 'TIME'.
    write:/ var, sy-subrc, sy-uzeit.
    Solution2:
    Single program:
    data: var type sy-uzeit.
    var = sy-uzeit.
    EXPORT var TO MEMORY ID 'TIME'.
    clear var.
    IMPORT var FROM MEMORY ID 'TIME'.
    write:/ var, sy-subrc, sy-uzeit.
    Kindly reward points by clikcing the star on the left of reply,if it helps.

  • Multiple Value Based hierarchies per MOLAP dimension

    Hi,
    a) Is it possible to have multiple value based heirarchies in a single MOLAP dimension in OWB and deployed to analytical workspace ?
    Are there any pitfalls, that we need to be aware of...
    b) Can we have a mix of Value and level based heirarchies per dimension ?
    Thanks in advance,
    Chakri

    Hi Chakri
    Yes, you can have multiple value based hierarchies and also a mix of value/level based.
    Cheers
    David

  • Multiple Values using if-- inlist

    Hi,
    How to pass multiple values  using inlist and if
    =if([Plant] InList("2010";"2012";"2014";"2016";"2018") ; xyz") ElseIf([Plant] InList("2020";"2022";"2024";"2026";"2028"); "pqr") ElseIf
    ([Plant] InList("2030";"2032";"2034");"abc") else ([dgh])
    i am getting error in this please correct it
    Thanks & Regards,
    Vinay

    Use  "Then " to resolve above error.
    For example :
    =If([Year]InList("2001";"2002";"2003")) Then "Y" ElseIf ([Year]InList("2005";"2006";"2007")) Then "yy" Else ([Year])
    Regards,
    Pranay

Maybe you are looking for

  • 865PE Neo2-P Platinum Edition and P4 3.2 fsb800 memory and colers

    Hello guys is my first time in this forum I buy a MSI 865PE Neo2-P Platinum Edition and a P4 3.2 Box Northood Fsb 800 with the cooler on. My question is what Cooler is better than the box one from Intel? What 512 memory are work perfect on this siste

  • How to check which table

    Hi Gurus, Need some advice. In SM69, I could see a list of jobs define by SAP and also by the customer. SM69 refers to table SXPGCOTABE. When I view the table from SE16, it only shows the jobs define by SAP not by the customers. Could anyone tell me

  • OTR text (Note) to be changed in  PAOC_HAP_DOCUMENT_WD_UI package

    Hi All, I need to hide the u2018Noteu2019 text only in the column description of all the column notes. when i searched in forum i got a snote 1416604. But when i searched for the Package - PAOC_HAP_DOCUMENT_WD_UI i found that my system doesnt have Al

  • How can we Debug the workflow?

    Hi, How can we debug the workflow? Please help  me on debugging the workflow in step by step procedure? Early reply is highely appriciable. Regards, Chow.

  • Queue not queueing

    I have a producer / consumer architecture - data are being read (from a TCP read) in the producer loop and placed on a queue. The consumer is reading the queue and doing lots of modelling, analysis and display. This architecture was chosen because th