Copying and remove BOR-GOS attachments from one object in other object

As it can be realized

I do here so
  DATA: logical_system LIKE  bapibds01-log_system ,
        all_con LIKE bdn_con OCCURS 0 WITH HEADER LINE
  CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET'
    IMPORTING
      own_logical_system = logical_system.
  CALL FUNCTION 'BDS_ALL_CONNECTIONS_GET'
    EXPORTING
      logical_system   = logical_system
      classname        = 'ZURKART01'
      classtype        = 'BO'
      all              = 'X'
      objkey           =  '2222222222'
      no_gos_docs      = ' '
    TABLES
*   SIGNATURE           = my_signature
      all_connections  = all_con
  LOOP AT all_con.
    CALL FUNCTION 'BDS_BUSINESSDOCUMENT_COPY'
      EXPORTING
        logical_system        = all_con-log_system
        classname             = all_con-classname
        classtype             = all_con-classtype
        client                = all_con-client
        object_key            = all_con-objkey
        doc_id                = all_con-loio_id
        doc_ver_no            = all_con-doc_ver_no
        doc_var_id            = all_con-doc_var_id
        new_classname         = 'BUS2014'
        new_classtype         = 'BO'
        NEW_CLIENT            = SY-MANDT
        new_object_key        = '4644444444'
  ENDLOOP.
FM ' BDS_ALL_CONNECTIONS_GET ' in the table all_con writes down some lines,
But
FM ' BDS_BUSINESSDOCUMENT_COPY ' gives out a mistake - ' nothing_found '
That I do not as it is necessary

