MULTI COMPANY DATABASE in SAP B1

Hi there,
If you are setting up multi company database in SAP Business One,
is there a way for us to hide/unhide the other existing databases?
beth

Hi,
You could always create a second SQL server instance and share the licence server.  I am doing this to test addons without effecting the production system.  if it runs on the same server you do not need a further licence for a new instance
However, there are caveats:
1)  both databases would have to run exactly the same addons.
2) users would have to change the database server (instance) to switch between the companies.  this would also mean they would have to know an admin password.
I am sure there will be more but they are the 2 that spring to mind.
thanks,
mike

Similar Messages

  • Unable to open 2007B database in SAP Business One version 8.8

    Hi Experts,
       We are in the process of upgrading one of our client from SAP Business one 2007B PL13 to SAP Business One 8.8. While trying to open  the client's live database in 8.8, system throws a message "You cannot upgrade company databases from SAP Business One client. Use the Upgrade CD or contact your IT administrator for the upgrade". Plz guide me on how can I open the DBs used in 2007B in 8.8??
    Regards,
    Madhavan

    Hi
    I thiink your database is not updated ..Install client in your server and try with opening  up ..
    It will probably ask you to back up the database and upgrade ...
    If not ,uninstall everything thing ..instead of having new installation ,download the upgrade version and see if resolves your issue
    Hope this helps
    Bishal

  • Importance of Common Database in SAP B1

    hi guys,
    Up to this point, its not very clear to me if it is necessary to back the Common Database of SAP business one.
    As per documentation, it states that Common database – includes tables for basic initialization of any new company database (for example, built-in reports and system queries). This means that every new database created, this is the time when Common Database is update or something?
    My main concern here is, is it necessary for me to back/restore both the common and reg company database? I need to know this as early as possible because I am not backing up this common database .
    Thanks,
    Beth

    hello Lili,
    The common database stores required tables that used when run company databases. it is System Databases. In addition to the SAP Business One company database with the application data, you should backup the database SBO-Common once after installation, and after each upgrade.
    when creating new company database, there maybe updating process of common database beside upgradingPL.
    Based on securityguide file, it states:
    Creating the SBO_SP_Role in Each New Database
    This role enables execution permissions only to SAP Business One stored procedures in the specific database.
    The following procedure should be carried out on the SBO-COMMON database and the company database.
    1. On the Microsoft SQL Server Management Studio navigation pane, choose Databases → SBO-COMMON (or company database) → Security → Roles → Database Roles.
    Right Click and choose New Database Role – Database Role – New window appears.
    2. Enter SBO_SP_Role in the Name field and choose OK.
    The list of Roles appears in the right pane.
    3. Double-click the new role and choose from the left pane Securables.
    4. From the right pane, press the Add button. The Add Objects window appears.
    5. On the Add Objects window choose All Objects of the Types and press OK. The Select Objects Types window appears. Choose Stored Procedures. Press OK to confirm and close the window.
    6. For SAP Business One stored procedures, select the EXEC option in the bottom pane.
    Stored procedures might change in future releases of SAP Business One, therefore, this role should be updated accordingly. Instructions to change the role due to changed stored procedures will be included in the documentation of future versions.
    See Appendix A – Stored Procedures in SBO-Common and Appendix B - Stored Procedures for Regular Company
    Rgds,

  • Add-on connection error (-105) Access to company database is not permitted

    Good day,
    One of our clients have upgraded to 8.8 PL 11 (from 2007A PL 41).
    Somehow the SBO-Common became corrupt and SAP suggested that we reinstall the SBO-Common.
    The problem is that now the add-on (developed by us) is not connecting.
    The add-on connects to UI API and DI API, but when trying to connect to the company with SAPbobsCOM.Company, an error is returned (error code: -105).
    I am also confused about what the error actually is, bacause according to the SDK Help file, error -105 is "The observer.dll init has failed.", but the error message returned by the add-on is "Access to company database is not permitted; log on to SAP Business One and sign end user license agreement (EULA)"
    I have tried resigning the EULA, but no success.
    I have also tried deleting the content of the %temp%\SM_OBS_DLL, as suggested in another post.
    The version of the OBServer.dll is 8.80.229.0 - I believe that this is the correct version for 8.8 PL 11?
    Please advise.
    Kind regards,
    Rikard

    Good day all,
    My apologies.
    I have discovered what the problem was - and it was me.
    I did not realise that the connection I was making was not to the same database that I was connected to.
    Therefore, I had to log onto the other database and sign the EULA.
    The error explained exactly what I needed to do, but I wasn't paying attention.
    Regards,
    Rikard

  • Database SQL SAP B1

    Good morning,
    Anyone know what query is used to display only the databases of SAP B1 without showing the others that are in SQL Server?
    Thank's

    Hi Andres,
    When you click on the Refresh button in the Choose Company screen in SBO, the system runs a check against all databases on the SQL Server and looks for a CINF table in each database. If CINF exists then SBO assumes the database is a SBO database. The queries suggested above should work fine most of the time but if you want to perform the same check that SBO uses then the following will work:
    create table #Databases(idx int identity(1, 1), DbName nvarchar(100), compName nvarchar(100) null)
    declare @Count int
    declare @Total int
    declare @DbName nvarchar(100)
    set nocount on
    insert into #Databases
         select name, null from master..sysdatabases  where has_dbaccess(name) = 1
    set @Total = @@ROWCOUNT
    set @Count = 1
    while @Count <= @Total
         begin
              select @DbName = DBName from #Databases where idx = @Count
                   declare @sql nvarchar(400)
                   set @sql = 'if exists(select name from ' + + QUOTENAME(@DbName) + '..sysobjects where name = ''CINF'' and xtype = ''U'')
                                  update #Databases set compName = (select CompnyName from ' + + QUOTENAME(@DbName) + '..CINF) where idx = ' + cast(@Count as nvarchar)
                   exec(@sql)
              set @Count = @Count + 1
         end
    set nocount off
    select DbName, compName from #Databases where compName is not null
    drop table #Databases
    Kind Regards,
    Owen

  • Size of SQL Server 2005 Database for SAP B1 2005 B is heavy

    Hi all,
    In my company we are working with SAP B1 2005 B SP 25.
    Our Database is in SQL Server 2005. Its Size reaches 6 GB in less then two years periods.
    Can Any body guide me to reduce the size or how to maintain database. Can we split Database in SAP B1 ?
    Due to the size users getting less speed
    Awaiting your valuable guidance for the same.
    Best Regards,
    Chintesh Soni

    Hi Chintesh,
    I would advise caution doing any of the things suggested in SAP Note 548772. In particular, I strongly recommend you do NOT set auto-shrink on. This is a really bad idea on a production database and I can't understand why SAP would suggest it.
    Is it the data file that is 6GB or the overall size of the database (ie data and log files)? If your log file is large  then this can slow performance. I recommend setting up transaction log backups on an hourly basis. This is good practice and not only keeps the log file healthy but also gives you the option to recover your data to the last transaction log backup in the case of an emergency. If you don't want transaction log backups then do as the SAP note mentions and set the recovery model to simple and do a once-off truncation of the log file.
    Are you doing regular maintenance on the database (ie rebuilding indexes, updating statistics)? Are you monitoring fragmentation on the data drive and doing a defrag occasionally to keep the drive healthy?
    Kind Regards,
    Owen

  • Show error when connect Company Database by DI API in 2004B

    Hi
    I use the DI API to connect company database in 2004B.  I can get the company lists by SAPbobsCOM.CompanyClass.GetCompanyList().
    I write a program to testing the connection that show two different result in client and server side.
    - It show the error -2147221164 (Class not registered), when connect company database in client PC. 
    - The same program run in server, it connected.
    I already checked my config as below
    - SAP 2004B is installed 7.20.145 SP:00 PL:25
    - SAPbobsCOM67.dll is 6.70.188.0 version, and "Special Build Description" is 21.
    The client and server side are same config.
    Any ideas how I should handle this?
    Thanks
      Winson

    sorry! it is wrong posted in here!!

  • Multi Company scenario in obia

    Please advise on implementing OBI Financial Analytics for Multi Company scenario where each company goes live in each phase.
    Phase 1 - Company 1 goes live
    Phase 2 - Company 2 goes live
    Phase 3 - Company 3 goes live & all 3 Companies Data are available in single OBI Application.
    We would like to know more about the Load Strategy. How to to Full load for Company 2's data without affecting Comapny 1's & 2's Data and so an so forth for Company 3.
    Is there any other alternate way / standard Oracle recommended procedure to do this?
    thanks,
    paresh

    Hi,
    You could always create a second SQL server instance and share the licence server.  I am doing this to test addons without effecting the production system.  if it runs on the same server you do not need a further licence for a new instance
    However, there are caveats:
    1)  both databases would have to run exactly the same addons.
    2) users would have to change the database server (instance) to switch between the companies.  this would also mean they would have to know an admin password.
    I am sure there will be more but they are the 2 that spring to mind.
    thanks,
    mike

  • Master data among multi company

    Experts,
    how does SAP handle of master data in case different system setup in different location?
    For Example: Multi Company case where ABC company operates in USA with own SAP system, XYZ company operates in UK with own SAP system.
    But where is the master data (vendor, customer, etc) maintained ? Will be there any synchronization between the systems?
    Thanks,
    Sukhbold

    Hi Sukhbold Altanbat,
    Though the operations are doing in multipule location but data will be saved in single Central data base.
    this central data base is placed in a secured location and will be tested properly before placing i.e. it will not impacted with calamities like cyclone... etc.
    Transaction data is done only at front end but data will entered in the frontend will be updated in back end data base.
    Note:  we may have 2 servers data bases which will placed in different loaction this will be used if once gowes down,other will start working with out any imact.
    With respect to Sync..  2 server data bases will be automatically where ever is some change in db1.
    Hope this helps you, kindly let us know if any further details required.
    Best Regards,
    Maruthi

  • SBO Backup not backing up one of the Company Database

    Hi Expert,
    My customer environment is :-
    Windows Server 2008 R2 SP1
    MS-SQL 2005 SP3
    SAP B1 2007B PL15 Hotfix
    There are 8 company databases ticked in SBO Backup Database tab. 7 of them are backup successfully at the scheduled time, except 1. The MDF file is 3GB and the LDF file is around 800MB. There are still around 45GB free disk spaces remaining in this drive.
    May i know why this database not backup?
    Thanks,
    Taw-Fey
    Edited by: Taw Fey Tan on Mar 22, 2011 8:49 AM

    Hi Bala,
    I have tried to just run SBO Backup for that particular company. Still no backup happen.
    But there is an error in Windows Event Viewer Application Log with SBO Backup.
    ERROR
    The description for Event ID 166 from source SBOBackUp cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event:
    The specified resource type cannot be found in the image file
    Please advice what else should i do, thanks.
    Taw-Fey, Tan

  • DTW error "Unable to access SBO-Common database " for sap hana

    Hi.. Experts
    I am working on SAP Hana Pl 04 64 bit, On which I got the error "Unable to access SBO-Common database  " While using DTW.
    also company databases are also not presents,For more details for more details find out attachment.
    I have also check out all services & Restart them.
    Please give me proper solution.

    Hi,
    Please check:
    1.Ensure you have the correct DB Type selected under the Login options.
    2.Verify that all connection information is correct (for example, the correct user name and password or the user has enough right to  connect to the database server in case Windows Authentication is used).
    3. Check whether the database is running properly, make sure that the COMMON and company databases are not suspended or stopped.
    4. Ensure there is no DI API version mismatch.
    Thanks & Regards,
    Nagarajan

  • Integration Framework not showing company database

    I want to run SAP Application Software on Iphone. Integration Framework installed. in SLD-> B1 Server DB List is not showing current company database.
    Error on Iphone : Permission denied.
    Kindly Help.

    Hi,
    Try this,
    1.First, you should detach the company database in SQL Server. Then,
    2.Goto--> SAP B1---> choose company---> click [Refresh]---> Company Database are not shown in the Matrix.
    3.Again, goto SQL and attach all company Database.
    4. Repeat Step-2 Again.
    5. Now, goto Integration Framework and relogin.
    I Hope It will work.
    Thanks,
    P.T.Sampath

  • Remove company database

    hi friends,
       i created  a company (database) for testing purpose . how can i delete the company(database)

    Hi Muna
    Yes,it is OK to remove the DB from SQL Server Management Studio.
    And If you have erased the company DB in SQL Enterprise Manager successfully
    please open your Business One client -> in the pop up 'Choose Company'
    ,please select button 'Scan'. After such operation, this DB will be gone
    from this Choose Company table.
    Regards,
    Syn Qin
    SAP Business One Forums Team

  • Maintaining multi company balance sheets and P&L with Diff Accounting rules

    can we maintain multi company balance sheets and P&L with Diff Accounting rules in SAP.
    Can SAP support multi currency balance sheets

    You're welcome!
    Read the SAP Best Practice guides:
    http://help.sap.com/bp_bblibrary/600/BBlibrary_start.htm
    Filter by Industry and Country.
    Depending on your country/industry these documents will help outline the best practices for implementing the various modules.  Clicking on the links on the right launches a new window, and you access config guides in there.

  • Upgrade auf 8.8 (Company Database) funktioniert nicht

    Hallo, wir haben folgendes Problem:
    Wir haben ein Testsystem (SAP Business One 2007 PL11) auf einem Windows Server 2003 installiert (mit SQL Server 2005) mit einer ECHT_Datenbank von unserer Firma.
    Wir wollen nun dieses 2007er System auf Version 8.8 upgraden.
    Das Problem ist nun folgendes:
    Wir upgraden die Server Tools und die Common Datenbank (alles auf 8.8).
    Nun können wir in SAP 8.8 reingehen, aber unsere ECHT_Datenbank ist noch auf der alten Version, also wollen wir diese auch aktualisieren, jedoch steht bei der Überprüfung eine Warnung (Die Version der Company Database weicht von der Common Database ab) und wir können diese nicht upgraden.
    Oder wir versuchen beide Datenbanken (Common und Company) gleichzeitig mit dem Wizard upzugraden, kommen dann auch ohne eine Warnung durch die Überprüfung, jedoch schlägt dann das Upgrade fehl.
    Könnt ihr uns vielleicht helfen?
    Gruß

    Hallo Norbert,
    Koennten Sie bitte ueberpruefen was es fuer eine Fehlermeldung  in der Protokolldatei (BuisnessOneUpgradeB1UpgradePidxxxx_xxxxxxxxxxxxxx.txt) fur den "Inventory Valuation Log" steht?
    Koennten Sie bitte auch die foldenden SAP hinweisen ueberpruefen [1421989|https://websmp130.sap-ag.de/sap(bD1odSZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1421989], [1491596|https://websmp130.sap-ag.de/sap(bD1odSZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1491596], [1489299|https://websmp130.sap-ag.de/sap(bD1odSZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1489299], welche in Zusammenhang mit "Inventory Valuation Log" Objekt sind?
    Mfg,
    Ladislav Meszaros
    SAP Business One Forum Team

Maybe you are looking for

  • Can't synch photos with Vista

    This is driving me crazy! I have no problems synching music with Vista, but every time I attempt to synch photos, the photos are corrupted, don't download properly or - more often than not - the computer crashes with a variety of bluescreen error mes

  • HOW DO I CREATE A 30GB SHUFFLE PLAYLIST FROM ITUNES LIBRARY TO FILL MY IPOD

    is it possible to generate a playlist lets call it, that is like a shuffle playlist but able to fill an ipod? where would i find the command like, " fill ipod randomly from itunes library"? wouldn't it be great !! just hook up the pod and have it fil

  • Need help buying RAM

    Hello, I'd like to max out the RAM on my now 3-yr old iMac. I'm having trouble trying to discern what is the right RAM to buy. The sales guy at one store said I can actually add up to 1GB RAM to my machine, and that apparently, the RAM used is in thi

  • Sampling increase buffer size

    hello, I'm trying to sample my scxi module (SCXI-1100 32Ch analog input module) at 10Hz... so I'm taking my samples in a timed while loop... I was wondering if I had this wired correctly... I'm sampling 16 inputs of the scxi-1100... inside my timed w

  • 10.5.5 Update - Time Machine Backup Stuck "Preparing" (How do I fix?)

    I gave up on it with 10.5.4. Thought I would try since Apple fixed...it's still not working. Background 1. This is my first backup. I've never been able to do a complete backup. 2. I have my laptop plugged in via ethernet to the TC. 3. I'm backing up