Variable creation

hi sdn,
        I would like to create two variables based on fiscal year period and put them on columns. i am able to create two variables, but it is not allowing me to put them on columns, I can able to put only one in column.
any one have suggestions pls...
Ravi.

hi srinivas,
           As per user requirement, I need to create two variables, one has to calculate forecast values for month and another variable has to calculate forecast values depending upon the month he entered (ex: if he enters 01.2007 it has to caluclate jan 2007 values or if he enters 02.2007 it has to calculte jan + feb 2007 forecast values like that for every quarter.).
hope It give some idea.
Can any one explain me how to proceed....
Thanks,
Ravi

Similar Messages

  • Unable to Create "Not Equal to" condition in Variable creation

    Hi ,
    I am getting an error while creating variable at report level,
    Well, my condition at variable creation is ----> sum(A) where [country] <> " x" ...(It is showing the results when the country is equal to x) and the converse for the same ... If I use [country] = "x" .. It is taking as country not equal to x ..
    Please suggest me on this..
    Thanks in advance ....

    Hi ,
    I am getting an error while creating variable at report level,
    Well, my condition at variable creation is ----> sum(A) where [country] <> " x" ...(It is showing the results when the country is equal to x) and the converse for the same ... If I use [country] = "x" .. It is taking as country not equal to x ..
    Please suggest me on this..
    Thanks in advance ....

  • Dynamic variable creation

    i would like to know how to make use of bind variables in RPD variable creation . I tried creating in oracle10g by giving a sql query in Initiliazation block . I want to select a column based on a certain user input . For Your information i cannot use ':user' because it by default takes then current user who has logged in .

    If you are solely asking for a variable that would hold the value of username, Yes that is possible. It depends on the type of authentication you are using. Assuming you are using an LDAP server, providing the solution below:
    1) Source the list of usernames in to a external table in the database.
    2) Create an intialization block to populate that value based on user login.
    Ex: select username1 from externaltable where username1=':user' - Data Source
    variablename - Data target.
    Now you can use this in your required init block.
    Hope this answers your question.
    Please award points if helpful.
    Thanks,
    -Amith.

  • Variable creation in TestStand through CVI

    I have one steptype in which during Edit, the new variable has been created. I also saved that sequence. If I close that sequence file with that steptype and reopen the same sequence, the variable created last time was not there. I think these variable are not getting stored with sequence. The steptype building block is created in CVI. Those edit time variable creation is done by means of using “TS_PropOption_InsertIfMissing” functions in CVI. Can you please tell us is there any CVI functions to create variable during edit time and to be saved with the sequence.??

    Once again, Expression Strings, has stumbled another programmer!
    Parameters.DatabaseOptions.ConnectionString is not a string but an Expression String, and your assignment of a StationGlobals.Database ( just a string ) is causing this error.
    Here is what I did to solve your issue:
    1.) StationGlobals ( remove the leading "\" and trailing \"" from the Database string ) it should contain NO leading or trailing quotes
    StationGlobals.Database = Provider=Microsoft.Jet.OLEDB.4.0;Persist Security Info=False;Data Source=C:\\Users\\Public\\Documents\\National Instruments\\TestStand 4.2.1\\Components\\Models\\TestStand Results.mdb.
    2.) In Database Options Callback use the following expression to set the Data Source
    Parameters.DatabaseOptions.ConnectionString= "StationGlobals.Database"
    There are other alternatives as documented in this link.
    http://zone.ni.com/devzone/cda/tut/p/id/4793
    Good luck,
    PH

  • Variable creation error

    Hello gurus,
    I want to create some reports.
    Report requirement documents are there but i want your views with it.
    In there it says create
    Selection criteria when u execute a query
    => We have to create variables for those.
    After that it says
    Sold to Customer    with
    Selection options of   SINGLE VALUE, RANGE & LIST..
    Like wise i have lots of characteristics with SAME SELECTION OPTION
    So what type of variable shall i create.
    Any suggestions will be really appreciated.
    pOINTS WILL BE AWARDED

    Hi,
    You can create the variable as a Selection Option variable. This lets the user enter a single value, a range and list as well.
    http://help.sap.com/saphelp_nw04/helpdata/en/22/1e9b3c334d8c15e10000000a114084/content.htm
    Hope this helps...
    p.s. There is no need to add that you will award points. Be assured that you will get helpful replies even if you do not mention this

  • Variable creation on navigational attribute?

    HI all ,
    Can we create navigational  variable on navigational atribute .
    regards,
    Srinivas .

    Hi,
    When we make an attribute as navigational..then that attribute behaves exactly like any other characterstics.so
    you can create variables for the same in order to drilldown the query for detailed analysis on navigational attribute level.
    hope this is clear for you.
    Regards
    Ramsunder

  • Text variable creation Error.

    Hello gurus ,
    I am working in BI 7
    I have to design a Report in which i want follwoing key figures in column
    Net volume (User entry range of month)      Billing Product (same range of month)
    Now the trickiest part is that whatever user enters on Selection Screen i.e the range of month of year they wanted to see the output,
    they also want to see the same range entered in Report output.
    For e.g.
    user enters   Jan-March 2007
    Then in query output it shuld show
    Net volume (Jan-March 2007)      Billing Product (Jan-March 2007)
    Like wise.
    So if it aggregates the data for January to March , there is no worries.
    What i did?
    I restricted Net volume in Selection screen with Fiscal year/period.
    I restricted Fiscal year/period with Standard Interval range variable.(Because in its technical name the prefix was "0")
    Then i tried creating Text variable, and tried to include it in Description,
    BUT OVER THERE WHILE INCLUDING IT , I WAS UNABLE TO SEE THE INTERVAL RANGE VARIABLE.
    So i tried creating my own variable, and tried to use it.
    IF i use my own created variable everywhere i dont get output.
    But if i use Standard SAP provided variable everywhere, I am unable to include it while creating Text variable.
    Where did i go wrong ?
    For text variable i followed this procedure
    Message: Create Text Var - >Type of var - Text ->Processing type - Replca Path ->Time char on which u hav created the interval var ->Replcaement Path - > Replacement Tab : Replacement Variable -Variable - > Variable - Giv the Interval Variable
    - > Replace with key or text.
    Please advise

    Noviced,
    Best to create your own but you will need two. One to show you the From value and one to show you the To Value.
    When you are selecting the display type, you will see an option on that Dialogue box to show the From or To.
    Regards
    Gill

  • Variable creation for my report

    hi all,
    i have to create a variable for a characteristic (navigational attribute), and add it as optional selection criteria. but when i had done this, i am not getting the prompt window to enter the values for that particular variable in the BEx analyser.
    Its urgent , plz help me
    reg
    ashwin

    Hi
    May be u forgot to drag the variable into the rows or columns. Check it and let us know..... If u did check that box then it will definetly ask for the input...
    Khaja

  • Variable creation for Workbook

    Hi,
    Please can we create the variable for the workbook... which is used for multiple queries.... if yes how...
    Regards,
    Sonu

    Hi Sonu,
    Workbook is nothing but executing number of queries at a single time.
    If there is any link between say example 2 queries like Customer and the variable used is also same one, then System asks only 1 time for the variable.
    So that the same value put in first variable screen of first query will be input for second variable screen of other Query.
    If there are different variables used in that queries then there will be two  variable screen options (Except Common variable).
    Regards,
    Rajdeep

  • Error in Local Variable Creation in BPEL

    Hi,
    In BPEL, we can easyly create[b] local variable of simple type.
    But i want to create complex type variables that can be used for my internal purpose.
    But it is giving error , if i try to do so.
    Could you please give me some inputs of how to create a[b] complex type local variable in BPEL process.
    Thanks in advance

    define a complex type in the process XSD ..
    then, make the local variable ..

  • How to find the definition for variable creation in report painter

    Hi expert,
    How/where I can find information about the variable created in basis key figure in the report painter?
    What is the mean for basis key figure and variable (set variable on/off check ) in the basis key figure?
    Please advice.
    thank you.
    Regards,
    Karen

    Hi chinks ,
    Thank you for the prompt reply.
    My question is how to display the plan data for fiscal year 2012 with the version 6 without explicit/hard code to input version 6 when user just only key in the fiscal year 2011?Any method or variable can be done in report painter which do not appear in the input screen?And How ?
    I have try include the variable for version in the column but it appear in the selection input screen where i do not want the version to be appear in the selection input screen where everytime need to remember which version.
    I also have try to include the version in the column without variable and I need to key in the value version 6 which  this is hard coded where I can't analyst for plan data for budget 2011 where it required me every time need to change the value in report painter for version 5 in order to be able to view the plan data for budget 2012.
    Please help.
    Many thanks.
    KH

  • OSB 11g Variable Creation

    Hi,
    The title is rather self-descriptive, but I'll elaborate a bit anyway. I'm receiving data from a local proxy service in and performing validation on it. After validation,the data has to be transformed into two target formats, i.e. the validating proxy service calls on two separate business services in sequence. So, I'm trying to store the incoming data into a variable using assign activity, and then transform this data into two separate formats and publish them to the appropriate business service. However, server logs reveal that the publish activities do not occur. Could anyone please enlighten me as to what I'm doing wrong?

    Yeah, that's what I'm doing. And Unit testing for the business services show that they are working fine, so no issues there. Now, what I'm attempting to do is as follows:
    1. I've set up a pipeline in the proxy service message flow.
    2. In the first stage. I'm copying the contents of $body into a variable $temp.
    3. In the second stage, I'm performing business validations on the data in $body.
    4. If stage 2 doesn't throw an error, in the following two stages I'm applying Xquery Transform on $temp and passing the data to $body in a replace activity.
    5. I'm checking the JMS Queue, and finding nothing.
    6. I'm going crazy.

  • Customer Exit variable creation

    All,
    I have the follwoing requirement
    Variable : Requested delivery date ( Range , Mandatory)
    Rows:  --- Columns
    Average monday  - Actual Orders
    Average Tuesday --Actual Orders
    Average wednesday -  Actual Orders
    Average thursday - Actual Orders
    Average  friday --Actual Orders
    Based on the user entry , The query has to calculate Actual orders by different days..
    I think I have to write customer exit variable. or is there any other/better solution..
    thanks
    srinivas

    Hi,
    We can do it by using Customer Exit code, but it requires more efforts to do teh same. For Customer EXit codes with example please see the url.
    https://wiki.sdn.sap.com/wiki/display/profile/Surendra+Reddy
    Thanks
    Reddy

  • Dynamic type variable creation

    I want to create a variable with a pre-defined TYPE, but the latter will only be known at runtime.
    For instance:
    Consider that I my DEFINITIONS1 include file is:
    TYPES: BEGIN OF type1,
                    field1 TYPE i,
                    field2 TYPE i,
                    field3 TYPE i,
                END OF type1,
                  BEGIN OF cust_type_A,
                       INCLUDE TYPE type1.
    TYPES:       erdat TYPE vbak-erdat,
                  END OF cust_type_A,
                 BEGIN OF cust_type_B,
                       INCLUDE TYPE type1.
    TYPES:       fkdat TYPE vbrk-fkdat,
                  END OF cust_type_B.
    Than I have the following code (assume "letter" is a character parameter I receive, either 'A' or 'B'):
    INCLUDE definitions1.
    DATA: z TYPE REF to data.
    FIELD-SYMBOLS: <fs> TYPE ANY.
    DATA str type string.
    CONCATENATE 'MY_CUST_TYPE_' letter INTO str.
    CREATE DATA z TYPE (str).
    *  ASSIGN z->* TO <fs>.
    Why is that that the CREATE DATA z TYPE (str) statement fails ?
    How, then, I create a variable/field symbol from a specific type, which will only be known at runtime ?
    Thanks
    Avraham

    Check this code to create a dynamic type at run time using the RTTS - Run Time Type Services.
    DATA: lo_struct   TYPE REF TO cl_abap_structdescr,
          lo_element  TYPE REF TO cl_abap_elemdescr,
          lo_new_type TYPE REF TO cl_abap_structdescr,
          lo_data     TYPE REF TO data,
          lt_comp     TYPE cl_abap_structdescr=>component_table,
          lt_tot_comp TYPE cl_abap_structdescr=>component_table,
          la_comp     LIKE LINE OF lt_comp.
    DATA: lc_num TYPE char10.
    * field symbols to access the dynamic table
    FIELD-SYMBOLS: <f_line>  TYPE ANY,
                   <f_field> TYPE ANY.
    PARAMETERS: p_a RADIOBUTTON GROUP rd1,
                p_b RADIOBUTTON GROUP rd1.
    START-OF-SELECTION.
      DO 3 TIMES.
        lc_num = sy-index.
        CONDENSE lc_num.
    *   Element Description
        lo_element ?= cl_abap_elemdescr=>describe_by_name( 'INT4' ).
    *   Field name
        CONCATENATE 'FIELD' lc_num INTO la_comp-name.
    *   Field type
        la_comp-type = cl_abap_elemdescr=>get_p(
                          p_length   = lo_element->length
                          p_decimals = lo_element->decimals ).
    *   Filling the component table
        APPEND la_comp TO lt_tot_comp.
        CLEAR: la_comp.
      ENDDO.
      IF p_a = 'X'.
    *   Element Description
        lo_element ?= cl_abap_elemdescr=>describe_by_name( 'ERDAT' ).
    *   Field name
        la_comp-name = 'ERDAT'.
    *   Field type
        la_comp-type = cl_abap_elemdescr=>get_p(
                          p_length   = lo_element->length
                          p_decimals = lo_element->decimals ).
    *   Filling the component table
        APPEND la_comp TO lt_tot_comp.
        CLEAR: la_comp.
      ELSEIF p_b = 'X'.
    *   Element Description
        lo_element ?= cl_abap_elemdescr=>describe_by_name( 'FKDAT' ).
    *   Field name
        la_comp-name = 'FKDAT'.
    *   Field type
        la_comp-type = cl_abap_elemdescr=>get_p(
                          p_length   = lo_element->length
                          p_decimals = lo_element->decimals ).
    *   Filling the component table
        APPEND la_comp TO lt_tot_comp.
        CLEAR: la_comp.
      ENDIF.
    * 3. Create a New Type
      lo_new_type = cl_abap_structdescr=>create( lt_tot_comp ).
    * 5. data to handle the new table type
      CREATE DATA lo_data TYPE HANDLE lo_new_type.
    * 6. New internal table in the fieldsymbols
      ASSIGN lo_data->* TO <f_line>.
    Regards,
    Naimesh Patel

  • BeX: New Variable Creation

    Hi *,
    I have created a variable "Calendar Year" for a BeX query. For another query too, I need to have the variable for Calendar Year. Can I use the previously created variable of that query in the current query ?
    Because, I can see that it allows me to do so but the same is not visible in the transport connection for that particular query.
    Regards,
    Srinivas

    Hi Srinivas,
    You can define variables at quey level and also at data target level.
    If you create a variable at the query level you can use that variable in all the queries which are based on that.
    Tranportation of that variable is required only once, once you tranported that varibale you can use that variable any times. No need to tranport it again

