Is it possible to limit FX business rule to only records selected in logic

We are trying to convert from the standard older FX logic (MULTICURRENCYTRANS). The business rule is definitely faster when I run FX over all the records (purposefully). However, every time the FX stored procedure is called from a script logic file (package) it is running over ALL the records for the category specified in the package selection criteria. However, it is ignoring the other selections (product in this case). It should only update FX for the records specified in the package selection criteria. Because of this we are seeing increased run times on the packages. Is there additional logic needed in the FX script? If this is normal behavior, the stored procedure/business rule for FX is not a feasibly replacement for the script logic FX process previously delivered by SAP.
Is there a way to fix this so we can use the business rule?

I figured it out. I needed to add a couple of dimensions that are being passed from the package front end. The delivered business rule only has category as a variable. I had to add our entity dimension and our user defined product dimension.
SAP delivered:
*RUN_STORED_PROCEDURE=SPRUNCONVERSION('%APP%','%CATEGORY_SET%','','RATEINPUT','%SCOPETABLE%','%LOGTABLE%')
Revised for our installation:
*RUN_STORED_PROCEDURE=SPRUNCONVERSION('%APP%','%CATEGORY_SET%','%PRODUCT_CP_SET%','%COCODE_SET%','','RATEINPUT','%SCOPETABLE%','%LOGTABLE%')
Carlos

