COPA_Characteristic Derivation Rules is not working always

Hi,
I am currently facing an issue with Derivation rule and hope someone can help me on resolving this.
Please look into the below requirement:
Every 4 year there are social elections. They sell the materials partially via one-off orders and partially via contracts with a limited valid period. For reporting, all sales for the social elections may not be considered as u2018contractu2019-turnover but as one-off-turnover.
Therefore the derivation rule must be adapted as follows: if material group 3 = u2018social electionsu2019, the type of sales must be one-off.
So between rule 67 and 68, 2 new rules must be added:
If Material Group 3 (MVGR3) = D16 or F12 -> invoice Mode N2 (MVGR3 ) must be filled with 22.
Accordingly I had added these 2 new rules, with Conditions MVGR3 = D16, Constant =22 and Target field = Invoice mode N2
                                                                                MVGR3 = F12, Constant =22 and Target field = Invoice mode N2     
Now the user has come back saying that it is working for one release order and it is not working for another release order.
If material group3 = D16, then sales mode should be '2'. This is working for one release order and for another release order the sales mode is displayed as '1'.
Can anyone let me know where is the exact error at the earliest.
Thanks in Advance,
Deepthi

Hi Deepthi ,
The best way to find out is to check the characteristics in both the release orders seperately ..
Go to Transaction KE21S   ( Select Record Type F , Point of Valuation 1) and simulate the characteristics derivation for both the orders seperately ..
. For simulation .. enetr parameters like order no , company code , plant .. etc and click on derivation .. System will derive the sales mode .. for both the orders . You will be able to find out the differences in characteristics .. which is causing the issue ..
Instead of KE21S .. you can also use transaction KEDR . In KEDR screen , enter (F8) or click on test icon and simulate the characteristics derivation..
Hope this will solve your issue .. Please revert back for any further clarifications..
Regards
Sarada

