Copying data from a tree to another

Hi all!
I am in a trouble when I try to copy somedata from one tree to another one.
The interface allows the user to select one item from the first tree, and then when he clicks on a button, this item is copied to the second tree. The first tree stays in the same way. It is not permitted to the user to do any operation on the first tree.
It is permitted to the user to remove items from the second tree. But I implemented this without any trouble.
The problem occurs, after I selected the item that will be copied. Then, when I click on Add button, an unexpected error occurs.
The vi is attached.
Thank you in advance
Attachments:
Painel Frontal.vi ‏36 KB

I am using version 8.2, and it doesn´t allow me to sabe in 7.1
So, I send you the screen shot of blocks diagram.
Thank you in advance.
Attachments:
screenshot.PNG ‏36 KB

Similar Messages

  • What are the diffrent ways to copy data from one application to another?

    Hi,
    Can you guys tell me what are the different ways to copy data from one application to another application??
    I know we can do it through script logic using DESTINATION_APP.
    Is there any other way to copy data from one application to another application?
    Please help me
    Thanks,
    Charly

    You can also call a custom DTSX package in SSIS via the datamanager.
    there are at least 5 ways of transfering data in BPC between apps.
    1. Through the front end (excel etc) via evdre/evsnds
    2. Through Script logic using *Dest App
    3. Using BPC's standard export dtsx package via DM
    4. Using SSIS using BPC's custom SSIS tasks
    5. Through Script logic using stored procs.
    i am sure people will come up with more.
    remember if you use ssis and move data into any table but the wb, you need to process the cube afterwards.

  • T code to Copy Data from one table to another table

    Hi,
    I want copy all data of one table to its copy table. Anyone knows transaction code to copy data from one table to another table.
    Regards,
    Jigar Thakkar.

    Hi
    Create a small program.
    Extract data from T1 - database table and put it in one internal table - itab1.
    loop the itab1 data .............
        insert itab1 into tab2.   (tab2 - second database table)
    endloop.
    try this....
    hope it works....

  • Copy data from one Table to another Table

    How can I copy data from one Oracle Table to another Oracle Table on a different server? Question 2: How can I clear all of the data in one Table with a single SQL script?
    Thanks...

    Question 1:
    I assume you have the privileges. If you don't, ask the DBA to give them to you. Then
    1. Login to database_source (It could be either the source or the target. Let's assume it's the source.)
    2. Create a database link to database_target: CREATE DATABASE LINK link_to_database_target CONNECT TO myuserid IDENTIFIED BY mypassword USING 'database_target'; Note the single quotes.
    3. Copy the table data: INSERT INTO targetowner.mytable@link_to_database_target SELECT * FROM sourceowner.mytable; COMMIT;
    Question 2:
    You have two options, but you may not have privileges for both.
    Option 1:
    DELETE FROM tableowner.tablename; COMMIT;
    Advantage: Since this is a DML (Data Manipulation Language) statement, you have to commit the transaction. Also, the data will be gone but the table size is NOT changed, so it's ready for accepting replacement data. DML statements can simply be executed not only from SQL scripts, but from PL/SQL scripts as well.
    Disadvantage: Slow, because all record deletion is logged, so you can recover from it by issuing a ROLLBACK; instead of the COMMIT; above. The table size is NOT changed, so if you are short of disk space or tablespace space, you have not resolved the issue.
    Option 2:
    TRUNCATE TABLE tableowner.tablename;
    Advantage: Since this is a DDL (Data Definition Language) command, you do NOT have to commit the transaction. (DDL commands automatically commit both before and after their execution.) The table size will be changed back to the initial extent size which is the minimum size a table can have and can only be set when the table is created. If it needs to be changed, the table has to be dropped and recreated with a different initial extent size. The statement execution of this command is not logged, therefore it's much faster then the DELETE.
    Disadvantage: No rollback. Being a DDL, this command cannot be executed straight from PL/SQL. If you need to issue this within PL/SQL, you will have to use dynamic SQL.

  • Copy data from one table to another

    Hello everyone,
    I have a student table with fields sno, sname. I created another table student1 with same fields sno, sname and with one new field class.
    Now i want to copy data from sno, sname of student table to sno, sname of student1 table when the class field in styudent1 has no data i.e., its null.
    Could any one let me know how to do this?
    Thanks,
    Prathima

    i want to copy data from sno, sname of student table to sno, sname
    of student1 table when the class field in styudent1 has no dataSo what is the join condition? What column in STUDENT1 tells us what row in STUDENT to copy?
    Cheers, APC
    Blog : http://radiofreetooting.blogspot.com/

  • How to copy data from one BB to another via Desktop Manager

    I've got two BBs (8900 and 9300), both actively in use and with different data (contacts, memos, etc.) on them.
    I need to copy my tasks, memos and contacts from 8900 to 9300. I tried "switch phones" option, but it substitutes data, while I need to syncronize it, so that data from 8900 is added to what is currently is on the 9300. 
    Is it possible to do it via Desktop Manager? It seems there was somewhere an option "copy data from another BB", but I can't find it in the latest Desktop Manager version.

    You would need to use Desktop Mangaer to sync BB1 with a local PIM program (such as Outlook or Lotus Notes) to get the information off BB1. Then use Desktop Manager to sync BB2 with the same PIM program. 

  • Copying data from one table to another table thru java

    Hi
    I have to copy data from table emp in Database A to table emp in Database B. My input would be table name and number of rows to be fetched. these rows i need to insert in table B.
    The problem over here is I won't be having any info. of table emp i.e the number of columns it has and their type.
    So is their any way i can copy the data from one table to other without having the info abt the number of cols and their type.
    TIA

    Cross post - http://forum.java.sun.com/thread.jspa?threadID=5169293&messageID=9649839#9649839

  • XML script to copy data from one repository to another

    Hi all,
    a customer wants an xml script that copy all data from the repository A to the repository B. I think that this is not possible to do this with an xml script, because the script tags (add-item, update-item, query-item, import-item, load-item, remove-item) seems don't give this feature. The same for RQL, that doesn't give you a command like "SELECT INTO".
    But what i'm asking is: Is there a way to run the copy using the repository script tags?
    Thanks.
    Edited by: user10980894 on 11-lug-2011 3.33

    Please elaborate , If what you need is to copy data from between two dissimliar repositories then it is not possible , but if a and b are having the same structure then you might be able to do that using the following and tweaking the generated xml
    Both the repositories should have the same structure and name , please follow the below commands and you will be able to export the data in below format , see if this is all you want
    export using
    bin/startSQLReository -m module -export all outputfile.xml -repository repositoryA
    Change the reference to repositoryA in the file
    import using
    bin/startSQLRepository - m module - import outputfile.xml -repository repositoryB
    <add-item item-descriptor="priceList" id="plist4350003">
    <set-property name="description"><![CDATA[Group of Thirteen States which is generally called as L13 in AT&T]]></set-property>
    <set-property name="displayName"><![CDATA[L13]]></set-property>
    <!-- export is false <set-property name="version"><![CDATA[7]]></set-property> -->
    <set-property name="basePriceList"><![CDATA[listPrices]]></set-property>
    <set-property name="creationDate"><![CDATA[9/3/2010 07:38:49]]></set-property>
    <set-property name="lastModifiedDate"><![CDATA[9/10/2010 17:02:09]]></set-property>
    <set-property name="itemAcl"><![CDATA[Admin$role$administrators-group:list,write,write_owner,write_acl,read_owner,destroy,read_acl,read;Admin$role$everyone-group:list,read]]></set-property>
    </add-item>
    please refer to this section of ATG Repository guide for further info

  • Copying data from one table to another, but not duplicate

    Good afternoon!
    I am new to Oracle SQL, I have a difficulty.
    I have a script that copies or add another table with data from another table.
    If the table already has 01 "Registry 01" when you make a copy of the data in table 02, can not duplicate the "Registry 01" again.
    As the table already exists since the beginning of the year before last and duplicate information, I can not apply the UNIQUE constraint because of the error. I have to make this change from now.
    How to perform this validation so that no duplicate data?
    DECLARE
    w_cont NUMBER;
    CURSOR c_simpro IS
    SELECT sc.cd_simpro,
    sc.ds_produto,
    sp.qt_embalagem,
    MAX(sp.dt_vigencia)
    FROM simpro_cadastro sc,
    simpro_preco sp
    WHERE sc.cd_simpro = sp.cd_simpro
    GROUP BY sc.cd_simpro,
    sc.ds_produto,
    sp.qt_embalagem;
    BEGIN
    FOR r_simpro IN c_simpro LOOP
    w_cont := 0;
    SELECT COUNT(1)
    INTO w_cont
    FROM pls_material pm
    WHERE pm.cd_material_ops = r_simpro.cd_simpro;
    IF w_cont = 0 THEN
    INSERT INTO pls_material(nr_sequencia,
    dt_atualizacao,
    nm_usuario,
    dt_atualizacao_nrec,
    nm_usuario_nrec,
    ie_tipo_despesa,
    cd_estabelecimento,
    nr_seq_estrut_mat,
    cd_simpro,
    ds_material,
    ie_situacao,
    ds_material_sem_acento,
    dt_inclusao,
    cd_material_ops_orig,
    cd_unidade_medida,
    cd_material_ops,
    qt_conversao_simpro)
    VALUES(pls_material_seq.nextval,
    SYSDATE,
    'ES-SIMPRO',
    SYSDATE,
    'ES-SIMPRO',
    3,
    1,
    3,
    r_simpro.cd_simpro,
    r_simpro.ds_PRODUTO,
    'A',
    r_simpro.ds_PRODUTO,
    SYSDATE,
    r_simpro.cd_simpro,
    'un',
    TRIM(to_char(r_simpro.cd_simpro,'0000099999')),
    r_simpro.qt_embalagem);
    COMMIT;
    END IF;
    IF w_cont > 0 THEN
    UPDATE pls_material p
    SET p.qt_conversao_simpro = r_simpro.qt_embalagem,
    p.dt_atualizacao = SYSDATE
    WHERE p.cd_simpro = r_simpro.cd_simpro;
    COMMIT;
    END IF;
    END LOOP;
    END;
    Edited by: 983464 on 22/01/2013 10:30

    Hi,
    in addition to what Marwin has already said, I suggest you to post CREATE TABLE and INSERT statements (as mentioned in the FAQ).
    The error you are getting from MERGE command is because you need a way to uniquely identify within the table. So it's is important to know also if your table has a primary key/unique index so the keys could to be used in the MERGE command.
    Additionally when you put some code or output please enclose it between two lines starting with {noformat}{noformat}
    i.e.:
    {noformat}{noformat}
    SELECT ...
    {noformat}{noformat}
    Regards.
    Al                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to copy data from one table to another (in other database)

    Hi. I would like to copy all rows from one table to another (and not use BC4J). Tables can be in various databases. I have already 2 connections and I am able to browse source table using
    ResultSet rset = stmt.executeQuery("select ...");
    But I would not like to create special insert statement for every row . There will be problems with date formats etc and it will be slow. Can I use retrieved ResultSet somehow ? Maybe with method insertRow, but how, if ResultSet is based on select statement and want to insert into target table? Please point me in the right direction. Thanks.

    No tools please, it must be common solution. We suceeded in converting our BC4J aplication to PostgreSQL, the MSSQL will be next. So we want to write simple aplication, which could transfer data from our tables between these 3 servers.

  • Copy data from one schema to another schema tables

    Hi,
    I was doing a copy using sql developer copy feature, data copy worked perfect but for few table data didn't move there are about 30 tables from schema prod to schema dev i need to move tables are already created only data needs to be moved from prod to dev
    Can you suggest me any method were I can move all the tables data at a time from one schema to another. Please suggest.
    Thanks
    Sudhir

    Hi,
    If table structure is the same then:
    insert into dev.table_name
    select
    from
      prod.table_name  --if prod is in another database change to prod.table_name@db_link_to_prod_db
    commit
    ;Hope this helps. Otherwise give some more info about where these schema's are.
    Regards,
    Peter

  • Copy data from one sheet to another based on content of popup menu

    I'm trying to create a spreadsheet to help teachers grade students during reading time in my school.  If you're interested in the specifics of it, the long version is in the following paragraph:
    I work in a high school, and 10% of each student's English class grade is supposed to come from reading during what is called "Enrichment time," a 20-minute daily reading time.  This occurs at the beginning of the second period of the school day.  With a few rare exceptions, students are not in their English teacher's class for this reading time; their 2nd period teacher, whether a teacher of math, science, English, or history, or whatever, records a daily grade for each student, based on whether or not the student is reading during enrichment time. In the past, teachers have recorded the grade of each student on a separate sheet of paper, then gone to the teachers' lounge and sorted through their students' grade sheets, putting each student's sheet into a folder for the student's English teacher to grade. Next year every teacher will have an iPad, so I'm trying to create a cloud-shared numbers spreadsheet that could help solve the problem of teachers not communicating well.  I've settled upon the solution of giving each teacher with a 2nd period Enrichment group access to a spreadsheet that would be accessible to all the English teachers as well.  The enrichment teacher would enter the students' names on teh far left hand side, then with each student's name the teacher's name would be indicated in a popup menu.  The first sheet is where the 2nd period enrichment teacher would enter the data, and then the different English teachers would, ideally, have a separate sheet with only their students populating that sheet. 
    tl;dr:
    I need sheet 2 to be populated with whole rows of data from sheet 1, and I want sheet 2 to only include rows which have a specific choice selected in a popup menu.
    Here's the document, via iCloud:
    https://www.icloud.com/iw/#numbers/BAL2c7eirUmlW1C8CvqB7F6X9LlhwHB3bHWF/Enrichme nt_Template

    A,
    It seems that your iCloud Numbers document is protected by password.
    Jerry

  • Copying data from one table to another

    Hello!
    I have a table (TABLE1) and I want to copy part of TABLE1's data to an another table (TABLE2).This proccess is made by an application in PROC Language with ORACLE 8.1 in UNIX environment.
    1) I've tried to make the copy with a cursor:
    void search() {
    char alias[ALIASTAM];
    struct tpNoticia noticia;
    printf("Introduzca el nombre del autor: ");
    scanf("%s",alias);
    EXEC SQL DECLARE AUX CURSOR FOR
    SELECT idNoticia,titulo,texto,TO_CHAR(publicacion,'HH24:MI:SS DD-MM-YYYY'),
                        URLimagen,numVisitas,sumaVal,totalVal,esBorrador,alias,nombreT
    FROM TABLE1
         WHERE alias=:alias;
    EXEC SQL OPEN AUX;
    EXEC SQL WHENEVER NOT FOUND DO break;
    for (;;) {
    EXEC SQL FETCH AUX INTO :noticia;
    printf("%d %s \n", noticia.idNoticia,noticia.titulo);
    EXEC SQL INSERT INTO TABLE2 (idNoticia,titulo,texto,publicacion,URLimagen,numVisitas,sumaVal,totalVal,esBorrador,alias,nombreT)
    VALUES (:(noticia.idNoticia),:(noticia.titulo),:(noticia.texto), TO_DATE('00:00:00 01-01-1900','HH24:MI:SS DD-MM-YYYY'),:(noticia.URLimagen),:(noticia.numVisitas),
         :(noticia.sumaVal),:(noticia.totalVal),:(noticia.esBorrador),:(noticia.alias),:(noticia.nombreT));
    EXEC SQL CLOSE AUX;     
    IN THIS CURSOR printf SHOWS CORRECTLY THE DATA BUT IT ISN'T INSERTED INTO TABLE 2;
    2) I've tried to define TABLE2 from TABLE1:
    EXEC SQL CREATE TABLE TABLE2 AS
    SELECT * FROM TABLE1 WHERE alias=:alias
    BUT MY COMPILER SAYS: PCC-S-02206, Host variables are not permitted within a DDL statement
    ANY IDEA???
    Thanks

    If you want to create the table dynamically, then you have to use dynamic Sql. Didn't you like my above suggestion ? If you want I can post a small example of a similar stored procedure.
    See also http://www.mcs.csuhayward.edu/support/oracle/doc/8.1.7/appdev.817/a76942/pc_07pls.htm#2778

  • Copying data from one HD to another problem

    No matter what data I try to copy from one of my Firewire HDs to another I get this error message: The Finder cannot complete the operation because some data in ".DS_Store" could not be read or written. (Error code -36)
    Any ideas??
    thanks,
    burger

    burger-
    Is this from one particular drive to another, or from any of the drives to any other of the drives? Are these FW400 or 800 drives or a combination?
    If it is one drive that should make it easy to find the culprit. If it isn't, then you may want to try repairing permissions on all of the drives including your boot drive.
    "DS_Store" I have seen before but I just can't seem to remember where or why. I will keep the gears turning.
    Luck-
    -DaddyPaycheck

  • How to copy data from one node to another or fromone table to another table

    Hi,
    I have a two tables.I am populating data in first table and on the click of first table ,selected row data should be copied to the second table.
    How do i achieve this requirement and what should be the cardinality of the second table
    Thanks
    Bala Duvvuri

    Hi,
    For this u have to fetch the selected row.
    For fetching the selected row go to the events of first table and select "OnLeadselect".
    Create a new method for this.
    Now in this method read the value of the selected row with method get_static_attributes.
    with this u will have the selected row in the element.
    not just bind this elemnt with the second table.
    Second node will also have the cardinality 0:n, because this is also binded with the table.
    Coding part for this is as below:
    method ONACTIONSELECT .
        DATA lo_nd_cn_mara TYPE REF TO if_wd_context_node.
        DATA lo_el_cn_mara TYPE REF TO if_wd_context_element.
        DATA ls_cn_mara TYPE wd_this->element_cn_mara.
        DATA ls_cn_mara1 TYPE wd_this->elements_cn_mara.
      navigate from <CONTEXT> to <CN_MARA> via lead selection
        lo_nd_cn_mara = wd_context->get_child_node( name = wd_this->wdctx_cn_mara ).
      @TODO handle not set lead selection
        IF lo_nd_cn_mara IS INITIAL.
        ENDIF.
      get element via lead selection
        lo_el_cn_mara = lo_nd_cn_mara->get_element(  ).
      @TODO handle not set lead selection
        IF lo_el_cn_mara IS INITIAL.
        ENDIF.
      alternative access  via index
      lo_el_cn_mara = lo_nd_cn_mara->get_element( index = 1 ).
      @TODO handle non existant child
      IF lo_el_cn_mara IS INITIAL.
      ENDIF.
      get all declared attributes
        lo_el_cn_mara->get_static_attributes(
          IMPORTING
            static_attributes = ls_cn_mara ).       " here u are getting the selected row of the table.
    APPEND ls_cn_mara to ls_cn_mara1.      " append the row in the table so that can be binded with the second node
      DATA lo_nd_cn_maraout TYPE REF TO if_wd_context_node.
      DATA lo_el_cn_maraout TYPE REF TO if_wd_context_element.
      DATA ls_cn_maraout TYPE wd_this->element_cn_maraout.
    navigate from <CONTEXT> to <CN_MARAOUT> via lead selection
      lo_nd_cn_maraout = wd_context->get_child_node( name = wd_this->wdctx_cn_maraout ).
    Bind the table with the second node
    lo_nd_cn_maraout->bind_table( ls_cn_mara1 ).
    endmethod.
    ->cn_mara  is the first node.
    ->cn_mara1  is the second node
    Thanks,
    Pankaj Aggarwal
    Edited by: Pankaj Aggarwal on Nov 19, 2008 7:40 AM

Maybe you are looking for

  • What is the significance of having Ver 1 and Ver 2 in a Bal Sheet?

    Hi, 1. What is the significance of having Version 1 and Version 2 in a Balance Sheet(Income Statement)? Any real life significance of these versions? 2. I had a previous question which was not answered, can verify if having version 1 and version 2 in

  • Installing multiple copies of the SAME service on a BOX

    This is a "Best Practice" question for BOE-XI (3.x). I have dug through the 3.1 DEPLOYMENT training, Admin and Pattern documents, but none of them clearly discuss anything around installing multiple copies of the SAME service (eg. CMS, ReportJob) on

  • Webservice controls using WSDL in weblogic portal10.3.2

    Hi All How to create and use Webservice controls using WSDL in weblogic portal10.3.2 ? Is that possible ? If no, is there any other easy way to implement the same ? thanx developer

  • Insert more information on MM60

    Hi all experts, I want to display more information: 'Old Material', 'Division', 'Account Assignment', 'Tax classification material', 'Cash Discount', 'Availability Check', 'Sale Division', 'MRP3 strategy group ' in transaction MM60. But MM60 does not

  • Daily backup for a certain folder on my desktop using Ipod - Possible?

    I would like to use my iPod as a memory media to perform a daily backup (at a certain given time, every day) for a folder in my computer. How do I do that? Do I need to have some sort of a software that will be directed to the iPod as its media? Is s