Maybe you are looking for

  • Custom Calculation Script Pop-up Window If Statement

    I have a field that will be marked with a 1 or a 0 like below: if(Field1 == true) { event.value = "1"; } else { event.value = "0"; If the field I equals "1" then how do I put it in other fields: var RM = this.getField("TRA").value; if(RM >= 4.51 && U

  • Audio loops tempo sync

    Hi, Is it possible to load a loop in logic 8 which can automatically auto sync to the tempo like in ableton live ? I red on the manual that in order to be tempo synced, a loop must be : -apple loop format -bounce from logic and saved in the audio bin

  • Error in updating Cloud Application Manager

    Adobe Application Manager begins to launch then each time it seeks to update and fails. The message is: "We've encountered the following issues: The remote server is not responding in a proper manner. Please retry after a few minutes." This has been

  • IMac G5 can no longer see Macbook on my network

    I have a home network on a wireless linksys router. I use an iMac G5 and MacBook. Both computers were working fine and could see one another. Now the iMac no longer sees the MacBook. It CAN see my Dell Laptop when it is on the network and connects fi

  • IPod Shuffle 2G Won't Function

    So when I plug my iPod shuffle into my computer, I see it pop up in the My Computer, everything is fine. I open iTunes, the My Computer iPod disappears, but everything is fine on iTunes. I go to add new songs and it tells me that it needs to erase ev