Right Way to change MBOs Connections

Hellow Experts,
I'm really enjoying the communication here, and I got a new one.
Whats the right way of change MBOs Connections to SAP for instance?
I tried 2 methods.
Method One
Title: Its just too much Work
Proceeding:
I start rebinding every MBO and  operatios to the new Connection.
Drawback:
If i have 1 MBO it may takes 30 seconds if they are 40 or 50 mbos it will take a lot of time.
there are the output tables from bapis are recreated if dont they are deleted.
so you have to reimplement all the operations one again. and it as the adicional
problem that we all can miss something and do something wrong.
Method Two
Title: Simpler way
Proceeding:
change the connection profile itself at workspace from DEV->QA or QA->PRD
Drawback:
supposing that you want independence between the apps connections  like app1 is on DEV and ap 2 is on PRD.
this will led to N connections per N applications.
DEV: (Development)
QA: (Quality)
PRD: (Production)
I would like to know if you guys have more approaches and what you think of this ones.
Cheers,
Laguerta

Daniel Laguerta
I will never follow method one as suggested by you.
To add for the "Method 2", i will create a separate (new) workspace for different instance like DEV, QA, PROD.
eg. Once DEV is done, i ll export the whole project, and import the same in a new workspace for QA.
     Create a new SUP QA and SAP connection profile
Change connection profile to each mbo and its operations.
And deploy to SUP QA Env
Still it is time consuming.
there is another method (should be preferable)
Deploying mbo package from SCC instead of creating workspace and connection profiles.
Deploying MBO from Sybase Control Center (SCC)
Regards,
JK

