Copy Open sales oder from one DB to Other DB

Hi Expets,
Can any one help me how to copy Open Sale Order from one data to another Database which exact replica(Both are Same configration)
Kathi.

Karthi,
I could give you some guidelines as you only know about the complete business data.
You will need Header and Row level data.
Header Data:
DocNum, CardCode, DocDate, DocDueDate, SlpCode, GroupNum, TrnspCode
Row Data:
ItemCode, Quantity, Price, {any other additional row data....}
Suda

Similar Messages

  • ABAB programm to copy material sales text from one sales org to another?

    Hi all,
    i'm searching for a ABAP programm to copy a material sales text from one sales org to another.
    Has anybody seen something like that before or has anybody an idea how to do this?
    Greetings & TIA
    strobbel

    @Narin
    I've tried to execute both code now over a new programm in the se38 and i get a error message from the first code (http://www.sap-img.com/abap/bapi-to-copy-materials-from-one-plant-to-another.htm).
    It's called:
    "BAPI_MARC1" cannot be converted to a character-type field.
    Could you help me to solve this?
    Sorry but i'm an absolutely newbie in things like ABAP and so on ...

  • I have two external HDs, I plugged both in my iMac. I can open both but I can't copy or move from one to the other any help?

    I have two external HDs, I plugged both in my iMac. I can open both, I cn move files to my mac. but I can't copy or move files from one EHD to the other EHD any help?

    I assume your External HDDs are formatted in NTFS. With this format OSX can see files and copy from but cant copy or move to those devices. You need to install any third party software to enable both way copy/move feature. You can use TUXERA NTFS in OSX. It is fantastic software to solve your problem.

  • Migrate all Open Sales Orders From Legacy System (SAP) To SAP System using

    Hi Experts,
                 I've to Migrate all Open Sales Orders From Legacy System (SAP) To SAP System using Business Objects with a new SALES ORDER DOCUMENT NUMBER referencing the older one.
               I'll get all the required data with field in an excel file.
                 Does any standard transaction exist for it ? Or how to go ahead with it ?
    Thanks and regards,
    Jyoti Shankar

    Hi
    If you are checking for CREATE option then Sales Doc Type
    For more Info goto SWO1 transaction -> BUS2032 --> DIsplay --> Execute --> There SELECT the method which you want to perform... There you can fine the MANDATORY parameters also....
    Or in DISPLAY mode PLACE Cursor on the Required Method and CLick the PARAMETERS button on toolbar...
    That will show the MANDATORY parameters...
    Reward if helpful....
    Message was edited by:
            Enter the Dragon

  • Migrating Open Sales Order From Legacy System (SAP) To SAP System

    Hi Experts,
                 I've to Migrate all Open Sales Orders From Legacy System (SAP) To SAP System using Business Objects with a new SALES ORDER DOCUMENT NUMBER referencing the older one.
               I'll get all the required data with field in an excel file.
                 Does any standard transaction exist for it ? Or how to go ahead with it ?
    Thanks and regards,
    Jyoti Shankar

    hi jyothi ,
       there are lot of ways of doing it depending on data upload volume it will be decided .
    1) thru abap bdc program which directly uses XL sheet data and creates SO using bapi/FMs.
    2) using scat.functional consultant should be good enough to use this.
    3)lsmw-laborious procedure but achievable.
      reward if helps !!!!!

  • 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?
    Regards
    SAPshed

    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,
    Franck
    P.S. IMHO it is Best Practice to have a unique Sales Organization / Company Code.

  • Transfer sales orders from one compnay code to another

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

    Hi,
    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.
    Regards
    Karan

  • I have two iPads about a year old and have 5 full folders of web links that I would like to copy from one to the other.  Both have iCloud but not the same account.  Is there an easy way to grab those folders or the icons and email?

    I have two iPad 2 with separate iCloud accounts.  I want to copy folders of weblinks from one iPad to the other.  Email solution?  Answer needs to be written for a user who doesn't know how to select a folder or a number of icons and email or copy them to something that can be emailed.  I know how to do it one at a time by opening weblink and then emailing the link from safari.

    Good idea. I've already used the feedback for my general suggestions to improve the way Apple handles bug reports (and tried sending it to Steve Jobs too), but I'll send a specific suggestion for a bug app on the iPhone.
    However, my question is whether there is a simple way to send bug reports from the iPhone now that I have overlooked.

  • How do I copy an address book from one user account to another?

    How do I copy an address book from one user account to another?

    You haven't understood me. Follow these steps:
    1. Log in the user where are the files you want to transfer, and open a Finder window.
    2. In Finder, select Go menu (on the menu bar) > Go to Folder, and type /Users/Shared. Now you're on Shared folder, so leave that window.
    3. Open a new Finder window without closing the old one, go to the folder with the files you want to transfer, and copy them to Shared folder.
    4. After copying the files to Shared folder, go to  > Log Out, and log in the other user.
    5. Repeat the step 2, and you will get access to the transferred files. Now, you can open them directly from this folder, or you can copy them to a folder on your user folder

  • I can't copy iTunes media files from one external hard drive to another.

    Hi, I am running the latest iTunes and Mavericks software on my MacBook Pro. My iTunes library is stored on an external Seagate 2tb hard drive and it is almost full. I want to transfer the files to a WD Elements 3tb external hard drive and have made that new volume the destination folder for my iTunes library. However, even though I have enabled read/write on both volumes and made the iTunes media folders on both shared folders, I can't copy all the files from the Seagate drive to the WD drive. It comes up with an error message that says "The operation can't be completed because an unexpected error occurred (error code -8058)". I can transfer files from my MacBook hard drive to the new volume, but can't copy files from the old Seagate volume to my MacBook hard drive; it makes the "boing" sound that indicates it is copying but nothing transfers. Files that won't copy include all music files, some video files and all podcast files. Some transferred with no problem. Any ideas out there?

    Hi Limnos, thanks very much for your reply.
    both external drives came preformatted for Windows but I erased each and reformatted them for Mac before using them.
    i made the destination folder on the new WD drive the new iTunes folder using Advanced preferences in iTunes.
    my original iTunes folder on the first drive contained all my iTunes files, as that, also, was the destination folder that was linked via Advanced preferences.
    If I download new content now with the new drive attached, iTunes has no trouble finding where to place the files.
    in Preferences I have both boxes checked (copy files" and "organize") that deal with copying iTunes files.
    When  I first attempted to copy all iTunes files from one media folder to the other on the external drives, I just did a drag and drop of the whole iTunes media folder from one to the other while both were mounted on my desktop. It started copying immediately with no problems, but as it progressed it started skipping files, each time displaying the error message I reported earlier. that included my entire Music folder. When I open, for example, a season folder that contains files that would not copy, eg, Modern Family Season 5, the episodes that won't copy are there and visible but any attempt to drag and drop them into the correct folder on the new drive results in the error message. There is no pattern to it; it will choose some episodes from some seasons but not others, and no music at all.
    when I look at the "missing" files in  iTunes they have the small exclamation mark that indicates the file is missing, but when I locate it through iTunes it doesn't copy the file on the old external drive to the new one. It just plays it having found the file on the old drive.
    originally I had to make the iTunes folder on the old drive into a shared folder using the Get info window after either a software upgrade or an OS upgrade (I can't remember which, it was several years ago). For some reason the upgrade changed the preferences of that folder to a Read Only folder and after researching the problem found the only way to keep using the drive was to make the folder a shared one. I can't remember why and I apologise for that but it was a long time ago.; I can tell you that at the time it was necessary.
    thanks again for your time; I have a good working knowledge of iTunes and Macs in general so I truly believe I have done everything according to how it should be done,, but clearly I've done something wrong!

  • How to copy-paste frames from one document to other with there respective layers intact?

    Hi All,
         I am facing an issue while copy paste frames from one document to other. I have a 3 frames in first documents each one on different layer. First document has 3 layers. The second document too have 3 layers , I am copying frames from first document to scrapdata using 'ICopyCmdData ' and 'kCopyCmdBoss'. I have 'Paste Remembers Layers' menu 'Checked' on Layer panel. I am using following function to copy frames to scrapdata.
    bool16 copyStencilsFromTheTemplateDocumentIntoScrapData(PMString & templateFilePath)
         bool16 result = kFalse;
        do
            SDKLayoutHelper sdklhelp;
            PMString filePathItemsToBeCopiedFrom(templateFilePath);  //("c:\\test\\aa.indt");
            IDFile templateIDFile(filePathItemsToBeCopiedFrom);
            UIDRef templateDocUIDRef = sdklhelp.OpenDocument(templateIDFile);
            if(templateDocUIDRef == UIDRef ::gNull)                 
                break;
            ErrorCode err = sdklhelp.OpenLayoutWindow(templateDocUIDRef);
            if(err == kFailure)                 
                break;
            InterfacePtr<IDocument> templatedoc(templateDocUIDRef,UseDefaultIID());
            if(templatedoc == nil)               
                break;
            InterfacePtr<ISpreadList>templateSpreadUIDList(templatedoc,UseDefaultIID());
            if(templateSpreadUIDList == nil)                  
                break;
            IDataBase * templateDocDatabase = templateDocUIDRef.GetDataBase();
            if(templateDocDatabase == nil)                  
                break;
            UIDRef templateDocFirstSpreadUIDRef(templateDocDatabase, templateSpreadUIDList->GetNthSpreadUID(0));
            InterfacePtr<ISpread> templateSpread(templateDocFirstSpreadUIDRef, IID_ISPREAD);
            if(templateSpread == nil)                 
                break;
            UIDList templateFrameUIDList(templateDocDatabase);
            if(templateSpread->GetNthPageUID(0)== kInvalidUID)                  
                break;      
            templateSpread->GetItemsOnPage(0,&templateFrameUIDList,kFalse,kTrue);  
            InterfacePtr<ICommand> copyStencilsCMD(CmdUtils::CreateCommand(kCopyCmdBoss));
            if(copyStencilsCMD == nil)                
                break;
            InterfacePtr<ICopyCmdData> cmdData(copyStencilsCMD, IID_ICOPYCMDDATA);
            if(cmdData == nil)                 
                break;
            // Copy cmd will own this list
            UIDList* listCopy = new UIDList(templateFrameUIDList);
            InterfacePtr<IClipboardController> clipboardController(gSession,UseDefaultIID());
            if(clipboardController == nil)              
                break;
            ErrorCode status = clipboardController->PrepareForCopy();
            if(status == kFailure)                  
                break;
            InterfacePtr<IDataExchangeHandler> scrapHandler(clipboardController->QueryHandler(kPageItemFlavor));
            if(scrapHandler == nil)                 
                break;
            clipboardController->SetActiveScrapHandler(scrapHandler);
            InterfacePtr<IPageItemScrapData> scrapData(scrapHandler, UseDefaultIID());
            if(scrapData== nil)                
                break;
            UIDRef parent = scrapData->GetRootNode();
            cmdData->Set(copyStencilsCMD, listCopy, parent, scrapHandler);
            if(templateFrameUIDList.Length() == 0)       
                return kFalse;      
            else      
                status = CmdUtils::ProcessCommand(copyStencilsCMD);    
            if(status != kFailure)
              result = kTrue;
            sdklhelp.CloseDocument(templateDocUIDRef,kFalse,K2::kSuppressUI, kFalse);
        }while(kFalse);
        return result;
    After this I need to close first document. Now I am opening the second document from indt file which has same number of layers as first document. I am trying to paste frames from scrap data to second document using '' 'ICopyCmdData ' and 'kPasteCmdBoss' as shown in follwoing function
    bool16 pasteTheItemsFromScrapDataOntoOpenDocument(UIDRef &documentDocUIDRef )
        bool16 result = kFalse;
        do
               InterfacePtr<IClipboardController> clipboardController(gSession,UseDefaultIID());
                if(clipboardController == nil)
                    break;
               InterfacePtr<IDataExchangeHandler> scrapHandler(clipboardController->QueryHandler(kPageItemFlavor));
               if(scrapHandler == nil)               
                    break;
               InterfacePtr<IPageItemScrapData> scrapData(scrapHandler, UseDefaultIID());
                if(scrapData == nil)
                   break;
                     //This will give the list of items present on the scrap
                UIDList* scrapContents = scrapData->CreateUIDList();
                if (scrapContents->Length() >= 1)
                    InterfacePtr<IDocument> dataToBeSprayedDocument(documentDocUIDRef,UseDefaultIID());
                    if(dataToBeSprayedDocument == nil)
                       break;
                    InterfacePtr<ISpreadList>dataToBeSprayedDocumentSpreadList(dataToBeSprayedDocument,UseDef aultIID());
                    if(dataToBeSprayedDocumentSpreadList == nil)
                         break;
                    IDataBase * dataToBeSprayedDocDatabase = documentDocUIDRef.GetDataBase();
                    if(dataToBeSprayedDocDatabase == nil)
                         break;    
                    UIDRef spreadUIDRef(dataToBeSprayedDocDatabase, dataToBeSprayedDocumentSpreadList->GetNthSpreadUID(0));               
                    SDKLayoutHelper sdklhelp;
                    UIDRef parentLayerUIDRef = sdklhelp.GetSpreadLayerRef(spreadUIDRef);
                    InterfacePtr<IPageItemScrapData> localScrapData(scrapHandler, UseDefaultIID());
                    if(localScrapData == nil)
                        break;
                    if(parentLayerUIDRef.GetUID() == kInvalidUID)
                        break;
                    InterfacePtr<ICommand> pasteToClipBoardCMD (CmdUtils::CreateCommand(kPasteCmdBoss));
                    if(pasteToClipBoardCMD == nil)
                        break;
                    InterfacePtr<ICopyCmdData> cmdData(pasteToClipBoardCMD, UseDefaultIID());
                    if(cmdData == nil)
                        break;
                    if(scrapContents == nil)
                        break;               
                    PMPoint offset(0.0, 0.0);
                    cmdData->SetOffset(offset);
                    cmdData->Set(pasteToClipBoardCMD, scrapContents, parentLayerUIDRef );
                    ErrorCode status = CmdUtils::ProcessCommand(pasteToClipBoardCMD);
                    if(status == kSuccess)
                        CA("result = kTrue");
                        result = kTrue;
                }//end if (scrapContents->Length() >= 1)       
        }while(kFalse);
        return result;
         Here in above function its required to set Parent Layer UIDRef and because of this all frames are getting paste in one layer.
    Is there any way we can paste frame in there respective layers?
         Also I need to work this code with CS4 server and desktop indesign.
    Thanks in advance,
    Rahul Dalvi

    Try,
    // dstDoc must be FrontDocument
    InterfacePtr<ILayoutControlData> layoutData(Utils<ILayoutUIUtils>()->QueryFrontLayoutData());
    InterfacePtr<ICommand> createMasterFromMasterCmd(CmdUtils::CreateCommand(kCreateMasterFromMasterCmdBoss));
    createMasterFromMasterCmd->SetItemList(UIDList(srcMasterSpreadUIDRef));
    InterfacePtr<ILayoutCmdData> layoutCmdData(createMasterFromMasterCmd, UseDefaultIID());
    layoutCmdData->Set(::GetUIDRef(layoutData->GetDocument()), layoutData);
    CmdUtils::ProcessCommand(createMasterFromMasterCmd);

  • How to programmatically copy a OneNote page from one section to another

    How to programmatically copy a OneNote page from one section to another.
    I don't find any interface in OneNote
    2010 Developer Reference which will let me do this.
    any help?
    Regards,
    Umar
    OneNote 2010

    Hi Umarinam,
    Thank you for posting in the MSDN Forum.
    In the page OneNote 2010 Developer Reference, you can see an Application Interface which includes methods
    help retrieve, manipulate, and update OneNote information and content. 
    The below are some basic samples 
    Retrieving Section Metadata in OneNote 2010
    Programmatically Opening and Closing a Notebook in OneNote 2010
    Hope it helps. 
    Best regards,
    Quist Zhang [MSFT]
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • Copy Opening & Closing Remarks from SO to PO

    Dear all,
    Anyone can help how to copy opening & closing remarks from Sales order to Purchase Order.
    Regards,
    Anna

    In which field is the SO Number from where you want to copy the remarks. Get the remarks in some variable using Recordset / Query.
    In the event, when the remarks form is launched copy the conents of those variables in the respective text boxes. or else create a button, to open the remarks form, by activating the menu, and than copy the variables there, and close the form.
    Rahul

  • Copy some workbooks from one user to other

    Hi!
    How can I copy (not share) some workbooks from one user to other?
    The reason to do this is because we are renaming users to other naming pattern.
    Thanks!

    You would first need to share the workbooks you want to transfer ownership of to either the new user name, or a responsibility that the new user has (I am assuming this is an Oracle Applications EUL). The user signs on to Discoverer Plus with their new name. They open up the workbook(s) and then do a SAVE AS. That will save the workbook with them as the new owner. You would then need to sign on with the old owner's name and delete those old workbooks (after first backing them up) once you are sure everything is working okay. Yes, this is a yucky process. What we do is we use a "dummy" user name when we create/modify workbooks. That way the dummy user name is the owner of the workbooks. So it does not matter if a person leaves or if you change user naming conventions. If you have a lot of users creating workbooks, then a dummy user name may not work well. You could always submit an enhancement request to Oracle for a copy function. I expect you would get a lot of customers supporting such a request.
    John Dickey

  • Uploading open sales orders from sap

    hi all,
    i need to upload open sales orders from legacy to sap. pls advice what steps need to be followed for the same.
    1) how we will we download open sales order from legacy and where..... is it to some flat file or some other option is  there . pls tell some options.
    2) how we will uload the sales ordes into sap . thru lsmw or is there some other option ?
    3)  there will be more number of fields in sap than in legacy. i think we need to manully create an excel file and add more fields manually in excel file so that the compulsonry feilds as per sap are present in sap ?
    4) how will availability check happen  in sap after sales order are t/f from legacy ?
    rgds
    pamela

    hi pamela,
    1.a. you need to down load in EXCEL in legact format and convert the same in LSMW format and upload it
    2.a. LSMW - Functionally, BDC, BAPI - Technically. to my knowledge LSMW is better option.
    3.a. first you download to EXCEL file from LEGACY, then align the same to SAP format you can add those fields that are mandatory as per your requriment.
    4.a.You are uploading sales orders in SAP which are showing OPEN status from LEGACY before you uploading the sales orders MM consultant would have uploaded its stock through 561 - dont worry on that, even though if stock is not uploaded also not an issue it will confirm at the later date.
    5.a. we have used LSMW process for our PREVIOUS ASSIGNMENT, before that we tested BAPI for it some how it was not capturing some fields.
    hope all your queries are solved
    balajia

