SQL data Load rule with Substitution variable

Hi,
I have a data load rule with MySQL as a data source. I have requirement where user does not want to see Current day data in cube and they keep changing days not to be loaded.
I have setup the substitution variable SUBv as '2009-11-04' and have scripts to update it daily.
Data Load rule in where condition contains
brand = 'HP' and region = 'east' and date <> &SUBv
Now, above where condition does not work for date <> &SUBv but if I set substitution variable SUBv as "brand = 'HP' and region = 'east' and date <> '2009-11-04' " and set load rule where condition with just &SUBv it would just work fine. I dont know whats wrong in 1st place.
I dont want to create multiple where condition in substitution variable (Don't we have limit on them?). I have 40+ load rules which might use this SUBv substitution variable if I find a way to define it so that it work as "brand = 'HP' and region = 'east' and date <> &SUBv"
Thanks,
Vikram

I did some research and came to know when using substitution variable in Load rule need to keep substitution variable first in string..
It worked out magically.

Similar Messages

  • Relationship between ERPi metadata rules and Data load rules

    I am using version 11.1.1.3 to load EBS data to ERPi and then to FDM. I have created a Metadata rule where I have assigned a ledger from the Source Accounting Entities. I have also created a Data Load rule that references the same ledger as the metadata rule. I have about 50 ledgers that I have to integrate so I have added the source adapters that reference the Data Load rule.
    My question is... What is the relation between the Meatdata rule and the Data load rule with the ledger? If you can specify only one Ledger per metadata rule, then how does FDM know to use another metadata rule with another ledger attached to it? Thanks!!!

    Aksik
    1 How freequently this activation problem occurs. If it is one time replicate the datasource and activate thetransfer structure( But in general as you know activation of transfer structure should be done automatically after transport of the object)
    2 One thing for difference of time is environmental as you know in production system so many jobs will run at the same time so obiously system performance will be slow compare to Dev System. In your case both the systems are performing equally. You said in dev system for 50000 records half an hour and in production 200000 records 2hrs so records are more in Production system and it took longer time. If it is really causing problem then you have to do some performance activities.
    Hope this helps
    Thnaks
    Sat

  • Substitution Variable in Data Load Rule

    Hello,
    Is it possible to filter selected record or rejected record from a flat file using a substitution variable ?
    I use the v11.1.1.3.
    Thanks
    Rgds,
    Pierre

    A quich test on sample basic says no. I exported the data in column format and cleared the data. Then I created a load rule with selection criteria of a substitution variable and itdid not load any rows. I then changed the sub variable to an actual month and it loaded fine

  • Choosing Dimension Members / Creating Data Load Rule Files

    Hi
    Let me explain this problem using an example. Let's say I have a dimension table called "Product" and its has ProductId, ProductCode & ProductName fields, and a Fact table with ProductId and Value columns. As you can see ProductId has beed used to link to Fact table. I want to display ProductCode as dimension members (ProductName as Alias). I have no problem creating this scenario using EIS. But when I am not sure whether I could do this with EAS. I tried but I cannot get it working. Does anybody know to do this in EAS please? Also, how to create the data load rule for this problem using ProductId?
    Regards
    Chandra

    You can do this using a SQL load rule.
    One rule to build your dimension, simply select statement on the one Dimension table.
    Second rule to load data is going to require a Select statement with a join to pull the product name from the dimension table and the data from the fact table linked on the Product id.

  • Add formula field in data load rule

    Hello,
    I am trying to import data in Essbase from a txt file. The txt file contains data from an app with 12 dimensions and I want to load it into an app with 13 dimensions (View dimension for YTD is the extra dimension). Is that possible? I was thinking about adding an extra field in the data load rule which I would import as the sum of all other data fields. How would I do that?
    Thank you,
    Adina

    Hi,
    Thank you both for your answers. But what confuses me is this: I created a rules file using a file with 12 columns. I selected the appropriate member for each column in Field Properties, and added the View member in the data load header. Then I get the error message: "This field is also defined in the header definition" for all fields. However, if I don't set the members in Field Properties and just set them in the data load header, I get another error message: "There is an unknown member (or no member) in the field name."
    Can you please help?
    Thank you!

  • Data Load Rules file - Conditional load

    Hi,
    I need to create a data load rules file to load sales data. The data comes at product, entity, month, year, version, scenario, account level. I need to load data only towards two of the entities, NCC and NCCCBU, i.e if the product is coming under a particular hierarchy called UK then it needs to get loaded against NCC entity member and if the product is under the CBU hierarchy it needs to be loaded against the NCCCBU entity.
    All of the data comes in the same file so I need to load it in one go without splitting the file into two.
    Thanks
    Vikash

    You can achieve this.
    In the data load rule when you are mapping the entity column.
    set the propperties like this:
    Field properties -> Global Prpoperties
    Replace with
    UK NCC
    CBU NCCCBU
    Field properties -> Data Load Prpoperties
    Map the column with entity dimension.

  • Do we need to re-create data load rules if we upgrade from EBS 11 to 12?

    If so, please explain the reason. Thanks.

    If you upgrade from EBS 11 to EBS 12 you would need to create a new source system registration in ERPi.
    Once the new source system is created, you would then need to initalize the source system in ERPi.
    From there you would need to associate it with an import format and locations in ERPI and your data load rules are then based on the location.

  • Data load rule

    I am able to open a database outline, this database has got just one data load rule, on opening this, I get to see a blank upper window with lower table having some columns matching with some of the dimensions in outline.What can I make out from this data load rule regarding the location from the data is coming into the dimension members?? In otherwords how can I know where is data source for the dimension members and rules applied to it before data is loaded to dimension members.

    Continued from above:This means your data source file can be located anywhere. You specify the location of the data source file and the load rule when you load the data.The location of the data source file is not hard-coded into the load rule.Best Regards,

  • ERP integrator Tasks - Data Load Rule

    Hi
    We are facing issues with ERP integrator 11.1.2.2.
    We don't have some of the options available in in ERP integrator Data Load Rule Task.
    Earlier we have the Add option in Data Load Rule under Source Filter -- Segment Values and all ERP integrator task screens are different as earlier.
    Please find attached Screen shots of Current and Earlier.
    Actually we have applied path for HFM .
    Now its showing
    HFM version --11.1.2.2.303.3959
    ERP integrator - 11.1.2.2.0.0
    After applied path this issue is coming.
    Please guide us what we have to do to resolve this issue.
    Edited by: Nagarjuna Reddy on May 22, 2013 12:31 PM

    No i did not apply any patch for ERP integrator.
    But we have applied path for HFM..Is it effecting to ERP integrator??

  • Opening data load rule

    I am able to open a database outline, this database has got just one data load rule, on opening this, I get to see a blank upper window with lower table having some columns matching with some of the dimensions in outline.What can I make out from this data load rule regarding the location from the data is coming into the dimension members?? In otherwords how can I know where is data source for the dimension members and rules applied to it before data is loaded to dimension members.

    There's no way to know what file was used to build the load rule, or what files have been loaded using the load rule. You have to maintain your own documentation, or some kind of naming convention that makes it clear.

  • Data load failing with a short-dump

    Hello All,
    There is a data load failing with the following short-dump:
    Runtime Errors         UNCAUGHT_EXCEPTION
    Except.                    CX_FOEV_ERROR_IN_FUNCTION
    Full text:
    "UNCAUGHT_EXCEPTION" CX_FOEV_ERROR_IN_FUNCTIONC
    "CL_RSAR_FUNCTION==============CP" or "CL_RSAR_FUNCTION==============CM004"
    "DATE_WEEK"
    It seems as if it is failing in a function module - please advise.
    Regards,
    Keith Kibuuka

    Did you read OSS [Note 872193 - Error in the formula compiler|https://service.sap.com/sap/support/notes/872193] or OSS [Note 855424 - Runtime error UNCAUGHT_EXCEPTION during upload|https://service.sap.com/sap/support/notes/855424]
    Regards

  • Data Load rule  Sign flip

    In this version of Essbase 11.1.2.2.100.2176
    the Data Load rule
    Data Load Settings
    DataLoad Values
    Sign flip
    On UDA
    SignFlip
    Dimension Accounts
    Doesn’t work.
    I've properly set up a UDA called SignFlip in the Accounts Dimension.
    I moved a data load rule from a working application in a prior version and it doesn't work in the new version.
    I've also started a new dataload rule from scratch.

    Used corrected Load rule.

  • Referencing a substitution variable in data load rule header definition

    Hi All,
    Im trying to add a substitution variable to the header definition of a DLR.
    the sub var is &CurrMonth.
    When I execute the data load I get an "unknown member error" with a list of all members in the header definition, including Oct which is my current month.
    It looks like the DLR is resolving the sub var but for some reason it is refusing to load data.
    We are on 9.2.0.1.
    Are sub vars referenced differently for DLR?
    Thanks for your help.
    Seb

    Hi Seb!
    Hope you're well. You're doing everything right with the subvars so the issue must be elsewhere. Is the list comma separated? Sorry I can' help more :(
    Gee

  • Error while opening SQL source for a Data Load Rules File

    Hi ,I have created Data Laod rules file.When I try to open a SQL source for this rules file (File->Open SQL) , I get an error saying "Your server does not have a SQL connection Option, Please check with your system administrator"Further I get a message "There are no data sources defined. PLease create one to continue.".I have created DSN on my Essbase server.What is the problem.What needs to done to open SQL files.Thanks.

    I have Essbase 7.1 I guess for version 7.1 the SQL interface option is intalled with the Analytic server itself .Am I right?I have setup the DSN also.Please help to resolve this issue.Thanks .

  • Data Load: Replace with Rule

    Hi guys,
    this might be a simple question but need to find out quickly:
    Can it load exports with a rule file even its not in column format??
    Data source is an export and NOT in column format and need to load the data with a rule file to replace a member name. The new member names in the new outline has changed a little bit.
    Old: Team_1
    New: Team_01
    Export is done by right click data base -> export.
    Any idea?
    Regards,
    Bernd
    Edited by: Bernd on Mar 15, 2012 4:13 PM

    Data file in a free-form format doesn't need a rule file to import. Given your case my best guess is to just replace the names in the export file with the new names and jsut import it.

Maybe you are looking for

  • Launch a website from Presenter display?

    I was in a presentation, and could not launch a website from the presenter display, clicking it only advanced the slide. Unfortunately, I didn't test that out before presenting in front of a few hundred people this morning. Ooops. Can anyone please h

  • How to handle the double byte fonts in SAP ?

    Hi all, Can anyone provide me some links/documentations on using double byte fonts in generating PDF outputs using Adobe Document Services (ADS). Thanks in advance. Regards, Ravikiran.C

  • Upgrading the JVM in the oracle database.

    I found a post regarding upgrading the JVM in the database for release 10.2 of the database and they said it can not be upgraded to a newer version (i.e. 1.4 to 1.6_25 say). Is this still the case for the 11.2 release of the database. Thanks in advan

  • Can you define custom regions?

    I'd like to be able to create a region chart in Power Map but rather than using regions that are recognized such as postcodes or counties, I'd like to be able to define my own, in my case the areas that my sales branches cover. I have a file which ha

  • Continuing crashes since version 9 - no pattern

    The last stable version of Firefox that I used was version 8. Since Version 9, I have experienced almost daily crashes. Today I had 5 within less than an hour. The crashes are intermittent and I have been unable to determine any pattern. They have oc