DATAEXPORT in Business Rule

Has any one tried using DATAEXPORT command in Business Rules? Business Rule says DATAEXPORT is unknown command. At the same time calc script with DATAEXPORT works fine. AAS v.9.3.1
Thanks in advance!

Hi,
You will need to install the planning patch 9.3.1.1.5 or later, the latest patch is 9.3.1.1.7
Patch 9.3.1.15 resolves request 7021469 - Business Rules should support DATAEXPORT and DATAIMPORTBIN functionality.
You can download the patch from metalink3.
Hope this helps.
John
http://john-goodwin.blogspot.com/

Similar Messages

  • DataExport in Business Rules

    Hi,
    is there a way to make the DataExport calcscript command works in Business Rules ?
    I made the script below to export data in a calcscript and it works fine.
    //ESS_LOCALE French_France.MS1252@Default
    SET DATAEXPORTOPTIONS
    DataExportLevel "LEVEL0";
    DataExportRelationalFile ON;
    DataExportOverwriteFile ON;
    DataExportDecimal 2;
    DATAEXPORTDIMHEADER OFF;
    FIX ("Probables", "FY08","Officielle",@RELATIVE("E23",0));
    DATAEXPORT "File" "," "D:\Hyperion\AnalyticServices_LTQuebec\APP\LTQuebec\Finance\Dump_Data\TestBV_SBQ.txt" "#MI";
    ENDFIX;
    The main objective is to have a level-0 file of all data for a specific version, scenario, year and entity. This file will be used (after modification like inluding alias and comments from Planning) as a reference by users.
    Now, I would like to move it in a business rule to be able to pass parameters from a Planning form.
    In my example "E23" is an entity and I would like it to change to follow user security in Planning (user will not be able to choose other entity than those they can access in Planning).
    I tried to do it in a report but it is too slow as we have 12 dimensions, 3 of them having more than 1000 members.
    Is anybody did something similar before (using DataExport or another method) ?
    Thanks

    Hi John,
    my problem is not with DataExport performance, which is really fast (5 seconds or less). We have only level-0 members included in the export and none currently has dynamic calc.
    The performance issue is with reports that take a long time to generate as we have 1000+ Activity * 1000+ Products * 1000+ Sectors so, basically 1,000,000,000 cells * the numbers of entities included. Last time I ran my test report, it ran for 6 hours before I killed it. Even with "Suppress Missing", it seems to try to extract all data first and remove missing after.
    This is why we changed to DataExport, which is more efficient. But the fact that DataExport seems to be unrecognized by business rules cause me the problem that I can't use parameters and users will be able to see entities that are not their own (unless I create 200 scripts, one for each users, which will not really be a solution).
    Thanks

  • DataExport Syntax Error in Business Rules

    I am having issues trying to create a data export business rule in version 9.3.1. The syntax works fine as a calc script but when I copied it to a business rule I get a syntax error at the first bracket ({) after the 'DATAEXPORTOPTIONS.'  The error says it was expecting "\", "]]", <SUBST_VARIABLE>...
    The script is pretty simple:
    SET DATAEXPORTOPTIONS
    DataExportColFormat ON;
    DataExportColHeader "Account";
    DataExportOverwriteFile ON;
    FIX(&ActYear, "Plan","Working.DIV","Local","USD","EUR""HSP_InputValue",@LEVMBRS("Entity",0),"Patch_US","Total Employees")
    FIX(@REMOVE(&LastClosedMonth:"Dec",&LastClosedMonth))
    FIX("RegularWages","MeritInc","FICATax","FUTATax","SUTATax","IntlTax",@DESCENDANTS("HCFT"),@DESCENDANTS("HCPT"),@DESCENDANTS("HCInt"))
    DATAEXPORT "File" "," "F:\Hyperion\AnalyticServices\app\AOLWFP\WrkForce\Exp_WrkForce_ActYear.txt";
    ENDFIX
    ENDFIX
    ENDFIX
    I know the data export would not work with business rules unless you have at least patch version 9.3.1.1.5. This shouldn't be an issue:
    EAS - 9.3.1.4
    BR - 9.3.1.1.11
    Planning - 9.3.1.1.12.5
    Has anyone come across this before? Any help would be greatly appreciated.
    -John

    Thank you for pointing this out.
    I'm currently browsing metalink kb but "7021469 - Business Rules should support dataexport and dataimportbin functionality" provides no results.
    hbr_93300_readme.pdf refers indeee to that issue but I cannot upgrade to that version (because, as stated in that pdf, I should upgrade all prouducts to 9.3.3)
    You said it might be solved in Administration Services release 9.3.1.5 (I believe 9.3.1.1.5 was a typo), but the readme does not mention it...

  • Using dataexport in a business rules and define the filename with a sub var

    Hi,
    I have created a calc script to export data using DATAEXPORT, and to define the filename an essbase variable.
    Here all right
    I copy this code to a business rules to run it from a business rules, but I have a problem with the essbase variable, when I validate it, it gives me the error:
    Detail:Encountered "&FileNm" at line 28, column 26.
    Was expecting:
    My essbase variable is set to:
    "e:\Hyperion\products\Essbase\EssbaseServer\app\TMPGB\dataexportCustomerY2.txt"
    in double quote
    How anyone use in a Business rules with the command dataexport an essbase substitution variable

    Just tried:
    Script: DATAEXPORT "File" " " &Filename "#Missing";
    SubsVar: "c:\DataExtract.txt"
    it worked with no issues.
    Cheers,
    Alp

  • Dynamic filename in Business Rules

    Hi,
    I would like to use the DataExport command in my business rules to extract level-0 data in a file as a reference for user. I would need to extract data only for Entities that a user has access to (I figured that I could use parameters, link the rule to a Planning form and use "members" on form).
    My problem is that I would need a different filename for each execution. Something like :
    ..\userABC_20090513_100350_BV_SBQ.txt
    ..\userDEF_20090513_100430_BV_SLVQ.txt
    Is there a way, in business rules, to find the following info ?
    - the user who is currently running the rule.
    - the current date.
    - the current time.
    If not, is there a way to include a shell in a business rule. I have a small .exe that return the date or time as an "errorlevel" code that I could use if I can call a shell in the rule.
    Finally, a theorical question : is there an other way to ensure that only the user who run the rule can access the generated file (always while using business rules) ?
    Thanks

    First, in a well designed data model, I'm not sure I see the need for data validation logic to change regularly. If a particular column cannot be NULL today, it would be rather unlikely that it would somehow need to be NULL tomorrow.
    Second, I'm not sure I see what this approach buys you over the much simpler approach of adding and removing check constraints if the data model changes. Adding and removing a constraint is pretty trivial-- orders of magnitude less difficult than doing the analysis to determine what constraint needs to change and what impact that has downstream.
    Third, I would suspect that if you need to encode these sorts of constrains in a table, your system will kill downstream systems with regularity. If p1 is NOT NULL today, but tomorrow it suddenly allows NULL values, a consumer application might well break (or worse, silently return incorrect results). Data changes should not be able to screw up downstream systems.
    Fourth, if you did build such a system, you would have to build your own constraint validator, rather than being able to rely on Oracle's (unless you wrote code to create and drop Oracle constraints based on values in a table, but that seems rather convoluted). Given that Oracle's constraint validation engine is highly optimmized and highly accurate, a home grown engine isn't going to look particularly good in comparison.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Business Rule variable in Essbase report

    Hi,
    I need to create a report where I will use the variable (created as Business Rules variable e.g.- [BudYear],[CurrVersion] etc) but it is not working. If I use [BudYear] it is just showing the dimension name in report as 'Year'. But when I use any exxbase substitution variable (e.g.- &CurYear etc) it is working fine. So, can it be possible to use business rules variable in essbase reports?
    Can it be possible to save the essbase report in comma delimited format (I am only getting tab delimited option). Please revert back.
    Thanks & Regards.

    As John rightly said, HBR rules are only applicable within HBR. What you want is an Essbase Substitution Variable. So long as the value does not get selected interactively in the HBR, you can use a Substitution Variable instead. An example would be something like current year -- this isn't going to get changed by the users via a Planning form or a prompt.
    HBRs, Calc Scripts, member formulas, load rules, and of course Essbase report scripts can all read substitution variables. See the DBAG for more information. Personally, I only use HBR variables, local or global, for items off the POV or driven by a run-time prompt.
    Unfortunately, a comma delimted file is a pain in a report script -- you have to make your columns fixed length and then use the MASK command to put the commas in -- ugh. However tab delimited files are an option. I've never found an IT group that couldn't handle the latter format.
    You may also go with the the DATAEXPORT calc script command -- a comma delmited output is possible with that command and of course it supports Essbase substitution variables.
    Regards,
    Cameron Lackpour

  • Deferred Syntax Error : ADF Business Rules

    Hi all,
    I am working on business rule implementation in my project . I have created a dictionary (.rule) file and added oracle rules and oracle rule editor component libraries to the project . The page fragement contains the rulesdc component which reads the dictionary file from a path . i have also added oracle.soa.rules_dict_dc.webapp.war to the integerated WLS Deployments section. when i run the page i get an error ' Error: Encountered deferred syntax #{ in template text. If intended as a literal, escape it or set directive deferredSyntaxAllowedAsLiteral' . I have also tried with having deferredSyntaxAllowedAsLiteral value true in the page which contains the rulesdc component but no use. the error still persists .
    can anybody help in this case?
    Thanx in advance

    Thank you for pointing this out.
    I'm currently browsing metalink kb but "7021469 - Business Rules should support dataexport and dataimportbin functionality" provides no results.
    hbr_93300_readme.pdf refers indeee to that issue but I cannot upgrade to that version (because, as stated in that pdf, I should upgrade all prouducts to 9.3.3)
    You said it might be solved in Administration Services release 9.3.1.5 (I believe 9.3.1.1.5 was a typo), but the readme does not mention it...

  • Run calc script via business rule

    Hello all,
    I have calc scripts and business rules in my hyperion essbase.
    one of the calc scripts e.g. aggregates some values.
    In the business rule i copied the code from the calc script and this business rule can be executed in the planning tool.
    Now, everytime when i change the code from the calc script, i have to change same things at the business rule.
    And now my question:
    Is it possible to start a calc script with the business rule?
    e.g. content of business rule: execute "calc_aggregate"
    Is there a command?
    Then it would save time and i only have to change the calc script and not both.
    Thanks for your efforts,
    Chris

    1) try to use essbase 9.3 with dataexport command in calc script (this version essbase is compatible with planning versions 9x and 4.1)
    2) you can write (or found in google) UDF function for run system command or (and) export data set
    3) you can run system command from Planning web and run CSC and RUL from essmsh
    ER

  • Error while creating a Business rule dictionary in Jdevloper 11g

    Hi,
    I am getting the following error when i define the Inputs and outputs during creating on a new business rule dictionary.
    Some XML schemas are not in the "xsd" directory! gardes.xsd
    Please manually move or copy the Schemas
    I am following the "Creating a Rule-enabled Non-SOA Java EE Application" guide in Oracle® Fusion Middleware User's Guide for Oracle Business Rules, 11g Release 1 (11.1.1)
    The two schema files generated were having different content after creation of XML schema file so I copied the file to make them same. Its still giving me the same error.
    Please Help.
    Thanks,
    Mac

    Please post business rules questions on the SOA Suite forum:
    SOA Suite

  • Error while selecting planning app in Business Rules

    Hi ,
    I am not being able to select the planning outline while developing business rules (but I can select the Essbase Outline). Whenever I expand the Planning node, an error pops up the details of which says "Error connecting to Essbase server machinename/testapp." There is a details button which says: "Could not log into Planning "Detail:Could not log in to Planning Server".
    Can anyone help me out. I am not being able to view the rules in the planning UI .
    I have tried for recycle the EAS even though i am getting same error.
    could you please let me know the solution for this
    Thanks
    mahesh

    Hi,
    Always follow this process, stop the planning service and eas service.
    Start RMI service
    Start EAS
    Start Planning
    Log into the web planning application
    Then go into EAS and create a new rule, select an outline to the application you have just logged into via web.
    Also if you are using the default admin user to log into EAS try another user that has been provisioned with business rules roles
    If you still have problems then go to My Oracle Support (formely metalink3) then have a look at doc id - 763345.1
    Ok?
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Business Rules Instance disappeard in projects folder in Shared Services

    Hi all,
    I have this strange thing happend to me today morning. when i logged into the Shared Services i can find the Business Rules folder but i couldnt find the instance for it.Is there any way i can reconfigure it so that i can see the instance back again in Shared Services.
    Environment: Windows server, Hyperion version 9.3.1
    Any help on this would be greatly appreciated.
    Thanks in Advance

    Please find the error log below
    com.hyperion.cis.config.wizard.RunAllTasksWizardAction, ERROR, Error:
    java.lang.Exception: Registeration failed: error.generalSaveModel.Registeration failed: error.generalSaveModel.
         at com.hyperion.cis.config.CmsRegistrationUtil.registerApplication(CmsRegistrationUtil.java:222)
         at com.hyperion.cis.config.wizard.RunAllTasksWizardAction.executeHubRegistrationTask(RunAllTasksWizardAction.java:360)
         at com.hyperion.cis.config.wizard.RunAllTasksWizardAction.execute(RunAllTasksWizardAction.java:165)
         at com.installshield.wizard.RunnableWizardBeanContext.run(Unknown Source)
    Thanks

  • Get cell value in Planning Data form and using it in a business rule

    Hi Everybody,
    if i set the data type of an Account Member as text, is there a way to get the value inserted by the user in a dataform, turning it as dimensional member and using it in a business rule?
    So, if the user insert the value "USA" in a cell, can i use any functions to tell essbase that "USA" is a dimensional member and then using it in a business rule, for example in a cross-dimension like Period1->FY12->USA?
    I tried to use the function @Member and it doesn't work, but i'm wondering if there is a way that can let me get the value inserted and use it just like a dimensional member. What are the ways that can let user input value that can be used in a business rule? I think one is by using SmartList, is there any other ways? Maybe using variables?? As an alternative i tried to use Prompt Variable but there are too many members on which the rule must run.
    Please help me, i wanna know if i can or not let the user input the member on which the rule must run...
    Thank all guys
    Bye
    Maurizio

    Thanks EW for your answer,
    YesI could use SmartList even if i think it's very tough to handle. My experience on using SmartList in caclc script is not so good. I try to enter in details of my requirement:
    I have 500 account members.
    For each one, I have to calculate the monthly budget by sharing the amount among the months. The user wants to calculate it on the basis of the actual flow(over the months) of an unspecified account of the prior year. The unspecified account must be inserted in a data form.
    So, i could use a Smart List but it colud be of 500 elements and then i should make a rule with as many IF as how many are the accounts. Or im wrong? The only way to use smart list dynamically in a business rule is by referring its values in a IF condition. Or i'm wrong.
    I tried to use execution variable ma it seems don't work. In this case the user must pay attention to write the account correctly, otherwise as you say the rule doesn't work.
    The value in PD0A020 is "PD0A000" (that is a dimensional member). The value in PD0A000 is "hello". In PD0A040 the rule returns "PD0A000" and not "hello" as i would. The function @Member appears to be not able to catch the dimensional member by the value in PD0A000.
    {Example}="test"->"Input"->"Scenario_test"->"FY12"->"PD0A020";
    Fix("test1","Input","Scenario_test","FY12")
    "PD0A040"=@Member({Example});
    endfix
    So, my doubt is: is it possible for Essbase/Planning to use the value inserted in a data form and to turn it in a dimensional member? What are the practicable ways to let the user input/choose the member on which makes the rule run?
    Thank you Ew, thank you guys
    Maurizio

  • Business rule in MDS 2012 error: A database error has occurred. Contact your system administrator.

    I get the following information in my MDS log as well as the above error message when I execute a business rule that has a condition of AND and an Action of Attribute must be unique in combination with 2 other attributes. 
    I'm running SQL Server 2012 11.0.3000
    MDS database version 11.1.0.0
    Any ideas?
    MDS Error: 0 : SqlException message: A database error has occurred. Contact your system administrator.
       at Microsoft.MasterDataServices.Core.DataAccess.DbHelper.HandleExceptions(Exception ex)
       at Microsoft.MasterDataServices.Core.DataAccess.DbHelper.ExecuteDataSet(String spName, CloseConnectionBehavior closeBehavior, Object[] parameterValues)
       at Microsoft.MasterDataServices.Core.DataAccess.MasterDataAccess.<>c__DisplayClass5.<ValidateEntityMembers>b__4()
       at Microsoft.MasterDataServices.Core.DataAccess.DbHelper.ExecuteMethodWithDeadlockProtection(MethodDelegate method)
       at Microsoft.MasterDataServices.Core.BusinessLogic.Validations.ValidateMembers(Int32 versionId, Identifier entityIdentifier, IList`1 memberIds, RequestContext context, OperationResult results)
       at Microsoft.MasterDataServices.Core.BusinessLogic.Validations.Process(ValidationProcessCriteria criteria, Boolean commitVersion, Boolean validateEntityAsync, Boolean returnValidationResults, RequestContext context, OperationResult results)
    SQL Error Debug Info: Number: 208, Message: Invalid object name 'cteDuplicates0a070e37b106b9e3efe35a455076efa7'., Server: SQLRS-01, Proc: udp_SYSTEM_3_38_CHILDATTRIBUTES_ProcessRules, Line: 230
    SQL Error Debug Info: Number: 266, Message: Transaction count after EXECUTE indicates a mismatching number of BEGIN and COMMIT statements. Previous count = 0, current count = 1., Server: SQLRS-01, Proc: udp_SYSTEM_3_38_CHILDATTRIBUTES_ProcessRules, Line: 230
    SQL Error Debug Info: Number: 266, Message: Transaction count after EXECUTE indicates a mismatching number of BEGIN and COMMIT statements. Previous count = 0, current count = 1., Server: SQLRS-01, Proc: , Line: 0
    SQL Error Debug Info: Number: 266, Message: Transaction count after EXECUTE indicates a mismatching number of BEGIN and COMMIT statements. Previous count = 0, current count = 1., Server: SQLRS-01, Proc: udpBusinessRule_AttributeMemberController, Line: 0
    SQL Error Debug Info: Number: 266, Message: Transaction count after EXECUTE indicates a mismatching number of BEGIN and COMMIT statements. Previous count = 0, current count = 1., Server: SQLRS-01, Proc: udpValidateMembers, Line: 0
        DateTime=2013-08-15T13:25:15.6684023Z
    MDS Error: 0 : <ArrayOfError xmlns="http://schemas.microsoft.com/sqlserver/masterdataservices/2009/09" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
      <Error>
        <Code>208</Code>
        <Context i:nil="true" />
        <Description>A database error has occurred. Contact your system administrator.</Description>
      </Error>
    </ArrayOfError>
        DateTime=2013-08-15T13:25:15.7152026Z

    OK I bit the bullet and contacted support on this one.
    There is a known issue with MDS 2012 and business rules with a combination of "must be unique" attributes. If you do not list the attributes in the same order that they were created you will get the generic error I cited. At first they told me it must be
    in the same order the attributes are in and that worked on one entity but not the other. The difference was that in the second entity I previously rearranged the attributes in question. Once I changed the order in the business rule to reflect the *original*
    order it worked like a champ.
    Hopefully this helps save someone some time and money.

  • Business rule takes time to open

    Hi,
    Business rule takes much time when trying to open it.
    I'm new to essbase. Can any one tell in which log i can get the information like why it takes much time like that.
    Thanks
    Kumar

    we are facing this issue for particular user. In the same system, we tried with two different users. for 1st user that BR is opened in a minute, but the same BR took around 20mins to open for 2nd user
    OS - Window XP
    EAS version - 9.3.1
    Example
    A is 1st user --> XX business rule took 1min to open
    B is 2nd user --> XX business rule took 20mins to open
    Here both the users are having same access on the BR and the applications
    Thanks
    Kumar

  • User Variable Options: How can I use them in a Business Rule?

    How can I use a "User Variable" set in File / Preferences in a Business Rule? It doesn't seem to appear as an Essbase Substitution Variable or as a Global Variable of Business Rules. The only way I know how to use it is to place the dimension on the POV or Page dimension of a data form, then use a Global Variable in a run time prompt to pick the member and run a BR against it, or some function of it.
    What do I do if I want to have that dimension in Columns or Rows? How can I set a BR to directly reference the member chosen under User Variable Options?
    J

    Thanks Alp, but I can't seem to reproduce what you are writing below. I want to refer my Business Rule to address the value set in File / Preferences / User Variable Options; no matter what members I show elsewhere in the data form.
    My other workaround is through a run time prompt and hope the user selects the appropriate user variable at the very bottom of the selection list in order to calculate the appropriate list of members.
    J

Maybe you are looking for

  • Problem with QOS for SIP on RV082

    Hello, I have problem with quality of VOIP call with Linskys RV082.  Firmware is 2.0.0.19tm. Router is configured as dual-wan , one port (WAN2) is for ADSL 8000/512kb and other one is (WAN1) SHDSL 8000/8000kb. VOIP traffic from certain IP of LAN is r

  • BPMA services not getting started

    Hi, We recently installed Oracle EPM suite 11.1.1.1 in one of our Windows 2003 SP1 Server. The products so far installed are: EPM Foundation Services Performance Management Architect Calculation Manager Financial Management Workspace Financial Report

  • Manual Price Conditions

    We have configured and working well manual conditions in sales orders but when the order is repriced by the system (for example when a date is changed) the manual condition is removed. We have tried changing the repricing method on the pricing proced

  • Keyboard shortcut for magnifier tool doesn't always work

    Hi! I have some problems with the opening the magnifier tool via assigned keyboard shortcuts. I assigned opt+z as shortcut for the magnifier tool, and it sometimes work but often don't, and I have no idea why. It always works when opening the tool fr

  • RESET Apple password to install updates and order from Apple Store

    need to know HOW to reset my APPLE password so that I can UPDATE Flashplay to reset my APPLE password so that I can UPDATE Flashplayer, order from Apple Store and other things. Keeps asking me for "old password". I don't remember. Help?R