Validation Business Rule Problem

Hi Community
I´m working with SAP BPC 7.0 NW SP09 Consolidation, the problem I have is when I execute the validation package, the result of the Validation Rule because the business rule don´t respect the number sign of the value calculated.
For example I try to confirm this formula ASSETS = LIABILITIES + EQUITY
ASSETS      AST   1000
LIABILITIES  LEQ     800
EQUITY        LEQ     400
RESULT                  -200
BUSINESS RULE      200
I was investigating all the posible combinations of dimensions, and I found it could be possible that this error occurs when (Liabilities + Equity) > Asset.
Rule                                   
VAL01     ASSETS=LIABILITIES                         
Rule Details                                   
Validation Account     Account 1     Flow 1     Sign 1     Account 2     Flow 2     Sign 2     REMARK
VAL01     ASSETS     F_CLO     1     LIABILITIES     F_CLO     1     
ASSETS and LIABILITIES are configures as part of dimlist property, where Liabilities have all the equity accounts too.
Hope anyone help me with this problem
Thanks in advance

Hello Ruben
If Account: VAL01 is 'AST' account than Validation Business Rule will give 200 as the result.For 'LEQ' result will be -200.
I think the business rule is working as expected.
Hope this help.
Regards
Venkatesh KPS

Similar Messages

  • Error while validating Business Rule (Error Cause: nativeGetNewTLA Rule)

    Hi, I am receiving an error while validating business rules
    An error occurred in: Rule:HypLive.Plan1.Product Interest
    A validation error was received from the Planning server 'http://abc:8300/HyperionPlanning/servlet/HspAppManagerServlet?appname=HypLive'.
    'Error:
    Error Cause: nativeGetNewTLA Rule HypLive.Plan1.Product Interest'.

    Are you able to validate the rule in EAS (or Calc Manager)?
    Normally nativeGetNewTLA Rule is followed by out of memory errors like java.lang.OutOfMemoryError,
    Increase the heap size to 1024, re start Planning and try validating it again.
    Cheers..!!

  • Validation business rule on a cumulative basis with periodic data storage

    Hi BPC Experts,
    Is it possible to set up a validation business rule on a cumulative basis when we have periodic data storage type?
    Appreciate your assistance with this.
    Thanks.
    Mila

    Hi Mila
    Please could you tell me how you solved the issue?
    We have it the other way round, a YTD storage, but would like to validate accounts on a periodic basis.
    Thanks for sharing your findings.
    Melanie

  • Validation business rule

    Hi,
    I am trying to reconcile account 1 with accounts 2 to 8 with a validation business rule. When I define the rule, I have one line with account 1 and account 2 filled and another 6 lines with only account 2 filled. This creates an error on validating the rule.
    How can I create such a validation rule?
    Thanks,
    Arnold

    Instead of using a validation rule I have set this up as an account transformation rule which works just as well and doesn't generate any errors.

  • Validation Business rules..

    Hi all,
              Does the validation business rules work on parent/ calculated members of other dimension other than the account and the account flow..
    im using the accounts
    SOURCE..
    ACCOUNT              ACCOUNTFLOW      OTHERDIM1
    SR10313000     F_CLO                        NONE1
    DESTINATION
    ACCOUNT              ACCOUNTFLOW      OTHERDIM1
    SA10411200     F102                           PARENT
    SA10411200     F103                           PARENT
    which   PARENT has a CHILD1 AND CHILD2 children.....
    Thanks..

    Hi,
    I don't think business rules work on parent or calculated members( though I haven't tried it), as business rules are developed using SQL stored procedures, which use the data in relational data base( fact tables), not the analysis server and fact table only has values of base members..
    if any one has tried this scenario, may be they could share more knowledge.
    Kranthi

  • Error in Validation Business Rule

    Hello Experts,
    I am trying to perform validation on Intercompany Account Receivable and Account Payable accounts. For the same I added the Validation business rule, but getting an error while trying to save and validate the business rule. The error is:
    Error = "No Data to Validate"
    I have data in these accounts that I am performing validation on. Also, I am able to save and validate the Validation Rules Table.
    Experts, could you please provide suggestions regarding why I am getting this error and how to resolve it.
    Thanks
    Rahul

    Hello,
    is this with the Product Hyperion Financial Management?
    If yes, you might close the issue here and post it in the HFM group.
    Regards,
    Philip Hulsebosch

  • SAP BPC 5.1 Validation Tolerance in Validation Business Rules

    I am trying to use the the validation tolerance field in the validation business rules and I make it work
    This is how i understand it:
    For example, I am trying to create a control that check that net assets = equity in the balance sheet with a tolerance of 10.
    I have set up the following validation rule header and detail:
    Header: CTRL1 ;validation operand = ; validation tolerance 10; all other fields are blank
    Details: CTRL1; account1=netassets;flow1=F_CLO;SIign1=1;account2=equity;flow2=F_CLO;sign2=1
    After running the validation package:
    If my netassets-equity=9--> i should see CTRL1=0
    If my netassets-equity=-5--> i should see CTRL1=0
    If my netassets-equity=15--> I should see CTRL1=15
    Is my understanding correct? Has anyone been able to use the validation tolerance?
    Regards
    Lena

    In addition to James comments, I just wanted to add a few additional notes:
    1.  The Demo application that was presented contains the applications that you described in your question.  Historically, the consulting team would either use the ApShell or the demo as the foundation for developing a set of applications for the customer based on the design sessions held with the customer.  BAsed on the customer requirements and design, often we start with ApShell and pull in components from the Demo that would support functionality requirements that may go beyond what Apshell has out of the box.  Many of these components are covered in an Advanced Training for BPC, including the helpful and not so helpful components.
    2.  You can pull many of the Demo dimension files, logic scripts and rules from the Application Server file folders for use in an Application set design.  Unfortunately, BPF's can not be transfered, since they are built in to an application and reside in tables in SQL. In addition, many BPF's need to be defined to meet a customers requirements, file names, location, users, and dimension structure.
    3. Many of the dimensions utilize several supporting properties that may be added via the admin console to any dimension.  The properties are a key ingrediaent to a well running application set, supporting reporting, script logic, and business rules.
    4.  The Performance dashboard is no longer an option that is included out-of -the-box, howvere it is just a shell that was adjustable to the application set designed for the customer.

  • Business Rule - Problem with Validation Execution

    I'm running into an issue where conditional Validation Execution is not working as expected. The background is that i have an Entity Object containing a few string attributes on which i must apply Regular Expression business rules to make sure only characters in a certain range is set. I am using a Not Matches regex on the following:
    .*[^\u0020-\uD7FF].*1 attribute is required, 2 are optional. The problem I am experiencing is with the 2 optional attributes.
    Since these are optional, I intended to use the Validation Execution tab so that the Rule is executed only when the attribute is not null. For example, here is what i tried for an attribute named Comments:
    Comments != nullNo validation occurred when I entered an invalid value, such as a string containing line breaks, in a corresponding ADF Faces page. For the heck of it, i experimented by setting the validation execution to the opposite of what i should be - in other words, trigger validation if the attribute is null, such as:
    Comments == nullWith this, the validation occurred as expected.
    Is this a bug, or am I misunderstanding something? I'm not particularly good with RegEx - is it possible this is due to some nuance of the expression?
    Version: JDeveloper 11.1.1.6.
    Thanks-
    -george

    i'm not sure if this is the correct answer or a workaround to the issue i had asked about. Given that caveat, if anyone else ever runs across this thread, what i found worked was to not use the attribute name in the Validation Execution tab's expression, but instead to just newValue as in the following:
    newValue != null

  • Validation - Business Rule or/and UJ_Validation

    Hi experts,
    I'm on BPC 7.5 NW, I'm facing problem to construct a simple validation where I need to compare the amount from one parent account against to other. Let's explain the business scenario and after the technical solutions.
    Business Scenario
    Compare the Total Assets is equal to the Total Liabilities. The Total Assets is represented by a parent account "1", the Total Liabilities is represented by a parent account "2". If it is different show a warning.
    This is need to trigger, after the Actual Transactional Data Load + Journals.
    Technical Solution
    Application: Legal
    Dimensions: Empresa (Entity), Conta (Account), Fonte (C_DataScr), Versao (C_Category), Groups, Intco, MesAno (Time), TipMov (Flow), CCusto (User Defined), CLucro (User Defined)   
    1 - Business Rule
    Validation Definition
    Validation Account         Remark                       Validation Operand           Other destination dimension Members                              Validation Tolerance
    ZATIVO_X_PASSIVO     Ativo x Passivo                       =                           CONTA=VALIDATIVPASS,INTCO=SPTOTAL,CLucro=ACTEDUMMY,CCusto=ACTENONE                0
    Account 1                    Flow 1                  Sign 1               Account 2                 Flow 2                       Sign 2             Remark
    1                           TMTOTAL*                  1                          2                        TMTOTAL*                    1                  Ativo x Passivo
    *The TMTotal Flow is a parent from every data on the master data TipMov (flow)
    Validation.lgf
    *RUN_PROGRAM VALIDATION
        CATEGORY = %VERSAO_SET%
        CURRENCY = %GROUPS_SET%
        TID_RA = %MESANO_SET%
        OTHER = [ENTITY=%EMPRESA_SET%]//For More than one other scope parameters: OTHER = [ENTITY=%ENTITY_SET%;INTCO=%INTCO_SET%...]
    *ENDRUN_PROGRAM
    Result
    When I run with this parameters I receive the message : "UJP_PROCESS_EXCEPTION:Data for category  not found in application LEGAL"
    2 - Validation with UJ_Validation
    Assign the driver dimension to Legal - in case I used the CONTA (Account)
    Rule Maintenance
    Assigned Member: "1" and "2"
    Use Logic Table
    Dimension = Empresa (Entity)
    Operator "="
    Members = TECSA - This is a parent from every Entities.
    Result
    When I run with this parameters I receive the message : "UJP_PROCESS_EXCEPTION:Data for category  not found in application LEGAL"
    3 - Validation with UJ_Validation and BADI
    Assign the driver dimension to Legal - in case I used the CONTA (Account)
    Rule Maintenance
    Assigned Member: "1" and "2"
    Use BAdI Implementation
    BADI_UJ_VALIDATION_RULE_LOGIC
    Create a Enhancement ZATIVO_X_PASSIVO
    Filter
    Rule_Num = 1
    APPSET_ID = ZTECSA
    DIMENSION = CONTA
    Class
    METHOD if_uj_validation_rule_logic~do_validation_logic.
      FIELD-SYMBOLS:
                       <field1> TYPE ANY,
                       <field2> TYPE ANY.
      ASSIGN COMPONENT 'FIELD1' OF STRUCTURE is_data TO <field1>.
      ASSIGN COMPONENT 'FIELD2' OF STRUCTURE is_data TO <field2>.
      IF <field1> NE <field2>.
        es_message-message = 'Error in Validation'.
        es_message-recno = 1.
        es_message-MSGTY = 'W'.
      ENDIF.
    ENDMETHOD.
    And add this line to the script
    *START_BADI_UJ_VALIDATION_RULE_LOGIC~DO_VALIDATION_LOGIC
      QUERY = ON
      WRITE = ON
    *END_BADI
    Result
    Data Region:
    [WARNING!] NO MEMBER SPECIFIED FOR DIMENSION:CCUSTO WILL QUERY ON ALL BASE MEMBERS.
    [WARNING!] NO MEMBER SPECIFIED FOR DIMENSION:CLUCRO WILL QUERY ON ALL BASE MEMBERS.
    [WARNING!] NO MEMBER SPECIFIED FOR DIMENSION:CONTA WILL QUERY ON ALL BASE MEMBERS.
    [WARNING!] NO MEMBER SPECIFIED FOR DIMENSION:FONTE WILL QUERY ON ALL BASE MEMBERS.
    [WARNING!] NO MEMBER SPECIFIED FOR DIMENSION:INTCO WILL QUERY ON ALL BASE MEMBERS.
    [WARNING!] NO MEMBER SPECIFIED FOR DIMENSION:TIPMOV WILL QUERY ON ALL BASE MEMBERS.
    [WARNING!] MEASURES IS NOT SPECIFIED!
    So what could I make to maintain all my options to do what I need ?
    I appreciate any help
    Best Regards
    Alexandre Mendoza Collepicolo

    Hi,
    Just to check, can you try and hardcode the category in the rules itself...just for a test to see if it is working.
    You can have the category mentioned as CATEGORY=ACTUAL in the rules itself for Other source dimension members and other destination members. J
    This is to check if the validation package runs successfully or not.
    Thanks,
    Sreeni

  • Tiggger-Business Rule Problem

    Hi Guys
    I have BEFORE INSERT OR UPDATE ON ASSESSMENTS for each row which is doing some sort of validation for date.
    IF INSERTING OR UPDATING then
    v_involv_identifier := NVL(:new.identifier,:old.identifier);
    IF :new.start_date is not null THEN
    BEGIN
    SELECT MIN(irole.start_date)
    INTO v_irole_start
    FROM involvement_roles irole
    WHERE irole.involv_identifier = v_involv_identifier;
    IF trunc(:new.start_date) > trunc(v_irole_start)
    THEN
    raise_application_error(-20103, 'SSL-13085');
    END IF;
    EXCEPTION
    when no_data_found then
    null;
    END;
    END IF;
    IF :new.end_date is not null
    THEN
    BEGIN
    SELECT MAX(irole.end_date)
    INTO v_irole_end
    FROM involvement_roles irole
    WHERE irole.involv_identifier = v_involv_identifier;
    IF v_irole_end is not null
    AND trunc(v_irole_end) > trunc(:new.end_date)
    THEN
    raise_application_error(-20103, 'SSL-13085');
    END IF;
    EXCEPTION
    when no_data_found then
    null;
    End;
    BEGIN
    SELECT MAX(irole.start_date)
    INTO v_irole_start
    FROM involvement_roles irole
    WHERE irole.involv_identifier = v_involv_identifier;
    IF v_irole_start is not null
    AND v_irole_start > :new.end_date
    THEN
    raise_application_error(-20103, 'SSL-13085');
    END IF;
    EXCEPTION
    when no_data_found then
    null;
    END;
    END IF;
    END IF;
              Now in AFTER INSERT OR UPDATE ON ASSESSMENTS for each row
              I am updating the values of Involvement_role(irole.start_date, irole.end_date) and
              Involments(start_date, end_date ) to temporary table and from there to respective table to avoid
              mutation.It works fine as expected in all cases.
              But I am unable to update when both InvolvementRole enddate and Invovement enddate are updated at same
              (Both are same date)or InvolvementRole startdate and Invovement startdate are updated at same time
              (Both are same date) because of business rule implemented.But from user prspect it should be able to
              update at the same time.
              After analysising I think it happening because of the max value of v_irole_end & v_irole_start which i m
              getting using the select statement which still coantain the old value.
              Say for example currenlty the InvolvementRole enddate=4/9/2009 and Invovement enddate=4/9/2009
              Now I m updating with value say InvolvementRole enddate=3/9/2009 and Invovement enddate=3/9/2009
              Now with select stm. the max value of v_irole_end=4/9/20099 (say)
              so this rule apply
              IF v_irole_end is not null
    AND trunc(v_irole_end) > trunc(:new.end_date)
    THEN
    raise_application_error(-20103, 'SSL-13085');
    END IF;
              and it will not allow to update .
    but if you update separately it will not cause any problem as the value of InvolvementRole enddate is
              already modifes and contain the new value (3/9/2009)          
              Now question is it's frustrating to user.Can any one suggest how to over and allow user to update
              simulteneouly without violating B-Rules.
              For information I m updating the Involvement Role table before and then InvolvementTable.

    1. db details
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bi
    PL/SQL Release 10.2.0.3.0 - Production
    CORE 10.2.0.3.0 Production
    TNS for 64-bit Windows: Version 10.2.0.3.0 - Production
    NLSRTL Version 10.2.0.3.0 - Production
    2.
    for dml u can look into which updating ----
    FOR c IN c_temp_id LOOP
    IF c.action_ind = 'R' THEN
    dbms_output.put_line('updating role for involvement '||c.identifier||
    ' to end on '||c.date_param1);
    UPDATE involvement_roles
    SET end_date = c.date_param1
    WHERE involv_identifier = c.identifier;
    -- AND end_date IS NULL;
    end if ;
    IF c.action_ind = 'Q' THEN
    update INVOLVEMENTS
    set end_date=c.date_param1
    WHERE identifier = c.identifier;
    End if;
    END LOOP;
    3. In after statement trigger
    procedure is a called to update both table
    IF UPDATING THEN
    v_db_mode := 'U';
    END IF;
    involv_asprc(v_db_mode);
    code inside procedure involv_asprc look like-----------------------
    CURSOR v_del_record IS
    select identifier involv_identifier
    ,action_ind
    ,text_param1 corgan_code
    ,text_param2 corgan_mapping_code
    ,numb_param1 person_identifier
    ,numb_param2 ounit_identifier_inv
    from temporary_identifiers
    where session_identifier = v_session
    and target_tablename = 'INVOLV_EDIN'
    and action_ind = 'D';
    v_corgan_code VARCHAR2(4);
    ounit_id VARCHAR2(30);
    v_count NUMBER;
    v_id NUMBER(10);
    v_max_date DATE;
    v_end_date DATE;
    v_per_record NUMBER;
    v_excep_desc VARCHAR2(1000);
    v_name1 VARCHAR2(10);
    v_person_id NUMBER(10);
    --End JG167184
    BEGIN
    --Rc
    FOR c IN c_temp_id LOOP
    IF c.action_ind = 'R' THEN
    dbms_output.put_line('updating role for involvement '||c.identifier||
    ' to end on '||c.date_param1);
    UPDATE involvement_roles
    SET end_date = c.date_param1
    WHERE involv_identifier = c.identifier;
    -- AND end_date IS NULL;
    end if ;
    IF c.action_ind = 'Q' THEN
    update INVOLVEMENTS
    set end_date=c.date_param1
    WHERE identifier = c.identifier;
    End if;
    END LOOP;
    end;

  • Error while validating Business rules in EAS

    Hi,
    Iam new to hyperion. I created business rule in EAS (using a user with businessrule admin role). when i tried to validate the same, it gives an error message like *"Unable to validate or run this business rule. Detail:Exception occurred. Please check your log file for details"*. So wats the actual problem.
    Thanks in advance.

    Sounds like you have not added security to the rule. Before you assign security you must set the Location in the Location tab, this is the db you want to run the BR on (you can also use 'Allow all Locations')
    Then you must goto security tab and assign users / groups to the BR, once you have done this the BR should validate and run.
    J

  • Business Rule problem

    Here is a problem I am not quite sure how to solve.
    Given a collection of objects of type X, find out if there are two objects in that collection that meet certain criteria.  For example, find out if there are two objects X1 and X2 such that X1.city=X2.city.
    How does one go about writing a rule for this?
    Thank you all,

    <p>Thank you!</p><p>I try, try, and try again and finally I solved the problem!:-)</p><p> </p><p>I remember POV axis contains another information aboutversion.</p><p>In detail, I have two form (A and B) identical except twoparameter: version in PAGE axis and account information in POVaxis.</p><p>FormA contains "Mem1_A" in POV and version"Ver_A" in POV, while</p><p>FormB contains "Mem1_B" in POV and version"Ver_B" in POV.</p><p> </p><p>At this point, I can retrieve correctly "Mem1_A" or"Mem1_B", through run-time prompt with local variablecalled "FirstMember". I added another local variable,called "SecondMember", with feature "use byvalue" and set-up with a value. I added following code atbusiness rule:</p><p> </p><p>[FirstMember] (</p><p>    IF (@ISMBR("Ver_A"))</p><p>        [SecondMember] ="Mem2_A";</p><p>    ELSEIF (@ISMBR("Ver_B"))</p><p>        [SecondMember] ="Mem2_B";</p><p>    ELSE</p><p>        ... at thispoint you can't arrive... if you set in PAGE axis only the versionsused in IF...ELSEIF</p><p>    ENDIF</p><p>)</p><p> </p><p>In this way business rule retrieve correct value for FirstMemberand set-up correct value for SecondMember. In business rule code"core" I used only FirstMember and SecondMember to referaccount dimension.</p><p> </p><p>I hope this explanation is clear enough... I don't speak aperfect English :-(</p>

  • Other Delete Business Rule Problem

    Hello everybody
    I have a problem with Oher delete business rules and the problem is for getting rowid for a deleted row and it causes ther error : no data found.
    I solved this problem in this way
    qms_transaction_mgt.process_rule_violation
    ( p_br_name => 'BR_TEAM004_DEL'
    , p_msg_code => 'MS-00184'
    , p_display_label => display_label
    , p_table_name => 'ms_teams'
    , p_table_rowid => null /* get_rowid */
    In fact, I use null instead of get_rowid for this kind of rull. Is it a good way? Have every body any better way?
    Thanks
    Hassan

    Hassan,
    This is a known bug in the original Headstart 6i release. This bug was corrected in Headstart Patch 6.5.2.1 which is available via the Headstart Supplement Option. The Supplement Option can be purchase via your local consulting organization or the Oracle store. You will be given access to a portal from which you can download patches.
    Regards,
    Lauri

  • Error validating business rules containing variable from another plan type.

    We have created few business rules in in plan type "Plan1" which we are using variable from plan type "Capex". This is how we are using it.
    "(@XREF(cpx,"Intangible Assets Finite, Gross","Unspecified","No Project","Information Technology (IT)","371064911-01"))"
    But when we validate this rule it gives the following error
    "An error occurred in: Rule:IFLJAN13.Plan1.B - Trail Balance - Capex
    A validation error was received from the Planning server 'http://hptstorg:8300/HyperionPlanning/servlet/HspAppManagerServlet?appname=IFLJAN13'.
    'Error:The member 'Unspecified' cannot be found.
    The member 'Unspecified' cannot be found.
    The member 'Intangible Assets' cannot be found.
    The member 'Unspecified' cannot be found.
    The member 'Unspecified' cannot be found. Rule IFLJAN13.Plan1.B - Trail Balance - Capex'."
    We have checked the location aliases using EAS Console and they are correct.

    Could you pls. check if you can see your BR in the location for the cube where you are unable to validate the rule?! (EAS console --> Administration --> Locations --> (right click) open)
    your user must be able to "validate or launch" the rule in this location (changeable with "Add Access Privileges") and the rule itself must be able to launch in this location (changeable with "Add rules").
    Kind regards
    André

  • Error Validating Business Rule in Calculation Manager (@_AT) ?

    I have migrated an 11.1.1.3 business rule and two macros (templates) into Calculation Manager 11.1.2.2. When I validate the script I get the following error. Has anybody seen this before or have any guidance? The script syntax checks ok.
    "An error occurred in: Rule:FCO_3YrBud_DGAlloc Error:Error parsing formula for [FIX STATEMENT] (line 24): Expected [(] found [@_AT] after function name Rule FCO_3YrBud_DGAlloc "
    Line 24 is the first FIX statement in the script show below:
    SET UPDATECALC OFF; SET AGGMISSG OFF;
    %Template(name:="FCOm_TargetSection",application:="FCO",plantype:="FCO",dtps:=("parm1":=([["Three Year Budget"]]),"parm2":=([["DGAllocation"]]),"parm3":=([[{FCOrtpYears}]]),"parm4":=([[Mar]])))
    %Template(name:="FCOm_TargetAgg",application:="FCO",plantype:="FCO",dtps:=("parm1":=([["Three Year Budget"]]),"parm2":=([["DGAllocation"]]),"parm3":=([[{FCOrtpYears}]]),"parm4":=([[Mar]])))
    First template:
    SET UPDATECALC OFF; SET AGGMISSG OFF;
    FCOm_TargetSection
    parm1 = scenario
    parm2 = version
    parm3 = years
    parm4 = periods
    The purpose of this macro is to translate Target input to GBP and copy to Curr NA and aggreggated. Step1: Copy inputs to Total Section to I/P Total Section and No Project Step1: Copy inputs to Converted Currency - no need to translate as all inputs are in GBP Step2: Copy Input GBP values to Curr NA
    FIX(([["Three Year Budget"]]),([["DGAllocation"]]),([["FY15"]]),([[Mar]]),@IDESCENDANTS("BH - T"), "Curr NA", "Baseline","Entered Currency","A - 6111","A - 6112","A - 6113","A - 65","A - 66","A - 620905")
    DATACOPY "Total Section" TO "Input_Total Section";
    DATACOPY "Total Section" TO "No Project";
    ENDFIX
    FIX(([["Three Year Budget"]]),([["DGAllocation"]]),([["FY15"]]),([[Mar]]),@IDESCENDANTS("BH - T"), "Curr NA","Total Section", "Input_Total Section", "No Project","Baseline","A - 6111","A - 6112","A - 6113","A - 65","A - 66","A - 620905")
    DATACOPY "Entered Currency" TO "Converted Currency (GBP)";
    ENDFIX
    FIX(([["Three Year Budget"]]),([["DGAllocation"]]),([["FY15"]]),([[Mar]]),@IDESCENDANTS("BH - T"), "Total Section","Input_Total Section","No Project", "Baseline", "Entered Currency","Converted Currency (GBP)","A - 6111","A - 6112","A - 6113","A - 65","A - 66","A - 620905")
    DATACOPY "Curr NA" TO "Input GBP";
    ENDFIX
    Second template:
    FCOm_TargetAgg
    parm1 = scenario
    parm2 = version
    parm3 = years
    parm4 = periods
    The purpose of this macro is to  aggreggate Target data Step2: Aggregate data
    FIX(([["Three Year Budget"]]),([["DGAllocation"]]),([["FY15"]]),([[Mar]]),"Baseline","Entered Currency","Converted Currency (GBP)")
    CALC DIM("Account","BudgetHolder","Input Currency","SectionProjects");
    ENDFIX

    Actually
    I have just been re thinking about your post. My comments above may not be correct for your situation. The Syntax above is correct if you are talking about the code "within" the template itself (So if you open the template and look at the code). But if the code you posted in your messages was from the script window of the rule (When in script mode) then your problem is something different potentially.
    So the first thing is to make sure that in the template itself (template open) the DTPs are defined in the global range or member range as [Parm1],[Parm2] etc (Or fix, depending on how the template is shown) as I said in my first response above, the template only defines the DTP, not the members and should be enclosed in square brackets, like [Parm1}. That will make sure the DTP as defined in your template correctly. Then we need to look at how you are defining those DTPs in the rule itself. Normally this is a lot easier if your rule is in graphical view, as you just click on the template and your can enter the values. As you have your rule in Script mode you need to be very careful in how you define the DTP values. Each DTP 'type' has different syntax in script mode.
    On looking at your script again I can see another problem potentially. When defining the values in the DTP's, the value needs enclosing with double square brackets, like so  [["Three Year Budget"]]. In your script you also have parenthesis. Which isn't always correct. There are times having parenthesis and double brackets is correct, but that is only when your DTP is type "Members", and by default I think old business rule macros will be translated into templates with the DTP types of "Script"
    So if you also amend your business section where the templates are defined to as below; (as you can see, no parenthesis around the DTP values).
    SET UPDATECALC OFF; SET AGGMISSG OFF;
    %Template(name:="FCOm_TargetSection",application:="FCO",plantype:="FCO",dtps:=("parm1":=[["Three Year Budget"]],"parm2":=[["DGAllocation"]],"parm3":=[[{FCOrtpYears}]],"parm4":=[[Mar]]))
    %Template(name:="FCOm_TargetAgg",application:="FCO",plantype:="FCO",dtps:=("parm1":=[["Three Year Budget"]],"parm2":=[["DGAllocation"]],"parm3":=[[{FCOrtpYears}]],"parm4":=[[Mar]]))
    The end game should be that when you open your rule and view in script mode and then select script tab down the bottom your templates should look as below, as you will see, all that should be shown in the script are the values substituted from the template definition, key point is that there are no brackets or Parenthesis. The script should show "pure" script. ( I have highlighted and underlined how those 4 DTPs should translate in the script view)
    First template:
    SET UPDATECALC OFF; SET AGGMISSG OFF;
    FCOm_TargetSection
    parm1 = scenario
    parm2 = version
    parm3 = years
    parm4 = periods
    The purpose of this macro is to translate Target input to GBP and copy to Curr NA and aggregated. Step1: Copy inputs to Total Section to I/P Total Section and No Project Step1: Copy inputs to Converted Currency - no need to translate as all inputs are in GBP Step2: Copy Input GBP values to Curr NA
    FIX("Three Year Budget","DGAlocation",FY15,Mar,@IDESCENDANTS("BH - T"), "Curr NA", "Baseline","Entered Currency","A - 6111","A - 6112","A - 6113","A - 65","A - 66","A - 620905")
    DATACOPY "Total Section" TO "Input_Total Section";
    DATACOPY "Total Section" TO "No Project";
    ENDFIX
    FIX("Three Year Budget","DGAlocation",FY15,Mar,@IDESCENDANTS("BH - T"), "Curr NA","Total Section", "Input_Total Section", "No Project","Baseline","A - 6111","A - 6112","A - 6113","A - 65","A - 66","A - 620905")
    DATACOPY "Entered Currency" TO "Converted Currency (GBP)";
    ENDFIX
    FIX("Three Year Budget","DGAlocation",FY15,Mar,@IDESCENDANTS("BH - T"), "Total Section","Input_Total Section","No Project", "Baseline", "Entered Currency","Converted Currency (GBP)","A - 6111","A - 6112","A - 6113","A - 65","A - 66","A - 620905")
    DATACOPY "Curr NA" TO "Input GBP";
    ENDFIX
    Thanks
    Anthony

Maybe you are looking for

  • Problem with Stored procedure in JDBC Synch scenario

    Hello Experts, I am working on the scenario which is from HTTP <-> to <-> JDBC. It is a synchronouse scenario. We are using Stored procedure in this scenario. 1) Please send the response structure for it. 2) here when i am sending request to the Data

  • HT1338 What kind of cord do I buy to hook up my MacPro to my television monitor? And where does it plug in?

    What kind of cord do I buy to hook up my MacPro to my television monitor? And where does it plug in?

  • Apple Wireless Keyboard Wish list.....

    Hello, I was not sure where to post this... I just wanted to say that an Apple Bluetooth wireless Keyboard with a built in track pad like the one on the Macbook pros would be an excellent product for the Mini and pro units.... I use the Mini in my me

  • Why have I made a further payment?

    I've been charged today for a 3 month subscription which I'm extremely happy about because I'm pretty sure I didn't do it. Other questions: Why can I not have Live Chat.. only for "premium"users. So you can charge more, for correcting a fault!? XD I

  • Checking rule

    Hi, I am getting this error. Can some one elaborate. Order type XP01 plant 10XX: No checking rule maintained for operation Release of order not possible What settings have I missed?