No error-workitem with rule resolution

Hi,
using the Flag "Terminate if Rule Resolution has no Result" in rule definition we expect an error-workitem when agent resolution determines no agent. However only the workflow-frames are set to status error. The WF-protocol shows no error-workitem (SWI2_ADM1 therefore does not work either). The protocol ends with the last (sucessfully executed) step before the rule for agent determination is executed.
Without the Flag "Terminate if Rule Resolution has no Result" the workitem is send to all possible users (as expected) if no agent is determined.
We need an error-workitem in SWI2_ADM1 in this case. Any ideas why this is not working? Our Release SAP_BASIS, SAP_ABA: 701.
Regards,
Frank

SWI2_DIAG (for the Workflow frame) shows the following error messages:
Error in resolution of rule 'AC90000002' for step '0000000270'
Agent determination for step '0000000270' failed
--> These entries seem to be OK reagarding the expected error-workitem
Error during result processing of work item 000000002737
Error when creating a work item
Error when creating a component of type 'Step'
Error when processing node '0000000270' (ParForEach index 000000)
Error when processing node '0000000270' (ParForEach index 000000)
--> I can not explain these entries; we don´t have a multi-level-step; it is single approval-step for 1 invoice
--> Apparently this error does not occur when the flag "Terminate if Rule Resolution has no Result
" is not set  (in this case the workitem is send to all possible agents without any problems)

