How to Copy content of a sap tranparent table to another table

Hi ,
I have created a transparent table ZUSR02A copy of USR02 trought se11.
How can I copy the entire record content of USR02 table into ZUSR02A table trought an abap program?
Thank's Antonio Voce.
<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Feb 28, 2008 11:49 AM

Hi
DATA: T_ZUSR02A TYPE STANDARD TABLE OF ZUSR02A.
SELECT * FROM USR02 INTO TABLE  T_ZUSR02A.
INSERT ZUSR02A FROM TABLE T_ZUSR02A.
U can also use the command MODIFY instead of INSERT
Max
P.s.: but you are Voce Antonio works for ABMEDICA in Milan?
Edited by: max bianchi on Feb 28, 2008 4:44 PM

Similar Messages

  • How to copy a folder from one document library to another document library ?

    How to copy a folder from one document library to another document library by programmtically?
    Samarendra Swain
    Team Sharepoint
    www.manuhsolutions.com

    You can use the SPFolder.CopyTo method.
    public static void CopyFolder()
    SPFolder folder = null;
    using (SPSite site = new SPSite("http://basesmcdev2/sites/tester1"))
    using (SPWeb web = site.OpenWeb())
    folder = web.GetFolder("shared%20documents/newfolder");
    folder.CopyTo("tester4/newfolder");
    http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spfolder.copyto.aspx
    certdev.com

  • How to copy contents of ASA 5510 to another ASA 5510?

    Hello,
    I want to copy contents of 1 ASA 5510 to another 5510.
    Both ASA has same license.
    -I tried to connect to 2nd ASA via console cable
    -Went to "Conf t" and copied config of 1st ASA. [ using paste tab from Hyper Terminal ]
    - used commands like copy running config disk0:/startup.config.cfg
    - also used write memory all , wr mem commands
    - But after reboot config was gone.
    As of now I have ASA 8.3.x version in both ASA's.
    How can I save config to 2nd ASA via Hyper Terminal?

    I am trying to save basic config.
    Basic config also not getting saved.
    Steps followed as follows :-
    - Given private IP to eth 0/1
    - no shut
    - speed auto
    - wr
    - exit
    - wr
    - exit
    - hostname asasec
    - wr
    - reload
    After reload firewall is not saving configuration.

  • How to copy a node from one dom document to another?

    I have one dom document that I have to split up into multiple dom documents. I am able to get the inividual nodes that I want to put into seperate documents.
    My problem occurs when I create a new dom document and try to add the node from the parent document. I get an exception saying (copied from api: WRONG_DOCUMENT_ERR: Raised if newChild was created from a different document than the one that created this node. )
    How can I make it so that I can copy a node from one document and add it to another.

    Have you checked out the API called importNode in the DOM Document. It lets you move nodes between different documents.
    This api lets you simply copy the existing node from one document into another. without creating any new nodes for it.
    I have done a small example please have a look.
    Book.xml
    <?xml version="1.0"?>
    <books>
      <book>
        <name>Inside Corba</name>
      </book>
      <book>
        <name>Inside RMI</name>
      </book>
    </books>------------------------
    Book2.xml
    <?xml version="1.0"?>
    <books>
      <book>
        <name>Core Java </name>
      </book>
      <book>
        <name>Core JINI</name>
      </book>
    </books>-------------------
    MoveNode.java (copies nodes from doc2 into doc1)
    import java.io.*;
    import javax.xml.parsers.*;
    // structures
    import org.w3c.dom.*;
    import org.xml.sax.*;
    public class MoveNode
      public static void main(String[] args)
        // step1. create a factory and configure it
        DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
        // step2. set various configurations
        factory.setValidating(false); // do not need validation at this time.
        factory.setIgnoringComments(false); // do not ignore comments
        factory.setIgnoringElementContentWhitespace(false); // do not ignore element content whitespace.
        factory.setCoalescing(false);
        factory.setExpandEntityReferences(true);
        // step 3 create a document builder
        DocumentBuilder builder = null;
        try
          builder = factory.newDocumentBuilder();
        catch(ParserConfigurationException e)
          e.printStackTrace();
        try
          Document doc1 = builder.parse(new File("book.xml"));
          Document doc2 = builder.parse(new File("book2.xml"));
          if (doc1 == null || doc2 == null)
            System.out.println("doc1 is null or doc2 is null");
            System.exit(1);
          } // if
          // fetch books from doc2
          NodeList list = doc2.getElementsByTagName("book");
          System.out.println("number of books found " + list.getLength());
          Node node1 = list.item(0);
          Node node2 = list.item(1);
          // get the root node of doc1
          Node root = (Node) doc1.getDocumentElement();
          root.appendChild(doc1.importNode(node1, false));
          root.appendChild(doc1.importNode(node2, false));
          //now doc1 should have 4 nodes
          System.out.println(doc1.getElementsByTagName("book").getLength());
        } // try
        catch(SAXException se)
          se.printStackTrace();
        catch(IOException ie)
          ie.printStackTrace();
    hope this helps.
    regards,
    Abhishek.

  • How to copy one sub task to sub task of another TR ?

    Hi Experts ,
    I want to copy the contents of one TR( dummy ) to another TR  ( actual ).
    I have unlocked the sub task of the dummy TR , how can the contents of this sub task be copied to the actual TR's subtask.
    I do not want to delete the dummy tr.
    Regards,
    Sunitha

    Go to SE01
    Request -> Create ->Choose Transport of Copies->Enter description->Click Include Object button (Ctrl+F11)->
    Choose Object list from request->Enter Request Number which contains object(s) you want to copy.
    Hope this helps .

  • How to Copy customizing data from one company code to another company code

    Hi
    Big Boss opened a new company, we need to implement SAP system for this new company. this new company has same business with our one old company. so, we may almost use old the company customizing data for this new company. anybody can tell me how to copy the customizing data.
    Regads
    Henry

    Hi, Paraschand G
    Thank your very good solution as BC Sets. I had general knowledge on Rollout and BC Sets now.
    How ever, I have a problem on creating my first BC Sets. Should I creat a BC Sets as my template via copy existing customizing data? I seen some existing BC Sets which arenot I want. We implemented big5 modules for some company codes. I want to copy one of them as my BC Sets template. I won't create it manually because I worried about I will miss some data if I select these data one by one. I cannot find out a Full-BC Sets template contains all customizing data. Could you please give me some guide. I cannot ensure my understanding of BC Sets. Please correct it if I have wrong idea.
    Regards
    Henry

  • How to copy a tab from one tab group to another?

    In Tab groups view, drag and drop allows one to move one tab from one group to another. But how to copy a tab?

    Press '''CTRL''' while dragging to copy instead of moving.

  • How to copy complete column data of a table control similar to ALV

    Hi All,
    I have a senario where i need to select one column of a Table control and press Ctrlc then the complete column details should be copied and be able to paste it in another colum using ctrlv.
    please suggest me how can i copy the complete column data similar to ALV .
    Thanks in advance .
    Edited by: ravi kumar on Sep 13, 2011 2:53 PM

    Dear Ravi
    I'm afraid there is no standard functionality for copy paste in ALV.
    You would need to develop something to achieve that - a button for example.
    Kind Regards
    /Ricardo Quintas

  • How to delete contents from more than 1 table

    How to delete the entire contents from more than 1 table in a single query.
    It is very urgent,
    Thanks in advance
    John

    Goto SE11 ->Open table ->Utility ->data base utility ->delete database table.
    BTW, Do not do it.
    Thanks,
    Ashish

  • How Microsoft access could possibly an SAP CRM table

    ould anyone know if it is possible for a Microsoft access system to read an SAP table. If so, how? I have to implement an interface btw MS Access and SAP CRM and I am trying to see how to get it to work.

    Dear Abdul!
    There are probably many ways to achieve what you´re looking for. It heavily depends on several factors, which solution turns out to be the best for you. You should take into account security, data integrity and sensitivty, business context and system architecture, among others.
    First of all though, you should specify wheter you want to access the SAP table for unidirectional read access only, or if you have the requirement to also update data in any SAP table (are you talking about a SAP standard table or a customer Z-table?)
    If you´re looking for a straight forward solution for read-only access, you can create a custom Z* RFC-enabled function module that reads out your SAP table and returns the values to your calling application. You could also use the WebServices interfaces of your SAP WebApplicationServer, depending on your release level. Furthermore, kindly check, if there are standard BAPI´s available that contain the data you need in their return parameters.
    Of course, you also could directly interface on a DBMS level between MS access and your underlying SAP DB, but most likely such a solution will never be supported in any productive environment, and for good reason. So you should look into one of the other options mentioned.
    I´ll gladly provide more detail about any of the mentioned approaches, but would like to have a little more input about your requirements before, so the optimal solutions can be found.
    Kind regards
    Christoph

  • How to Copy an Image File from a Folder to another Folder

    i face the problem of copying an image file from a folder to another folder by coding. i not really know which method to use so i need some reference about it. hope to get reply soon, thx :)

    Try this code. Make an object of this class and call
    copyTo method.
    import java.io.*;
    import java.net.*;
    import java.util.*;
    public class FileUtil
    extends File {
    public FileUtil(String pathname) throws
    NullPointerException {
    super(pathname);
    public void copyTo(File dest) throws Exception {
    File parent = dest.getParentFile();
    parent.mkdirs();
    FileInputStream in = new FileInputStream(this); //
    Open the source file
    FileOutputStream out = new FileOutputStream(dest); //
    Open the destination file
    byte[] buffer = new byte[4096]; // Create an input
    buffer
    int bytes_read;
    while ( (bytes_read = in.read(buffer)) != -1) { //
    Keep reading until the end
    out.write(buffer, 0, bytes_read);
    in.close(); // Close the file
    out.close(); // Close the file
    This is poor object-oriented design. Use derivation only when you have to override methods -- this is just
    a static utility method hiding here.

  • How to select an item in sap.ui.table.Table without using index?

    Hi there,
    I want to select an item of a sap.ui.table.Table by finding the right item and selecting it.
    Take the example at this SDK page:
    SAPUI5 SDK - Demo Kit
    You have first name and last name. I want to select "Mo Lester". While there is a function called setSelectedIndex, there is no function for setSelectedItem.
    I have to search the items of the table for a required entry and select it (like clicking on it).
    Is there a way to do this (programatically)?
    I'm using aggregation binding with a JSON model.
    Regards
    Tobias

    Hi Tobias,
    What you could do is first find the JSON object (i.e., the table row) in your table model, and use its index in the model to set the selected index:
    var matches = $.grep(array, function() {
        return(this.firstName === "John" && this.lastName === "Doe");
    if (matches.length) {
        var index = yourTable.getModel().getData().indexOf(matches[0]); //first match
        yourTable.setSelectedIndex(index);

  • How can I directly update a SAP screen table control with values?

    I have a need to update a table control on a standard SAP screen with values. Here's the scenario: The user will come into a standard SAP transaction (IQS2-change notification) and click on an action button which calls a function module. That function module will determine what needs to be added to the SAP screen table control (add additional task rows). When the function module returns with the row data to be added to table control, I would like to set those values as if  the user input directly. The table control is located on it's separate tab (TASKS) in the transaction. I cannot find any user exists or BADI's for this transaction to allow me to affect the TASKS tab table control for this GUI. I'm trying to prevent from having to make a custom modification. If anyone has any ideas, please let me know.  Thanks.

    Hi,
    Check these enhancements:
    IWOC0002      PM/SM notification: Check whether status change is allowed
    QQMA0001      QM/PM/SM: User Subscreen for Notification Header         
    QQMA0008      QM/PM/SM: User Subscreen for Additional Data on Notif. Ite
    QQMA0011      QM/PM/SM: User Subscreen for Additional Data on Task     
    QQMA0013      QM: Default Values when Creating a Task                  
    QQMA0014      QM/PM/SM: Checks before saving a notification            
    QQMA0015      QM/PM/SM: User-Exit before Call-Up of F4 Help on Catalogs
    QQMA0016      QM/PM/SM: "User data" Function "Goto" --> "Task" Menu    
    IWO10026            User check on setting status 'Do not perform'                   
    IWO10027            User exit: Generate user-defined settlement rule                
    IWOC0001            Create PM/SM notification: Determine reference object           
    IWOC0002            PM/SM notification: Check whether status change is allowed      
    IWOC0003            PM/SM authorization check of ref. object and planner group      
    IWOC0004            Change single-level list editing PM/QM/SM ALV settings          
    Regards
    Appana

  • How to copy and paste a multi-page table of contents?

    Hi everyone.
    I have a large document with a Table Of Contents extending over two pages. I'd like to copy the entire TOC then paste it into a new Pages document.
    I have been able to copy the TOC however when I try to paste it into a new blank Word Processing pages document the following Error message appears: "The table of contents is empty because none of the paragraph styles selected in the Document Inspector are used in the document."
    I can paste it into a blank Page Layout pages document however it pastes it into a text box with only one page of the TOC in it.  Even if the new Page Layout document has two pages and I extend the text box over the two pages only one page of the TOC is copied into the new Page Layout document. At the moment the only work-around I can do is to take a screen shot of each individual page of the TOC and paste them individually into a new pages document. I have tried exporting the entire original document to a plain text file however all the formating is lost (obviously).  I have also tried exporting the entire original document to a Word document (.doc) however it won't let me copy the multi-page TOC and paste it into a new Word document. 
    Is there any way to successfully copy a multi-page table of contents to a new Pages document?

    VQM wrote:
    Thanks Peter.
    PeterBreis0807 wrote:
    The TOC is a hyperlinked text derived from the contents of the file it was generated in.
    You can try exporting the pages the TOC is on as rtf, text or pdf and transferring that, but I would question the value of a TOC for one document being in an entirely different document, which doesn't have what the TOC is pointing to.
    Have you tried copying the T.O.C. Section from the document Thumbnails and pasting into the document Thumbnails of the 2nd document?
    Peter
    How does one export individual pages from a Pages document?
    I've also tried to copy the TOC section from the document thumbnail however I can't figure out how to select multiple pages in the document thumbnails.  It only allows me to select one at a time. Furthermore, when I do select a single page from the thumbnail section and attempt to drag and drop it into the the thumbnail section of the second document it picks up the whole document and wont allow me to move it from the thumbnail section of the original document.
    Shift click to select multiple pages, and I did say Copy and Paste, not drag and drop.
    Peter

  • How to Copy Contents of  One HD to Another HD?

    I use a G4 QuickSilver 2002; run Mac OS X 10.5.8 Leopard.  I would like to copy the contents of one old hard drive to the main hard drive.  How do I do it?  I tried using Disk Utility, but didn't know what to next once the Disk Utility folder appeared.  Enclosed please find picture of DU.  I'm trying to copy disk named Hard Disk to WD1200 Boot Drive.

    Alll the Disk Utility can do is clone an entire drive. In the process the Destination drive is erased. Is that the result you want? If so do this:
    Clone using Restore Option of Disk Utility
      1. Open Disk Utility in the Utilities folder.
      2. Select the destination volume from the left side list.
      3. Click on the Restore tab in the DU main window.
      4. Select the destination volume from the left side list and drag
           it to the Destination entry field.
      5. Select the source volume from the left side list and drag it to
          the Source entry field.
      6. Double-check you got it right, then click on the Restore button.
    Destination means the external backup drive. Source means the internal startup drive.
    If you want to copy files to the Destination without erasing the Destination, then you can do that using Drag and Drop. Select the files you wish to copy and drag them to the Destination drive. Note, that if the Destination is a boot drive, then be sure you only drag your files and data - no system files.

Maybe you are looking for

  • Level Control with PID Control & Pulse-Width Modulation

    Hi all,       I have attached my program which I'm having trouble wiring up in the block diagram.... I'm fairly new to labview, but basically I have a level control project with an analog input cistern arm turning a pot for my test tank (configured a

  • Inter-company billing stock tranport order

    Dear all, We are having a scenario where in  we are doing STO using purchase order document type NB, but in the purchase order we are not getting the "condition tab". Have created a pricing procedur for STO. But in the MM- Purchasing- Conditions- Def

  • What are theses files for?

    I recently backed up my iTunes music to an external hard drive. I'm getting rid of my old desktop PC and bought a PC laptop. I had (on the old desktop PC) all the music stored under documents>my music. When I went to sort through the "My Music" folde

  • Pre(Function workflow issues)

    Hey, Im really stuck here and i cant work out what could be causing the issues with change in Opportunity type from "Incremental Funds - No Advice" to "Incremental Funds - Advice" This is what i have tried below and some others but it just wont fire

  • HT4628 not able to connect to internet..

    Today I tried to connect to the internet by using my Hotel's wireless service was unsuccesfull.. My computer came back with a message stating "Internet connection TimeOut". I have used this wireless system before with no problems. Any suggestions wou