HFM Rule Error

Hi,
My Account dimension is as follows -
A#B - Parent
--A#C - Child1 (Input)
--A#D - Child2 (Input)
--A#E - Child3 (Input)
--A#F - Child4 (Shared parent member)
--A#G - Child5
--A#H - Child6
Child5 and Child6 hold intermediate values
Now I'm trying to calculate the following inside a data unit loop in the sub calculate
(pseudo code)
opendataunit ("")
For i =0 to NUMitems
Checks the UDA for every account
If UDA is XYZ then HS.EXP A#G =A#G +Data (where Data contains the value returned in the data unit)
elseif UDA is BQY then HS.EXP A#H = A#H +Data
endif
HS.EXP A#B = A#F - (A#C + A#D + A#E) -A#G +A#H (problem line)
Next
Now my problem is that the the rule file is on the second last line. After validation, returns an error saying A#B is an invalid destination. The dataunit loop runs fine and I have tested it by commenting out the second last line and run the calc.
Could you please give me pointers as to why i could be getting this error ? I'm new to HFM so any pointers will be appreciated.
Thanks in Advance!!

Hi,
In HFM, only a base member can be the destination of a calculation expression. A parent is always the sum of its children.
Regards,
--Kostas                                                                                                                                                                                                                                                                                                           