Similar Messages

  • Is it possible to limit Direct Org Transfer to only for few items

    Hello everyone,
    I have a requirement where user wants to perform Direct Org Transfer with in two orgs. But they don't want to allow the end users to perform DOT for all the items. There is a specific group of items for which they want to enable DOT within two specific orgs only.
    Does Oracle provide such feature? When I did the shipping network setup, I was able to perform DOT for all the items. Not sure, how to limit it for specific items.
    Regards,
    Jaspreet Singh

    Jaspreet,
    I think there is no standard way of doing it. As a workaround, you may setup a DFF to indicate whether the item is Inter-org transfer enabled (Y/N) and then personalise the Inter-org transfer form to check the DFF value of the selected item and raise form trigger failure and appropriate error message for the items not allowed for inter-org transfer.
    Thanks,
    PS.

  • How to update the bucketset of business rules in MDS through Rules SDK

    How to update the bucketset of business rules in MDS through Rules SDK.
    Any sample code which will help me........ :)
    Is it possible to expose a Business Rule as webservice which was created with the help of Java fact?
    Edited by: 984804 on Jan 29, 2013 6:12 PM

    FYI, the output of this call returns something like:
    <?xml version="1.0" encoding="UTF-8"?> 
    <queryplan>
        <union>
            <fullOuterJoin>
                <statement index="1">SELECT 'FY' || to_char(SALES.invoice_date,'yy'), count( distinct SALES.inv_id) FROM SALES GROUP BY 'FY' || to_char(SALES.invoice_date,'yy')</statement>
                <statement index="2">SELECT 'FY' || to_char(SALES.invoice_date,'yy'), sum(INVOICE_LINE.nb_guests) FROM SALES, INVOICE_LINE, SERVICE_LINE, SERVICE WHERE ( SALES.INV_ID=INVOICE_LINE.INV_ID ) AND ( INVOICE_LINE.SERVICE_ID=SERVICE.SERVICE_ID ) AND ( SERVICE.SL_ID=SERVICE_LINE.SL_ID ) AND ( SERVICE_LINE.service_line = 'Accommodation' ) GROUP BY 'FY' || to_char(SALES.invoice_date,'yy')</statement>
            </fullOuterJoin>
            <fullOuterJoin>
                <statement index="3">SELECT 'FY' || to_char(SALES.invoice_date,'yy'), count( distinct SALES.inv_id) FROM SALES GROUP BY 'FY' || to_char(SALES.invoice_date,'yy')</statement>
                <statement index="4">SELECT 'FY' || to_char(SALES.invoice_date,'yy'), sum(INVOICE_LINE.days * INVOICE_LINE.nb_guests * SERVICE.price) FROM SALES, INVOICE_LINE, SERVICE WHERE ( SALES.INV_ID=INVOICE_LINE.INV_ID ) AND ( INVOICE_LINE.SERVICE_ID=SERVICE.SERVICE_ID ) GROUP BY 'FY' || to_char(SALES.invoice_date,'yy')</statement>
            </fullOuterJoin>
        </union>
    </queryplan>

  • JHeadstart, Oracle Business Rules and BPEL Process Manager

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

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

  • Able to edit Business Rules through Excel interface?

    Hi,
    I wonder if there is any way that I can add, modify or delete the Business Rules definitions through Excel interface. In the Admin Console, though the Business Rules interface looks neat, I encounter the following difficulties in editing the Account Transformation definitions:
    1. The check in the Reverse Sign sometimes disappears after the definitions being saved. I have to click something other than Business Rules, like Dimensions, Application, Security, etc, and come back to Account transformation again in order to have the Reverse Sign check being saved.
    2. I'm not able to to check the Reverse Sign in the last definition of Account transformation. It always disappears after being saved. My workaround is to put a dummy definition at the end or not to put that definition, which needs Reverse Sign, at the end.
    3. When I delete some definitions in the middle, the following error pops up after validation.
    [] value does not exists in ID of Account dimension.
    4. I have written my definitions in my design documents in Excel but I'm not able to copy and paste all of them to Admin Console's business rules. I have to fill in each value one by one.
    Or can I simply edit the table dbo.clcCALCAccount_XXXX? Since I used to be a database programmer, I feel it easier to directly edit the database table rather than using the business rules interface.
    Best Regards,
    Sunny

    Sunny,
    It is not according to the book but it is possible to change the business rules directly on the SQL. That is the way i do it sometime... and yes the table you point is the right one. You see other tables for other business rules...
    Usually i just do a copy and paste into excel. Then i change into excel (i also use EVPROs to check if the members are not calculated members...) and then i repaste it into SQL...
    But I have to say, do it at your own risk, as I stated before it is not really advised/safe...
    Nic

  • Business Rule - Mathematical Formula

    Hi
    Is it possible to create a business rule that derives an attributes value via a mathematical formula? For example I would like to derive the attribute product volume by simply multiplying the values in
    the following attributes: Product Height * Product Length * Product Width.
    I am using SQL Server MDS 2012.
    Any advice on how to achieve this in MDS would be greatly appreciated.
    Cheers
    Kevin

    You can do this, and perform run arbitrary .NET code in an external workflow action.  See eg
    http://mdsutilities.codeplex.com/SourceControl/latest#MDSUtilities/CustomBusinessRuleAction/ExternalActionSample.cs
    David
    David http://blogs.msdn.com/b/dbrowne/

  • Business rule (add new member)

    Hello!
    Is it possible to write a business rule, which adds to the data form (and in the dimension Account) new member, without using the Add Asset (Capex)?

    In Essbase, you cannot add metadata dynamically. However, Add Capex is an example of business rules to populate/create block which makes metadata show up on webforms due to suppress missing blocks/rows on.

  • Run a Business Rule from Custom Javascript

    Hi,
    I would like to know whether it is possible to call a business rule from the custom javascript, ValidateData.jsp. If it is ok, any simple example?
    Thanks

    I'd say try running individual rules from Planning and see if they fail individually.
    If that works, then start by adding one rule in the sequence and try running it.
    Try finding out if the issue is specific to the sequence or if a new sequence with a rule that you know runs from Planning.
    When you say there's nothing in the Application log, somehow seems the rule isn't hitting Essbase at all. The error comes before that.
    Cheers,
    Abhishek

  • Business Rules & ADF

    Hi,
    My requirement is :
    I have millions of records to be processed by Oracle Business Rules.
    I understand that Oracle Business Rule engine process record by record and we want to use ADF technology to process millions of records at a time with Oracle Business Rules.
    Is this possible with ADF to process thousands / millions of records to process at a time and how is the performance ?
    we are looking at the following documentation from Oracle
    http://download.oracle.com/docs/cd/E12839_01/integration.1111/e10228.pdf
    thanks & Regards,
    anvv sharma

    Tim,
    You can find the answer in this post: BusinessRulesInBc4j.pdf
    Steven Davelaar,
    JHeadstart Team.

  • Library of Business Rules

    An existing system in my company has a large repository of decision tables, that we would like to port to decision tables to be run on Oracle Business Rules engine (and exposed through a single service).
    What would be the best way to do this?
    To me, JDeveloper does not seemthe right choice because: a) it would take long time to port the tables manually, and b) I am not sure if creating (only) a library of business rules (without any other componnets) is possible (in JDeveloper).
    I have not tried Business Process Composer?
    Once the decision tables are ported, we would like to use Oracle tools to manage the tables (modify existing and create new onces). I assume Businesss Process Composer would be good for that.
    Any suggestions would be very appreciated.
    Thank you,

    You are awesome !! Thanks for your valuable feedback..this will definitely help many people..
    I will just summarize from that post how we can check logs..
    Example: You want to test the Consolidation business rule & check what records it is writing..
    Step 1)Do Light Optimize so that request id in the Manage of consol cube in BW closes( Yellow->Green)
    Step 2)Run the consolidation business rule, you will see some 250 records written..
    Step 3)Again right click on consol cube in BW and hit Manage and now you can see new request id with yellow status..
    Step 4)Copy the request ID of the new entry and filter in Display data and now you can see that 250 records which was run by business rules
    I guess this will be helpful for someone !! Cheers!!

  • Error while selecting planning app in Business Rules

    Hi ,
    I am not being able to select the planning outline while developing business rules (but I can select the Essbase Outline). Whenever I expand the Planning node, an error pops up the details of which says "Error connecting to Essbase server machinename/testapp." There is a details button which says: "Could not log into Planning "Detail:Could not log in to Planning Server".
    Can anyone help me out. I am not being able to view the rules in the planning UI .
    I have tried for recycle the EAS even though i am getting same error.
    could you please let me know the solution for this
    Thanks
    mahesh

    Hi,
    Always follow this process, stop the planning service and eas service.
    Start RMI service
    Start EAS
    Start Planning
    Log into the web planning application
    Then go into EAS and create a new rule, select an outline to the application you have just logged into via web.
    Also if you are using the default admin user to log into EAS try another user that has been provisioned with business rules roles
    If you still have problems then go to My Oracle Support (formely metalink3) then have a look at doc id - 763345.1
    Ok?
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Cannot select Planning outline in Business Rules

    Hi Everyone,
    I am not being able to select the planning outline while developing business rules (but I can select the Essbase Outline). Whenever I expand the Planning node, an error pops up the details of which says "Error connecting to Essbase server machinename/testapp." There is a details button which says: "Could not log into Planning "Detail:Could not log in to Planning Server".
    Can anyone help me out. I am not being able to view the rules in the planning UI (and consequently cannot attach them to Forms)
    Thanks
    Sayantan
    PS:
    Hyperion Version: 11.1.1.1 deployed to Tomcat (default) on Windows XP box

    Question already asked here :- Cannot select Planning outline in Business Rules
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How to create Business Rule?

    Hi All,
    i am new to Hyperion, can any one help me on the following issue.
    i want to crate a business rule to aggregate data from level 0 to parent level for one partcula data form and aloso have to calculate the data for the following member
    Cost per Unit = Total Revenue/Unit
    i have already have the member formula in outline for cost per Unit as follows
    Cost per Unit = Expense/Unit
    How i can create the business ruleto calculate the data for cost per Unit (Total Revenu/Unit) and the aggregation of data to the parent level in data form
    I have 12 dimensions and i am using 9.3.1 Version
    Thanks in advance
    Ram
    Edited by: Ram on Sep 2, 2011 2:36 AM

    i want to crate a business rule to aggregate data from level 0 to parent level for one partcula data form^^^These are oldies but goodies:
    http://camerons-blog-for-essbase-hackers.blogspot.com/2009/06/why-i-hate-and-love-business-rules-part.html
    http://camerons-blog-for-essbase-hackers.blogspot.com/2009/06/why-i-hate-and-love-business-rules-part_17.html
    Cost per Unit = Total Revenue/Unit^^^Are you asking if it makes sense to calculate this ratio at all levels of the database or only at the top level? If you mean that it only makes sense at level zero, you could use a FIX statement to select all level zero members and then perform the calculation. Based on the formula, I would think you could get away with a dynamically calculated member formula, assuming Total Revenue is dynamically calculated as well. Generally, level zero calcs in a business rule are only required if there's a percentage involved; if the formula is valid at aggregated levels, make it dynamic unless reporting performance (I have seen dense formulas that go across many, many blocks -- bad idea) falls off a cliff.
    Regards,
    Cameron Lackpour

  • File to RFC/IDOC with a set of business rules applied on every record

    Hi experts,
    i have a scenario where the following happens
    checks need to be performed
    1. Technical validations on the file picked up (Can be done through java programs)
    2. Business rules to be applied on every record (Am not sure if this can be done in PI)  Sample business rules - record id already present in the SAP system, check if some manadatory fields are missing in the record etc..quite a lot to be applied
    I assume we use the File>PI>IDOC/RFC scenario for this..
    However am not sure on how we apply the complex business rules on every record in file using PI.
    Any suggestions??
    Regards,
    Kalyan

    Hi My requirement as follow,
    ELEMICA(CIDX)--->sap xi->SAP ECC,i receive CIDX Ordechange document from source system,when it is order change , the similr Order Chnage document available in DATA BASE,i need to retrive it from data base using some key fileds, i need to compare some of the fileds like PO Number,Buyer sequence number..like many fileds.if there is any change while validating then i need to send it SAP ECC Orders IDOC,IF TEH Values are same then i need to exit the process with mail to admin .
    How i done my requiremnet i already explained,if you looking for any info let me know,but i never faced any problems like perfromace issues ...but writing JAVA Maping code is bit tough.
    Regards,
    Raj

  • Unable to use DIMLIST property in business rules

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

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

Maybe you are looking for

  • How to delete pages in a pdf file

    how do i delete pages on a pdf file

  • I want to update to 10.9.2 but i have read that it breaks AirPlay extended desktop over AppleTV. Has this been fixed?

    I want to update to 10.9.2 but i have read that it breaks AirPlay extended desktop over AppleTV. Has this been fixed?

  • Nikon D800 Flash White Balance

    When RAW files (either NEF or DNG) taken with the setting Flash White Balance, they are imported into either Lightroom(4) or Photoshop(CS6) with a temperature of 6150K.  This does not coincide with the Nikon default of 5400K.  If the Nikon Software (

  • Font  Choas

    I am developing an application using jdk1.3 in "My LOCAL LANGAUGE of India(Maharashtra) NAMED Marathi". In it Data entry will also be in LOCAL LANGAUGE, Java is supporting Fonts with antialising of LOCAL LANGAUGE But all the chaos is when data is sto

  • Memory Card Problem in Treo 650

    Recently I have formatted my memory card from the phone format card option. Now I can't put any music, pictures, or applications in the memory card!!!! Whenever I try to paste something in the memory card its showing "write protected"!!!! I have chec