Similar Messages

  • Need to generate multiple error files with rule file names during parallel data load

    Hi,
    Is there a way that MAXL could generate multiple error files during parallel data load?
    import database AsoSamp.Sample data
      connect as TBC identified by 'password'
      using multiple rules_file 'rule1' , 'rule2'
      to load_buffer_block starting with buffer_id 100
      on error write to "error.txt";
    I want to get error files as this -  rule1.err, rule2.err (Error files with rule file name included). Is this possible in MAXL? 
    I even faced a situation , If i hard code the error file name like above, its giving me error file names as error1.err and error2.err. Is there any solution for this?
    Thanks,
    DS

    Are you saying that if you specify the error file as "error.txt" Essbase actually produces multiple error files and appends a number?
    Tim. 
    Yes its appending the way i said.
    Out of interest, though - why do you want to do this?  The load rules must be set up to select different 'chunks' of input data; is it impossible to tell which rule an error record came from if they are all in the same file?
    I have like 6 - 7 rule files using which the data will be pulled from SQL and loaded into Essbase. I dont say its impossible to track the error record.
    Regardless, the only way I can think of to have total control of the error file name is to use the 'manual' parallel load approach.  Set up a script to call multiple instances of MaxL, each performing a single load to a different buffer.  Then commit them all together.  This gives you most of the parallel load benefit, albeit with more complex scripting.
    Even i had the same thought of calling multiple instances of a Maxl using a shell script.  Could you please elaborate on this process? What sort of complexity is involved in this approach.? Did anyone tried it before?
    Thanks,
    DS

  • Error: Result of agent resolution does not agree with agents of task

    Hi,
    I'm getting the error "Result of Agent Resolution does not agree with agent of Task".  I'm passing the agents in Expression which I'm getting from Method in my previous step and passing to workflow container and it is getting passed to Expression. The userid is present in that container. And the Task is assigned as General Task but still I dont know what might be the problem. The ID is with 'US' prefix. Even if I give the userid directly in the Task, it shows the same error.
    Regards,
    JMB

    Hi
    Incase you are using different clients for development and testing, make sure in testing client, task is assigned as general task.
    You may check the way the userid is passed. Please note that the US is object type and Object ID(user id) is different. Both of them should not be part of one string. So while you test, just pass the user id without a prefix US. Hope it will work for u.
    Regards
    Waz

  • [Symptoms and Resolutions] unknown error (-50) with Outlook

    [Symptoms]
    While we sync calendar with iTunes 5, we should meet below error.
    "The iPod 'xxxxxx' cannot be updated. An unknown error occurred (-50)."
    [Resolutions]
    Remove all recurring properties under appointments on Outlook Calendar.
    * I think iTunes 5 doesn't support recurring function of Calendar to sync.

    I'm sorry I have nothing to tell you anymore.
    It's a workaround. it's not a solution.
    Somedays ago, Apple posted a article to troubleshoot iPod contact and calendar syncing.
    (ref. http://docs.info.apple.com/article.html?artnum=302270)
    There are a lot of constrains to sync.
    According to the article, if we meet any incidents we have to save a hundred of contacts and calendar events on our iPod.
    I think Apple must release bug fix version.
    So, I am waiting for...
    regards

  • Task rule resolution not working

    Hi Experts,
    I have a created a rule in PFAC to determine possible agents for a task. I have assigned the same under "default rules" tab  of task configuration. Rule container, binding between task container & rule container is also correct & in place properly. The rule standalone when tested (in simulation mode) does give the correct result. This possible agents determination is  to ensure workitems can only be forwarded to set of people(possible agents) who are authorized. So i have set the task attribute also to "General Forwarding not allowed". The corresponding step for this task has been assigned an agent as an "expression" , this expression contains a user "USXXXX" at runtime which is a part of possible agents for a task detemined by the rule as explained above . Still at runtime workflow is unable to detemine the agent for that particular workitem indicating that none of the responsible agent belong to the possible agent. When i checked in detail, i found the that the rule itself fails to get the possible agents at runtime as it showed no possible agents when the workflow log was checked. So that's why there is no common thing between responsible agent & possible agents or intersection of responsible agents & possible agents is nothing. So runtime workflow does not come to know the agent to whom the workitem to be sent to so it creates a workitem with "no agent".
    So kindly guide me why the rule resolution at task level is not happening properly.
    Regards,
    Chetan.

    Hi Chetan,
    My comments are below:
    1. I have an expression to determine an agent at step level ...this agent is a responsible agent.
    Ans. Correct.
    2. To a task corresponding to that step, i have assigned under "Default rules" tab an agent determination rule as default rule
    this rule i have created via PFAC. The list of uwer this rule gives i am considering as "Possible Agents".
    Ans. Incorrect... this is again "Responsible Agent"
    3. The Responsible agent determined by the expression at runtime is the user that is part of list of users determined by the rule
    assigned at task level.
    Ans. No, Resposible Agent is only what is determined by rule or  is a expression. However the agents who receive work item is the intersection of Possible and ResponsibleAgent.
    4. Task attribute is set to "General Forwarding not allowed" to ensure that workitem can only be forwarded to those user
    that rule determines as mentioned in step2 & not to any XYZ user.
    Ans. "General Forarding not allowed" only allows to forward work item to Possible Agents.
    Hope this helps you...
    Regards
    Gautam

  • Error in Transformation Rules - Runtime Error

    Hi Experts,
    I am trying to load data from PSA to ODS using DTP. For about 101 records I get the following error:
    "Runtime error while executing rule -> see long text     RSTRAN     301"
    On further looking at the long text:
    Diagnosis
        An error occurred while executing a transformation rule:
        The exact error message is:
        Overflow converting from ''
        The error was triggered at the following point in the program:
        GP4808B5A4QZRB6KTPVU57SZ98Z 3542
    System Response
        Processing the data record has been terminated.
    Procedure
          The following additional information is included in the higher-level
         node of the monitor:
         o   Transformation ID
         o   Data record number of the source record
         o   Number and name of the rule which produced the error
    Procedure for System Administration
    When looking at the detail:
    Error Location: Object Type    TRFN
    Error Location: Object Name    06BOK6W69BGQJR41BXXPE8EMPP00G6HF
    Error Location: Operation Type DIRECT
    Error Location: Operation Name
    Error Location: Operation ID   00177 0000
    Error Severity                 100
    Original Record: Segment       0001
    Original Record: Number        2
    Pls can anyone help in deducing and pointing this error to the exact spot in the transformation rule
    Thanks & Regards,
    Raj

    Hi Rajesh,
    Why don't you debug that program.
    You can go to his program : GP4808B5A4QZRB6KTPVU57SZ98Z 3542
    How :
    1. tcode : se38
    2. type : GP4808B5A4QZRB6KTPVU57SZ98Z 3542
    3. Set highlight there,
    Then setup with debug mode, finnaly you execute the dtp.
    And watch carefully, in what part you get an error.
    Hopefully it can help you a lot.
    Regards,
    Niel
    thanks a lot for any points you choose to assign.

  • Error when invoking Rule Engine using Java API

    Hi,
    I have implemented a Java class which calls the Rule Engine to execute the rules. If I test by setting the value of the input inside a main method and get the output, it is working fine. The ruleset is also invoked and there is no problem. However, when I expose this java class as a web service and invoke the web service, I get the below error. I dont get the error if the .rules file is not present in the loaction mentioned. I get the error when the .rules file is present in the location. Not sure if this is an issue with the java call outs or loading the dictionary.
    Error:_
    <faultcode>S:Server</faultcode>
    <faultstring>oracle/rules/sdk2/exception/SDKException</faultstring>
    <ns2:exception xmlns:ns2="http://jax-ws.dev.java.net/" note="To disable this feature, set com.sun.xml.ws.fault.SOAPFaultBuilder.disableCaptureStackTrace system property to false" class="java.lang.NoClassDefFoundError">
    <message>oracle/rules/sdk2/exception/SDKException</message>
    <ns2:stackTrace>
    <ns2:frame line="38" file="ImplementRules.java" method="Query" class="oracle.rules.querystudentcriteria.ImplementRules"/>
    <ns2:frame line="native" file="NativeMethodAccessorImpl.java" method="invoke0" class="sun.reflect.NativeMethodAccessorImpl"/>
    <ns2:frame line="39" file="NativeMethodAccessorImpl.java" method="invoke" class="sun.reflect.NativeMethodAccessorImpl"/>
    <ns2:frame line="25" file="DelegatingMethodAccessorImpl.java" method="invoke" class="sun.reflect.DelegatingMethodAccessorImpl"/>
    <ns2:frame line="597" file="Method.java" method="invoke" class="java.lang.reflect.Method"/>
    <ns2:frame line="101" file="WLSInstanceResolver.java" method="invoke" class="weblogic.wsee.jaxws.WLSInstanceResolver$WLSInvoker"/>
    <ns2:frame line="83" file="WLSInstanceResolver.java" method="invoke" class="weblogic.wsee.jaxws.WLSInstanceResolver$WLSInvoker"/>
    <ns2:frame line="152" file="InvokerTube.java" method="invoke" class="com.sun.xml.ws.server.InvokerTube$2"/>
    <ns2:frame line="264" file="EndpointMethodHandler.java" method="invoke" class="com.sun.xml.ws.server.sei.EndpointMethodHandler"/>
    <ns2:frame line="93" file="SEIInvokerTube.java" method="processRequest" class="com.sun.xml.ws.server.sei.SEIInvokerTube"/>
    <ns2:frame line="604" file="Fiber.java" method="__doRun" class="com.sun.xml.ws.api.pipe.Fiber"/>
    <ns2:frame line="563" file="Fiber.java" method="_doRun" class="com.sun.xml.ws.api.pipe.Fiber"/>
    <ns2:frame line="548" file="Fiber.java" method="doRun" class="com.sun.xml.ws.api.pipe.Fiber"/>
    <ns2:frame line="445" file="Fiber.java" method="runSync" class="com.sun.xml.ws.api.pipe.Fiber"/>
    <ns2:frame line="275" file="WSEndpointImpl.java" method="process" class="com.sun.xml.ws.server.WSEndpointImpl$2"/>
    <ns2:frame line="454" file="HttpAdapter.java" method="handle" class="com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit"/>
    <ns2:frame line="250" file="HttpAdapter.java" method="handle" class="com.sun.xml.ws.transport.http.HttpAdapter"/>
    <ns2:frame line="140" file="ServletAdapter.java" method="handle" class="com.sun.xml.ws.transport.http.servlet.ServletAdapter"/>
    <ns2:frame line="319" file="HttpServletAdapter.java" method="run" class="weblogic.wsee.jaxws.HttpServletAdapter$AuthorizedInvoke"/>
    <ns2:frame line="232" file="HttpServletAdapter.java" method="post" class="weblogic.wsee.jaxws.HttpServletAdapter"/>
    <ns2:frame line="310" file="JAXWSServlet.java" method="doPost" class="weblogic.wsee.jaxws.JAXWSServlet"/>
    <ns2:frame line="727" file="HttpServlet.java" method="service" class="javax.servlet.http.HttpServlet"/>
    <ns2:frame line="87" file="JAXWSServlet.java" method="service" class="weblogic.wsee.jaxws.JAXWSServlet"/>
    <ns2:frame line="820" file="HttpServlet.java" method="service" class="javax.servlet.http.HttpServlet"/>
    <ns2:frame line="227" file="StubSecurityHelper.java" method="run" class="weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction"/>
    <ns2:frame line="125" file="StubSecurityHelper.java" method="invokeServlet" class="weblogic.servlet.internal.StubSecurityHelper"/>
    <ns2:frame line="292" file="ServletStubImpl.java" method="execute" class="weblogic.servlet.internal.ServletStubImpl"/>
    <ns2:frame line="26" file="TailFilter.java" method="doFilter" class="weblogic.servlet.internal.TailFilter"/>
    <ns2:frame line="56" file="FilterChainImpl.java" method="doFilter" class="weblogic.servlet.internal.FilterChainImpl"/>
    <ns2:frame line="326" file="DMSServletFilter.java" method="doFilter" class="oracle.dms.wls.DMSServletFilter"/>
    <ns2:frame line="56" file="FilterChainImpl.java" method="doFilter" class="weblogic.servlet.internal.FilterChainImpl"/>
    <ns2:frame line="3592" file="WebAppServletContext.java" method="run" class="weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction"/>
    <ns2:frame line="321" file="AuthenticatedSubject.java" method="doAs" class="weblogic.security.acl.internal.AuthenticatedSubject"/>
    <ns2:frame line="121" file="SecurityManager.java" method="runAs" class="weblogic.security.service.SecurityManager"/>
    <ns2:frame line="2202" file="WebAppServletContext.java" method="securedExecute" class="weblogic.servlet.internal.WebAppServletContext"/>
    <ns2:frame line="2108" file="WebAppServletContext.java" method="execute" class="weblogic.servlet.internal.WebAppServletContext"/>
    <ns2:frame line="1432" file="ServletRequestImpl.java" method="run" class="weblogic.servlet.internal.ServletRequestImpl"/>
    <ns2:frame line="201" file="ExecuteThread.java" method="execute" class="weblogic.work.ExecuteThread"/>
    <ns2:frame line="173" file="ExecuteThread.java" method="run" class="weblogic.work.ExecuteThread"/>
    </ns2:stackTrace>
    The Java class looks like:
    public PersonType Query (PersonType p)
    try {
    //FileReader reader = new FileReader("/home/orasoa/223345/STRS1.rules");
    //FileReader reader = new FileReader("D:\\Arun\\NGCE_WS\\POC1\\UHG\\QueryStudentCriteria\\oracle\\rules\\querystudentcriteria\\STRS1.rules");
    InputStream stream=ImplementRules.class.getResourceAsStream("/STRS1.rules");
    Reader reader=new InputStreamReader(stream);
    RuleDictionary dict = RuleDictionary.readDictionary(reader, new DecisionPointDictionaryFinder(null));
    List<SDKWarning> warnings = new ArrayList<SDKWarning>();
    dict.update(warnings);
    DecisionPoint decisionPoint = new DecisionPointBuilder().with("STRS1_DecisionService_1").with(dict).build();
    DecisionPointInstance point = decisionPoint.getInstance();
    ArrayList input=new ArrayList();
    input.add(p);
    point.setInputs(input);
    List<Object> output=point.invoke();
    catch (Exception e) {}
    return p;
    Cheers,
    - AR

    Hi, I am getting a similar error when I deploy my application on the weblogic server.
    Could you detail how this was resolved?
    Thanks,
    SB

  • WF problem with rule

    Hi expert,
    i have created a rule with Category = Agent Determination: Responsabilities; this rule doesn't work correctly  only in production and only with some values.
    I have tried the note 855494 but i haven't understand what "The rule resolution is not working in case the container type is an ABAP Dictionnary Data Type." means; can you help me? It is urgent.
    Thanks and regards.
    Antonella

    Hii Antonello,
    U should post this query in <b>BPM and WORKFLOW</b> which is in SAP NETWEAVER.
    There u will find the experts for WF.
    Regards,
    Ashish

  • Save file with high resolution progamatically

    Hello,
    I'm trying to export the document to JPEG and PNG formats with a resolution of 300 DPI. I'm using the following code:
    PIActionDescriptor desc00000178 = NULL;
    error = sPSActionDescriptor->Make(&desc00000178);
    if (error) goto returnError; 
    PIActionDescriptor desc00000180 = NULL;
    error = sPSActionDescriptor->Make(&desc00000180);
    if (error) goto returnError;
    error = sPSActionDescriptor->PutInteger(desc00000180, keyExtendedQuality, 10);
    if (error) goto returnError; 
    error = sPSActionDescriptor->PutUnitFloat(desc00000180, keyResolution, unitDensity, 300.00);
    if (error) goto returnError;
    error = sPSActionDescriptor->PutEnumerated(desc00000180, keyMatteColor, typeMatteColor, enumNone);  
    if (error) goto returnError;
    error = sPSActionDescriptor->PutObject(desc00000178, keyAs,
    classJPEGFormat, desc00000180); 
    if (error) goto returnError;
    Handle aliasValue = NULL;
    FullPathToAlias("C:\\temp\\Myfile.jpg", aliasValue);error = sPSActionDescriptor->PutAlias(desc00000178, keyIn, aliasValue);
    if (error) goto returnError;
    error = sPSActionDescriptor->PutBoolean(desc00000178, keyCopy,
    true); 
    if (error) goto returnError;
    error = sPSActionControl->Play(&result, eventSave, desc00000178, plugInDialogSilent);
    if (error) goto returnError;
    returnError:
    if (result != NULL) sPSActionDescriptor->Free(result); 
    if (desc00000178 != NULL) sPSActionDescriptor->Free(desc00000178); 
    if (desc00000180 != NULL) sPSActionDescriptor->Free(desc00000180); 
    if (aliasValue != NULL) sPSHandle->Dispose(aliasValue); 
    return error;
    The file gets saved in the desired format but the resolution is always 72 DPI. Is there something i'm missing while exporting the file with higher resolution?
    Please help..
    Thanks

    Why are you adding a resolution value to the save command?
    It doesn't take or understand a resolution value.
    You need to set the resolution on the document first, then save.

  • The port range is overlapped with rule X message - SRP521W

    Hello,
    I am having trouble adding a NAT port forwarding rule on my SRP521W. I get the error
    The port range is overlapped with rule X, even though my port ranges are not overlapping.
    I have this rule created (rule 2):
    and am trying to create this rule:
    I get this error
    It seems to be related to the fact that both internal ports are 80, but this should not matter as the internal IP addresses are different. Can someone please explain how I should create rules to allow me to open ports to two different devices, with different IPs, using port 80?
    Many thanks

    Oh wow!  That is an extremely old release.
    I would certainly recommend upgrading straight away.
    Latest release is 1.1.27 and is available via www.cisco.com/go/srp500 - follow the download software link on the right hand side.
    When selecting code, follow the link for SRP520 Models (not SRP520-U)
    You should find that the latest code fixes your issue (and provides more functionality).
    Regards,
    Andy

  • Error in Business Rule Creation

    Hi,
    need help.
    I created a small business rule for clear. In select outline, Showing Available servers 1. planning 2. Essbase.
    I want to create new BR inside Planning DB. If i accesing the Planning, it throwing the error as *"Error connecting to planning server hypplan"*.
    Please guide me in this situtation.
    Thanks,
    PC

    Hi,
    In EAS, I am getting some for Planning Outline(Essbase outline is working fine), While starting the Planning service through start menu, it throwing error as
    Query Failed: SQL_SYSDB_DELETE_EXPIRED_EXTERNAL_ACTIONS:[100]
    java.sql.SQLException: [Hyperion][Oracle JDBC Driver][Oracle]ORA-00932: inconsistent datatypes: expected INTERVAL DAY TO SECOND got NUMBER
         at hyperion.jdbc.base.BaseExceptions.createException(Unknown Source)
         at hyperion.jdbc.base.BaseExceptions.getException(Unknown Source)
         at hyperion.jdbc.oracle.OracleImplStatement.execute(Unknown Source)
         at hyperion.jdbc.base.BaseStatement.commonExecute(Unknown Source)
         at hyperion.jdbc.base.BaseStatement.executeUpdateInternal(Unknown Source)
         at hyperion.jdbc.base.BasePreparedStatement.executeUpdate(Unknown Source)
         at com.hyperion.planning.sql.HspSQLImpl.executeUpdate(Unknown Source)
         at com.hyperion.planning.sql.HspSQLImpl.executeUpdate(Unknown Source)
         at com.hyperion.planning.event.HspSysExtChangeHandler.actionPoller(Unknown Source)
         at com.hyperion.planning.event.HspSysExtChangeHandler.run(Unknown Source)
    Error encountered with Database connection, recreating connections.
    Nested Exception: java.sql.SQLException: [Hyperion][Oracle JDBC Driver][Oracle]ORA-00932: inconsistent datatypes: expected INTERVAL DAY TO SECOND got NUMBER
    Thanks,
    CP

  • Snort 2.9.5 may generate an error if local rules are enabled

    After installing SEU 913, which includes Snort 2.9.5, the following symptoms may appear in a Sourcefire deployment:
     The sensor may go down
     Unable to commit any changes to an IPS policy
     Health Alerts state that the IPS/IDS DE exited unexpectedly

    Solution
    In order to resolve this issue install SEU 915 or higher.
    Root Cause
    An issue has been identified with custom rules or Emerging Threat rules that can violate the Snort rule syntax. These rules can cause the Detection Engine to repeatedly restart. Sourcefire provided rules do not contain these syntax errors and will not cause this problem.
    Snort does rule validation upon start up.  With Snort 2.9.4, when a rule is determined invalid, then a warning is written to syslog. However, Snort will continue to load omitting that rule.  The Snort delivered in SEU 913 generates an error for invalid rules instead of a warning, which prevents Snort from loading.  With the release of SEU 915, we simply made Snort 2.9.5 behave the same way Snort 2.9.4 does, which is to display a warning for invalid rules, but continue to load.
    Invalid third party rule syntax is still an issue as SEU 915 will not correct them.  To make sure rules are valid you can simply open an IPS policy in the editor and save it, or manually apply the policy.  You will be notified if there are any invalid rules active in that policy.

  • 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 Deploying Business Rules (connection information could not be found)

    Hello experts,
    When I try to deploy the Business Rules I'm getting the following error:
    "Deployment was not successful.
    Rule was validated with no errors.
    The rule could not be validated against the deployed application as connection information could not be found"
    When I create a new Business Rule I can't associate the Business Rule to the form and I think it's because the deploy wasn't successful.
    I would apreciate your help about this issue.
    Regards,
    Rodrigo

    Hello,
    We already tried to make some changes in order of dimensions but the problem persists.
    We didn't change the order of dimensions, so I think itsn't due to that.
    In the Production environment with the same application we don't have any error ... so ideas about this issue are lacking!
    Regards,
    Rodrigo

  • 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

  • Error while posting GR on a PO

    Hello Guys, I'm having this error when I tried to post a GR against a PO on a certain line item. Error message: G/L account 611xxx Axx does not exist. When you try to check the G/L account of the line item in the PO however it is different. I don't k

  • I updated my itunes and it erased all my contacts off my iphone how do i get it back?

    I updated my itunes and when i connected it to my iphone it erased everything, all my contacts, photos, notes.. How can I get it back?

  • Imac Mirroring Displays

    Is their a way to have the mac mirror the display onto the Vga cable which it works Fine.. But i want it to turn off the display of the imac and use only the lcd tv connected via vga.. Their has to be a way... some how

  • OPERATING CONCERN

    Hi All., I have created the Operating concern with some characteristics & value fields. Now my client want to add two more characteristics to the operating concern by removing the existing ones. when i am trying to add them it is not happening. Is th

  • Java and Access databases

    Hi I have a problem that I have been working on for a couple days now. It is on inserting, deleting and updating a database table. I wrote a small simple java program to insert a record into the table called Table1. I have my ODBC set up with the nam