Creating a new company in a new database

I am attempting to create a new company, but want it in a separate database.  (Just like creating a Sandbox for development and testing.)  However, when I choose to create the new company (specifying company name, accounting periods, etc.), B1 will not let me specify a new database name.  It is forcing me to select an existing B1 database.
Is there a Procedure to create a new (clean copy) of a B1 database that I can subsequently use to create the new company in????
Thanks for any help you can give me...

Hello,
Do one thing first take a backup of SAP company from SQL.
then make new database using Sufix and prefix Test_ then restore that database which you have taken backup.
Now You can login in your test database in SAP.
Thanks
Manvendra SIngh Niranjan

Similar Messages

  • Error while trying to create a new company

    Hey All
    I found an error while trying to create a new company.
    the Error like - No matching Records Found - [ODBC -2028]
    This can generate only database but not any tables in that database.
    Please help me.
    Thanking you
    Hepil Doshi

    Hello,
    I would prefer local language instead of US english.....
    My tips.
    1. DID you tried to Not apply the UDO/UDF things?
    2. Do not log in to the database, start from
    3. Please post the error message itself....
    4. If you are running on MS SQL 2005 server (not express) , You can start SQL profiler, and monitor the New Database creation.... you will see in profielr where is the error message and which tables / data is missing.
    If i know well,
    When you create a new company, the SBO-COMMON database is used to deploy the new database....
    If you get stock, reinstall your sbo-common from the last applyied patch..... (Detach SBO-common, move the files another directory, and start upgarder.exe).
    Regards,
    J.

  • New company integration - Should or not create a new company code?

    Hi Gurus,
    my customer is acquiring a new company and the related population will be integrated in our sap payroll system.
    The FI team is now asking for the creation of a new company code (the new population should be maintained separated from the old one, with a different PMO and budject) but the HR Department does not want to manage (for several internal reasons) a new company code.
    Now the question is: is it absolutely necessary to create a new company code or is it possible to manage this situation in another way (maybe linking the new population to a new personnel area, related to an already existing company code)? And what about the posting?
    From the payroll point of view, the new population should be managed exactly as the old population. It is just a question to maintain them separated from the FI point of view.
    Do you already faced a problem like this? And which is your feedback?
    Thanks and Regards,
    Gaetano

    Creation of new company code is depending on the legal reason...if you legal department and Finance users decide that this new company is a separate legal entity and Profit & Loss will reported separate, Tax Id number is different from parent company, then all this means that this newly acquired company will need a new company code in SAP. Then comes how they want to do the costing...that may also require them to report all the salary cost to this new company code.
    Whether it is a new company code or old company code...you would required to identify these new entity as Personnel area or personnel subarea right?
    If the Tax id number is different, then it is best recommended to create a separate enterprise structure and bring the employee under the new CC/PA/PSA.
    If the tax id is same, only for costing and PnL , then you can use the existing Enterprise structure and override the costing logic using the Substitute cost center or overriding BAdI in HR-FI posting.
    Let me know your feedback

  • Impacts of new company code currency

    Hi Gurus,
    We have a company code which is setup 2 months back. We have it setup with USD and this company code is assigend to a controlling area in one -one basis. So it should be fine . But now business want to change the CCode currency.  All G/L and master data is created with USD.  What would be the impacts if we change currency of master data also into new currency?  We have no New-GL . We used special ldgers but just for a specific activity.
    Any thoughts ?
    Thanks,
    GB

    Hi GB,
    If there is no transaction data posted in your company code then you can change the company code currency and in GL Mater data. But if transaction data is already been posted then its better to create new company code with new GL Master data and currency setting and upload transaction data posted in last two months.
    Regards,
    Santosh

  • Internal error while creating new company in sap b1 pl 05

    Hi all
    I installed sap b1 server and clint in PL 05 for USA localization but when I m trying to create new company from login screen system start to create tables but after some time its giving error ''Internal error 101, then system showing that company in list but its not working
    Please help me out
    RIcky

    Hi Ricky,
    We had a similar issue and found we had to create the database on another server & restore it. I think, but didn't get around to proving, that the issue occurs where the license service is running using trusted connections

  • Creating new company in sap b1 8.8

    Hi
    While creating new company in SAP-B1 8.8, it's giving me the following information.
    "Company was not added to read-only DB user. Read-only DB user must be updated manually"
    I had also given the SITE password and created  the new company successfully.
    Can anyone help me on this please.
    regards
    Sriram.L

    Hi Deepak
    Thanks for Your response.
    I followed the steps you mentioned. While doing that, it's asking for Read Only Db User ID & Password.  If i give new ID & Password it gives the following information.
    "A Read Only DB USER is assigned for all Company Database, Adding a read only DB user is irreversible. Do you want to continue"
    Can you please guide me how this can be taken forward.
    regards
    Karthik

  • To create a new company in business one

    How would I create a new company in business one that exisited on another system?

    Hi Jonathan,
    You can take back of Existing Database from that Server Server 1.
    Then in other Server Server 2 in SQL, Create one database in SQL and then Restore Back up of Database which you have taken from another Server i.e. Server 1.
    After Restore of Database in Sever 2 in SQL, you can Login in Restored Database which you have done just now.
    In Addition, Please check below link.
    Back Up and Restore of SQL Server Databases
    How to restore SAP Business One Backup?
    Hope this help
    Regards::::
    Atul Chakraborty

  • Problem in Create New company

    Hi ,
    I tried to create new company , i got error message like
    below" NO MATCHING RECORD FOUND "SEARCH FUNCTION CSHE- ODBC -2028"
    i AM USING SAP B1 2005B WITH PL40
    REGARDS
    SRINIVAS

    Dear ,
    In some cases this message appears when the decimal settings were
    changed and the documents to be reconciled were created with different
    decimal places.
    Please follow the following steps in the Copy of the database :
    1) Goto the Administration > System Initialisation > General Settings >
       Display Tab and change the "Amount" of decimal to 6 digits.
    2) Goto the Reconciliation and bring the entries to be reconciled.
    3) You can check that there's a difference in there to be reconciled
       enteries.
    4) Creating a balancing entry for the decimal amount.
    5) Reconciliation is successfully done.
    If the steps above could not solve your issue, please also check the currency setting in your sysytem for the currency using in the transaction that you are trying to do the internal reconciliation. Please also change the currency decimals to 6 and check whether there is amount difference between the two transation.
    Also you could check whether your issue is related with the note 1126690 below.
    Symptom
    When a business partner does some automatic reconciliations, but has
    no manual reconciliations, running Restore BP Balance corrupts the
    Reconciliation No. counter of this BP. The following error may occur
    when you perform reconciliation for this BP:
    Internal error "(JDT1) (-2007)
    Other terms
    Restore BP Balances, Business Partner Master Data, Reconciliation,
    SAP Business One.
    Reason and Prerequisites
    Application error.
    Solution
    This issue was fixed in 2005B PL39 and 2005A SP01 PL44. In the patches
    afterwards, restore BP balance could resolve the issue.
    Wish the information above is helpful for you.
    Thanks
    Apple

  • Unable to create New Company

    We are using SAP business One 2005 B  SP00 PL 06 , while creating New Company it display error message like entry already exist in table SEWSY.
    Please provide help.

    hi bhavnish,
    i think you have to restart your system and then again try to create new company.
    i have try to create a company, its not given any error to me.
    i you able to check your database, then make sure SEWSY table in SBO_COMMON database are blank.
    i have checked my database, this table does not have any value.
    hope it will help.

  • How to create stored procedures automatically when creating new company

    I need to create a method in our add-on Business One application that will create stored procedures at the time we install the add-on (when the new company is created).  Where would I store the SQL scripts, and what SAP Business One commands do I need to use to build the stored procedures into the new company database? Can someone give me an example of how to do this?  We are coding in C#, but an example in visual basic would also be helpful if no one out there in forum land uses C#   
    Thanks,
    Nancy Walk
    [email protected]

    Hi Nancy!
    Of course are there people here that use C#
    To solve your problem, create a routine in your add-on that checks at startup if the stored procedures are present. If they are not, create them. You can use the DI-API, or just add them directly to your database.
    <i>Note: SAP does not like it when you play around directly in the SAP databases, and does not supply support for databases that are changed manually. You'd better use the DI-API...</i>
    Hope it helps...
    Grtz, Rowdy

  • How can I create a new table in a MySQL database in MVC 5

    I have an MVC 5 app, which uses MySQL hosted in Azure as a data source. The point is that inside the database, I want to create a new table called "request". I have already activated migrations for my database in code. I also have the following
    code in my app.
    Request.cs: (inside Models folder)
    public class Request
    public int RequestID { get; set; }
    [Required]
    [Display(Name = "Request type")]
    public string RequestType { get; set; }
    Test.cshtml:
    @model Workfly.Models.Request
    ViewBag.Title = "Test";
    <h2>@ViewBag.Title.</h2>
    <h3>@ViewBag.Message</h3>
    @using (Html.BeginForm("SaveAndShare", "Home", FormMethod.Post, new { enctype = "multipart/form-data" }))
    @Html.AntiForgeryToken()
    <h4>Create a new request.</h4>
    <hr />
    @Html.ValidationSummary("", new { @class = "text-danger" })
    <div class="form-group">
    @Html.LabelFor(m => m.RequestType, new { @class = "col-md-2 control-label" })
    <div class="col-md-10">
    @Html.TextBoxFor(m => m.RequestType, new { @class = "form-control", @id = "keywords-manual" })
    </div>
    </div>
    <div class="form-group">
    <div class="col-md-offset-2 col-md-10">
    <input type="submit" class="btn btn-default" value="Submit!" />
    </div>
    </div>
    @section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
    HomeController.cs:
    [HttpPost]
    public ActionResult SaveAndShare(Request request)
    if (ModelState.IsValid)
    var req = new Request { RequestType = request.RequestType };
    return RedirectToAction("Share");
    The point is that, I want the user to fill the form inside the Test view and click submit, and when the submit is clicked, I want a new entry in the new table to be created. But first of course I need to create the table. Should I create it using SQL query
    through MySQL workbench? If yes, then how can I connect the new table with my code? I guess I need some DB context but don't know how to do it. If someone can post some code example, I would be glad.
    UPDATE:
    I created a new class inside the Models folder and named it RequestContext.cs, and its contents can be found below:
    public class RequestContext : DbContext
    public DbSet<Request> Requests { get; set; }
    Then, I did "Add-Migration Request", and "Update-Database" commands, but still nothing. Please also note that I have a MySqlInitializer class, which looks something like this:
    public class MySqlInitializer : IDatabaseInitializer<ApplicationDbContext>
    public void InitializeDatabase(ApplicationDbContext context)
    if (!context.Database.Exists())
    // if database did not exist before - create it
    context.Database.Create();
    else
    // query to check if MigrationHistory table is present in the database
    var migrationHistoryTableExists = ((IObjectContextAdapter)context).ObjectContext.ExecuteStoreQuery<int>(
    string.Format(
    "SELECT COUNT(*) FROM information_schema.tables WHERE table_schema = '{0}' AND table_name = '__MigrationHistory'",
    // if MigrationHistory table is not there (which is the case first time we run) - create it
    if (migrationHistoryTableExists.FirstOrDefault() == 0)
    context.Database.Delete();
    context.Database.Create();

    Hello Toni,
    Thanks for posting here.
    Please refer the below mentioned links:
    http://azure.microsoft.com/en-us/documentation/articles/web-sites-dotnet-deploy-aspnet-mvc-app-membership-oauth-sql-database/
    http://social.msdn.microsoft.com/Forums/en-US/3a3584c4-f45f-4b00-b676-8d2e0f476026/tutorial-problem-deploy-a-secure-aspnet-mvc-5-app-with-membership-oauth-and-sql-database-to-a?forum=windowsazurewebsitespreview
    I hope that helps.
    Best Regards,
    Sadiqh Ahmed

  • How do I create a new emkey for Enterprise Manager Database Control?

    Hi,
    I just installed 11gR2.
    I am evaluating it.
    How do I create a new emkey for Enterprise Manager Database Control?
    I tried various combinations of this command:
    emctl config emkey
    I did find a probable bug:
    $ emctl config emkey -emkey -emkeyfile emkey.ora -force -sysman_pwd he11ow0rld
    Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
    Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
    Undefined subroutine &EmKeyCmds::promptUserPasswd called at /u2/app/oracle/product/11.2.0/dbhome_1/bin/EmKeyCmds.pm line 160, <FILE> line 3.
    $
    Again,
    How do I create a new emkey for Enterprise Manager Database Control?
    I do have a copy of my old key but it is no longer good because I reinstalled the repository with these commands:
    emca -repos drop ...
    emca -repos create ...
    Oh, and where is emctl "documented".
    I poked around in some book-index links and with the search engine.
    I could not find anything.
    Thanks,
    -Janis

    user11892726 wrote:
    Oh, and where is emctl "documented".
    http://download.oracle.com/docs/cd/B16240_01/welcome.html

  • Is it possible to create a new table in the master database with SSMS ?

    Hello ,
    I have problems with this thread :
    http://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/5153c43b-7844-41c4-a414-d14730abe435/
    If no user database has been created , in SSMS , we can see only the 5 system databases ( master, msdb , tempdb... ).
    Logically , the user should connect automatically on the Master database ( if the user is the same as this used to install a new SQL Server instance, this user should be sysadmin that's to say he/she has all possible permissions and especially dbcreator ).
    Is it true that it is impossible to create a new table on the master database ?
    I have done many researches about this possibility , all I have found is the advice : don't touch to the master database. This database is used to store critical information about the instance and its user databases. Even in the last book of Kalen Delaney
    about SQL Server 2012 Internals , I have found nothing clear about the creation of tables in this database ( and what about the other system databases ? I am excluding tempdb ).
    If someone has an idea about this thread and my questions , I would be thankful for a reply on this thread or on the related thread in the SQL Server Express Forum ( with my poor written English , I am not sure to have poster in a correct and understandable
    way ).
    If you think that this thread is not in the good forum , a moderator of this forum can move this related thread ( I have not done the move as I am not sure which is the good forum Database Engine or Transact-SQL ... )
    Thanks beforehand and have a nice day.
    Mark Post as helpful if it provides any help.Otherwise,leave it as it is.

    >>Logically , the user should connect automatically on the Master database ( if the user is the same as this used
    to >>install a new SQL Server instance, this user should be sysadmin that's to say he/she has all possible permissions and >>especially dbcreator ).
    If you add the current user during the installation you can have it as system admin , or you can add him/her later on
    in SQL Server. BTW regarding dbcreator I have wrote some blog , need to read... :-)
    http://sqlblog.com/blogs/uri_dimant/archive/2010/09/02/be-careful-to-grant-dbcreator-server-role-to-the-user.aspx
    You can (if you have needed permissions) to create objects in master database, usually I create objects for instance maintenance (like rebuild indexes...) 
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • Error while creating sales order for a new company code

    Hello SD Gurus,
    The client wanted us to create a new Company Code, Plant, and Sales Organization. We created them. I extended the customer and material in QAS. Now, I'm trying to create one sales order in QAS but the system is throwing one error: "Maintain Profit Center Value in Custom Table in YSD_PROFIT_CNTR".
    I googled for this error but found nothing. Could you please give me the solution asap. I need to prepare test script.
    Thanks in advance
    Regards,
    Anwar

    Dear Mohammed,
    The error message itself states where is the issue. You need to maintain the profit center in table
    YSD_PROFIT_CNTR. This is not SAP Standard provided solution. I guess during the time of implementation team has suggested to maintain the profit center in custom table.
    If the table is"maintenance view" then you can check through SM30 and maintain the relevant entry. If not check if there is any transaction code with attached to this table. This you can check by going through SE93 and by entering Z* or ZSD* or Y* or YSD* and press F4, If the transaction code is starting with Z or Y it will open all the list of transaction codes. By going through the description of the transaction code. you can pick the right transaction code in case if any exists for this table.
    Hope this information is useful to you.
    Regards
    Murali

  • Error in creating new Company

    Hi All,
    I am getting error when i tried to create new company that "Error in Creating files".
    This Error is comming after some tables are created and Finally
    new company is created but some data like GL Accounts,Languages,... etc are not cop[ied
    Plaese resolve the problem
    Regards
    Srinivas

    Hi Sura,
    When you failed to create a new company, nothing can be done but recreate a new one as soon as you find where it went wrong.  Log to SAP support might the one viable choice if you could not figure it out.
    Thanks,
    Gordon

Maybe you are looking for

  • CSCth57521 - percentFABRIC-SP-3-SYNC_FAILED the module in slot 7 could not synchronize wit

    Hi team, please help me in the below query. Is this below bug is fixed in 12.2(33)SRD7.? Bug id : CSCth57521 Regards, JR

  • Is It Me or Have The Windows Updates Slowed Down?

    I haven't seen any new Windows Updates since weeks ago, basically those that came in right after I installed Windows 8.1 from disc. I'm sure I have it set up correctly, but Windows Update has simply been reporting that there are none available.  I ha

  • Nokia 500 Gallery problem.

    hi. On my NOKIA 500 whn i go 2 files every sub file is not shown bt memory shows tht there is smethng in my memories. If i open files using adobe i can access everythng in my memories. Wht may be th problem. Also my captured pics only appear in galle

  • Trial 2.0.1

    On the upgrade page it says current trial users can download the 2.0.1 for the remainder of the trial. It doesn't accept the trial code as upgradable and clicking on the trial download image brings down the original 2.0 version. I tried using the lin

  • NI-2530B Switch Scan List

    I am having issues with the 2530B reading in my scan list. I have had no issues until now. In Test Stand I create a scan list, Example: "ch0->com0 & com0->pcom1 & ch16->pcom1;". When I intialize, configure, initiate, etc the switch acts correctly. Wh