Maybe you are looking for

  • If Records of different list items are entered, then the data is not getting inserted in the table.

    Hi Everyone, A Very Very Happy, Fun-filled, Awesome New Year to You All. Now coming to the discussion of my problem in Oracle Forms 6i: I have created a form in which the data is entered & saved in the database. CREATE TABLE MATURED_FD_DTL   ACCT_FD_

  • Open purchase orders problem

    Hi all, I want to close all open purchase order . MEMASSPO transaction doesnt allow me to close partial open POS ie PO is of 10 QTY & I received 5 qty .Remaining  5 QTY. there are around 1000 PO's are like that . Going  into me22 & delivery completed

  • HT1766 How do I recover pictures and videos not backed up, nor in icloud

    I recently bought an iphone 4s and had them transfer my information from the old device to the new one.  Later I noticed that all the pictures had been transfered from itunes album covers to my camera roll in doubles also, I went home and ignorantly

  • WS not found in application server control after deployment

    Hi, I just tried to deploy fulfillmentESB project(SOADemo Projects) from Jdev to Oracle App server control. But there was no webservice created in Oracle application server control under webservices link....plz help me... Actually the steps which i h

  • I can't down load Creative Cloud on my mac

    Every time I try to down load an app from Creative clue I go to a white screen with four small rotating shares in the middle. This happens every time but nothing seems to be happening. I've even left it 'downloading' over night.