Similar Messages

  • HFM 933, error executing vb script %0 (for rules file)

    i have a HFM rules file that is error-free, but sometimes, when i run a consolidation via SmartView, it is aborted and the error is "Error Executing VB Script %0".
    Does anyone know why this occurs?
    Thanks in advance.

    The error message you shared may not have anything to do with HFM rules. There are a number of things that can generate a VBScript error: HFM rules, HFM custom member lists, or permissions problems/configuration problems with IIS. Smart View uses IIS, so maybe this is a configuration issue there. If you log out and log back in again, perform the very same activity successfully, it could mean you have load balance problem, or some other network related error. If it's a permission problem on the server, it will affect all users in the same way. An HFM member list problem would reveal itself any time the member list is called: whether through HFM's forms, grids, smart view, or Reports.
    --Chris                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Import rules, error message "Invalid system"

    Hi,
    When importing rules under Rule Architect - Import rules, error message "VBS is invalid system" . In the configuration tab we have system  and System Name defined as VBS, test connection successful.
    Why is it giving an error message VBS is invalid system? Please advise.
    Thanks,
    Sri

    Hi,
    Is it rule import after taking an export from other system? In that case, make sure destination system name doesn't contain any space in it.
    Also, make sure text and auth Objects are uploaded for VBS system before doing rules import.
    Regards,
    Sabita

  • SAP BPC 7.5 NW business rules error

    Hi,
    I am facing business rules error in BPC 7.5 NW SP 01 client. When i click on any business rules for ex- carry forward rules to fill in the information, it's giving error like " Application has genarated an exception that could not be handled" Process id = 10x104c (4172) Thread id = 0x1170
    No recent changes happend in the servers. Any suggestions plz.

    Hi,
    I am facing business rules error in BPC 7.5 NW SP 01 client. When i click on any business rules for ex- carry forward rules to fill in the information, it's giving error like " Application has genarated an exception that could not be handled" Process id = 10x104c (4172) Thread id = 0x1170
    No recent changes happend in the servers. Any suggestions plz.

  • Work order SETTLEMENT RULE Error

    Workflow Work order SETTLEMENT RULE Error, but settlement is done no problem in updation. But notification error there.
    Notification of completion cannot be generated
    Problems occurred when generating a mail
    Error '9' when calling service 'SO_OBJECT_SEND'
    Error handling for work item 000112476185
    Work item 000112476185: Object 000020154849 method UPDATESETTLEMENTRULE cannot be executed
    Call transaction was canceled.
    No errors occurred -> Details in long text
    No errors occurred -> Details in long text
    Please advice what could be the reason this error.
    Best Regards,
    Prabhakar

    Message no. WL821
    Message no. FD009
    Message no. WL863
    Problems occurred when generating a mail
    Message no. SWF_RUN534
    Error handling for work item 000133673828
    Message no. SWF_RUN630
    Error '9' when calling service 'SO_OBJECT_SEND'
    Message no. SWF_RUN535
    Thanks,
    Prabhakar

  • Net bridge design rule errors

    Multisim 10.1.197 and Ultiboard 10.1.197
    I could not get a net bridge to work in a Ultiboard layout, so I tried in a simplified circuit:  
    In Multisim, place a connector with several pins, for example HDR1X10.
    Place a DGND and GROUND. Connect the first to pin 1. Connect the second to pin 5.
    Transfer to Ultiboard
    Rotate HDR1X10 so the pins numbers increment left to right  
    Place traces on the top layer so the pads of a net bridge connects one trace to another 
    Place a net bridge, picking GND and 0 (also tried 0 and GND)
    This gives Design Rule Errors:
       Unused pin is connected to NET = GND
       Unused pin is connected to NET = 0  
    Is there a work around?  
     Ray

    I am having the  same problems.  This is a very important feature that needs to work since there is no proper work around.  This is always the case when there are ananlog and digital grounds that need to be kept separate, but also need to be connected somwhere in a very controlled fashion.  I've followed the instructions exactly but what I get is a net bridge with no nets assigned to it's terminals.  You can connect it up but you get the DRC errors as stated earlier.
    This can be manually fixed by going into the  netlist editor and selection each of the nets to be connected and adding on pin from the net bridge to each (NB1, pin _).  This removes the DRC error and everything is happy.
    The only problem is when you forward annotate again you lose the NB pin assignments and you have to edit the netlist again.
    I tried a part in MS with the net bridge as the footprint, but UB will not impor the net bridge when you do that.  To get around that I have a 'netconnect' part with just two dots and a silkscreen box around it.  This can be placed where you want the bridge and will import each time.  This is just a marker wheer you want the bridge to be.  You still have to place the bridge manually and edit the netlist to fix the DRC error.
    This is a bug.  I should be able to assign the netbridge as the footprint of an MS symbol and have it come in with the right netlist connections when I forward annotate.   Alternatively, the netbridge assignments should be made to stick when the netlist is imported again.
    David B

  • How do we use Data rules/error table for source validation?

    How do we use Data rules/error table for source validation?
    We are using OWB repository 10.2.0.3.0 and OWB client 10.2.0.3.33. The Oracle version is 10 G (10.2.0.3.0). OWB is installed on Linux.
    I reviewed the posting
    Re: Using Data Rules
    Thanks for this forum.
    I want to apply data rules to source table/view and rule violated rows should go to defined error table. Here is an example.
    Table ProjectA
    Pro_ID Number(10)
    Project_name Varchar(50)
    Pro_date Date
    As per above posting, I created the table in object editor, created the data rule
    NAME_NOT_NULL (ie project name not null). I specified the shadow table name as ProjectA_ERR
    In mapping editor, I have projectA as source. I did not find error table name and defined data rules in table properties. It is not showing up the ERR group in source table
    How do we bring the defined data rules and error table into mapping?
    Are there any additional steps/process?
    Any idea ?
    Thanks in advance.
    RI

    Hi,
    Thanks for your reply/pointer. I reviewed the blog. It is interesting.
    What is the version of OWB used in this blog?
    After defining data rule/shadow table, I deployed the table via CC. It created a error table and created the all the source coulmns in alphabatical order. If I have the primary key as 1st coulmn (which does not start with 'A') in my source, it will apprear middle of of columns in error table.
    How do we prevent/workaround this?
    If I have source(view) in sch A, how do we create Error table in Sch B for source(view)?
    Is it feasible?
    I brought the error table details in mapping. Configured the data rules/error tables.
    If I picked up 'MOVE TO ERROR' option, I am getting "VLD-2802 Missing delete matching criteria in table. the condition is needed because the operator contain at least one data rule with a MOVE TO ERROR action"
    On condition Loading - I have 'All constraints' for matching criteria.
    I changed to "no constraints' still I get the above error.
    If I change to 'REPORT' option instead of 'MOVE TO ERROR' option, error goes off.
    Any idea?
    Thanks in advance.
    RI

  • Anyone know what this error in HFM is "Error Executing VBScript %0"?

    Keep getting this error when I try to calculate an entity in the month of December, but I don't have the issue when I "Calculate" in November. Need to know what the error is and what the solution is. Any help is greatly appreciated.

    Usually this error comes up as a run time rules error, when executing "Calculate Contribution" commands. If instead you execute a "Calculate" or "Force Calculate" command it should give you more specific details on what the problem is, if the error is at the base Value level.

  • Settlemnt Rule Error Chaos!!

    Hi,
    I have a Project pertaining to 2003 with a settlement rule error which has resulted in choas. There was a settlement rule error in 2002 and someone has tried to correct the error by adding new settlement rules - there are currently 58 rules to date! Production has run in all of the settlement rules. I now want to correct this rule in order to close the project and need to add a new rule (no 59). However when I try to insert an end date to no 58 I get a message that the start date of no 58 contradicts the close date of no 27. I've tried changing this end date but SAP won't let me use a prior date nor will it let me use a date after the start date of no 58. As I can't change the start date I am in the position where I can't move forward.  All help or suggestions will be greatly appreciated!!
    Regards
    Juliet

    Hi,
    Have experienced how messy and chaotic settlement rules can be. First, wish you all the best and hope you have a lot of patience.
    As for my thoughts on this :
    How long have you used the Settlement Rule No.58?, mean how many settlements have happened using this rule. If possible, reverse all of these settlements.
    For. Ex. if Rule No.58 was used during the period 01/08 till 04/08 with a monthly settlement run. Then reverse all the 4 settlements, in which case the rule 58 can be modified or could even be deleted to recreate.
    I know that this is not really a very good option considering that it is quite an old project spanning across fiscal years. But you could still reverse in the current period and resettle it after all the rules are set in order.
    If you already have come up with something, please do share it.
    Best of luck,
    Chetan

  • HFM Rule Help

    Hello all,
    I'm trying to write a rule in the Calc sub which would essentiall accomplish the following:
    Entity(“Apple”).Account(“AR”).ICP(“Banana”) has data of 100
    I would like to flip the ICP and Entity combination using the Calc subroutine and set the following:
    Entity(“Banana”).Account(“AP”).ICP(“Apple”) to 100
    I am a novice with HFM rules commands, but advanced in programming and vbscript. I've tried to use HS.EXP to accomplish, but I guess it can't be used with an entity member on the left side of the equation. HS.SETDATAWITHPOV is promising, but I can't find a sample piece of code that uses it effectively.
    My last attempt was to populate an array with base entity and icp members for the account I wanted...then match that in my calc sub. Still having trouble. It doesn't look like it should be this difficult.
    Any ideas?
    Thanks!

    hello
    here is a sample of setdata...
    If CurCustom1 = "INC"      Then HS.SetDataWithPOV "A#P487000.I#[ICP None].C1#MVT" & ".C2#" & CurCustom2 & ".C3#" & CurCustom3 &".C4#ARET11", Data , True
    You shoul also have look to data unit
    regards

  • Calling HFM rule from FDM

    Hi Experts,
    I am working on version 11.1.13 and I am new to FDM. Just wanted to know if I can execute a HFM rule from within FDM before exporting the data to the target HFM application?
    I know this is a possibility with the Essbase adapter but just wanted to check about the HFM adapter and how to do it?
    Thanks!!

    The Data Protection feature built in to FDM will do this for you. It allows you to input a string value which will protect all intersections in HFM that have data which contain that string. You can also flip the comparison operator to do the converse i.e. protect all data in intersections that does not contain the string. What FDM actually does is extract all data that meets the data protection criteria specified and appends it to the dataset you are loading thus preventing data from being overwritten. All you really need to do is make sure that the string value you use in the criteria is unique and will not be found as a substring anywhere else in the intersection (as FDM treats the intersection as one long string).
    When I have implemeted it in the past we usually have discrete memebers on the C4 dimension that identify where data has been source from. Hope that helps.

  • HFM Rule - # of Months Revenue Included in AR Balance (URGENT)

    Hello Group,
    I am trying to come up with a simple HFM rule to pinpoint the # of months of periodic Revenue that is in a given month's AR Balance. I thought this would be a slam dunk....But I seem to be stuck....Conceptually....Very straigtforward. Can someone help me?
    For Example:
    December A/R Balance = 10,000
    December Revenue (MTD) = 3,000 = 1 Month Accum 3000
    November Revenue (MTD) = 4,000 = 1 Month Accum 7000
    Octover Revenue (MTD) = 500 = 1 Month Accum 7,500
    September Revenue (MTD) = 2,000 = 1 Month Accum 9,500
    August Revenue (MTD) = 3,000 = .16 Month (10,000 AR - 9,500 YTD = 500 remaining in AR Balance)....Then 500 / 3,000 = .16 Month Accum 10,000 (Accum MTD Rev to match AR)
    # Months of Reveune in AR Balance Calculated = *4.16* Months of Revenue in A/R Balance.

    This has now been resolved after we put the Time dependancy with the Call Routines

  • Hfm.appcontainer error

    Hi,
    After configuring 11i for HFM I cannot connect to HFM via the Workspace. I get an hfm.appcontainer error. I would usually refer to the HFM.CONF file to rectify this but this file doesn't seem to exist with 11i. Any help would be appreciated.
    Thanks
    G

    I assume that you still have the first problem described in your first posting, i.e. that the HFM system described in your second point is reinstalled (and overwritten).
    So if you have tried my first suggestion and still you don't see the consolidations option in the navigate menu, then you may re-run the full configuration of Hyperion Reporting and Analysis. Make sure you select all the options (Register with SS, Product Options, Configure Database, Configure Financial Reporting, Deploy to Application Server and Configure Web Server). You will have to stop serveral services before you proceed, i.e. Workspace, Financial Reporting Web Application and Web Analysis, in order to release ports. After the configuration is complete, make sure to start the appropriate services (or even better restart your system to play it safe).
    KN

  • Rules error in HFM - Urgent please

    When i run consolidate with the below rules, i get vbscript %0 error. However when i go at the base level, it works fine. Please let me know.
    If Is_base then
         Set DataUnit = HS.OpenDataUnit("")
    NumItems = DataUnit.GetNumItems
    For i = 0 To NumItems - 1
    Call DataUnit.GetItem(i, CurAccount, CurICP, CurCustom1, CurCustom2, CurCustom3, CurCustom4, Data)
    If Data <> 0 Then
         If HS.Account.UD1(CurAccount) = "ACT" then
         If Right(CurCustom1,1) <> 1 then
              HS.SetDataWithPOV "V#<Entity Currency>.A#"& CurAccount &"ACCT.I#[ICP None].C1#[None].C2#[None].C3#[None].C4#[None]",Data,TRUE
         End
    End if
    End if
    Next 'i
    end if ' Is Base
    Edited by: user6772015 on Mar 25, 2010 4:48 PM

    consider the following
    not for copying
    but for studying working code
    to help clarify ideas
    import java.io.*;
    list items and count of each item
    in a list of socks
    file has list of socks ...
    4
    red sock
    green sock
    blue sock
    green sock
    the first line is n = count of socks
    if no socks match, there are n items
    for example : 3 items in ...
    3
    red sock
    blue sock
    green sock
    if all socks match there is one item
    for example : 1 item in ...
    3
    red sock
    red sock
    red sock
    if socks come in pairs, there are at most n/2 items
    for example : 2 items in ...
    4
    red sock
    green sock
    red sock
    green sock
    program does not assume that socks come in pairs !!
    public class Socks {
    public static void main(String args[]) throws IOException
    String[] socks = new String[1000];
    int numOfsocks;
    String[] item = new String[1000];
    int[] count = new int[1000]; // initializes each count to zero
    int totalcount = 0;
    int i;
    int j;
    boolean ifound;
    FileReader fr = new FileReader("test.txt");
    BufferedReader inFile = new BufferedReader(fr);
    numOfsocks = Integer.parseInt(inFile.readLine());
    for (i = 0; i < numOfsocks; i++)
    socks[ i ] = inFile.readLine();
    inFile.close();
    for (i = 0; i < numOfsocks; i++) {
    ifound = false;
    for (j = 0; j < totalcount; j++) {
    if (socks[ i ].equalsIgnoreCase(item[j])) {
    ifound = true;
    count[j]++; // increase count for matched item
    break; // exit "for j loop"
    } // for j
    // sock not found so add it to item list ...
    if (ifound == false) {
    item[totalcount] = socks[ i ];
    count[totalcount] = 1;
    totalcount++;
    } // for i
    for (i = 0; i < totalcount; i++)
    System.out.println (item[ i ] + ", count = " + count[ i ]);
    } // class

  • Can we use Boolean or Validations in HFM Rules

    Hi Gurus
    Can we use Boolean or Validations for input cells in HFM?
    Example:
    1. I want to restrict the user to enter only single digit (0 or 1 are valid) in to a cell for a special purpose. (in smartview or webform)
    2. I want to restrict the user to enter only single Character (Y or N are valid) in to a cell for a special purpose.(in smartview or webform)
    After submitting the data, If the data does not matches to the given condition it has to through an Error message or validation message to the end user.
    Can we write these kind of rules in HFM?
    Regards
    Smilee

    Hi Smilee,
    HFM's model of validation and error checking is not as you describe. Data cannot be validated at the form/data-entry level. Instead, HFM's validation model goes like this:
    1. You must provide with a validation account for each validation you need, with a common parent usually declared in the validation accounts in the ApplicationSettings. A zero (or within tolerance limits) in the validation account means correct, any other value means error.
    2. You must write a normal calculation rule, which checks the user's input for valid data entry and place a zero or other value to the validation account.
    3. The user inputs her values (via form, or data load, FDM, SmartView etc.), saves her data and calculates.
    4. As soon as all the validation calculations write zeros to the to validation account during calculations, the user can submit successfully (submission is part of process management). However, if any of the validations fail (meaning non zero value to the top validation account) the user cannot submit until she corrects the error value. Errors can be traced easily, judging by the exact validation account which fails.
    Another observation regarding your point 2 is that only numeric values can be written in HFM cells, no alphabetic characters are allowed. You should replace Y/N logic to 0/1.
    Regards,
    Kostas

Maybe you are looking for