Compliance Calibrator 4.0: replace whole ruleset on one system with another

Hi All,
We have two R/3 environments (one's at 4.7 the other is 4.6c).  Both are running CC 4.0.  What's the best way to replace the whole SOD ruleset on the 4.6c system with the one from our 4.7 system.  When I say whole ruleset I mean all the risk, function, and business process area tables then regenerating all the rules.  I don't care if the 9-digit risk ID's are identical in each system. And I don't want to copy any of the mitigation information to the other system.
I looked at the download/upload utility and it seems to deal with the generated rules.  The text files it downloaded do not appear to contain anything resembling the function or risk tables.  I assume we want to do more of an export/import activity similar to an upgrade conversion or new install (but using the risks and functions from our other system instead of the default set supplied by Virsa.) I can extract the tables I want (/virsa/bussproct, /virsa/funtiont, /virsa/functtcd, /virsa/functobj, /virsa/risks, etc.) and manipulate them into whatever is needed.  But I'm not sure how to delete the existing tables contents and import my data from the other system.
Thanks in advance,
Doug

Hi Doug,
How did you replace rule sets in one system from other system? Please explain if you have resolved your issue. I am doing same.

Similar Messages

  • Replaces all occurnces of one String with another String in a given source

    Hi all I had found that there is a lot of interest int this topic. there is a little piece of code that I wrote for myself recently, so I fgigured that it might be helpful for some...
    This method will scan through a string "source", find all of the occurances of a String "before" and replace them with the "after".
    Enjoy :-)
    public static String replace(String source, String before, String after)
    StringBuffer sb = new StringBuffer(source);
    int startpos = source.indexOf(before);
    int endpos = startpos + before.length();
    int i = startpos;
    while( i > -1 )
         if( startpos > -1 && endpos <= source.length() )
         source = sb.replace(startpos, endpos, after).toString();
         int lastReplace = source.lastIndexOf(after) + after.length();
         if(lastReplace <= source.length())
              startpos = source.substring(lastReplace, source.length() ).indexOf(before);
                   endpos = startpos + before.length();
                   i = startpos;
         else
              i = source.length();
         else
              i = -1;
    return source;
    Oh yeah if you want, you can visit my site http://www.infobrokery.com it is where this code is used to replace the text URL with html.

    Since 1.4 the String class has a replaceAll method ...

  • How to replace one variable with another in large number of queries

    Hello guys!
    I have this situation: our company needs to use one variable instead of another for certain amount of queries.
    Is there some way to automatically replace one variable with another for a certain characteristic in big number of queries ( like 150 - 200 ) ? Doing this manually would take lots of time)
    Apreciate your help!

    you could try (at your own risk) the following:
    1. search the technical id (ELTUID) of your variable in table RSZELTDIR
    2. see where this variable is used in table RSZELTXREF (by filling RSZELTDIR-ELTUIID in RSZELTXREF-TELTUID)
    3. add similar entries for your new variable
    4. delete the entries for the old variable (they're part of the key, so you can't simply "change" them)

  • Stepping through a query result set, replacing one string with another.

    I want to write a function that replaces the occurance of a string with another different string.  I need it to be a CF fuction that is callable from another CF function.  I want to "hand" this function an SQL statement (a string) like this:   (Please note, don't bother commenting that "there are eaiser ways to write this SQL..., I've made this simple example to get to the point where I need help.  I have to use a "sub_optimal" SQL syntax just to demonstrate the situation)
    Here is the string I want to pass to the function:
    SELECT
      [VERYLONGTABLENAME].FIRST_NAME,
      [VERYLONGTABLENAME].LAST_NAME,
      [VERYLONGTABLENAME].ADDRESSS
    FROM
      LONGTABLENAME [VERYLONGTABLENAME]
    Here is the contents of the ABRV table:
    TBL_NM,  ABRV    <!--- Header row--->
    VERYLONGTABLENAME, VLTN
    SOMEWHATLONGTALBENAME, SLTN
    MYTABLENAME, MTN
    ATABLENAME, ATN
    The function will return the original string, but with the abreviations in place of the long table names, example:
    SELECT
      VLTN.FIRST_NAME,
      VLTN.LAST_NAME,
      VLTN.ADDRESSS
    FROM
      LONGTABLENAME VLTN
    Notice that only the table names surrounded by brackets and that match a value in the ABRV table have been replaced.  The LONGTABLENAME immediately following the FROM is left as is.
    Now, here is my dum amatuer attempt at writing said function:  Please look at the comment lines for where I need help.
          <cffunction name="AbrvTblNms" output="false" access="remote" returntype="string" >
            <cfargument name="txt" type="string" required="true" />
            <cfset var qAbrvs="">  <!--- variable to hold the query results --->
            <cfset var output_str="#txt#">  <!--- I'm creating a local variable so I can manipulate the data handed in by the TXT parameter.  Is this necessary or can I just use the txt parameter? --->
            <cfquery name="qAbrvs" datasource="cfBAA_odbc" result="rsltAbrvs">
                SELECT TBL_NM, ABRV FROM BAA_TBL_ABRV ORDER BY 1
            </cfquery>
         <!--- I'm assuming that at this point the query has run and there are records in the result set --->
        <cfloop index="idx_str" list="#qAbrvs#">      <!--- Is this correct?  I think not. --->
        <cfset output_str = Replace(output_str, "#idx_str#", )  <!--- Is this correct?  I think not. --->
        </cfloop>               <!--- What am I looping on?  What is the index? How do I do the string replacement? --->
            <!--- The chunck below is a parital listing from my Delphi Object Pascal function that does the same thing
                   I need to know how to write this part in CF9
          while not Eof do
            begin
              s := StringReplace(s, '[' +FieldByName('TBL_NM').AsString + ']', FieldByName('ABRV').AsString, [rfReplaceAll]);
              Next;
            end;
            --->
        <cfreturn output_txt>
        </cffunction>
    I'm mainly struggling with syntax here.  I know what I want to happen, I know how to make it happen in another programming language, just not CF9.  Thanks for any help you can provide.

    RedOctober57 wrote:...
    Thanks for any help you can provide.
    One:
    <cfset var output_str="#txt#">  <!--- I'm creating a local
    variable so I can manipulate the data handed in by the TXT parameter.
    Is this necessary or can I just use the txt parameter? --->
    No you do not need to create a local variable that is a copy of the arguments variable as the arguments scope is already local to the function, but you do not properly reference the arguments scope, so you leave yourself open to using a 'txt' variable in another scope.  Thus the better practice would be to reference "arguments.txt" where you need to.
    Two:
    I know what I want to happen, I know how to make it happen in another programming language, just not CF9.
    Then a better start would be to descirbe what you want to happen and give a simple example in the other programming language.  Most of us are muti-lingual and can parse out clear and clean code in just about any syntax.
    Three:
    <cfloop index="idx_str" list="#qAbrvs#">      <!--- Is this correct?  I think not. --->
    I think you want to be looping over your "qAbrvs" record set returned by your earlier query, maybe.
    <cfloop query="qAbrvs">
    Four:
    <cfset output_str = Replace(output_str, "#idx_str#", )  <!--- Is this correct?  I think not. --->
    Continuing on that assumption I would guess you want to replace each instance of the long string with the short string form that record set.
    <cfset output_str = Replace(output_str,qAbrs.TBLNM,qAbrs.ABRV,"ALL")>
    Five:
    </cfloop>               <!--- What am I looping on?  What is the index? How do I do the string replacement? --->
    If this is true, then you are looping over the record set of tablenames and abreviations that you want to replace in the string.

  • I just replaced my ipod touch 2nd gen with another how can i get my itunes back

    i just replaced my ipod touch 2nd gen with the same model and cant seem to get my iyunes back

    Don't understand question, Changing iPod shouldn't affect iTunes on the computer you sync with.  Plug in new iPod, it should take you through some screens of options asking how you want to setup the new iPod.
    Just did this when going from 7+ year old iPod video to iPod Touch 5th gen.

  • Replacing colour/texture from one image onto another?

    Desperately need some guidance here as this has been driving me nuts....
    I want to use the colour and texture from one photo onto my own design. Now, using the rubber stamp tool I am able only to clone a certain area that moves with the cross hair, but how can I clone a section from one photo and use that as a fill to create another design? In other words, clone a colour from one photo as a colour fill for another design?
    Even using the colour replace tool and selecting source: image I am left with the colour pallette as the destination and cannot use the colour from the image to paint my new image from it.
    Thanks a heap

    If I want to copy a single color from one image to another, here's what I'll do:
    Create a new rectangle in the source image
    With the rectangle selected, use the eyedropper to pick a color from someplace in the source image
    Copy the rectangle and paste it in the destination image
    Select the object I want to color and use the eyedropper tool to select the color from the copied rectangle
    (A layer with rectangles of different colors is sometimes handy for setting up a color scheme and using it consistently.)
    You can also create bitmap patterns to use as fills for vector objects. Fireworks comes with quite a few, but it's easy to add your own. Here are a couple of tutorials
    http://www.entheosweb.com/fireworks/patterns.asp
    http://www.peachpit.com/articles/article.aspx?p=30942&seqNum=4

  • Universally replace one character with another and then change font

    Hello,
    I have a geologic map file where there are hundreds of labels like Cc, Cz, Cwu, etc... all in the Arial font. I need to change all of the capital C's with a character from the StratagemAge font. That is to say, I need to find all instances of one character in my file and then replace them with another character and then change the font of that selected character.
    I've been trying to figure out how to write an action to do this, but I was wondering if there is a way to do this easily already.
    Any suggestions?
    Jeremy

    > how do you turn off the dialog for the Find/Replace in action palette?
    At the left of each Action step is a square field. Mouse over it and the tooltip will read "Toggle Dialog On/Off".
    > I got an action that I wrote to work, but it takes a button click for each instance in my file that I want to change. Would yours have that same drawback as that?
    Yes, you would have to click each time to run the Action (or, you could assign a function key), but there would be no dialog to dismiss.
    But you can pile several iterations of the same steps in the Action; so that one execution of the Action does ten replacements with one click, for example.
    This would not be a particularly difficult thing to Javascript, but you are correct that scripting has a learning curve. This task is not something I would think often needed. Doing a few hundred replacements in a file, using an Action would not seem overly burdensome to me. But if it is a recurring need for you, it might be worth writing a script.
    JET

  • How do I replace one table with another

    In my swing application I go out over the network and retrieve information, and then present that info in a table. Problem is this button can be pressed more than once, so in this case the old table needs to be replaced. Looking through the API their does not seem ot be a remove to compliment add. Right now when I hit the button multiple times another table just gets added to the right of the previous table.
    So how do I get rid of the first table?
    m

    Im not that advanced yet -- although I have looked over the literature and understand what you mean. Seems to me tables are more complicated than other swing elements. In any case, the container class DOES have a remove method, which is being used succesfully. Thanx for replying.
    m

  • How do you replace one image with another

    I have a page that displays the results of a search for information about a club. One of the items is the club's logo. It is displayed using the following code
    <img src="<?php echo $row_clubedit['club_logo_url']; ?>" alt="The Club's Logo"  class="logo" title="The Club's Logo">
    This works fine, except when no club has been selected, in which case it shows the default question mark in a blue box.
    It would be nice if I could display the Federation Logo, to which all the clubs belong, until a club is picked.
    Is there a simple way to set a default image that would be replaced from a data set.
    $row_clubedit['club_logo_url'] holds the url to the log in the format http://www.club.org/clublogo.png
    <img src="<?php echo ( 'federation_logo_url'); ?>" alt="The Club's Logo"  class="logo" title="The Club'c Logo">
    The logic I suppose would be
    if club_logo_url does not exist,
              then print the  federation logo,
         else print the club logo.
    How do you code that in php?
    I'm only a beginner at PHP.

    <img src="<?php echo $row_clubedit['club_logo_url'] == "" ? "http://www.club.org/clublogo.png" : $row_clubedit['club_logo_url']; ?>" alt="The Club's Logo"  class="logo" title="The Club's Logo">
    should do it

  • Replace hex character in a string with another hex character

    Hi Guys,
    Heres a problem scenario, hex character 92 looks very much like hex character 27 (apostrophe).
    I need to write a program that can replace all hex character 92 to hex 27 in a string.
    Being a novice on the regular expressions, I would appreciate if somebody can show
    the exact syntax to to perform this replacement.
    Many Thanks
    -Anil

    I don't think you need to use regex to do this:
    String s = something();
    char a = 0x27;
    char b = 0x92;
    s.replace(a,b);
    And don't forget that since Strings are immutable you need:
    s = s.replace(a,b);to do anything useful.

  • Replace one view with another with animation

    Hello:
    I'm clearly not following some basic principle here so I'd appreciate some guidance.
    My intentions is to create a (quiz type) app with several screens (I'm assuming each of them will be a view that I will create in the Interface builder). The goal is to let user advance from screen 1 to screen 2 then to screen 3, etc. by answering multiple choice questions (presented as buttons). So when one button is clicked the current screen would slide to the left and the next screen would slide in. This animation is very much similar to the default Navigation-type app behavior, but in my case I do not need the navigation bar on top (since user should not be able to go back). By studying the latter example, I was able to find the following code that slides view controlers one over another:
    - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
    SecondPage *secondViewController = [[SecondPage alloc] initWithNibName:@"SecondPage" bundle:nil];
    [self.navigationController pushViewController:secondViewController animated:YES];
    [secondViewController release];
    but in my project, that doesn't seem to work, as, I'm assuming, I do not have the navigationController member.
    What am I doing wrong here?

    Hi Den -
    Den B. wrote:
    The issue I have now is how to change the initial UITableView to my own view (that I can design in the interface builder)?
    Looks like you've made a lot of progress since your original question, so I'll skip the response I might have written earlier, unless you think it would be helpful to go back there. To your current question, I guess I should first ask "What initial UITableView?". My best guess is that you've found the Navigation-based Xcode template, which includes an instance of UITableViewController as the root view controller. Based on that guess, I take it you now want to replace the table view controller with a vanilla UIViewController so the root view needn't be a table view. Are these assumptions correct?
    If so, here's how to make the replacement:
    1) In RootViewController.h, change the super class from UITableViewController to UIViewController;
    2) In RootViewController.m, remove all the lines from (and including) "#pragma mark Table view methods" upto -(void)dealloc;
    3) Open RootViewController.xib, and select Window->Document from the top menu to make sure the "RootViewController.xib" window is open. This is the window that displays icons, not the editor window which displays the view. Delete the Table View icon (select it, then Edit->Delete). Then drag a UIView object into that window from the Library, then Ctrl-drag from File's Owner to the View icon to connect the 'view' outlet of File's Owner to the View object;
    4) Double-click on the newly added View icon to open the IB editor window and populate that window with the subviews you want, returning to RootViewController.h and .m to add IBOutlet properties and IBAction methods as needed. Once RootViewController.h is saved you can make the required connections to File's Owner in IB.
    Here's an example of how to hide the nav bar and transition to the next view from an action method:
    // RootViewController.m
    #import "RootViewController.h"
    #import "SecondViewController.h"
    @implementation RootViewController
    - (void)viewDidLoad {
    [super viewDidLoad];
    self.navigationController.navigationBarHidden = YES;
    - (IBAction)nextView {
    SecondViewController *vc2 = [[SecondViewController alloc]
    initWithNibName:@"SecondViewController" bundle:nil];
    [self.navigationController pushViewController:vc2 animated:YES];
    [vc2 release];
    PS. It "suks" to go from being a pro on one platform to a complete noob on another
    Many of us at this forum jumped from platforms such as Windows to iOS without any prior Cocoa experience, so you're among friends who understand the transition. In my case, after the first few weeks, I never wanted to see another dev environment again. So hang in there! It will be fun soon.
    - Ray

  • Replacing all instances of a swatch with another swatch

    Ok, this really has to be easy but I can't seem to find a way to accomplish this.
    I have a swatch that's used throughout my document. Now I want to change all objects that use this swatch to use another swatch. How do I accomplish this?

    Thanks Dave and Ken!
    Dave, I tried redefining the swatch. But since it was a Pantone color I tried to redefine to (and that color swatch was already defined because I'd imported an object with that Pantone color) it wouldn't work.
    Deleting the swatch and replacing it worked like a charm however. Thanks again!

  • ABAP code help to replace one field with another

    Hi All,
    I have one DSO which is holding data for fields WBS(Old) and Company Code(Old).
    and I have one table which holds the information for Ols WBS and Ols Comp Code along with their New WBS and New Comp code.
    for eg:
    In DSO :
    Old WBS , Old Comp.Code
    abc        ,  001
    xyz        , 002
    In Table:
    Old WBS , Old Comp.Code , New WBS , New Comp.Code
    abc,           001,                    ABC,            001-04
    xyz,           002,                    XYZ,            002-04
    Now my requirement is ,
    search record by record from DSO and look into the table .
    If abc record in DSO matches with abc record in table, then in DSO it should replace with new WBS and Com.Codes.
    after the code, data in DSO shuld be lik this.
    WBS , Comp.Code
    ABC ,  001-04
    XYZ,   002-04.
    Thanks in advance,
    Sai Chand.S

    Hi
    If these fields are key fields dont think its possible to overwrite. Else plz write the following Code in End Routine it will overwrite the existing values in DSO.
    Select * from DSO into it_dso_temp. "U can even select only key fields WBS and CC fields.
    If sy_subrc=0.
    Sort it_dso_temp by WBS CC.
    endif.
    Select old WBS
               old CC
               new WBS
               new CC
    from Table
    into it_table
    for all entries in it_dso_temp
    where old WBS = WBS and old CC = CC.
    if sy_subrc=0.
    sort it_table by old WBS, old CC.
    endif.
    Loop at it_dso_temp assigning result_fields.
    Read it_table into wa_table with key old WBS = fs_dso_temp-WBS
                                                               old CC = fs_dso_temp-CC Binary SEarch.
    If sy_subrc = 0.
    result_fields-WBS = wa_table-new WBS.
    result_fields-CC = wa_table-new CC.
    endif.
    Endloop.
    Refresh result_package.
    result_package[] = it_dso_temp[].
    Also if incoming data has only old values u can loop at result package instead of it_dso_temp. let me know in case of issues.
    hope this helps !
    Reg
    Aparna

  • How to replace one symbol with another?

    I have a symbol with some very basic animations. I would like to set conditions upon which one symbol is swapped out for a symbol in a library. Each symbol is the same size, but so far I can't seem to get this right. I've attempted createChildSymbol but nothing really works.  I've got it set up as:
    My Stage:
    container0container (rectangle)
    container1container (rectangle)
    container2container (rectangle)
    button1
    button2
    My library symbols:
    Symbol_1
    Symbol_2
    Symbol_3
    Symbol_4
    Symbol_5
    I want to be able to click button 1, and replace the container1>container with container1>Symbol2 and then play the animation associated with container1
    Can anyone advise me on this?

    Not sure if it is what you want but try this:
    sym.$('down_btn').click(function(){
    var firstS = sym.createChildSymbol("Symbol_1", "container1");
    sym.play('down1');
    sym.$('up_btn').click(function(){
    var firstS = sym.createChildSymbol("Symbol_2", "container1");
    sym.play('up1');

  • How to replace a source system with another in BW

    Hello experts,
    I've read many topics dealing with my customer's need, but I still can't find the solution.
    My landscape is the following one :
    ECC6 with DEV, QUAL and PROD
    BW with DEV and PROD
    BW DEV source system is ECC6 DEV, I need to change it to ECC6 QUAL
    A lot of work has already been done, and I'd like not to lose it changing the source system.
    Datasources are the same in ECC6 DEV and QUAL.
    This is not a system or a client copy, it is really a source system switch.
    The new source system is already created (both DEV and QUAL ECC6 are available in "source systems" in RSA1), and I tried to use BDLS tcode
    In the "old logical system name" I choose my current source system and in "new logical system name" I choose the one I now need to use.
    System answer is : "The logical system name ECC6 QUAL already exists"
    Obviously I did something wrong, but can't figure what.
    Is there any action to perform before BDLS ?
    Any help is appreciated, and points will be given.
    Guillaume P.

    Thanks for your answer,
    "relevant object" means for you datasources, transfer rules and transformations ?
    With the grouping option "Save for system copy" I can't take easily all datasources, and others objects
    Will I have to pick all object one by one ?
    What would be the adjustement in table RSLOGSYSMAP ? For the moment it's empty.
    Regards
    Guillaume P.

Maybe you are looking for

  • Display issue in the report.

    Hi all,          I have 4 fields in my report which are compunded by Plant, in my query I'm alread filtering on this plant, but still the coumpounded field is showing up in those fields in the results section. Your input will be greatly appreciated.

  • CRM_ORDER_MAINTAIN not updating the item level field

    Hi All, My requirement is to update a field called "CSC Code" in line item of sales order. hence for this case i am using "CRM_ORDER_MAINTAIN" inside the "ORDER_SAVE" BADI. I am passing the ref guid, ref type, object name ,Logical Key and field name

  • License for Adobe Acrobat 9 Pro no longer works -- Why?

    I am getting a very strange error message that indicates my license is no longer valid. I have captured a screen image of the error and would like for someone to look at it. Hopefully, this problem can be solved quickly, as I am in the middle of some

  • Not Capturing All windows

    This is my first exposure to Captivate, so there's a good chance I'm missing something basic. But I am trying to capture a series of actions that involve windows opening and mouse actions in demo mode, but it continually drops key parts of the proces

  • Mathscript Array

    Hello, I wanna use the counter in my While Loop to acces the values of my vector/array inside the Mathscript. However, I get this message error: "Error -90026 occurred at Error in function V at line 1:  The indexes for a matrix indexing operation mus