Creating OLAP variables for infopackages

Hello Gurus,
I am interested in creating an "z" OLAP variable and then use in the DATA SELECTION in the infopackage,
Where can I create the same?
Thanks in advance.

Hi,
The following links will be very helpful for you.
Step by step OLAP variable for Infopackage
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a05ac9fa-f44c-2c10-dbb8-ef54c102707c?quicklink=index&overridelayout=true
Regards,
Kush Kashyap

Similar Messages

  • Step by step OLAP variable for Infopackage

    Hi Experts
    I have been thru all the threads but am still not clear how to accomplish this.  I am not an ABAPer so am trying to do this in Bex.
    I am in BI 7.0.  I want to create an OLAP variable for 0CO_OM_CCA_9 infopackage to select all cost centers for one 0comp_code.
    I've tried creating a query as well as variable but I can't seem to get it to work.
    I think the problem is all of the various possibilities of Settings in the variable creation i.e. Processed by, repalcement path, etc
    Thanks very much for your help !

    Thank you very much Sven !  This is exactly what I needed.
    I have a couple of additional questions.
    Do I use the variable in this query somewhere or just create it on the Cube?
    For Replacement Rule do I choose query and use the query I've just created or choose variable ?
    I have done this with query in replacement Rule and I can't see my variable in the list for selections in my Infopackage. 
    Thanks for your help
    laura

  • Problem in OLAP Variable for InfoPackage

    Hi All ,
    My requiremnt is to get all the Blank values for VERSION field from the R/3 to BW .
    So I created a OLAP variable and given that variable in the InfoPackage.
    code i written is
      IF p_vnam = 'ZS_BLKVR'.
        CLEAR: l_s_range.
        l_s_range-sign  = 'I'.
        l_s_range-opt  = 'EQ'.
        l_s_range-low   = '' .
        l_s_range-high  = '' .
        APPEND l_s_range TO p_t_range.
        CLEAR: l_s_range.
      ENDIF.
    Now when iam loading data in BW , it is giving zero records , but there are records in r/3 with blank values for VERSION field.
    in the selection critria it is displaying as '#' for Version in the monitor.
    So is there any other way to get the Blank values VERSION records from R/3
    Thank You.....

    Hi Ravi,
    You can write an ABAP routine to populate the VERSION field. Choose type '6' from the drop-dwon and try the following code,
    loop at l_t_range into l_s_range where fieldname = 'VERSION'.
      l_s_range-low = ' '.
      modify l_t_range from l_s_range.
    endloop.
    If it doesn't work then try to use the other way round. Find out what are the non-zero values possibel for version and exclude all the values from the selection.
    Hope it helps.
    Thanks,
    Soumya

  • Creation of OLAP Variable for Master data

    Dear BW Experts,
    How to Create OLAP Variable for Master data  in SAP BW? What is the use of OLAP Variable?

    The entry column Type (Variable) on the Select Data tabpage indicates a variable time frame in which the data should be requested. The variables are not replaced by concrete values until a request is made. There are eight options:
    Variable            Data request        Description
    0
                          Yesterday
                                            (12am – 12am)
    1
                         Last week
                                            (Monday-Sunday)
    2
                           Last month
                                            (1. (First day - last day of previous month)
    3
                           Last quarter
                                           (1. (First day - last day of previous quarter)
    4
                           Last year
                                          (01. (January 1 – Dec 31 of previous year)
    5
                      User time selection
                                               See below
    6
                       ABAP routines
                                               See below
    7
                         <b>OLAP variables</b>
                                                See below
    <b>Time selections with the help of the variables 0 to 4.</b>
    The variables 0-4 only refer to date fields of the data type DATS.
    <b>User time selection</b>
    Type 5 gives you a free selection of all fields.
    If you select this variable for a field, confirm the selection, and then choose Detail for Type, an additional dialog box appears. In this dialog box you can freely limit the values of the fields and determine the next period value and the number of periods until a repetition.
    Variables are placeholders for values and are not replaced by concrete values until a data request is made. You can also use a Variable for selections when requesting data for an InfoObject, if you choose type 7, confirm the selection, and then choose Detail for Type.

  • OLAP Variable for Filter Selections in DTP

    Hi
      In BI 7.0 DTP i am using a ZZ OLAP Variable for a Filter on Location.
      How/Where i can check the values defined for that OLAP Variable and if i want to update that selection with few new values
    Thanks

    Hi,
    Please check the threads below:
    Re: Infopackage - ABAP routine or OLAP variable
    Re: How to create OLAP Variable in DEV
    Re: Infopackage - ABAP routine or OLAP variable
    Re: creation of OLAP  Variable
    -Vikram

  • Can't find 0FYTLFP OLAP Variable in InfoPackage Data Selection tab on 3.5

    On BW 3.5, when generating an InfoPackage with the datasource as Purchasing Data(80PUR_C01), under Data Selection tab, for the InfoObject 0FISCPER, I selected 7 (OLAP variables)for the Type column, then click the button next to it and under the column of Details for Type to bring up a window, but when expending the OLAP Variable field list, can't find the following value in the list which shows up on BW 3.1:
    0FYTLFP     0FISCPER Cumulated to Last Fiscal Year/Period (SAP Exit)
    How to make the above value show up in the OLAP Variable list?   I thought maybe the variable 0FYTLFP needs to be installed in Business Contents, but there is no variable object type in Business Content.  It sounds like a SAP Exit, but how to make the SAP Exit value show up on BW 3.5?
    Thanks for everyone's input!

    hey Rohit,
    Besides the three variable values in the list on BW 3.5, now I find a new one in the list, called "0E_ROLE     0SR_ROLE     Role (SAP Exit)", I have no idea why this one shows up now.  Now all the four variables in the list are:
    1. 0CML12LM     0CALMONTH     Last 12 Months Excluding the Current Month
    2. 0CMONTH     0CALMONTH     Current Calendar Month
    3. 0E_ROLE     0SR_ROLE     Role (SAP Exit)
    4. 0S_RQMRC     0REQUID     Most Current Data
    0FYTLFP is still not in the list!   We can't try to create BEx query since our BW 3.5 system is just installed and we have not got to the step to ceate a query.  I try the 2nd way you suggested by pressing F6 on this variable with the typed in value 0FYTLFP, get the following msg "BEx variable 0FYTLFP could not be evaluated - No error message", that means it would not work on BEx query as well, right? 
    What could be the reason that we can't see 0FYTLFP variable in our new installed BW 3.5?  Do you think our BASIS missed installing sth?
    Thanks
    Message was edited by: Kevin Smith

  • How to create Presentation variable for columns and to use it in Narrative?

    Hi All,
    Anybody know how to create presentation variable for a column (i.e., i need to create it in edit formula section itself). And then, I should use it in Narrative section to display that column value. Is it possible? Or do i need to use any other variable for this requirement? If so please let me know, how to create it? This is very urgent requirement.
    Thanks in Advance
    Thenmozhi

    Hi Satya,
    I just want to create a table that should horizontally display the values like below:
         SUID Tag # :123456               Year Mfg: 2007                                                                                     
         Description: computer corporation FA ID#: 4576
         Model Number: 4569 hESC: #ert
         Serial Number: 78945 Flags: c
    Department: Hematology
    User: thenmozhi
    Database: OLAP
    I think we can create this type of report using either Narrative or Static Text. But I am not sure whether it is possible or not? And also another thing is that sectioning is applied for SUID Tag # column. So, depending on the dashboard prompt if the SUID Tag # retrieves two or more values.
    Then the first value for example 123456     and the values for the other columns related to this SUID Tag # value should display in the first page (i.e., page 1). And if the next value of the SUID Tag # for example say 678901 then the values should move to second page that is like this:
         SUID Tag # :678901               Year Mfg: 2008                                                                                     
         Description: Computer Manufacturing FA ID#: 4577
         Model Number: 4570 hESC: #eth
         Serial Number: 78946 Flags: G
    Department: Hematology
    User: Rehman
    Database: OLAP
    Thanks
    Thenmozhi

  • What is the best way to create shared variable for multiple PXI(Real-Time) to GUI PC?

    What is the best way to create shared variable for multiple Real time (PXI) to GUI PC? I have 16 Nos of PXI system in network and 1 nos of GUI PC. I want to send command to all the PXI system with using single variable from GUI PC(Like Start Data acquisition, Stop data Acquisition) and I also want data from each PXI system to GUI PC display purpose. Can anybody suggest me best performance system configuration. Where to create variable?(Host PC or at  individual PXI system).

    Dear Ravens,
    I want to control real-time application from host(Command from GUI PC to PXI).Host PC should have access to all 16 sets PXI's variable. During communication failure with PXI, Host will stop data display for particular station.
    Ravens Fan wrote:
    Either.  For the best performance, you need to determine what that means.  Is it more important for each PXI machine to have access to the shared variable, or for the host PC to have access to all 16 sets of variables?  If you have slowdown or issue with the network communication, what kinds of problems would it cause for each machine?
    You want to located the shared variable library on whatever machine is more critical.  That is probably each PXI machine, but only you know your application.
    Ravens Fan wrote:
    Either.  For the best performance, you need to determine what that means.  Is it more important for each PXI machine to have access to the shared variable, or for the host PC to have access to all 16 sets of variables?  If you have slowdown or issue with the network communication, what kinds of problems would it cause for each machine?
    You want to located the shared variable library on whatever machine is more critical.  That is probably each PXI machine, but only you know your application.

  • Can i Create Output Variable for DB Polling in BPEL 11g?

    Hi Team,
              I want to create the Output Variable for DB Polling,But when i double click on Reply Activity-->Create New Variable it is giving error message like "Can't Create output variable.The Selected operation doesn't have an Output Message".
    My Question is Can we create Output Variable for DB Polling, if Yes tell me the procedure to create the Output variable ?
    Regards,
    Kiran

    Hi Kiran,
    In these scenario generally runtime faults occurs so you can use the CatchAll activity and rethrow activity to complete the instance in error state. Also before the completion of the process if exception occurs you can rollback all the transaction.
    or
    you can use the Fault handling framework:
    Using Fault Handling in a BPEL Process - 11g Release 1 (11.1.1.7)
    Regards,
    Anshul

  • Creating OLAP Variables in Info Packages

    Friends,
    I want to know how to create OLAP Variables to use in Info Packages.

    Hi Anand,
    Please see the below link:-
    [OLAP Variables|https://www.sdn.sap.com/irj/sdn/advancedsearch?query=howtocreateOLAPVariables+&cat=sdn_all]
    Reward if useful
    Manish

  • Options 0 to 7(olap variable) in infopackage Scheduler screen

    Hi Pioneers,
    I've seen 0 to 7 options in the selection Tabpage of Infopackage scheduler screen(option TYPE beside a date selection).
    0(Yesterday),1(last week),2(last month)....6(Abap code),7(Olap variable).Could any one please let me know what do these options does?If  I am not wrong are these to pick data accordingly(weeek,month..).Please give me a clear picture
    Thanks in Advance
    James

    hi James
    this field is to used to populate date range field dynamically
    suppose u r loading any particular infopackage weekly for previous weeks data (monthly or daily) then u can use option 1 (2 or 0).
    but if u want u r own logic to populate this range in data selection tab for loading then u have to write routine in ABAP in option 6.
    Message was edited by:
            Arun Purohit

  • Olap variable in infopackage

    SDN,
    My question is the OLAP variable used at infopackage levl.
    Is that variable got entry when queri runs or from where it gets value?
    I didn't understand this I'm just confused in this regards.
    why olap variable(BEX varialbe ) at ip level
    pls could anybody clarifies this to me?
    thx
    r

    Hi,
    this field is to used to populate date range field dynamically
    suppose u r loading any particular infopackage weekly for previous weeks data (monthly or daily) then u can use option 1 (2 or 0).
    http://help.sap.com/saphelp_nw04/helpdata/en/e1/b7463c32a3fe13e10000000a114084/frameset.htm

  • OLAP Variable in InfoPackage / DTP

    Hi Experts,
    I created an ETL process in our Dev instance, and in my InfoPackage and DTP was able to use an OLAP variable when filtering on 0FISCPER (eg 0I_CUFYE or 0FYTCFP).
    When I tried it in Prod, the loads failed because it couldn't find these variables.  I am looking to find these types of objects so I can either transport them (ideally)  or activate them directly in Prd (if I have too!), but cannot find out where they exist.  Help!
    Thanks,
    Darryl

    Found it finally!
    Transport connection - Query elements - variable (ELEM.VAR)
    Cheers,
    Darryl

  • OLAP variant for InfoPackage usage

    Hi, experts
        new I need a new OLAP variant from current year period 1 to current year current period minus 2 ( for example, current period is 12, the varient should returen 2005001 - 2005010 )
        I find the SAP Exit "0FYTLFP" which can used in infopackage reture value from current year period 1 to current year current period minus 1 (2005001 - 2005011).
        then I write my customer user exit "ASP_PP_1" to derivated value from "0FYTLFP"
    CASE i_step.
      WHEN '0'.
          WHEN 'ASP_PP_1'.
            READ TABLE i_t_var_range WITH KEY vnam '0FYTLFP'
                   INTO i_var.
            l_s_range-low = i_var-low.
          "skip code for get value of current period minus 2
          "XXX is reture value
            l_s_range-high = XXX
            l_s_range-sign = 'I'.
            l_s_range-opt = 'BT'.
            APPEND l_s_range TO e_t_range.
         WHEN Others.
        ENDCASE.  "for i_vnam
      I debug user exit that I_Step = 0 if we select some OLAP variant in infopackage setting.
      the problem is, i_t_var_range table is alway blank when I debug the code. so I can not convert version from
    "0FYTLFP"
      how was solution about this problem ?  do you anyone met similiar problem as me?
    thanks in advance

    Hi Jie,
    the way you implemented the exit, variable ASP_PP_1 depends on variable 0fytlfp. When nobody enters values for 0fytlfp your variable will return an error (or no value). This of course counts for queries only.
    In InfoPackage, there is no way to enter any variables, so that's wy i_t_var_range is emtpy.
    Try to calculate your ranges based on sy-datum. Its the date of the clock of your server, so it should work
    regards
    Robert

  • How to create a variable for key figure (value will be entered by the user

    I want to create one query, where the user has to entered a max value when the query is started, so that only the query rows will be listed, where the key figure value (integer) of the row is smaller than the max value given.
    How can i define that variable which has to start at the begin of the query; and also the restricted key figure iin consideration of the KF variable.
    Thanks for helping
    Ar.

    Hi Arnaud,
                Go to Conditions-> Right click -> New Condition -> Edit -> NEw -> Selct the KEy figures from the dropdown( the KFs that are used in the rows/columns) -> Select Less than from the operator drop down (less than is for you case) -> Values, there is an option to create a variable -> Select the variable -> transfer. It will appear on the top.
    Save & Execute, you will find it in your selction criteria.
    Regards
    Sunil

Maybe you are looking for