Sales orders from one salesorg. to another in same ssystem

Hi Guys,
           I got a requirement like we need to convert or recreate sales orders from one sales organization to another sales organization in the same system without having any impact on the existing system.
Any one have idea how to do it and is there any standard program to do this? is there any standard procedure for that>?
Thanks in advance.
Ram sri

Hi Ramgopal,
I never had this scenario, but the main step would be
Define 2 logical systems: a sender and a receiver
Assign one of them to the client
Set up distribution model
Generate partner profiles
Set up converter (not filter!) /Application Link Enabling (ALE)-> Modelling and Implementing Business Processes-> Converting Data Between Sender and Receiver
Here you can set up conversion rule for your sales org field.
All of this step could be done in transaction SALE.

Similar Messages

  • Transfer of sales orders from one plant to another

    Dear all,
    My requirement is as follows:
    I have created some 500 sales orders (open) in one sales org+plant.
    Now due to plant shifting to other area, I want to transfer all the above open sales orders to another sales org+plant.
    One option is to create them manually. But that is time consuming and prone to errors.
    Second option is to upload thru LSMW. That too is very tedious.
    Third option is to extend/assign new plant to the old sales area and change the plant in the orders. But I want in the new sales org + new plant.
    Is there any other option by which I can transfer the above sales orders from one plant to another?

    Hi SAPshed,
    The problem is not the change of plant, which is standard functionality, but the change of sales organization.
    An awful lot of information depends on the Sales Organization: Company code (!!), customers, materials, prices, profit center, etc.
    SAP does not even admit creating a sales order in a Sales Organization A with reference to a sales order with a sales organization B.
    IMHO your best option is to try to maintain the current Sales Orders with the current Sales Organization and change the Sales Order in VA02 (your third option).
    If you are absolutely sure that all materials and customers are created for the new Sales Area in the same way and that prices (discounts) are the same, you might want to do a direct update to VBAK table to change the Sales Organization (nasty!), but be prepared for the consequences (no SAP support in case of problems, you are on your own).
    Therefore if you insist on a different Sales Organization, then option 2) will be your best best.
    Best Regards,
    P.S. IMHO it is Best Practice to have a unique Sales Organization / Company Code.

  • How to Add Sales order from one database to another database

    Hi All,
    I am trying to add sales order with sales order object.
    I have completed connectivity from one database to another database.
    but i am unable to post sales order with orders object.
    My code is
    ObjSales = objMain.objUtilities.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOrders)
                ObjSales.DocDate = Date.Parse(System.DateTime.Now().ToString("d"))
                ObjSales.DocDueDate = Date.Parse(System.DateTime.Now().ToString("d"))
                ObjSales.TaxDate = Date.Parse(System.DateTime.Now().ToString("d"))
                ObjSales.CardCode = "C0006"
               ObjSales.Series = 92
                ObjSales.PaymentGroupCode = 3
                ObjSales.Comments = "vivek"
               ObjSales.Lines.ItemCode = "5127"
               ObjSales.Lines.Quantity = 100
               ObjSales.Lines.UnitPrice = 10
               ObjSales.Lines.WarehouseCode = "01"
                ObjSales.Lines.TaxCode = "0"
                ObjSales.Lines.DiscountPercent = "0.00"
                ObjSales.DocTotal = 1000
                 If ObjSales.Add <> 0 Then
                   objMain.objApplication.SetStatusBarMessage("Sales or Not Posted", SAPbouiCOM.BoMessageTime.bmt_Short, True)
                   Exit Sub
                  objMain.objUtilities.ShowSuccessMessage("Sales Order Posted successfully")
                End If
    The above code is executing successfully.But the Sales order is not getting added.
    Thanks in advance.

    Hi Vivek,
    If the code you posted is not throwing any errors, then the order really does get created. Apparently just not to both databases, am I correct ?
    vivek.Y wrote:
    > I have completed connectivity from one database to another database.
    That means that apparently you have not gotten this bit right.
    Generally speaking if you want to create an order into two databases, you first need to connect to both databases and create separate order objects for each database. So you need to do this bit twice; once for each database. Something like this:
    ObjSales1 = objMain.objUtilities1.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOrders)
    ObjSales2 = objMain.objUtilities2.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOrders)
    Then at the end you also need to add both objects separately:
    If ObjSales1.Add <> 0 Then
    If ObjSales2.Add <> 0 Then
    Good luck,

  • Problem in Creating Sales Order From One DB to another DB

    Hello All,
    I am trying to create a Sales Order in another database from the current database based on the Purchase Order but while creating the sales order system is throwing an error " In "To Whse" enter valid values [ZAPp 0] "
    My Code for Creating Sales Order in another DB are as follows :-
                 '==== Connect To another SAP Company ====='
                Dim oCompany_DB As New SAPbobsCOM.Company
                oCompany_DB.Server = "OSL_SERVER"
                oCompany_DB.LicenseServer = "OSL_SERVER"
                oCompany_DB.UseTrusted = False
                oCompany_DB.CompanyDB = Database_Name
                oCompany_DB.UserName = SAPUserName
                oCompany_DB.Password = SAPPassword
                oCompany_DB.DbUserName = DBUserName
                oCompany_DB.DbPassword = DBPassword
                oCompany_DB.DbServerType = SAPbobsCOM.BoDataServerTypes.dst_MSSQL2005
                lRetCode = oCompany_DB.Connect()
                If lRetCode <> 0 Then
                    oCompany_DB.GetLastError(lErrCode, sErrMsg)
                    If (lErrCode <> -4006) Then
                    End If
                End If
    '===== Creating the Sales Order ====='
      Dim oOrder As SAPbobsCOM.Documents = oCompany_DB.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOrders)
                Dim DocDueDate As String = oRecord.Fields.Item("DocDueDate").Value
                oOrder.DocDueDate = DocDueDate
                oOrder.CardCode = Customer
      While Not oRecord.EoF
                    Dim ItemCode As String = oRecord.Fields.Item("ItemCode").Value
                    Dim WhsCode As String = oRecord.Fields.Item("WhsCode").Value
                    Dim Quantity As Double = oRecord.Fields.Item("Quantity").Value
                    Dim Price As Double = oRecord.Fields.Item("Price").Value
                    Dim Discnt As Double = oRecord.Fields.Item("DiscPrcnt").Value
                    Dim TaxCode As String = oRecord.Fields.Item("TaxCode").Value
                    oOrder.Lines.ItemCode = ItemCode
                    oOrder.Lines.WarehouseCode = WhsCode
                    oOrder.Lines.Quantity = Quantity
                    oOrder.Lines.Price = Price
                    oOrder.Lines.DiscountPercent = Discnt
                    oOrder.Lines.TaxCode = TaxCode
                End While
                lRetCode = oOrder.Add
                '=== Check For Error if any ===='
                If lRetCode <> 0 Then
                    oCompany_DB.GetLastError(lErrCode, sErrMsg)
                    If (lErrCode <> -4006) Then
                    End If
                End If
    When i execute the above code company gets connected but sales order not getting added in another company.

    You can not do it the alternate way Kevin suggests, direct DB inserts are prohibited by SAP and can corrupt your DB, particularly because unlike what most people think, all SAP documents affect more than just their own tables (e.g. the numbering table, the history tables).
    Are you getting any error message, or is it returning 0?
    If it is returning 0, then check is the document actually going to the newly created database or maybe somehow going to old one.
    If it isn't returning 0, what is the error code and message.
    Also I do see an error in your code. As it stands, you are adding an empty line to the end of every order. This can cause problems for SAP.
    Dim counter As Integer = 0
    If counter <> 0 Then 'Not equals 0, forum hides lt & gt symbols.
    End If
    counter = counter + 1
    oOrder.Lines.ItemCode = ItemCode
    oOrder.Lines.WarehouseCode = WhsCode
    oOrder.Lines.Quantity = Quantity
    oOrder.Lines.Price = Price
    oOrder.Lines.DiscountPercent = Discnt
    oOrder.Lines.TaxCode = TaxCode
    Edited by: njmog1 on May 9, 2011 10:14 AM

  • Sales Order from one SAP to another SAP system thru ALE

    I am trying to send a Sales order IDOC from one SAP system to another SAP system (basically from DEV to QAS). Will i be able to do this using ALE ? If so, how ? I don't want this Sales order to be posted as PO in QAS. I want it to stay as a sales order.


  • Transfer sales orders from one compnay code to another

    Is it possible to transfer pending sales order from one company code to another? if yes please let me know complete procedure.

    You cannot transfer the sales order like this.If your company is getting closed then you can keep a deadline date before which you can close all the open orders and after that you can start creating the orders in the new company code.
    If your delivery date is beyond the deadline date then you can reject the sales orders and create them with new G/L accounts from the new company code.
    For this,you have to assign your sales organisation to the new company code.
    Reward points if it helps.

  • How can I migrate everything from one account to another on same computer?

    How can I migrate everything from one account to another on same computer?

    Transferring files from one User Account to another

  • How to Copy documents (like Sales Order) from one Company/Database to another

    Hi everyone!
    I'm developing an AddOn for SAP 9.1 version.
    Part of this implementation is to import some data from a Sales Order Document from one Company to another (Document selected by "DocNum" by the user).
    So, my doubt is: after select data saved in arraylist, how I fill the document with that values saved in my arraylist ?
    I wish you could help me.
    Diogo Carvalho

    Hi Diogo,
    You can achieve this requirement and you will be required to get user credentials for your 'copy from' company to make a connection.
    After you make the connection with your 'copy from' company, you can provide a screen with a matrix which have the document numbers of the type of document you want.
    Create two documents of the type you want from each company. You can fill the document which created from current company while you reading from the document which created from 'copy from' company using get by key method.
    Most importantly, the master data of the two companies should be same. Otherwise, you will have errors in creating the document or document won't be identical.
    Hope this will helpful to you.
    Best Regards,
    J S L Geeganage

  • Transfer app from one account to another with same SKU number

    I want to transfer a application from one account to another and i get this error:
    You cannot transfer apps with a App product ID that is the same as a product ID used by the recipient's app.
    The Apple ID for both applications is different.
    The only thing in common in the SKU number which i have to admit, is poorly chosen for both apps - 01.
    I don't want to re-submit my apps so i can choose a new SKU number for one of them.
    Is there any way i can transfer them ?
    I think you should be able to choose a new SKU number when you transfer to another account because your app is going to belong in a new inventory.

    Found the answer today from Apple:
    "It is not possible to transfer an app that has an identical SKU/product ID to another app on the recipient's account. If you would like the app to be distributed on the App Store through this specific account, you will need to remove it from sale, delete it from the current account, and then upload it as a new app in the new account. Deleting the app will enable you to use the app name in the new account.
    When you move the app to the new account, you will disable current customers from receiving automatic and free updates of your app. Also, all customer reviews, rating, and ranking information will be reset.
    Deleting an app permanently removes the app and any associated In-App Purchases from iTunes Connect. After the app has been deleted, you won’t be able to reuse your app name and SKU. Also, if you have uploaded a binary or enabled the app for the iAd Network, you won’t be able to reuse your Bundle ID.

  • Can't download song purchased from Itunes from one computer to another using same Apple ID

    Hi, I am operating itunes 11 at home, using Mac OS 10.7.5.. I purchased a song at work (also a Mac, I am not sure which version of OSM or itunes). I accessed the purchase of the song in the "Purchased" menu option in itunes on my home Mac. When I tried to download the song at home so I can include it in my Library, I got the following message:
    This computer is already associated with an Apple ID. You can download past purchases on this computer with just one Apple ID every 90 days.
    So: just to be clear:I can only buy something from  itunes from one computer and save to another with the  same Apple ID only every 90 days??? And if that is the case, I have not purchased anything from my work computer within 90 days of this recent song  purchase. That just does not make sense to me, since the license covers 10 devices anyway, and I am using the same Apple ID.
    Let me know if I am not understanding this correctly, or am doing something wrong. It just does make not sense to me that I can't download a purchase I made from one computer to another since I am paying Apple for the music and just accessing it elsewhere, using the same account.
    Thanks so much.

    Thanks for the response. Yes, my husband logged on to our computer and rented a movie for us to view. That is how we use Itunes: I purchase the music, he may purchase a movie or a rental now and then. This is new, it never happend before.
    Also, I contacted customer support, both by phone and email. Not only does someone else using the home computer under a different account trigger this, but so does simply activating my own user id from a different computer (one of the 5 I am allowed to under the service agreement.)
    Customer support was very helpful and lifted the 90 day ban. I called them because I purchased a season pass of a TV show and could not download the first episode because it was a "past purchase" (the episode was not even available to download when I purchased the pass, so “past” is indeed relevant.)
    But I don't see the point of purchasing content from Apple now. This feature limits the accessibility of legal purchases under the service agreement.  Why allow 5 computers per Apple ID if activating one of them limits the ability to download content for 90 days??
    I (used to) buy movies, rentals and TV shows all the time. I don’t have cable, so Apple was the source for all “must have” shows that I couldn’t wait for. Too bad.

  • Export and Import a page from one application to another within same WKSPCE

    Can anyone help me out in moving a page from one application to another within the space workspace. I tried to export it and then import the page, but I am not able to do that. I think the problem is with the application IDs.
    Plz help me out with this issue.

    Hi Orton,
    moving a page from one application to another within the space workspace
    This U can get it, through copying the page from one application to another application within the same workspace
    In the top of the page, you have "copy" option.

  • Transferring EVERYTHING from one computer to another w/ same source

    I want to transfer all my iTunes files (playlists, music, play counts, everything) from one computer to another, on account of the logic board of my old one is messed up and I want to get everything on my Mac Book Pro.
    When I was using my old computer, I had my iTunes folder on an external hard drive, which would then be the source of all the music and where the new music would automatically go. So I have the external hard drive, and I can't save the playlists from my old computer because I can't use it.
    So how do I transfer all the information? I've tried doing the whole "delete iTunes Data, import XML file" thing and it says it doesn't detect certain music and therefore doesn't place everything where it needs to be.
    Any help?

    Well the way to work around it I think would be to remove the hard drive from your broken computer, assuming of course that your broken computer is broken because of something else besides the hard drive.
    Put that drive into an external enclosure. Hook up to the new computer. Copy the iTunes stuff from the old drive into the new computer overwriting the existing database files on the internal.
    Now with the other external hooked up, start iTunes and see if it then sees everything properly.

  • How to migrate Distribution list from one domain to another within same forest

    we are in the process of migrating all users mailbox, DL and contacts from one domain to another within a same forest.
    can some one please let me know how can we migrate them without loosing the group membership and exchange attributes.
    Kindly help.
    Srinivasa K

    I ran all of them 
    First Command , it works very well and its removed the exchange attribute
    $DomCtrlr = (Dir env:Log*).Value.Replace('\','')
    Get-MailContact -OrganizationalUnit Contacts -DomainController $DomCtrlr | Export-Csv E:\MailContacts.csv
    Get-Contact -OrganizationalUnit Contacts -DomainController $DomCtrlr | Export-Csv E:\UserContacts.csv
    Import-Csv MailContacts.csv | Disable-MailContact -DomainController $DomCtrlr
    Second command
    $DomCtrlr = "DCNAME"
    $MailContacts = Import-Csv E:\MailContacts.csv
    $UserContacts = Import-Csv E:\UserContacts.csv
    after running the above command, I copied below on note pad and saved as .PS1 , as per your advise I make sure that starting with new-mailcontact and below 2 are is same line and Executed the ps1 script.
    Scipt rans but didnt give me any error mesage.
    ForEach ($Contact in $MailContacts) {
        $UserContacts | ? { $_.SamAccountName -eq $Contact.Alias } | % {
            New-MailContact -DomainController $DomCtrlr -LastName $_.LastName -FirstName $_.FirstName -Alias $_.SamAccountName -DisplayName $_.DisplayName -Name $_.Name -ExternalEmailAddress $Contact.ExternalEmailAddress -OrganizationalUnit
    Test_con    }
    By Running
    $MailContacts : it provided the stored value for users
    $UserContacts: it
    provided the stored value for users
    after runing below in  single notepad as .ps1 , not getting error message , but its not giving any
    output nor error.
    suspecting something needs to b checked on for loop
    ForEach ($Contact in $MailContacts)  {
        $UserContacts | ? { $_.SamAccountName -eq $Contact.Alias } | % {
    Hope this explained clearly.
    Srinivasa K

  • How to transfer itunes purchased music from one account to another on same family computer

    how to transfer itunes purchased music from one account to anither on same family computer?

    Move it to the /Users/Shared/ folder.

  • Copying sales order from one company code to other

    I am trying to copy one sales order data from one company code to another, all the details should be same other than the company code and some fields , for this I am using std BAPI Getdetail to get all the details of sales order and passing to BAPI, CREATE FROM DAT2 , so that I create new order.
    When I check the new order, I see everything same but CANCEL DATE value in the ITEM Overview is not copied, I checked the original order , it has cancel date value. The order is an AFS order with AFS tabs.
    I Checked the BAPI GET Detail FM, it doesn't retrieve that information, moreover it doesn't have that field ( J3_ACADA) in the ITEM structure. I can see cancel date value in VBAP. The ITEM structure in CREATE FROM DAT2 also doesn' have that field.
    I can populate using USER_EXIT but I need to get the value from original order.
    How to copy the cancel date value to new order.It should happen only for the orders which I run through this report.
    Any suggestions let me know.

    Hi Uma,
    As my understand, the couple Tcode FS15 and FS16 is used to copy GL master data from in same client or different client.
    The file attract from FS15 will be stored in SAP, not in your local computer.
    And when you run FS16, the system will file this file and upload it.
    Here is selection screen in FS15, you can determine the file name, and keep the batch input name as default.
    After executed, the file is generated with message like below
    Then, go to tcode FS16 with parameter:
    You can untick "Check file only" for Production run.
    When you execute it, the batch input RFBISA20 is generated.
    After that, you go to tcode SM35 to check the batch input RFBISA20, excute this batch input here and check the log.

Maybe you are looking for

  • Downloading to Application server

    Hi gurus, My requirement is to download a file to application server in background mode by DYNAMICALLY SELECTING THE DIRECTORIES AVAILABLE in application server. i.e. i must display all the directories available in application server in the selection

  • How did you know your idevice will be activation lock ?

    I bought used iPad mini (only the body) at present it's work well I could use my Apple ID, buy some apps and update the FW via OTA. I heard from amny person If I restore and maybe it could not work unless I do not know the username and password of th

  • Ios6 & iPhone 4 tethering and bluetoothproblems

    Updated MacBook Pro and now iPhone 4 won't tether or Bluetooth. Tried resetting phone and updating iTunes but no results. Also tried a friends iPhone with same results. Anybody have any suggestions? Tinkered with all settings  I could find

  • Error message during the installation of assembly, refer to help and support for more information: HRESULT :0x80070BC9

    I am trying to download iTunes for my ipod touch. Everytime I start the installation proccess I get this error message An error occurred during the installation of assembly 'Microsoft.VC80.CRT,type="win32".version="8.0.50727.4053",publicKeyToken="1fc

  • How to reinstall all packages in the system?

    I accidentaly remove whole /usr directory, so all installed apps are gone. I then installed the basic system from the install CD, all user and system configuration leave untouched. pacman even remember what packages were installed, when i try install