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

Similar Messages

  • 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

  • BPC10 / BPC7.5 NW: the use of US ellimination business rule for matrix elim

    In tryuing to make the US Elim business rule work:
    -     Can the US elim procedure support the elimination between an entity and intco AND a segment and partner segment in the same app ? So basically the need is to eliminate intercompany transactions between the management structure (entity and interco) and the segment structure (or LOB structure as you will) that are in two different dimensions ( in other words an entity can belong to more than one segment and therefore they cannot have the segment in the same entity dimension and need to have a second dimension for that). Now the problem is that I have one entity dim and an intco dim, and two user defined dimensions (one for segment and one for partner_segement, aka the intco belonging to the segment). I believe this cannot be done since the US Elim procedure will look for a dimension of type entity and of type intco and therefore will only work on those two dimensions. It will not work with the user defined dimensions.
    -     Meaning, that if that is the case, you have to move your segment dimension into your entity dimension as an unrelated second hierarchy. Ofcourse the downside is then that you will clutter the entity dimension with this segment information and you have to enter your data twice (as ideally you wanted to enter the data for entity XYZ and then distribute the number over the various segments, that now becomes a bit more chunkier). What is a best practice if you need to eliminate on two different axisses like legal entity and management structure or Lobu2019s etcu2026
    -     If using the US elim procedure, do you technically need a GROUPS dimension in your application ? The documentation mentions it in its example, but since it is not used anywhere in a typical application that uses US eliminations (as it is more for legal consolidation applications where you need it), I was wondering if you can leave it out.
    A quick answer is highly appreciated. Short words/clues or simple yes or no  are more than enough. No need to write prozau2026.
    Thanks,
    *edwin

    Jianbai--  when  you  see  0  submitted 0  success  0  fail..
    it  just  means  that  there is no data tht  suits  the  us-elim  criterion.
    For the  package  parameters...
    1)make  sure that  there  is  data   for the  CATEGORY
    2)The  CURRENCY  has its reporting  property set  to Y
    3)There are  INtercompany  transaction  entries between  2  ENTITIES  and  their  ELIM property(ENTITIES involved) is NOT  "Y".
    4)In 3, make  sure  the  ACCOUNT  being  used  for  the  intercompany  transactions have  their  ELIMACC property NOT BLANK.
    then  you  shld  be  all  set  !!!...if  you  configured  your DATASRC (is_consolidated property(it shld  be eith  I/M) dimension correctly ...
    you  don't  even  need  any  business  rules  to have your  ICELIM  working..
    Best luck
    Vm
    Edited by: Vishal Mahawadhi on Mar 10, 2011 11:10 AM
    Edited by: Vishal Mahawadhi on Mar 10, 2011 11:11 AM

  • JHeadstart, Oracle Business Rules and BPEL Process Manager

    Dear JHeadstart Team,
    I have some questions regarding integration of JHeadstart and Oracle Business Rules and Oracle BPEL Process Manager. As a matter of fact I don't have any work expriences with these tools so my questions may not be good and precise.
    1- Using a business rule engine can dramatically increase speed of development and ease of maintenance.I had a very good exprience in using JHeadstart and Headstart in the past but I wanted to know if it is possible to use Oracle Business Rules in conjunction with the JHeadstart ? If so, What steps should be taken? Is there any known issue about this integration? Does Oracle Business Rules have any interference with JHeadstart or it is only used in model layer during insert,update,delete?
    2- Is it possible to develope a system based on oracle work flow engine (Oracle BPEL Process Manager) using JHeadstart ? If so, What steps should be taken and how the changes in the flow of work would by applyed in a system developed by JHeadstart. Is there any known issue about this integration?
    Any help,link to documents or general guidelines would be highly appreciated.
    Thanks in advance,
    Navid

    Couple of things I would like to add, are the following.
    In the context of an ADF application usage of Oracle Business Rules most likely is in the business logic layer, but mind that it does not need to be restricted to that.
    Oracle Business Rules takes so called 'facts' as input, evaluates some rules based on that and change those facts or return some result. That might be checking a business rule as defined in the JHeadstart Developers Guide. But it might also return some value that is used in a navigation rule.
    Think about a page flow where after page A normally page C is presentend, but in case of some situation (like a customer ordered something and you want to present some special offering based on that) you want page B presented in between (i.e. A -> B -> C). Oracle Rules could be used to determine this page flow. This would be an example of using it in the controller layer (probably in combination with using facts that come from the model layer).
    Another remark that I would like to make, is that in my opinion it does not make much sense to use Oracle Rules for business rules that logically more or less are part of your data model (like end date must be on or after begin date). You typically use Oracle Rules to implement business rules that are of a volatile nature, meaning that day-to-day business may require a change of the rules. One example is the navigation case that I mentioned before. Another (typical) example would be a rule that defines when a customer is a Gold customer.
    Jan Kettenis

  • 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

  • Business Rules and BPM

    Anybody here knows the difference between Business Rules and BPM..
    We can do pretty much everything with a Business Rules Engine as we would do with BPM , then in which scenario should we use BPM and in which scenario should we use Business Rules Engine?
    Ofcourse Business Rules Engine has more complex set of rules than any BPM product in the market for .eg. ILOG Business Rules...

    BPM and a rules engine are different. Both are important, but they have different uses.
    Oracle BPM Studio is used by Business Analysts and Developers to model processes, integrate underlying components (including business rules) and develop user interfaces.
    There's an Engine that executes the processes that have been modeled. It sends the work item instances to the right person or persons with the right data when the work item reaches an interactive activity in the process. Similarly the Engine has invokes the underlying components specified in the process when the work item instance reaches an automatic activity.
    There's an out of the box Workspace runtime that lets end users manage and run their work item instances as they flow throughout the processes.
    We can business rules inside the processes, but one does not replace the other.
    Dan

  • Problem with balance carry forward business rule and automatic adjustments

    Hi All,
    I faced with issue when run BCF business rule and consolidation process. According sap courses BPC440 members with A(automatic adjustments) type should carry forward automatically, and I(imputable), M (adjustments) members should carry forwarded by bcf business rule.
    When I set up my BCF business rule I use property "Category_for_ope" in Category dimension. But this rule not work properly, then I use notes:
    1784365 - Category_for_ope property should not effect Consolidation.
    1902677 - The property category_for_ope shall work for consolidation
    After applying those notes, system work as I aspect. After i run consolidation first time system carry forward my automatic adjustment from Category "Expected" to "PLAN_Y0" and this is correct!!!. But when i run consolidation process second and third time system duplicated automatic adjustments in Category "PLAN_Y0".
    Someone can help me with this Issue?
    And sorry for my english

    Hi,
    Can you try as follows :
    *RUN_PROGRAM COPYOPENING
    CATEGORY = %C_CATEGORY_SET%
    CURRENCY = %RPTCURRENCY_SET%
    TID_RA = %TIME_SET%
    *ENDRUN_PROGRAM
    hope it helps...
    regards,
    Raju

  • How to use Java objects in business rules 11g

    I have made one business rule with two XML facts and then follow one doc to create the java facts.But I am unable to use the facts.

    No Java Facts are created,but as I have mentioned XML input and output facts at the time of creation of business rules,so I am not able to use java fact in business rule.
    Edited by: 856272 on Jan 4, 2012 6:22 AM

  • Unable to use DIMLIST property in business rules

    Hi Team,
    We have updated Account dimension with TYPELIM(10), DIMLIST(20) properties and in AUTOMATIC ADJUSTMENT DETAILS in the SOURCE ACCT when we update it with valid account ID or TYPELIM property value, it validates sucessfully.But, when we update it with Valid DIMLIST property value, it throws an error <Property Value>  value does not exists in ID,TYPELIM of Account dimension. We are able to see the DIMLIST property values in the list of available options.
    We are unable to use the DIMLIST property in other business rules and for FLOW dimension also.
    Server Details : BPC MS 7.0 SP3 patch level 2
    Appreciate if you can give your inputs on this.Please let me know if I need to provide any other information.
    Kranthi

    Hi Kranthi,
    Based on my observation the source account column specification in the Automatic Adjustment Details business rule allows only to specify a member of either account id or TYPELIM property from account dimension. Other properties not available for the selection.
    Hope this helps.
    Regards,
    Badrish

  • Using Global variables in business rules

    In EAS after expanding the Business Rules section there is a Global Variables section. I have created some global variables in this section and I am trying to use them in the Rule editor and not having much luck. Are they retrieved differently to local variables...Currently this is how I am calling them within a FIX....
    FIX([Global_Varaiable])
    calculation;
    EndFix
    Please correct me if I am wrong, also can any one provide some good documentation and some gd links for writing business rules. I'm just starting out to create some business rule which runs on save on some input forms I am creating and finding it rather difficult.... :-(..
    Many Thanks
    Stephen

    Hi,
    Global variables will work in the same way as local variables so you are using them correctly.
    Business rules are just really glorified calc scripts, if you want to know about calc script commands have a read of the tech ref :- http://download.oracle.com/docs/cd/E12825_01/epm.111/esb_techref/frameset.htm?launch.htm
    It will have all the calculation commands and functions and descriptions on how they work.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Business rules and active databses

    All,
    Are there any good links where I can read about the limitations of active database features (such as constraints and triggers) and other options and alternatives to implementing business rules?
    Regards

    BPM and a rules engine are different. Both are important, but they have different uses.
    Oracle BPM Studio is used by Business Analysts and Developers to model processes, integrate underlying components (including business rules) and develop user interfaces.
    There's an Engine that executes the processes that have been modeled. It sends the work item instances to the right person or persons with the right data when the work item reaches an interactive activity in the process. Similarly the Engine has invokes the underlying components specified in the process when the work item instance reaches an automatic activity.
    There's an out of the box Workspace runtime that lets end users manage and run their work item instances as they flow throughout the processes.
    We can business rules inside the processes, but one does not replace the other.
    Dan

  • 9.3.3 Upgrade, null pointer exception when accessing business rules and mac

    Hello,
    We upgraded from 9.3.1 to 9.3.3. In the Essbase Administration Services Console, when I attempt to access business rules or macros from a client PC, we get a null pointer exception. The message does not tell us much, but I cannot find more.
    I can access business rules and macros using EAS Console from the server. Do I have a bad installation, or have I missed a step?
    Thank you,

    Hi,
    You might have to re-organize your application module hierarchy to place your common code.
    If your intension is to auto populate the primary key for your Entity Objects., I would suggest below common practice.
    1). Create a Base Entity Impl class for your project that extends oracle.jbo.server.EntityImpl
    2). Code your getDbSequence() method inside this base entity impl class
    3). Make sure that all your Entity Objects extend your base entity impl class
    4). Use EL expression to call this method for auto-generating primary key attribute of your Entity Object.
    e.g., adf.object.getDbSequence("sequenceName")
    Regards,
    Eshwar

  • Planning ,Business rules and Reporting Analysis Backup

    Hi
    Currently we have migrated our Hyperion Planning EPMA 11.1.1.2 applications from TEST to PROD on windows 2003 Server (2 boxes).Essbase Server on UNIX and Application Server is OAS.We need to take backups on daily basis for Hyperion planning, BR's ,Reporting Analysis , Financial Reporting and Essbase , Open LDAP.
    But now We are taking only backups for Essbase and Open LDAP by using maxl script and Backup.bat file (Scheduled in Windows Scheduler)
    As per the documentation we are going to take the backups for the Hyperion planning, BR's ,Reporting Analysis , Financial Reporting also.
    Our concerns are
    1)Is there any BAT files for planning , BR'S and Reporting like open LDAP Backup.BAT
    2) If doesn't have how can we move ?(not manually, Using Windows Scheduler)
    3) Is there any necessity to create new Batch scripts for this action?
    Could you please any one help me out.
    Thanks in advance

    Hi,
    There are no other batch scripts I am aware of, you will have to create any new ones.
    In regards to backing up with business rules and planning, that would be mainly be backing up the repository.
    You can also use LCM to export your objects and this can be called from command line.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Error message when processing business rule and dimenstion

    Dear BPC Experts:
       While I am testing BPC FX Restatement pacakge, I make most use of original se-up in APSHELL, and just do some some config in related dimension and business rule. However, when I process business rule and dimenstion, one message shows that "_unexpected error in application server"._ And I still tried to run FX Restatement package, in detail log, it says "Member USD not exist." Does anyone help me figure out the reasons? I really appreciae your help.
    Fred Cheng

    Hi,
    I am not sure if the configuration of MSMQ is fine at you side, it is better to check my how to document too as here I clearly mentioned about MSMQ steps.
    This is the direct link: https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/101531ad-bcf5-2b10-ac9c-c102908c1b7f
    Just skip the ABAP part and follow the MSMQ part.
    regards,
    Sreedhar

  • Calc script, Business rule and business rule macro

    Hi John,
    Can we use calc script , BR sequence and a BR macro against different databases at a single go.
    In one calc script or BR sequence or BR macro itself can i calculate 2 databases

    If possible could you not start every post with my name, there are lots of others helping on this forum and they provide excellent answers
    Calc Scripts run against one database.
    Sequences can contain multiple business rules, in the launch variables you can set the database to run against for each rule (outside of the planning application though)
    Macros are called from a business rule and are run against the database the calling rule is being run against.
    Cheers
    John
    http://john-goodwin.blogspot.com/