Similar Messages

  • What is the right way to change the active JInternalFrame for and MDI app?

    I am working on my own implementation of the window menu. The action that is triggered when a customer chooses a window to activate from the list in the menu is not behaving as I expected. The code I wrote (below) switches frames correctly but the caption bar never gets updated and if you restore a frame from an icon the frame is not correctly activated, there is even a restore button which if you push fixes things up and the frame then behaves normally     if (frameToActivate.isIcon ())  {
              //  Restore from icon
              desktopPane().getDesktopManager().deiconifyFrame (frameToActivate);
         desktopPane().getDesktopManager().activateFrame (frameToActivate);
         desktopPane().setSelectedFrame (frameToActivate);I did a search of the web and found a tip on JavaWorld (http://www.javaworld.com/javaworld/jw-05-2001/jw-0525-mdi.html) which led me to try doing this from a different angle - the JInternalFrame's point of view. This code works     try {
              if (frameToActivate.isIcon ())  {
                   //  Restore from icon
                   frameToActivate.setIcon (false);
              frameToActivate.moveToFront();
              frameToActivate.setSelected (true);
         } catch (PropertyVetoException error) {
              error.printStackTrace();
         }My question is why does the desktop based approach not work? If methods exist that appear to let you restore and switch between frames why are the ineffective? Am I missing something obvious that I should be doing?
    If using the JInternalFrame methods is the right way to go then I will It just seems like if the DesktopManager has methods that advertise that is supports managing the active frame then they should work. Before I ignore them I want to check with you to see if there is a right way to use them.
    Ian

    So, this is another batch of duke dollars I cannot assign - since I solved my own problem:-)
    I had an epiphany and tried setting break points to see what code was executed when you click on an inactive frame. From that I determined that DefaultDesktopManager.activateFrame, as implemented, does not activate the frame but acknowledges the activation of a frame and does a small amount of bookeeping work for the DesktopManager. So, the solution is the code I wrote to switch focus using the JInternalFrame's methods. Since I did not want to have to write those nine lines of code in the couple of places I want to programmatically switch the active frame I added a get/setActiveFrame method to my JDesktopPane derivative. In case others face this problem here is the code (warning I have not yet setup building the JavaDocs for this project so I cannot vouch for the validity of the JavaDoc, but the code does work):/**
    * Bring frameToActivate to the front (restoring from icon if neccessary) and make it the
    * selected frame.  This method does all the things required to switch the active frame for
    * an MDI application unlike: @link JDesktopPane.setSelectedFrame, which does not change the
    * focus; @link javax.swing.DefaultDesktopManager.activateFrame which does not correctly
    * handle iconified frames or switch the focus properly; and
    * @link javax.swing.JInternalFramesetSelected which also does not handle iconified frames.
    * @param frameToActivate the frame to bring to the front and become the active window
    * @throws IllegalArgumentException
    public void setActiveFrame (JInternalFrame frameToActivate) throws IllegalArgumentException  {
        if (frameToActivate == null)
            throw new IllegalArgumentException ("setActiveFrame a frame must be passed a non null valie.");
        try {
            if (frameToActivate.isIcon ())  {
                //  Restore from icon
                frameToActivate.setIcon (false);
            frameToActivate.moveToFront();
            frameToActivate.setSelected (true);
        } catch (PropertyVetoException error) {
    * This method returns the currently active frame.  This method returns the same frame
    * as <code>getSelectedFrame</code> and is provided for symetry for <code>setActiveFrame</code>. 
    * @return the currently active frame
    * @see LDesktopPane.setActiveFrame
    * @see javax.swing.JDesktopPane.getSelectedFrame
    public JInternalFrame getActiveFrame ()  {
        return getSelectedFrame ();
    }IL

  • Right way to change encoding settings

    Hi!
    When I encode footages I have to differet ways to change encoding settings - one is AME's settings panel. Second is Codec options. I'm confused - where must I change settings, must they be the same in both windows, or what's "primary" options window? Please, explain!

    Ok... But in that case, what settings are "primary", have a priority?  Those who are in codec options window or in regular AME settings window?

  • Right way to change datagrid row, column, cells background colors in code-behind?

    Hi all,
    I have a winform program that I'm upgrading to wpf (I'm new to wpf). The wpf code for the function (SetdataGridBackgroundColors()) is below with the winform code commented out so I can fix it.  I have a datagrid with a Cornsilk background color alteranating
    with LightGreen depending on the content of datetime  cell. If the day portion of the datetime is different then the color changes from one to the other. I used a colorIndex variable because at the end of the month it could go from 31 to 1 and that would
    not work if I use the day directly.
    I tried this line to change the background color:
    optionsDataDatagrid.RowBackground = new SolidColorBrush(Colors.Cornsilk);
    this works but it changes every row. I found this other stuff:
    DataGridRow currentRowColor = optionsDataDatagrid.ItemContainerGenerator.ContainerFromIndex(i) as DataGridRow;
    //DataGridRow currentRowColor = optionsDataDatagrid.ItemContainerGenerator.ContainerFromItem(optionsDataDatagrid.Items[i]) as DataGridRow;
    currentRowColor.Background = new SolidColorBrush(Colors.Cornsilk);
    Either ContainerFromIndex or ContainerFromItem throw an exception because currentRowColor is null. I looked at optionsDataDatagrid.Items[i] and is not null. Then I read that using ItemContainerGenerator is not a good idea.
    BTW I'm calling SetdataGridBackgroundColors() after datagrid is been filled with data.
    So... what is the proper way to set each row, column or cell background color in wpf?
    Thanks
    private void SetdataGridBackgroundColors()
    optionRowData rowData = new optionRowData();
    if (optionsDataDatagrid.Items.Count == 0)
    return;
    int colorIndex = 1;
    DateTime savedDate, currentRowDate;
    rowData = optionsDataDatagrid.Items[0] as optionRowData;
    savedDate = rowData.col_datetime.Date; //only compare the date not the time
    for (int i = 0; i < optionsDataDatagrid.Items.Count; i++)
    //currentRowDate = Convert.ToDateTime(optionsDataDatagrid.Rows[i].Cells[3].Value); //winform code
    //currentRowDate = currentRowDate.Date; //winform code
    rowData = optionsDataDatagrid.Items[i] as optionRowData;
    currentRowDate = rowData.col_datetime.Date;
    if (currentRowDate != savedDate)
    colorIndex++;
    savedDate = currentRowDate;
    if (colorIndex % 2 == 0)
    //optionsDataDatagrid.Rows[i].DefaultCellStyle.BackColor = Color.Cornsilk;
    //------------------- testing new code --------------begin
    optionsDataDatagrid.RowBackground = new SolidColorBrush(Colors.Cornsilk); //this changes all rows
    //DataGridRow currentRowColor = optionsDataDatagrid.ItemContainerGenerator.ContainerFromIndex(i) as DataGridRow;
    //DataGridRow currentRowColor = optionsDataDatagrid.ItemContainerGenerator.ContainerFromItem(optionsDataDatagrid.Items[i]) as DataGridRow;
    //currentRowColor.Background = new SolidColorBrush(Colors.Cornsilk);
    //------------------- testing new code --------------end
    //optionsDataDatagrid.Columns[4].DefaultCellStyle.BackColor = Color.DarkSalmon;
    //optionsDataDatagrid.Columns[5].DefaultCellStyle.BackColor = Color.Aquamarine;
    //optionsDataDatagrid.Rows[i].Cells[4].Style.ApplyStyle(optionsDataDataGridView.Columns[4].DefaultCellStyle);
    //optionsDataDatagrid.Rows[i].Cells[5].Style.ApplyStyle(optionsDataDataGridView.Columns[5].DefaultCellStyle);
    else
    //optionsDataDatagrid.Rows[i].DefaultCellStyle.BackColor = Color.LightGreen;
    //------------------- testing new code --------------begin
    optionsDataDatagrid.RowBackground = new SolidColorBrush(Colors.LightGreen); //this has no effect
    //------------------- testing new code --------------end
    //optionsDataDatagrid.Columns[4].DefaultCellStyle.BackColor = Color.Coral;
    //optionsDataDatagrid.Columns[5].DefaultCellStyle.BackColor = Color.LimeGreen;
    //optionsDataDatagrid.Rows[i].Cells[4].Style.ApplyStyle(optionsDataDataGridView.Columns[4].DefaultCellStyle);
    //optionsDataDatagrid.Rows[i].Cells[5].Style.ApplyStyle(optionsDataDataGridView.Columns[5].DefaultCellStyle);

    I (also) strongly recommend mvvm.
    Setting values is a particularly bad idea in this case.
    I don't mean to be rude but your explanation of the requirement is kind of vague.
    I would bind solidcolourbrushes.
    Set the properties based on whatever your logic is within the viewmodel.
    You can switch out what each of the brushes holds when the user clicks wherever.
    So you use a highlightbrush when something or other is true.
    That highlightbrush is set to a blue brush when the user clicks left and a red brush when they click right.
    Please don't forget to upvote posts which you like and mark those which answer your question.
    My latest Technet article - Dynamic XAML

  • Automatic way to change the connection for Multiple universes

    We recently migrated the BO objects like universes and connections from 3.1 QA to 4.1 Dev.
    But now we want to point all our universe connections of 4.1 Dev system to the BW Dev system instead of BW QA.
    Is there any automated way of doing it ?
    Thanks,
    Tilak

    Promotion Management Overrides

  • Proper way to change URL connections

    When viewing a page of search results from Google with the search term "java", I get the following URL: http://www.google.com/search?hl=en&q=java&btnG=Google+Search
    Page 2 is associated with the URL: http://www.google.com/search?q=java&hl=en&lr=&safe=off&start=10&sa=N
    In order to change pages programmatically, do I need to do anything with the first URLConnection before creating a second URLConnection?

    All google needs is q and start, so your first page would be:
    http://www.google.co.uk/search?q=test&start=0
    second:
    http://www.google.co.uk/search?q=test&start=10
    http://www.google.co.uk/search?q=test&start=1000
    Or you could use the Google Web API.

  • Changing Database connection on webservice deployment

    Hi All,
    I am having a problem changing the Database connection when deploying a PL/SQL generated webservice.
    What I have done is to use the WebService wizard to create a webservice based on a database Pl/SQL procedure. During this you have to specify the database connection (which initially is our dev server).
    When I come to deploy the service to our production platform I want to change the database descriptor name to point to an existing App Server data source.
    This is the problem - the Database Connection information is protected in the properties of the webservice - which means I cannot deploy to our production platform with the connection names I need.
    I can change the names of the Connections defined in the Connections tab - but then I cannot access the webservice in JDev.
    Everytime I deploy to our production platform I keep getting the development data sources created.
    Basically I need to develop a PL/SQL webservice using a Development connection (with a unique connection name), and then deploy to a production application server (10g AS) with a different connection name that points at our production env.
    I could create generic names, but that then would make my development system very confusing with the potential of messing up the production platform.
    Anyone got any ideas????
    Thanks and Regards
    Neil

    When you deploy the web service to the app server, if the connection to the other database is available from JDev at deployment time, the data sources xml file should be set up correctly with the db connection info. Otherwise this will have to be modified by hand on the app server to contain the connection details for the other DB.
    There are 3 files that will also have to be hand modified to reflect the different db connection details. 2 deployment descriptors, web.xml and oracle-webservices.xml which have references to the connection's jndi name, and also one of the JPublisher generated classes (the one whose name ends in 'Base') also has references to the jndi name (to look up the connection from the data source file) which will have to be modified, recompiled and redeployed.
    The simplest way to change the connection would actually be to leave everything alone and just modify the data sources xml file on the server such that the same jndi lookup points to a new connection, but it looks like the customer wants to change the name as well.
    An alternative to all this hand editing is to regenerate the service against the producion DB connection, test & then deploy the service.
    dai
    JDev devt. team

  • Dynamically changing Universe Connection

    We are in the process of implementing CM (Configuration Management) process to migrate the code from Development to QA to Production.
    Currently we are taking the code from Development using Import Wizard and creating a BIAR file, move that BIAR file to QA server and using "InstallEntSdkWrapper.jar" we are importing into QA.
    Sameway, when we want to migrate the Universe, Reports to Production, we are opening the universe using Designer, changing the connection to Production, exporting to Development Repository. Creating BIAR file from Development using Import Wizard, move the BIAR file to production server, and use "InstallEntSdkWrapper.jar" to import Universe, Reports to production repository.
    Now the CM (Configuration Management) process says, whenever we create a BIAR file for QA deployment, we should check-in to Clear Case, once we test it in QA, and QA approves that there are no defects, we should migrate SAME BIAR file to production, without creating another BIAR
    file from Development.
    The problem I am facing here is, because of security restrictions, Network Team stopped/closed Ports 6400 thru 6403, that means we can't connect any client tools (i.e Deisgner, Import Wizard) to any
    environment other than Development Environment.
    I can't use the same BIAR file to deploy into production which was deployed to QA as that BIAR file points to QA Database.
    Please let me know how to resolve the issue:
    I am looking for a way to change the connection dynamically,
    1. Either by using any kind of parameters
    2. Change the connection using CMC or any other tool.
    Or any other method to use the same BIAR file which was used to deploy in QA, and deploy it in production.
    We are on BO XI R2 SP4
    It is installed on AIX platform.
    Is there any 3rd party tool ?
    OR does BO has this option in Businss Objects XI 3.1 ?
    Thank you in advance.

    Hi,
    Check whether if you have drivers pointed to correct Database by creating a valid user to required DB in your local system.
    Cheers,
    Suresh Aluri.

  • A way to change right click contextual menu?

    Is there a way to change the right click contextual menu, so the first item is open in tabs?  I use tabs more than windows, and in Chrome, the tabs option is 1st and not 2nd.

    chevysales wrote:
    there must be a way  to remove it from my context menu on right clicks.... running version 5.1 network magic pro.
    already unchecked settings to remove network folder from my desktop.
    i have no reason to use the right click option so want to remove it. i am running vista ultimate 64 bit.
    i am quite able to edit ofr delete aregistry line but searched throughout regedit and can't find it.
    search on this forum turned up nothing... hard to believe no one asked this before on the forum.
    google turned up a blank also.
    thanx
    Hi chevysales,
    The logic is wrong. Go into Network Magic Options. On the General Tab, make sure that the following are not checked:
    Do not add Network Magic Folders icon to Open/Save dialogs
    Do not add commands to Explorer shortcut menus
    Click OK and reboot the computer and see if gone.
    I am running Windows XP Home Edition Service Pack 3 on my Wireless Computer and I checked the Right-click menu and don't have the options, when they aren't checked.
    thecreator - Running Network Magic version -5.5..9195.0-Pure0 on Windows XP Home Edition SP 3
    Running Network Magic version -5.5.9195.0-Pure0 on Wireless Computer with McAfee Personal Firewall Build 11.5.131 Wireless Computer has D-Link DWA-552 connecting to D-Link DIR-655 A3 Router.

  • Is there a way to change usage right with the SDK?

    Working on a web application that populates a PDF form based on interview questions using a third party tool. Everything works correctly except when there is a signature field on the form. Looking at the document properties, the Signing right has been changed from allowed before data population to not allowed after data population. Is there a way to reset this right back to allowed using the tools in the SDK?
    Thanks,
    Chuck

    Next question, if AFORMAUTLib is used to populate the data, instead of the third party tool, and the filled out PDF is written out to a memory stream to be displayed in the browser, would this change the rights of the document?
    Thanks for your help.

  • What is the right way to connect the adapter to my macbook when charging?

    what is the right way to connect the adapter to my macbook when charging.
    is it connect the magsafe connector first before plugging the adapter to the outlet? or the way around? or both ways will do?
    what if i'm using a surge protection with a on/off button, can I just turn the surge protector extension on and off without disconnecting the magsafe connector and adapter plug from my laptop when i'm not using it?
    thank you very much

    If there is any arcing it may be because the adapter is dirty. It is best to plug in the wall wart then attach the magsafe to the MacBook. As GfulDedFan mentioned this reduces the chance of power surging the MacBook. I have done mine this way since he day I bought it and have never had an arc. I keep it clean to reduce the chance of this happening. The following will help in the care of your supply.
    Apple: Use and cleaning of MagSafe power connector

  • Way to change database control connection at runtime

    Is there a way to change the database connection (the @jc:connection data-source-jndi-name) at runtime? I want to build only one database control and be able to use it against different connections.

    Hi,
    There is no way to do this as of now.
    Ejbcontrol and service control has a method setJndiName and setEndPoint(wsdl url) respectively to do so. But database control doesn't and is a good enhancement.
    Thanks a lot,
    Vimala

  • Is there a way to change the order of the list that appears when i right click on a link?

    In previous versions of firefox, when i right clicked on a link the list that appeareded was in order:
    first Open Link in New Window
    second Open Link in New Tab
    In firefox 4 this is reversed. Is there a way to change it back?

    You can do that with the Menu Editor extension - https://addons.mozilla.org/firefox/addon/menu-editor/
    This extension has not been updated by its author in a couple of years, but another developer has updated it for Firefox 4, you can get the updated version from http://netticat.ath.cx/MyAddons/MyAddons.htm#3rdpartyaddons

  • I'm in Safari, is there a way to change the order when you right click a link? Just upgraded to Mavrick OS

    I'm in Safari, is there a way to change the order when you right click a link? Just upgraded to Mavrick OS

    You can do that with the Menu Editor extension - https://addons.mozilla.org/firefox/addon/menu-editor/
    This extension has not been updated by its author in a couple of years, but another developer has updated it for Firefox 4, you can get the updated version from http://netticat.ath.cx/MyAddons/MyAddons.htm#3rdpartyaddons

  • My search field in the upper right hand corner of firefox4.0.1 is set as ebay. There is no way to change this. How do I get it off ebay?

    My search field in the upper right hand corner of firefox4.0.1 is set as ebay. There is no way to change this. How do I get it off ebay?

    Click on the eBay image in the Search Bar and select a different search engine.

Maybe you are looking for

  • How do I get iPhoto to stop pulling from two photo streams?

    My iPhoto library is saved on an external hard drive and I've opened it on 2 separate macs and each mac has it's own separate account linked to it, now my iPhoto is pulling photos from 2 separate photo streams. How do I fix this?

  • Masking credit card number

    HI I have a situation in hand. The legacy system is sending the credit card number and the security number to XI system which then is passed to R/3 system while creating the orders. The data is sent to XI through the HTTP post. What I want to do is t

  • Columns and rows

    Hi all, could anyone please clarify my doubt in a table how to change the column to row and vice versa. thanks in advance. rampa

  • Expression Language to get the navigation model of the parent space

    Hello, I am hoping someone can help me with this. Scenario: I need my sub-space to use the same navigation model as the parent. Reason: Take a space(P) has a navigation model that queries the pages and sub_spaces(S1,S2...) in a space. Using this navi

  • Anyone order later on the 3rd and still no shipping info?

    We ordered later on the 3rd and still haven't received any shipping info - and now when we track the order status it's giving an expected ship date of the 18th, like all of the orders placed today. Anyone else on the preorder not get their phones yet