Similar Messages

  • New rule  is not working from 'ojaudit' though I use  loadSet="Audit"

    When customizing new rules in audit framework using the Jdev Extensions API, I used the below content in extension.xml file.
    <hooks>
    <jdeveloper-hook xmlns="http://xmlns.oracle.com/jdeveloper/1013/extension">
    <addins>
    <addin loadSet="Audit">oracle.test.Launcher</addin>
    </addins>
    </jdeveloper-hook>
    <feature-hook>
    <description>Manages the final static member names.</description>
    <optional>true</optional>
    </feature-hook>
    </hooks>
    The new rules created are executing only when I audit from Jdev UI. But these are not executing when I use this new rule in 'ojaudit' at command line.
    How can we achieve this?
    Is there anything to modify in my extension.xml file?
    There is a case where it works both from UI and ojaudit, but it is not working always. That is in my case just observer the above code:
    If I dont use loadSet="Audit" in <addin> tag, this rule executes only in UI when auditing but it wont execute when I use 'ojaudit' at command line. And when I use the attribtue loadSet="Audit", only a few times it is executing for 'ojaudit' at cmd line.
    Is this inconsistent a bug?
    And could you suggest me how the ojaudit works?
    And could you point out any documentation of how the ojaudit works? I mean the flow ?
    Thanks in Advance.
    Regards
    Madhu

    It works fine when I modified the 'loadSet' attribute to 'loadset' where all letters are in small case.
    Thank You.

  • COPA Derivation Rules are not assigning the correct values

    COPA Derivation Rules are not assigning the correct values when we process billing documents in batch.  We currently have derivation rules defined to take the ship to country and refer to custom tables were we identify custom geographic groups (INT/DOM and EAM, AP, etc.).  The derivation rules work accurately when the billing documents are created individually, and more than 75% of them are accurate when generated in batch, but in some circumstances, it populates the derived values with the wrong field and we can not identify where or why that's happening.  It looks like it may have something to do when the ship to customer number account group is different, but that's not consistent..  Does anyone know how or where these values get populated, or have any ideas why incorrect values are appearing sporadically throughout the billing run?  Thanks!!!

    Leigh,
    Apparently the function module is changing the values for some billing docs. Check one of the following user exits, if it gets triggered and the values are changed:
    COPA0001  Enhancement for derivation in Profitability Analysis (CO-PA)
    Function Module: EXIT_SAPLKEDRCOPA_001
    COPA0002  Enhancement for valuation in Profitability Analysis (CO-PA)
    Function Module: EXIT_SAPLKEAB_001
    COPA0003  Enhancement for assignment to profitability segment (CO-PA)
    Function Module: EXIT_SAPLKEAK_001
    COPA0005  Enhancement for actual data update (CO-PA)
    Function Module: EXIT_SAPLKEII_001
    Function Module: EXIT_SAPLKEII_002
    Award suitable points if the above helps. You can also reach me at [email protected]
    Thanks
    Ajay

  • The UniquekeyValidator Rule is not working in the EO edit dialog.

    The UniquekeyValidator Rule is not working in the EO edit dialog. We have Jdeveloper9i V. 9.0.3.2. The unique flags are checked in the primary key attribute and the custom message is never showed.
    Is there a Known bug about that? if yes.. does exist any patch to fix that?
    Thank u

    Thank u for your answer.
    Yes, of course .. i�ve already apply the unique key validator for the entity.. so that custom error message is the error im trying to get in the application.
    Other issue is when im trying to edit that error message: when im going to edit the message the previous error im entered is not there. Is it normal?

  • Substitution rule is not working correctly

    Hi PS Gurus,
    We have a problem in one of the newly created projects that the substitution rule is not working correctly; the data is not copied to the WBS element Cust. Enhancement tab.
    Project 1 is working fine and the data is copied & Project 2 and Project 3 are not getting all the data copied to the WBS element,
    In that project profile (substitution rule is given), substitution rule is also maintained 
    So please help why in one project substitution rule in working & other isnu2019t.
    Many Thanks in Advance.
    MM

    Hello Menaka,
    Select the WBS element in the project builder.
    Cleck on Edit --> Validation Substitution --> Substitution
    You will get the list of Substituitions, Double click on the required Substition rule.This action will generate a log, whether substitution has been succesfully caried out or with some error.
    Kindly provide us that error log to guide you further.
    Regards
    Ravi

  • Rules are not working correctly in OCS 10.1.2

    Hi,
    A few days ago we have encountered a problem in which the BCC rules or any other rules are not processed out of the user's mailbox.
    For example, a user goes to Oracle Mail (the web access, but not WAC), goes to Filters and creates a new rule for dealing with incoming mail (delivered or read, doesn't matter). The rule is processed ONLY if the the user asked to move/copy the mail to a subfolder IN HIS MAILBOX.
    If the user asks to forward ("Send a blind copy to") the delivered mails to a different mailbox (e.g. in OCS or to externally to gmail), the mail is NOT processed by the filter.
    Other than that mails are treated normally, incoming and outgoing. Manually forwarding to other OCS users also works, as well as forwarding to external mail systems such as gmail. Only the 'automatic' forward rule does not work.
    We have checked that the rules/filters are created with " oesrl -p" - and they are created.
    How can we troubleshoot this issue? Has anyone encountered it?
    System details:
    OCS 10.1.2
    Platform: Red Hat AS 4
    DB version: 10.1.0.4.2
    Thanks,
    -- Itay.

    Update:
    Problem resolved. restarted the SMTP-out service.

  • Calcmanager rules are not working

    Hello there,
    we have existing EPM environment 11.1.2.1, We just Installed a new EPM environment 11.1.2.3. After the installation and configuration I exported Calc manager rules from 11.1.2.1 and imported them in to 11.1.2.3 environment.
    It looks like Business rules are not working there. Below are the symptoms of the problem.
    (1) Rules keeps giving random validation errors. (Same rule validates in 11.1.2.1 fails in 11.1.2.3)
    (2) If I create a new rule for my planning application (lets say Test_Rule) and check the DB table I don't see any object being created. (Select * from HSP_OBJECT where OBJECT_NAME = 'Test_Rule')
    (3) Any updates I make to the rules in 11.1.2.3 is not being saved.
    It looks like Calc Manger is having hard time talking to planning DB.
    Any help will be appreciated.
    Thanks!

    If you have upgraded from 11.1.2.1 to .3 you would need to upgrade the planning application. Assuming that you have done that, for validation, you would need to provide validation value for all your Run Time Prompts.
    This can be done in the variables tab of the Rule Designer.
    Let me know if you have issues after these steps.
    Sree Menon
    Calc Manager Team

  • Valdiation rule does not work on PrimaryBillToCity field

    Hello to everyone,
    Valdiation rule does not work on PrimaryBillToCity field (and other address fields)
    Have someone a workaround ?
    Thanks.
    ML

    I do not believe it is possible to do validation on the address fields in the address block.

  • Membership rules does not work with UDF column name having the max length

    Found a bug in OIM .
    Membership rules does not work with UDF column name having the maximum length
    Steps to Reproduce
    1.Create a UDF having max column name length for eg UDF_USR_PERSONAL_SUB_DOMAIN_CO (lable = Personal Code)
    2. Create a simple Rule like Personal Code = 7000
    3. Assign this Rule as a member ship rule of a Group.
    4. Create a user with Personal Code = 7000.
    5. User doesnot get the group membership.
    Thanks
    Suren

    Yes , i verified logs as well .
    If you just decrease the column name length , w/o making change to any other attributes , it starts working ..
    Thanks
    Suren

  • Navigation Rules are not working

    Hi
    I had written my application in Java Creator.
    Now i am shifted to -- NetBeans
    Here my Navigation Rules are not working.
    I am unable to navigate between pages.
    can anyone please help me, why navigations are not working.
    and how to write navigation rules in Netbeans.
    Thanks
    Praveen

    Could you explain more about your problem?
    -Do you have the navigation rules in your faces-config.xml?
    like:
    <navigation-rule>
    <from-view-id>/page1.jspx</from-view-id>
    <navigation-case>
    <from-action>#{Controller.toPage2}</from-action>
    <from-outcome>success</from-outcome>
    <to-view-id>/page2l.jspx</to-view-id>
    </navigation-case>
    </navigation-rule>

  • JBoss cluster shared session not working always

    Hi all,
    I am using JBoss AS 4.0 for my Application, recently we need to scale the application, so we added another JBoss AS 4.0 in cluster. It is working fine with sticky session.
    But we need to share the session state so we made the changes in JBoss service .xml and the Appache for shared session, as described in the Jboss administration documentation, but the session shareing is not working always, some time it is working, suddenly the session in the clustered server gone out,
    please advice me what if i am missing, i cannot figure out
    thanks in advance

    Hello. I actually raised a support request to Microsoft about this. It seems from my testing that when using user profile disks in 2012 r2 that shared activation doesn't work. Last update this was with engineering team at MS. Will update when they have
    confirmed this is an actual bug.

  • HFM Rules - Variable not working

    Hi,
    I am trying to setup a rule to calculate using balances from other scenarios. Instead of writing 100's of rows of rules I have created a variable. For some reason the variable is not working as it should. Below is what I have
    If value="<Entity Currency>" or value = "<Entity Curr Total>" then
    'Define prior forecast variable "PrForecast"
    If pov_scenario = "S#JANFCST" then CrForecast = "S#JANFCST" and PrForecast = "S#BUDGETV1"
    ElseIf pov_scenario = "S#FEBFCST" then CrForecast = "S#FEBFCST" and PrForecast = "S#JANFCST"
    ElseIf pov_scenario = "S#MARFCST" then CrForecast = "S#MARFCST" and PrForecast = "S#FEBFCST"
    ElseIf pov_scenario = "S#APRFCST" then CrForecast = "S#APRFCST" and PrForecast = "S#MARFCST"
    ElseIf pov_scenario = "S#MAYFCST" then CrForecast = "S#MAYFCST" and PrForecast = "S#APRFCST"
    ElseIf pov_scenario = "S#JUNFCST" then CrForecast = "S#JUNFCST" and PrForecast = "S#MAYFCST"
    ElseIf pov_scenario = "S#JULFCST" then CrForecast = "S#JULFCST" and PrForecast = "S#JUNFCST"
    ElseIf pov_scenario = "S#AUGFCST" then CrForecast = "S#AUGFCST" and PrForecast = "S#JULFCST"
    ElseIf pov_scenario = "S#SEPFCST" then CrForecast = "S#SEPFCST" and PrForecast = "S#AUGFCST"
    ElseIf pov_scenario = "S#OCTFCST" then CrForecast = "S#OCTFCST" and PrForecast = "S#SEPFCST"
    ElseIf pov_scenario = "S#NOVFCST" then CrForecast = "S#NOVFCST" and PrForecast = "S#OCTFCST"
    ElseIf pov_scenario = "S#DECFCST" then CrForecast = "S#DECFCST" and PrForecast = "S#NOVFCST"
    End if
      If Right(pov_Scenario,4) = "FCST" then
       HS.EXP "A#YVR_SALES" &Dync3& ".C3#YVR_CY_IMP = A#YVR_CUSTPRICE_TOT.S#" &CrForecast & ".Y#CUR.P#CUR" &Dync3& ".C3#YVR_CY_IMP"
       HS.EXP "A#YVR_SALES" &Dync3& ".C3#YVR_CY_POT = A#YVR_CUSTPRICE_TOT.S#" &CrForecast & ".Y#CUR.P#CUR" &Dync3& ".C3#YVR_CY_POT"
       HS.EXP "A#YVR_SALES" &Dync3& ".C3#YVR_PY = A#NET_SALES.S#Actual.Y#PRIOR.P#CUR.W#YTD" &Tops
       HS.EXP "A#YVR_SALES" &Dync3& ".C3#YVR_CY_FCST = A#NET_SALES.S#" &CrForecast & ".Y#CUR.P#CUR.W#YTD" &Tops
       HS.EXP "A#YVR_SALES" &Dync3& ".C3#YVR_PR_FCST = A#NET_SALES.S#" &PrForecast & ".Y#CUR.P#CUR.W#YTD" &Tops
    The rule loads fine without any error but after the calculation is performed the values are only pulled from the POV_Scenario not the scenario referenced in the variable. Any suggestion on how this could be fixed would be greatly appreciated.
    Thanks

    Hi,
    You have already defined CrForecast = "S#JANFCST"
    In that case, your right hand side should just be A#YVR_CUSTPRICE_TOT." &CrForecast & ".Y#CUR.P#CUR" &Dync3& ".C3#YVR_CY_IMP" and not A#YVR_CUSTPRICE_TOT.S#" &CrForecast & ".Y#CUR.P#CUR" &Dync3& ".C3#YVR_CY_IMP"
    Regards,
    S

  • Global rules are not working after installing CS10gR35CoreUpdate component

    Hi,
    I am facing a problem in content server with Global rules. They are working fine previously but after installing CS10gR35CoreUpdate in content server they stop working.
    Got No errors in logs, And now if i try to uninstall this component then content server is not working. Do i need to uninstall this component or can we have some type of patch to fix this issue, Can anybody help me in this case?
    when i try to start Idcserver then got below errors
    Failed to initialize the server.
    (internal) 04.06 01:39:17.805 main !csFailedToInitServer (intradoc/data/DatabaseTypes)-exception stack
    intradoc.common.ServiceException: intradoc/data/DatabaseTypes
    at intradoc.server.IdcServerManager.init(IdcServerManager.java:148)
    at IdcServer.init(IdcServer.java:64)
    at IdcServer.main(IdcServer.java:37)
    Caused by: java.lang.NoClassDefFoundError: intradoc/data/DatabaseTypes
    at entoracle.shared.QueryModifier.modifyQuery(QueryModifier.java:38)
    at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:592)
    at intradoc.common.IdcMethodHolder.invokeMethod(ClassHelperUtils.java:461)
    at intradoc.common.ClassHelperUtils.executeStaticMethodEx(ClassHelperUtils.java:176)
    at intradoc.common.ClassHelperUtils.executeStaticMethod(ClassHelperUtils.java:155)
    at intradoc.jdbc.JdbcQueryUtils.parseSQL(JdbcQueryUtils.java:673)
    at intradoc.jdbc.JdbcWorkspace.parseSQL(JdbcWorkspace.java:2352)
    at intradoc.jdbc.JdbcWorkspace.createResultSetSQL(JdbcWorkspace.java:796)
    at intradoc.server.IdcExtendedLoader.getDBConfigValue(IdcExtendedLoader.java:2486)
    at intradoc.server.IdcExtendedLoader.userSecurityUpgrade(IdcExtendedLoader.java:314)
    at intradoc.server.IdcExtendedLoader.extraBeforeCacheLoadInit(IdcExtendedLoader.java:129)
    at intradoc.server.IdcSystemLoader.loadCaches(IdcSystemLoader.java:928)
    at intradoc.server.IdcServerManager.init(IdcServerManager.java:79)
    ... 2 more
    intradoc/data/DatabaseTypes
    intradoc.common.ServiceException: intradoc/data/DatabaseTypes
    at intradoc.server.IdcServerManager.init(IdcServerManager.java:148)
    at IdcServer.init(IdcServer.java:64)
    at IdcServer.main(IdcServer.java:37)
    Caused by: java.lang.NoClassDefFoundError: intradoc/data/DatabaseTypes
    at entoracle.shared.QueryModifier.modifyQuery(QueryModifier.java:38)
    at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:592)
    at intradoc.common.IdcMethodHolder.invokeMethod(ClassHelperUtils.java:461)
    at intradoc.common.ClassHelperUtils.executeStaticMethodEx(ClassHelperUtils.java:176)
    at intradoc.common.ClassHelperUtils.executeStaticMethod(ClassHelperUtils.java:155)
    at intradoc.jdbc.JdbcQueryUtils.parseSQL(JdbcQueryUtils.java:673)
    at intradoc.jdbc.JdbcWorkspace.parseSQL(JdbcWorkspace.java:2352)
    at intradoc.jdbc.JdbcWorkspace.createResultSetSQL(JdbcWorkspace.java:796)
    at intradoc.server.IdcExtendedLoader.getDBConfigValue(IdcExtendedLoader.java:2486)
    at intradoc.server.IdcExtendedLoader.userSecurityUpgrade(IdcExtendedLoader.java:314)
    at intradoc.server.IdcExtendedLoader.extraBeforeCacheLoadInit(IdcExtendedLoader.java:129)
    at intradoc.server.IdcSystemLoader.loadCaches(IdcSystemLoader.java:928)
    at intradoc.server.IdcServerManager.init(IdcServerManager.java:79)
    ... 2 more

    You are most certainly are in the wrong forum. I don't know a CS10gR35CoreUpdate of whatever Product of whatever company, and most certainly this has nothing to do with oracle forms.
    cheers

  • New Context for 'Problems' in Rule modeler not working

    Hi,
    I am using the Rule modeler to determine the Service team based on selected Categorization schema for Incidents - it's working fine. Now I want to implement the same for Problems
    I created a new Z Context (Master Request) to create a rule policy for Problems -> assigned rule policy to a ZServ.Mgr.Profile Unfortunately the rule policy is not working for problems. The new ZContext was copied from existing SERVICEREQUEST context which also copied all the services within.
    Am I missing something ? Please help.
    BR.
    P.S incidents have an action definition with method DISPATCH that determines service team - same has been assigned to Problems.

    Had to use 2 Dispatch methods to determine the service team.

  • Filtering rule is not work

    I need to sync the iPlanet LDAP server to Meta Directory Server Meta View. I apply filtering rule on Meta-Directory Server when I want to block some sub-trees. e.g ou=sale, o=company. However, the filtering rule seem does not work. The ou=sale, o=company is still flow to Meta View.
    Does anybody help?

    You say "is still flow to Meta View", so I guess you first tested if it works and afterwards you set the filter right?
    If my guess is correct, you have the problem that your filter is not recognized by the join engine because your entry already has it's meta-directory attributes, especially the mdslinktocv in meta view and mdslinktomv in connector view (see Configuration and Administration Guide p. 324). These attributes link two entrys to each other and if this link is set, the filters and some other rules are ignored (at least, this is what I guess). This feature (or should I call it a bug?) is not documented very well.
    So if you want your rules to work, delete the meta-directory attributes and try again.
    If this doesn't help you, you should post your rule syntax, perhaps there is a typo or something.

Maybe you are looking for