Maybe you are looking for

  • Date and Time wrong after battery went flat, messing up whole system

    Hi all. I had my iBook running free, no ac adapter connected. This normally isn't a problem at all, if my iBook runs out of juice, it'll happilly sleep for hours. So I came back to use it again after an hour or so, expecting it to be asleep to find t

  • Pulling specific attributes to an outfile via Powershell

    I am trying to export a list of our users with all the following attributes.  I have been searching for hours and cant find anything that is exactly what I need and when I try to "blend" the PS together it is  justan  epic fail.  I am trying to creat

  • Variance between 2 columns in a Pivot Table

    Hello, We have an analysis that is a Union of 2 analysis. It has two result columns in the Union, each column have a value of one month. We have to create a third column with the variance between the second and first column. We are using a Pivot Tabl

  • Batch command not closing files automatically

    Hi, Photoshop CS6 Windows 7 How do you make Photoshop automatically save and close a batch of raw files during batch runs? I'm just now trying the File>Automate>Batch command. I want to run an action on a bunch of .NEF raw files. How do you get rid o

  • Can I change attachment naming - Dunning

    Dear all, I have maintain MAHN output and tested, and it is able to send to my electronic mail address account. However, the output MAHN will send a attached PDF document and named it a "Dunning". May I know if there is a way to change the PDF docume