Similar Messages

  • Copy and Paste audio track MIX from one track to another??

    Hi
    What's the best way to handle this.
    I have a video with one long music track, that I mixed using Adobe Premiere's Audio Mixer.
    The musician made a new version of the track with some very slight modifications in the music.
    Rather than having to remix the entire new track, I would prefer to either:
    1) Copy and paste the attributes of the orginal audio track onto the new music track -- retaining the Mix I did from the original mix.  Is this possible?  I tried it once and it did not seem to work.  (I used the Mixer, not keyframes, to do all of the mix.)
    or
    2)  Is there a setting in Premiere's Audio mixer to "gang" the new track to the old one -- with the new track cloning the old track's mix.
    Or would it be better to bring the two audio tracks into Soundbooth and do it there?
    Thanks,
    ...Rowby

    Thanks Colin
    I did a complicated mix on one long background music track and was not looking forward to doing that remix because of various minor music changes made by the musician scattered throughout that long track.
    Your Alt (for replace solution) worked perfectly and saved me a ton of time.
    The fact that Copy attributes for Audio doesn't work for copying audio keyframes is another reason do do audio mixes using the Mixer instead of using keyframes to adjust volume.
    ...Rowby
    P.S.   And a big LIKE to Adobe's clever programmers for including features like these.

  • Can I copy the filter/motion/effect settings from one clip to others?

    I've got a series of photos in my timeline, each will move with some random little rotation and zoom in/out pan, etc... on a black background. Can I save some time by setting up one photo with the effects the way I want it and then copying those settings to the other photos?
    After doing that, I would have to adjust the settings on each photo to randomize them. Or would it be just as easy/easier to just start from scratch with each photo?

    Hi(Bonjour)!
    Once your clip's motion and scale is adjusted, select your clip in timeline, use copy command. Now select all others clips in timeline, use the contextual menu (control click) over the fist one, and select "paste attributes menu--" select "basic motion".
    You can also use option-V shortcut to invoque the paste attribute contextual menu.
    When all your clips have the same movements and scale, simply recenter (motion tab) each one to put some variation in motion.
    You can also set two ot three movements (clips and paste item properties in random order (manually) to other clips.
    Michel Boissonneault

  • How do I copy and paste a gradient color from one document and then use the gradient on another document?

    I am making business cards. On the back of the cards there are two lines with gradients. Below is a card with a magenta gradient. I want to select both lines and change the magenta gradient to the orange gradient from the file below. How do I do this? (I do not want to copy a paste the orange lines and then move them over the magenta ones.) I just want to select the magenta lines and change their color to the orange gradient. This will insure absolute alignment. I want to do repeat the process with several other gradients too. Thank you.

    David,
    As I (mis)understand it, you may:
    1) Copy one orange gradient path to the magenta gradient path document;
    2) Select the two magenta gradient paths and change the Fill to None;
    3) Select the orange gradient path;
    4) Select the two magenta gradient paths and change the Fill to Gradient.
    That should give you the desired replacement. For multiple use of the same gradient, you may consider a gradient swatch.

  • Copying the value of customized fields from one order to other in CRM

    Hi ALL,
    We have added new customized fields in web ui for Sales Order.
    Now when we are using the standard COPY functionality to copy one particular sales order, then all the fields are getting copied into new order except the customized fields which we have added.
    We have created new data elements for our fields and added it by EEWB transaction.
    Please let me know if there is any badi or any other way which we can implement so that our customized fields are also copied.
    Thanks,

    Hi!
    BADI "CRM_COPY_BADI" is the one you are looking for.
    Create badi implementation and assign copy routine to the copy management parameter.
    The parameter can be configured via IMG->CRM->Transactions->Basic settings->Copying Control for Business Transactions->Define Copying Control for Transaction Types.
    I hope it helps you.
    Regards,
    Fukuhara Yohei

  • How i can copy the script from one language to other language

    dear all,
    how can i copy script i.e i changed =in EN, but i want copy convert same effects in DE (from one language to other language but not all language)

    hi,
    From the SAP standard menu, choose SE71.
    On the Form Painter: Request screen:
    1)Enter the name of the form (ZORDER01) in the Form field.
    2)Enter DE in the Language field.
    3)Click created and press OK.
    4)From menu bar, choose form->copy from
    5)In the popup, give formname as (ZORDER01) and language as EN and click ok.
    6)Save the form and activate it.
    Regards,
    Sailaja.

  • I have 2 screen and the dock is changing from one screen to another , can I stop it (Mac OS 10.9.1)

    Hello , I have 2 screens , and the dock is moving from one to the other screen at any time .
    I would like to "paste" it on one screen
    How should I do?
    Thanks for your help

    Hello there, BHDock.
    The following Knowledge Base article explains how the Dock works in Mavericks:
    OS X: Using multiple displays in Mavericks
    http://support.apple.com/kb/HT5891
    Working with the Dock
    When the Dock is configured to appear at the bottom of your screen, it's available on whichever screen you’re working on. Just move your pointer to the bottom of either display. When the Dock is configured for the left or right position, it appears on the leftmost or rightmost display edge.
    The Dock settings are located in System Preferences.
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • How do I copy the same app folder layouts from one device to another? We have a several iphones and ipads.

    how do I copy the same app folder layout from one device to another. We have several apple devices.
    It's a challenge when syncing a device for the first time to go through all the apps and apply them back to the same folders as on your other iphone.
    I've seen suggestions of taking pictures of the correct layout, then manually applying it to the new device. Big time waister.
    What's the work around?
    Thank you

    I'm afraid there is no short workaround. One thing that you could do if you were REALLY desperate is reset your device to factory settings and then restore it from your other device's backup, but that is rather risky and you probably don't want to take your chances just for folder layouts. I would just do it manually.

  • How to place two different indesign documents side by side on my desktop in order to copy and paste images and text from one to the other?

    How to place two different indesign documents side by side on my desktop in order to copy and paste images and text from one to the other?

    Or choose Window > Arrange > Tile
    And, you of course can copy/paste without tiling.

  • How do you remove the SIM card from one iPhone 5 and place it in another?

    how do you remove the SIM card from one iPhone 5 and place it in another?

    With a paper clip?  Refer to the User Guide.

  • I have an iMac (OSX 10.9.2) and a Macbook (same).  I want to copy photos from one to the other.  how?

    I have an iMac (OSX 10.9.2) and a Macbook (same).  I want to copy photos from one to the other.  how?

    I'm sorry.  I got a little off-the-wall there.
    I want to have the same iPhoto files on both machines.  A few days ago I spent several hours swapping photos back and forth until I had one event with identical picture files on both.  Yesterday I scanned some old photos into the Macbook.  Today I wanted to copy them to the iMac.  I could not remember what I had done a few days ago, so I spent a couple of frustrating hours trying to either remember or find another way, to no avail.  I have no idea what I did right before; I only recall that it was pretty easy.
    I didn't write anything down.  I used to do that, but what I do is so intermittent that by the time I want to copy pictures again either (a) the app has been updated and the old way doesn't work (b) I've lost the paper with the notes on it or (everything seems fine but it just doesn't work.  So I gave that up.
    Yes, I do want both iPhoto libraries to be the same.  The Macbook is the one with the scanner and I download from my camera on the iMac, so I need to be able to move photos from one to the other, I think.

  • When exporting and then importing Apple Mail from one mac to another I get "Some messages could not be imported. Partially imported mailbox will be labeled IMPORT" . That mailbox does not appear.

    When exporting and then importing Apple Mail from one mac to another I get "Some messages could not be imported. Partially imported mailbox will be labeled IMPORT" . That mailbox does not appear.
    Any help would be welcome

    This is a bug in Mail. The mailbox archiving function does not include attachments, which  gives the error with the import. To workaround this you can create a mailbox in Mail and copy to it all emails you want to export. Then go in Finder to [user]/Library/Mail/Mailboxes en select the created mailbox. Copy this to the public directory of your other mac. Then start Mail on that other mac and import the mailbox from the public directory. Should work now.

  • How can we copy table from one schema to other schema

    Hi,
    I have create one table in one schema and i want to copy it to other schema.How we can copy table from one schema to other schema

    Hi,
    You can try something like this :-
    SQL> CONNECT SYS/SYS123@SERVER AS SYSDBA
    Connected.
    SQL> CREATE USER TEST_1 IDENTIFIED BY TEST_1;
    User created.
    SQL> CREATE USER TEST_2 IDENTIFIED BY TEST_2;
    User created.
    SQL> GRANT CONNECT,RESOURCE,DBA TO TEST_1;
    Grant succeeded.
    SQL> GRANT CONNECT,RESOURCE,DBA TO TEST_2;
    Grant succeeded.
    SQL> CONNECT TEST_1/TEST_1@SERVER
    Connected.
    SQL> CREATE TABLE TEST_COPY ( TEST_COL NUMBER );
    Table created.
    SQL> INSERT INTO TEST_COPY VALUES ( 1 );
    1 row created.
    SQL> INSERT INTO TEST_COPY VALUES ( 2 );
    1 row created.
    SQL> COMMIT;
    Commit complete.
    SQL> GRANT ALL ON TEST_COPY TO TEST_2;
    Grant succeeded.
    SQL>  CONNECT TEST_2/TEST_2@SERVER
    Connected.
    SQL> CREATE TABLE TEST_COPY AS SELECT * FROM TEST_1.TEST_COPY;
    Table created.
    SQL>  SELECT * FROM TEST_COPY;
      TEST_COL
             1
             2Regards,
    Sandeep

  • Is there any way to do a mass copy and paste of song titles from the "name" column to the "sort name" column? I know it can be done with individual titles but I have over 6,000 titles in my library.

    In iTunes, is there any way to do a mass copy and paste of song titles from the "name" column to the "sort name" column? I know it can be done with individual titles but I have over 6,000 titles in my library.

    Thank you. I have heard of Logic Pro 7, but I have never personally used it. I'm still growing in the world of Composition, and I know that it is something I will be studying in one of my Computer Music classes coming up for my degree. I think it is something I will look into getting once I can justify the price of it. I guess for the time being, I will continue to play and grow in my ability to use and take advantage of GB, and then see what I can do about or with Logic Pro when I'm ready. The thought of spending $1000 for a program is hard to bite, because I've already spent a lot to produce my music, not only electronic music, but also chamber music and so on. I had no idea it would be so expensive to dive deep into the world of composition! lol.
    Finale 2007: $500
    Sibelius 4: $500
    Jam Packs: $400
    Midi Keyboard Interface: $100
    PowerBook: $1700
    Printer for printing scores and analysis: $150
    Logic Pro 7: Oy!
    As you can see it adds up very quickly...that doesn't even include my personal instruments and study materials.
    Thank you for your input, as I haven't really worked much with LP, and therefore didn't know which features are available. I will talk with some of my Composition buddies, and professors and see what they have to say as well, and who knows, I may be able to get the express version through one of them.

  • 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);

Maybe you are looking for

  • What is difference between PC Suite and Ovi Suite?

    What are the main differences between PC Suite and Ovi Suite and are there any advantages in using both please?

  • What happen to the 24" Cinema Displays???

    Just noticed they are not listing the old 24 " displays at the store. My old 17" Apple LCD display is about done for. Was hoping to replace it with a 24". Would hook it up to a Power Mac G5 Dual. New Apple LED Cinema Display (24" flat panel) is all t

  • Exit in Tcode MIGO

    Hello Experts, I have got a peculiar Issue. First, I have to find a exit in MIGO, which should repost the primary cost for the WBS element. Inside the exit I have code a program to repost the primary cost for the WBS element. Can any tell me a BAPI t

  • How do I allow all third party cookies in my browser settings on my MacBook Pro?

    How do I allow all third party cookies in my browser settings on my MacBook Pro?

  • Materialised Views

    Oracle Version 9.2.0.2 I'm trying to improve what is currently terrible performance with BI Beans!! I have 1 fact table with 3 dimensions, and 1 hierarchy, stored in a simple star schema. I've defined my metatdata using OEM. Reading the 9i OLAP Users