OBR rule migration

Hi,
I am planning to use OBR to define some rule.But as per requirement, business requires UI to modify the rule.
we have version contral system, where we put all backup codebase.If we provide composer url to business in order to upgrate the rule, then corresponding backup would not be there in version contraol system. can any one suggest me what approachI should follow in order to have backup codebase in version control system if business modifies the .rules files directly from composer url in production.
Regards,
Amik

Hi Amik,
The business rules can be changed at runtime, but I would not recommend business users to change this on production. The reasons are:
1. The rules can be complex for business owners and a mistake is easily made. This can cause a lot of problems as services respond to changing rules.
2. You can't version control changes done immediately on production. If you allow the business to immediately update the rules on production then you will open a can of worms. The reason is how are you going to track changes done on production and prevent these from being overwritten by new deployments?
Rules changes should be part of a strict process as part of your release management procedure. If you want to give the business users the flexibility let them first make these changes on a user/pre-production environment and make sure nothing is broken. If these changes work then export the composite from that environment. Copy the rules file to your development environment, regression test and then commit to your version control system. Then make a new release version and deploy to production.
Hope this answers your question.
Thanks
Sander

Similar Messages

  • Business Rules Migration from one server to other server

    Hi All,
    Can some body help on business rules migration from one server to other server? and also wt is the difference there in Export and import BR's and Administration repository to migrate.........i fail to understand if we export and import br's and need to change in xml target server and after import whether all users can able to see this imported BR's ?
    then wt is the use of Administration option under Business Rules-->right click-->repository...connect--->need to connect oracle info....wt is this process? can some body help on this please........
    thanks,
    huser

    Hi,
    The methods are pretty much the same in what they do.
    When you export rules it creates an xml file based on the selection you have picked, you can just log into EAS and do this you don't have knowledge about the repository, it is also useful for migrating across versions. You also have the option of changing the xml file before importing it into your target.
    When you migrate the respository you have to physically connect to the database repository and have knowledge of the connection details, it is probably aimed directly at a system admin.
    The options in both methods are pretty much the same, you can choose what you want to export or migrate.
    You hit issues when you export/migrate for instance the location names change and need to be updated, you can update the xml file to change the locations though if you choose the migrate option you won't have that ability.
    The next issue is the user/group accounts which is the biggest flaw, if the users/groups exist on the target and have the exact same SID then they will migrate otherwise they will usually get dropped.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Update Rule Migration from ODS to Cube --Error

    Hello SAP Experts,
    I am triing to migrate Update Rule (from 3.x to 7.0 transformation) from DSO 0QM_DS01 to Cube 0QM_C12 and i am getting error.
    Error message:
    Internal error: 32 0NOTIFICATN 01 Standard Group MASTER - Contact SAP.
    Similary with another update rule migration from DSO 0QM_DS02 to Cube 0QM_C13 .
    Error message:
    Internal error: 41 0NOTIFICATN 01 Standard Group MASTER - Contact SAP.
    I dont have any clue about the error message. Need your help to figure it out the issue.
    Thanks in Advance.
    Lasya.

    MR..V.. you are the man... my problem has been solved.
    Anyway my problem has been solved.. do you mind asking one more question regarding the above error?? how did you think about the above solution.. just changing it from read master data --> direct assingmen then back to read master data.. Please tell if i come accorss anything in future shall i follow the same.. please tell me..
    I have assigned full points to you.
    Thanks for all your help.
    Lasya.

  • WMS Rules Migration

    Hi,
    I need some help on WMS Rules Migration.
    Is there an API or LOAD command or any tool to migrate WMS Rules definition from one instance to another??
    Thanks
    Manu

    There is a product called Blue Marble made by Gaea Global that lets you migrate rules and strategies between instances. This is only one of the functions of their software, it does a number of useful WMS things. Their web site doesn't highlight this product very well, you might use the Contact information on the site to get more information.
    http://www.gaeaglobal.com/resources/snapshots/

  • Error in Update Rule migration using "Create Transformation"

    Hi gurus,
    We are encountering errors in the migration of our 2LIS_03_BF and 2LIS_03_BX update rules into a transformation via URs Context Menu    Additional functions - > Create transformation
    This action creates a new transformation, but is only generating very little Routine assignements in our KF fields. That is, some KF have their old ABAP converted automatically into ABAP OO while the rest (majority) of KF fields have no rule (routine) assigned at all.
    However, the most surprising thing is that after executing the "Create Transformation", the log shows everything correct and warnings (message 652 "Routine created. Verify sintax").
    Have you ever faced this problem?
    Is the automatic migration tool working correctly?
    If not, do we need to manually create all those KF routines that have not been correctly been migrated? Even after two years since new dataflow that was released?
    We are on SP 15...
    Thanks and best regards,
    Enric

    Hi Juanjo,
    In fact, if I understand you correctly, I'm facing the same situation: all FORMS based on OLD individual KFs routine are now available in the global transformation routine in ABAP OO, but what I'm missing is the individual source to target KF field mapping to routine, where the method with the perform to each coding should be done.
    Shall I understand this is a common bug? Manual correction proposed?
    Thanks,
    Enric

  • RUL-05403--Rules Migration

    I have a big problem while doing migration from 10.1.3.5 rules to 11.1.1.2 SOA. I was getting the rule error RUL-05403 but no traces for this anywhere. I am wondering where this error code is tagged. The underlying problem is...
    oracle.rules.tools.migrator.MigrationException: an exception occurred RUL-05403: The parameter "srcOutdir" is null. Ensure that the parameter is not null. the following snipped was picked from the actual program.
    MigrateRuleRepository conv = new MigrateRuleRepository();
    // Set the output buffer
    conv.setOutLog(new PrintWriter(System.out));
    // Set input properties (SDK format)
    conv.setOriginLocation(rule zip);
    conv.setOriginType(MigrateRuleRepository.FILE_REPO);
    conv.setOriginDictionaryName(MigrateRuleRepository.MIGRATE_ALL);
    conv.setOriginVersionName(MigrateRuleRepository.MIGRATE_ALL);
    // Set output properties
    conv.setDestinationLocation("C:/Temp/");
    System.out.println("Before calling migrate");
    conv.migrate();

    Alka,
    Have a look at the following documents, and see if it helps.
    If you plan to upgrade to 12.0.x:
    Note: 372469.1 - Service Contracts Release 12 Migration
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=372469.1
    Note: 404152.1 - E-Business Suite Release 12: Release Content Documents
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=404152.1
    If you plan to upgrade to 12.1.1:
    Note: 561580.1 - Oracle E-Business Suite Release 12.1.1: Release Content Documents
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=561580.1
    Note: 605021.1 - Oracle Service Contracts Release Notes, Release 12.1.1
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=605021.1
    Regards,
    Hussein

  • Business Rules migration to Calc Manager

    Hi there,
    We are currently in 11.1.2.1 and looking at applying the 11.1.2.2 patch. One of the pre-requisites is the HBR migration to Calc Manager. We are trying to find out if there is a better way of preparing the business rules for migration to calculation manager in a distributed environment. We have three planning servers and approx. 4-8 security groups assigned to a business rule. According to the documentation we now have to assign permissions to each planning server (location) individually and then assign each security group individually to each planning server (location). This means a single rule can have up to 27 objects that need to be assigned. When we start talking about 100’s rules & sequences this really adds up. Is there an easier way to do this in a distributed environment.
    I have raised an SR with Product Support who have raised an enhancement request and referred me to consulting however this sounds more like a product issue to me.
    Thanks for your help.
    Regards
    Seb

    Hi Seb,
    I think there may be a somewhat easy answer here. Have you looked at the locations under business rules? You may right click on a location and copy it to another location. I'm pretty certain it copies all security over to the second location also.
    Suggest you test this in a non-prod environment if you have one available.
    Regards,
    John A. Booth
    http://www.metavero.com

  • Business Rules Migration

    Hi gurus,
    I need to migrate business rules from one environment to another.
    Apart from doing so in EAS, what would be the other way of migrating it?
    Any suggestion would be appreciated.
    I could do it with EAS, however the EAS has not been working in the target environment, so we are trying to see if we can migrate from planning/hss etc so that we could migrate and test while we are taking care of the EAS issue.
    Thank you.

    If EAS is not working in the target environment then I don't see much point in trying to migrate the rules, you would not be able to import them if EAS is not working.
    The only options are exporting/importing through EAS, LCM (which pretty much does the same thing as EAS but can be automated), alternatively there is the option to migrate the full repository - Migrating the Repository
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Hyperion Planning business rules migrating to Calc Manager issue

    It was suggested I post this in calc manager as well, so I hope cross posting is allowed!
    We are trying to migrate from Hyperion Planning 11.1.1.3 to 11.1.2.2
    Our business rules were migrated to Calc Manager by our IT team. The rules run (for the most part).
    Our main complaint about this migration is that it excluded our comments inside the business rules and added it's own!
    When we first open the rule it is in graphical mode. But on the Script Tab I can see our orignal Business rule, but it's missing comments. Not all comments -- those at the top of the rule are intact, but after it starts getting into the meat of the rule, it loses many, but not all of the comments. When I chose to edit this rule in script mode, then calc manager adds tons if its own comments, making the code very junky to read.
    So, multiple questions -- how do we get the migration of business rules to calc manager to stop losing our important comments. Is it possible to get the newly migrated rules to initially open in script mode rather than graphical mode so that it doesn't add it's own comments. Or is there a way to turn off the added commenting?
    This is a snippet of our rule in 11.1.1.3:
    FIX ("D0P000 Pushdown")
    "Accrued Salaries and Wages Pushdown" = "BTL Accrued Sal & Wages Total"->"WBS_I19990_PLAN" * (D0P000->"Total Reg Labor" / "LMSS (LRP TEMPLATE LEVEL)"->"Total Reg Labor");
    ENDFIX
    /* FIX on account members that should be rolled up in the AGG statement below. */
    FIX (@DESCENDANTS( "Orders"),
    This is what it looks like when it comes up in graphical mode in Calc Mgr 11.1.2.2 (note that comment is already missing):
    FIX ("D0P000 Pushdown")
    "Accrued Salaries and Wages Pushdown" = "BTL Accrued Sal & Wages Total"->"WBS_I19990_PLAN" * (D0P000->"Total Reg Labor" / "LMSS (LRP TEMPLATE LEVEL)"->"Total Reg Labor");
    ENDFIX
    FIX (@DESCENDANTS( "Orders"),
    This is what it looks like when it switches from graphical to script (bonus comments are added):
    FIX ( /*DIM:Entities*/"D0P000 Pushdown")
    /*STARTCOMPONENT:FORMULA*/
    "Accrued Salaries and Wages Pushdown" = "BTL Accrued Sal & Wages Total"->"WBS_I19990_PLAN" * (D0P000->"Total Reg Labor" / "LMSS (LRP TEMPLATE LEVEL)"->"Total Reg Labor");
    /*ENDCOMPONENT*/ ENDFIX
    FIX ( /*DIM:Accounts*/@DESCENDANTS( "Orders"),
    Thanks for any help.
    Brenda

    You might learn to appreciate graphical mode in Calc Manager, we do. It is not like the old Business Rules in EAS. I am an old school calc script person, and have NO love for drag-and-drop coding ... I need control. ;-)
    Insert a blank script object and paste your code into the 'Script' tab for that object. Set up your prompts and use the {} notation in your code. All of the comments will stay put ... as long as you DON'T USE EDIT, SCRIPT! We make a fair number of generic, reusable pieces of code and save them as shared scripts. These can be dragged into Rules. Click on the Rule's Begin object and choose the Script tab ... you will see how the bits are assembled into complete calc script. We've even come up with a way to use LOOP ... ENDLOOP as though it were a procedural IF statement so we can control whether or not a chunk of code is active or not.
    Shared scripts are especially good for currency translation components since we occasionally add new currencies and want to make a change in one object that is used in dozens of business rules.
    Mike H.

  • Business rule migration

    Gurus,
    I have a question about BR migration.
    It is 11.1.2.1, and I have some BRs in my planning application.
    I want to migrate the BRs from one environment to another.
    In order to do that, can I export business rules from the source (by right-clicking the BUSINESS RULES node in EAS) and then import them in the target environment EAS. If so, is there anyhthing specific that I need to follow, for example any file system to save it to or I can save anywhere, etc like that.
    And do I need to do anything after I export-import the business rules?
    Any suggestions would be great.
    Thanks

    Thanks John for your quick response.
    When you mean by dependants, what does it really imply? If you could write a little about it, it would be awesome.
    Also, is there a rule as to what should be exported-imported first while we are using the LCM tool?
    Thanks again.
    Edited by: hyperion start on Dec 17, 2012 6:55 AM

  • Hyperion Workforce Planning - Rules migrated in LCM not showing in Calc Mgr

    1-Having trouble with workforce rules (as well as capex and rulesets) that are not showing up in calc manager (in system view) in our QA environment after I migrate them from Dev. New rules were created by a consultant we had in dev and on migrating them forward (along with the new forms), they are not appearing in Calc Manager (in system view). However, I am able to select them when editing forms as part of the loading/save configuration in execution of forms. Anyone have any input on why this might be happening and how we can go about getting these to show up in Calc manager?
    I have checked to ensure that they were deployed in Dev in case that rolls forward. Another odd item I'm noticing is while Calc Manager will reflect the most recent revised date in Dev of rules I've updated, it is reflecting an older date to that of when it was last edited/created by the consultant we had. I am beginning to think this is the root cause of the problems as Shared Services not getting updated properly to perform the migration.
    2-Also, I've come across a problem where I had an old version of a rule in QA that did not want to accept the new version I was copying forward from Dev. The system has indicated to other admins that I have it locked (presumably after the LCM) while I am not accessing it (and it gives me no such indication). When looking in calc manager, QA had the old version revision and last modified info, while Dev had revised info (and the LCM file as well). Have tried restarting Planning services to unlock it, but to no avail. Any input on how to unlock a rule that you are not currently in (my first assumption is something similar to unlocking locked objects out of EAS, but nothing there to work with).
    In attempt to bypass this problem, I tried deleting the old rule out of QA and copying back in the revised version from Dev. This removed it from calc manager, but the form appears to still be using the old rule (I've tried removing the reference and then reapplying it with no positive results). To solve my short term problem, I've created a copy of the rule under a different name and copied it forward, but any tips would be great in case I come across this problem in the future (and so I might be able to remove this locked rule that serves no purpose).
    Any help would be greatly appreciated. Otherwise, I may need to go with a ticket to Oracle, but hoping these are common issues that someone else has come across.
    FYI - Currently on 11.1.2.1.
    Thanks,
    Jonathan

    Thanks for the tip.
    I have tried a direct import/export in Calc Manager and have been able to move rules successfully. However, we have built a lot of our rules using the Rule Designer and on direct import, I seem to lose the layout and the script merges into one. As a short terms means to fix this, I've done the good old fashion copy and paste to create the new rules in QA.
    In Shared Services, we are using the Define Migration function to extract what I need from Dev and then manually copying the files over to our QA server to import via the same in Shared Services (\\servername\c$\Oracle\Middleware\user_projects\epmsystem_qa\import_export\username@MSAD). I know that's a bit vague, but am I missing anything there?
    I apologize if my queries are not clear. This is all new for us as we are in the process of transitioning from a internally developed relational/essbase planning application to Hyperion Planning while we also recently transitioned from using essbase 7.1.6 to 11.1.2.1 (clean install so no migration issues).
    Thanks again for the information.
    Edited by: gaarafield on Apr 17, 2012 10:29 AM

  • Does EAS needs to running for Business Rule Migration

    We are having issues with EAS server in one of the env, so it is offline. The user wants to access BR from that env, so EAS server needs to be running for migrating those BR using LCM or LCM would connect with the Database repository for the migration.

    I posted a script years ago that I put together which has been used a few times over.
    You can see the thread at: Exporting Hyperion Business Rules as Text files
    This would require the relational server is up and running. I have used it against many versions of the repository. You may want to look at the writeln code and make sure you have it set to do ascii vs unicode as I think I set it to UTF-8 in original scripts.
    Regards,
    John A. Booth
    http://www.metavero.com

  • Rule migration issue

    Hi,
    When we migrate page builder rules from staging to Production , they are visible in workbench but not fired. It is only when we hit "Save Al" button again , the PB rules are fired. Please let me know why is this behaviour and what we can do to avoid this hitting of Save All button.
    Anup

    Within workbench you can test by clicking your trigger condition to preview your change. But for external impact of the rule you have to use "save all".
    You can try checking the priority of different rules, rule within other rule groups which may have same trigger conditions. - Try to use built in JSP reference application to preview your changes (supplemental objects #1 should give you a clue to which rule fired).
    This is by design you have to use "Save All" and get a confirmation before you can see the changes registered.
    thanks
    John.P

  • 0CCA_C11 Infocune : Update Rule Migration Error

    Hello,
    I have installed the cube 0CCA_C11 from the standard BI content and started the migration of the update rule.
    Here, i am getting an error in one routine. There is one field in the cube "0CO_REPLINE", which is mapped with all fields of infosource.
    there is a routine on the field 0CO_REPLINE.
    when i tried to migrate the update rule it will give me following error.
    Rule (target: 0CO_REPLINE, group: 01 Standard Group): Syntax error in routine
    And when i cheked the routine it will give the following error
    E:The type "_TY_S_SC_1_FULL" is unknown
    Please guide me and suggest.
    Regards,
    Macwan James.

    Hi ,
    There is a small change inthe routine whichi your have to do.
    Here is the code for the routine. Hope this helps
    $$ begin of routine - insert your code only below this line        -
      Data:
        COMM_STRUCTURE   type tys_TG_1_full,
        l_subrc          type sy-tabix,
        l_abort          type sy-tabix,
        ls_monitor       TYPE rsmonitor,
        ls_monitor_recno TYPE rsmonitors.
      REFRESH:
        MONITOR.
    Runtime attributs
        SOURCE_SYSTEM  = p_r_request->get_logsys( ).
        MOVE-CORRESPONDING SOURCE_FIELDS to COMM_STRUCTURE.
    Migrated update rule call
      Perform routine_0002
      USING
        COMM_STRUCTURE
      CHANGING
        RESULT
        l_subrc
        l_abort.
    *-- Convert Messages in Transformation format
        LOOP AT MONITOR INTO ls_monitor.
          move-CORRESPONDING ls_monitor to MONITOR_REC.
          append monitor_rec to MONITOR.
        ENDLOOP.
        IF l_subrc <> 0.
          RAISE EXCEPTION TYPE CX_RSROUT_SKIP_RECORD.
        ENDIF.
        IF l_abort <> 0.
          RAISE EXCEPTION TYPE CX_RSROUT_ABORT.
        ENDIF.
    $$ end of routine - insert your code only before this line         -
      ENDMETHOD.                    "compute_0CO_REPLINE
    Regards,
    Macwan James.

  • Error while migrating business rules

    While trying to use the export/import option in EAS to migrate business rules, we have run into an error.
    The export itself is fine. When trying to import, it says this:(even though it lets me select the proper xml file for importing)
    Error while migrating business rules.
    Detail: The import file specified is not a valid business rules xml file. Import will be terminated.
    Detail:Exception occured. Please check your log file for details.
    I am pretty sure I used the inherent format specified for exporting the business rules.
    Both the old and new systems are version 11.1.2.
    The LCM method also failed for the business rules migration.
    Any suggetions?
    Thanks,
    Sujani

    When you export them make sure you don't have "For Calc Mgr" checked, if you do then the import with fail.
    Cheers
    John
    http://john-goodwin.blogspot.com/

Maybe you are looking for

  • XML Problem - Markup not well-formed? (kinda long)

    Hello, I'm working on my first AIR app and I've run into a bit of a snag.  The app is intended to allow users of our system to create a Word document, save it as XML, and then load it into the AIR app and have some manipulation performed to extract d

  • Error while expoting system configuration

    Hi All, I am getting following exception while exporting command groups in system configuration. Please guide me to solve this problem. The configuration object has been added to the export package. ImportExportConfigException: Unexpected error when

  • New-MaiboxRestoreRequest is not recognized as the name of a cmdlet, function, script ?

    I have restored successfully an exchange 2013 mailbox database from backup to the recovery database, but when i try to recover a user's mailbox I receive the following error New-MaiboxRestoreRequest -SourceDatabase RDB1 -SourceStoreMailbox "testuser"

  • Creating a Form in Acrobat 9.4.4

    I created a nice tidy PDF fill-in form to use in my office. When I open, use and print, it looks great. My boss opens it on her computer, fills it out, and saves it. When I open it, all the fields are blank. If I click on some of the fields, the text

  • Want to use the same message filter on various computers

    I have three computers all running thunderbird at different locations in the world. I am using IMAP thus I have all emails anywhere. Now I would like to run the same message filter on any of these, but I can not export/import the message filter so th