Copy value of condition type to another condition type *Not Percentage*

Hi SAP community!
How can I copy the value of a condition type to another condition type in my pricing procedure?  The rules are that these conditions are not Percentage. The calculation type is Quantity for the two conditions.
I want to copy the value of condition type PMIN (Minimum Price) to another Z condition type.
Thank you all

Hi Lakshmipathi;
In fact, there are two Z conditions that I need to have with the same value of the PMIN. I 've maintained my pricing procedure this way:
For the PMIN, the step is 320
For the ZPV1, the step is 920 and I put in "From " field 320 and in the "To" field 320
For the ZPV0, the steo is 925 and I put in "From " field 320  and in the "To" field 320
But when I looked the Conditions Tab in the sales order there is no value copied to the Z conditions. 
In order to do this, my Z conditions do not need an access sequence assigned, right?

Similar Messages

  • Copying value from one cursor to another

    Hi,
    I have a problem while copying values from one cursor to another cursor.
    The code looks like below.
    PROCEDURE XYZ
                TransactionResultSet OUT NOCOPY types.ref_cursor,
    IS
                temp_cursor types.ref_cursor;
                wip_rec types.ref_cursor;
    BEGIN
    DECLARE
                    CURSOR temp_cursor IS
                SELECT ...........
    END;
    BEGIN     
        FOR wip_rec IN temp_cursor
        LOOP
        update tinsagr set something
        where {the condition}
            IF SQL%ROWCOUNT = 0 THEN
      dbms_output.put_line('this is test ');
            Fetch wip_rec into TransactionResultSet;
         END IF;
       END LOOP;so basically i want to iterate the "temp_cursor" and depending on the values i get it from here i shall update a table. Actually i want to exclude few records from "temp_cursor" and add it/copy rest of the records to "TransactionResultSet"
    That means say initially " temp_cursor" has 100 records and i updated 5 records in a table and same number of records should be excluded and rest should be added to the output cursor TransactionResultSet.
    How do i achieve it?
    while saving i am getting
    (1): PLS-00456: item 'WIP_REC' is not a cursor.
    Do any one has any idea what to do in such scenario?

    There are options like....
    SQL> CREATE OR REPLACE TYPE emp_obj AS OBJECT (ename VARCHAR2(50), dept NUMBER);
      2  /
    Type created.
    SQL> CREATE OR REPLACE TYPE emp_tbl IS TABLE OF emp_obj;
      2  /
    Type created.
    SQL> set serverou on
    SP2-0158: unknown SET option "serverou"
    SQL> set serverout on
    SQL> DECLARE
      2    rc      sys_refcursor;
      3    v_ename emp.ename%TYPE;
      4    v_dept  emp.deptno%TYPE;
      5    ---End Of Local Varriable Declaration
      6    --Procedire declaration !
      7    PROCEDURE TEST_CUR(pi_out_ref_cur IN OUT sys_refcursor) IS
      8      emp_rec emp_tbl;
      9    BEGIN
    10      /* This BULK COLLECT can be done with explicit cursor,Ref Cursor
    11      with some simple modification, Here I have used implicit cursor! */
    12      SELECT emp_obj(ename, deptno) --Casting as the object
    13      BULK COLLECT
    14        INTO emp_rec
    15        FROM emp
    16       WHERE deptno = 10;
    17   
    18      dbms_output.put_line('Records selected are:');
    19      FOR i in 1 .. emp_rec.COUNT LOOP
    20        dbms_output.put_line(emp_rec(i).ename || '--' || emp_rec(i).dept);
    21      END LOOP;
    22      --Now we are filtering the record and may be doing some operation with each record.
    23      FOR i in 1 .. emp_rec.COUNT LOOP
    24        IF emp_rec(i).ename = 'KING' THEN
    25          --You can change this IF according to your need.
    26          emp_rec.DELETE(i);
    27        END IF;
    28      END LOOP;
    29      OPEN pi_out_ref_cur FOR
    30        SELECT * FROM TABLE(emp_rec); --Using the TYPE AS table.
    31    END TEST_CUR;
    32    /* Main execution or procedure calling section*/
    33  BEGIN
    34    --Actual calling
    35    TEST_CUR(rc);
    36    dbms_output.new_line;
    37    dbms_output.put_line('Now in Ref Cursor');
    38    dbms_output.put_line('****************');
    39    LOOP
    40      FETCH rc
    41        INTO v_ename, v_dept;
    42      dbms_output.put_line(v_ename || '--' || v_dept);
    43      EXIT WHEN rc%NOTFOUND;
    44    END LOOP;
    45 
    46  END;
    47  /
    Records selected are:
    CLARK--10
    KING--10
    MILLER--10
    Now in Ref Cursor
    CLARK--10
    MILLER--10
    MILLER--10
    PL/SQL procedure successfully completed.
    SQL>

  • Copy values from a filed to another in different blocks in same table

    Hi All,
    How to copy value from a filed to another field in different blocks in same form ?
    example if i change value in Field A of block 1 it should reflect in Field B block 2 and again if i change in Field B block 2 it should reflect in Field A of block 1.
    values will change twice or thrice then it will not change. It is happening like that.
    how to do this ?
    Regards

    Same table / different blocks
    I guess, both blocks will be marked for update, and when your user presses commit, the same table will be updated twice!
    Are you sure that this is what you want to do? Is the same record current in both blocks? If so, you better use 1 block (it can be spread over several canvases and windows) and synchronize the items with the "synchronize item" property.
    Anyway: If you can't apply the synchronize-property bcos the items are in different blocks, you can synchronize with 2 when-validate-item triggers.
    Wolfram

  • Can i copy values from one object to another ?

    One more help..
    How do i compare the input values with the ones in an object of another class ?
    Can i copy values of one object of a class to different object of another class ?
    Thanks,
    Sanlearns

    How do i compare the input values with the ones in an
    object of another class ?By getting and comparing them?
    Can i copy values of one object of a class to
    different object of another class ?Yes, you can. But you shouldn't, as you're breaking encapsulation all over the place. You could use setter methods (if available) to set the values.

  • How can i change a pdf file type to another file type

    how can i change a pdf file type to another file type

    You can copy the contents and paste it into a Word file. Just don't expect everything to transfer or to retain all of the formatting.

  • How to shift valuation class from one material type to another material type ?

    I have came across following weird scenario:
    We already created huge no.of materials of material type say ZABC with two valuation classes say 1100 and 1200(GL accounts for these VCs for different posting keys in OBYC settings are same). Account category reference for this material type is 0010.
    After that we created new material type say ZPQR  with new Account category reference 0025, and valuation class 1200 is linked with this ACR 0025. Because of this, valuation class 1200 disappeared from material type ZABC. In order to avoid inconsistency, we need to have valuation class 1200 linked with older material type i.e.ZABC.How we can do this ? What impacts must have happened in this period (from MM/FI) in the system, where valuation class get shifted from one material type(ZABC) to another material type(ZPQR)....please help us in this scenario.

    Thanks Sana,
    We are also looking for the solution provided by you i.e. reassign ACR 0010 to Valuation class 1200.
    Your are also correct in terms of  statement "config doesnt allow me to assign same valuation class to 2 different AREF (Account reference number/Account category reference).
    I wanted to know, what are the possible impacts in the system during this re-assignment of ACR to old material type ZABC.
    Regards,
    Sudarshan.

  • Populating 0-many complex type within another complex type

    I have a process that is returning 'Person' types. These contain much info, from which, for each person I need to add only 3 node values to a 'member' type within an 'event' type.
    The person types are all processed individually by separate user tasks.
    Is addChildNode() the thing to be using here? Possibly with addElement()? I've looked in JDev at the descriptions of these functions, but to be honest they just confuse me more... it's been a long day... :D
    Any help much appreciated,
    Dan

    If this Re: Joining two output tables in ONE table is for 7.2 still correct, the solution seems to be as there is no solution except handle it in the service itself

  • Nested Type consisting another table type!

    Hi,
    How can I achieve below type declarations?
    TYPES:BEGIN OF ty_scarr,
            carrid    TYPE scarr-carrid,
            carrname  TYPE scarr-carrname,
            currcode  TYPE scarr-currcode,
          END OF ty_scarr,
          BEGIN OF ty_sflight,
            carrid TYPE sflight-carrid,
            connid TYPE sflight-connid,
            fldate TYPE sflight-fldate,
            price  TYPE sflight-price,
          END OF ty_sflight,
          tt_sflight TYPE STANDARD TABLE OF ty_sflight.
    TYPES:BEGIN OF ty_result.
            INCLUDE TYPE ty_scarr.
            TYPES: sflight_tab TYPE tt_sflight,
          END OF ty_result.
    The above results in syntax error however below one works:
    TYPES:BEGIN OF ty_scarr,
            carrid    TYPE scarr-carrid,
            carrname  TYPE scarr-carrname,
            currcode  TYPE scarr-currcode,
          END OF ty_scarr,
          BEGIN OF ty_sflight,
            carrid TYPE sflight-carrid,
            connid TYPE sflight-connid,
            fldate TYPE sflight-fldate,
            price  TYPE sflight-price,
          END OF ty_sflight,
          tt_sflight TYPE ty_sflight OCCURS 0.
    TYPES:BEGIN OF ty_result.
            INCLUDE TYPE ty_scarr.
            TYPES: sflight_tab TYPE tt_sflight,
          END OF ty_result.
    Is there a way to achieve above without using "OCCURS 0" keyword as "OCCURS" keyword is not supported withing OO context?
    Thanks!

    Hello,
    Which ABAP release are you working on?
    When i use your code (on an ABAP 740 kernel) i get the following error message -
    This is because the type is generic w.r.t the key. If you intend to use it in other types, you have to explicitly define the key for the table type.
    Since I'm on ABAP release 740 so i can use the addition EMPTY KEY -
          tt_sflight TYPE STANDARD TABLE OF ty_sflight
                     WITH NON-UNIQUE EMPTY KEY.
    If you are on previous releases i think you can use the addition DEFAULT KEY.
    BR,
    Suhas
    PS - Further read: ABAP News for Release 7.40 - Internal Tables with Empty Key

  • Copy values from model node to another model node with different structure

    Hi,
    I am getting detils from RFC1 and update some of the data into another RFC2.
    the first RFC1 having the strucutre
    context
    NodeName
    nodel
    arrtibutes
    the second RFC2 having the different strucutre
    context
    NodeName1
          | nodel2
               | arrtibutes2
               | arrtibutes3
          | nodel5
               | arrtibutes4
               | arrtibutes5
    I need to copy the values from first one to second one.
    Both are different structures.
    Can any one tel me how to do it.
    Thanks
    Ravi

    Hi,
    Create 1 custom controllers for each Model.
    1.Cust COntroller1:
            Node one.
            ->Attr1(type:String)
            ->Attr2(type:long)
    2.Cust COntroller2
            Node one.
            ->Attr1(type:String)
            ->Attr2(type:long)
    Through the component controller only u can send the data by mapping.
    In component controller:
      Node one.
            ->Attr1(type:String)
            ->Attr2(type:long)
    Step1:Map the elements from custControler1.
    Before mapping make sure that u have data in CustController Context=>value node.
    (Note:cust controler node s model node means copy the elements to value node using copyservice)
    step2:Go to cust controller2 goto value node and map it.
    if ur nt getting,Plz let me knw,
    Thanxs,
    Lavanya.G

  • How to copy value from one field to another in a Apex Form

    Hello guys,
    There are 2 addresses one is shipping and other is billing. I do not want the customer to re-enter all the details if it is the same address. So based upon an action, it should take the live values from one address field and populate the other address field. I know in JS you can do it, but how to implement that in Apex?
    I guess using Dynamic Actions to achieve this in Version 4 but do not know how. Read quite some info but no luck.
    Thanks in advance!

    Hi,
    I have assumed that you have your shipping address at the top of the page, and then further down the page you have your billing address that you want to enable the users to copy (if this is in reverese, you will need to switch the js variables in the code following).
    I would create a Select List item above the 'Billing Address' details, called PX_SAME_ADDRESSThis select list would be static, with the options Null.
    I also assume you would have pairs of address page items such as:
    PX_SHIPPING_ADDRESS_L1
    PX_BILLING_ADDRESS_L1
    PX_SHIPPING_ADDRESS_L2
    PX_BILLING_ADDRESS_L2
    PX_SHIPPING_POST_CODE
    PX_BILLING_POST_CODEThen copy the following code into the HTML Header of the page definition:
    <script language="JavaScript" type="text/javascript">
    function copyAddress()
       if( $x('PX_SAME_ADDRESS').value == 'YES')
         $x('PX_BILLING_ADDRESS_L1').value = $x('PX_SHIPPING_ADDRESS_L1').value;
         $x('PX_BILLING_ADDRESS_L2').value = $x('PX_SHIPPING_ADDRESS_L2').value;
         $x('PX_BILLING_POST_CODE').value = $x('PX_SHIPPING_POST_CODE').value;
       else //Clear Address Fields
         $x('PX_BILLING_ADDRESS_L1').value = " ";
         $x('PX_BILLING_ADDRESS_L2').value = " ";
         $x('PX_BILLING_POST_CODE').value = " ";
    </script>Then, in your PX_SAME_ADDRESS item, copy the code below into the Element > HTML Form Element Attributes field.
    onChange="copyAddress();"Hopefully this works for you too, and should give you some basis to play around with.
    Amanda.

  • Copy value from 1 parameter to another parameter

    i have 2 parameters on a selection screen, p_file and p_file2
    im doing a VALUE-REQUEST FOR p_file, now I want p_file2 to get the same value on the slection screen
    but this value is not appearing on the selection screen
    need help on that
    see code below
    AT SELECTION-SCREEN on VALUE-REQUEST FOR p_file.
      CALL METHOD cl_gui_frontend_services=>file_open_dialog
        CHANGING
          file_table              = lt_filetab
          rc                      = v_rc
        EXCEPTIONS
          file_open_dialog_failed = 1
          cntl_error              = 2
          error_no_gui            = 3
          not_supported_by_gui    = 4
          OTHERS                  = 5.
      READ TABLE lt_filetab INTO ls_filetab INDEX 1.
      IF sy-subrc = 0.
        p_file = ls_filetab-filename.
         p_file2 = p_file.

    hi,
    Either we can copy the value in INITIALIZATION or AT SELECTION_SCREEN OUTPUT.
    initialization.
    p_file2  = p_file.
    at selection-screen output.
      p_file2  = p_file.
    hope this helps.
    thanx,
    dhanashri.

  • How to copy value from one frame to another frame

    Hi,
    I am new to swing prgramming .
    I have created a menu called " TopFrame " and it contains toplevel menu item "select" and select Menu contains subitems "firstframe", "secondframe", "thirdframe" and "Exit".
    When i click select->firstframe it displays a new Frame f1 with a
    textfield t1. I enter value in textfield t1 and minimise the frame.
    similarly when i click select->secondframe it displays a new Frame f2 with a textfield t1. I enter value in textfield t1 and minimise the frame.
    now when i click select->thirdframe it displays a frame f3 which contains button called "Totalvalue" and a textfield t2 .
    MY question is after opening frame f3 when i press "Totalvalue" button it should add the values from textfield t1 from both the frames f1 and f2 and display the result in textfield t2 of frame f3.
    Actually my application is big but for better understanding i have reduced the description above.
    I am posting the code...Kindly help me
    thanks in advance..
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.Component;
    import java.awt.Checkbox;
    import javax.swing.*;
    import java.text.DecimalFormat;
    import javax.swing.JComponent;
    public class MainWindow extends Frame {
      public MainWindow() {
        super("TopFrame");
        setSize(600, 600);
        // make a top level File menu
        FileMenu fileMenu = new FileMenu(this);
        // make a menu bar for this frame 
        // and add top level menus File and Menu
        MenuBar mb = new MenuBar();
        mb.add(fileMenu);
        setMenuBar(mb);
        addWindowListener(new WindowAdapter() {
          public void windowClosing(WindowEvent e) {
            exit();
      public void exit() {
        setVisible(false); // hide the Frame
        dispose(); // tell windowing system to free resources
        System.exit(0); // exit
      public static void main(String args[]) {
        MainWindow w = new MainWindow();
        w.setVisible(true);
        w.setBackground(Color.white);
    private static MainWindow w ;
    protected TextField t1, t2;
      class FileMenu extends Menu implements ActionListener {
      private MainWindow mw; // who owns us?
      private MenuItem itm1   = new MenuItem("Firstframe");
      private MenuItem itm2   = new MenuItem("Secondframe");
      private MenuItem itm3   = new MenuItem("Thirdframe");
      private MenuItem itmExit = new MenuItem("Exit");
        public FileMenu(MainWindow main)
        super("Select");
        this.mw = main;
        this.itm1.addActionListener(this);
        this.itm2.addActionListener(this);
        this.itm3.addActionListener(this);
        this.itmExit.addActionListener(this);
        this.add(this.itm1);
        this.add(this.itm2);
        this.add(this.itm3);
        this.add(this.itmExit);
      public void actionPerformed(ActionEvent e)
        if (e.getSource() == this.itm1)
         final Frame f1 = new Frame("first frame opened");
         f1.setSize(500,500);
         f1.setLayout(null);
         Label l1 = new Label("Enter first value below");
         l1.setBounds(220, 250, 240, 24);
         f1.add(l1);
         TextField t1 = new TextField("0");
         t1.setBounds(260, 300, 40, 24);
         f1.add(t1);
          f1.addWindowListener(new WindowAdapter() {
            public void windowClosing(WindowEvent e)
              //System.exit(0);
               f1.dispose();
         f1.show();
       else
       if (e.getSource() == this.itm2)
         final Frame f2 = new Frame("second frame opened");
         f2.setSize(500,500);
         f2.setLayout(null);
         Label l1 = new Label("Enter first value below");
         l1.setBounds(220, 250, 240, 24);
         f2.add(l1);
         TextField t1 = new TextField("0");
         t1.setBounds(260, 300, 40, 24);
         f2.add(t1);
          f2.addWindowListener(new WindowAdapter() {
            public void windowClosing(WindowEvent e)
              //System.exit(0);
               f2.dispose();
         f2.show();
       else
       if (e.getSource() == this.itm3)
         final Frame f3 = new Frame("third frame opened");
         f3.setSize(500,500);
         f3.setLayout(null);
         JButton b1  = new JButton("Totalvalue");
         b1.setBounds(220, 300, 180, 24);
         f3.add(b1); 
         TextField t2 = new TextField("0");
         t2.setBounds(410, 300, 40, 24);
         f3.add(t2);
         f3.addWindowListener(new WindowAdapter() {
            public void windowClosing(WindowEvent e)
              //System.exit(0);
               f3.dispose();
         f3.show();
       else
       { mw.exit();}

    hi ,
    I have extended my application ...i have some doubts can you please clear my doubts..
    Now i have two textfields t1 and t2 in both the frames frame 1 and frame 2 and i have 2 buttons Button1 and Button2, textfields t5 and t6 in frame3.
    Now my question is i enter some values in t1 and t2 in frame1, and t1 and t2 in frame2 and minimise or close them...when i open frame3 and press Button1 it should take values from t1 in both frame1 and frame2 , add them and display the result in t5( in frame3)... similarly when i press Button2 it should take values from t2 in both frame1 and frame2, add them and display the result in t6(in frame3).
    Can you please tell me how can i do this?
    Thanks in advance.
    I am posting the code...
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.awt.Component;
    // Make a main window with a top-level menu: File
    public class MainWindow extends Frame {
        public MainWindow() {
            super("Test Window");
            setSize(500, 500);
            // make a top level File menu
            FileMenu fileMenu = new FileMenu(this);
            // make a menu bar for this frame
            // and add top level menus File and Menu
            MenuBar mb = new MenuBar();
            mb.add(fileMenu);
            setMenuBar(mb);
            addWindowListener(new WindowAdapter() {
                public void windowClosing(WindowEvent e) {
                    exit();
        public void exit() {
            setVisible(false); // hide the Frame
            dispose(); // tell windowing system to free resources
            System.exit(0); // exit
        public static void main(String args[]) {
            w = new MainWindow();
            w.setVisible(true);
        private static MainWindow w ;
        protected TextField t1, t2,t5,t6;
        // Encapsulate the look and behavior of the File menu
        class FileMenu extends Menu implements ActionListener {
            private MainWindow mw; // who owns us?
            private MenuItem itmPE   = new MenuItem("ProductEvaluation");
            private MenuItem itmPRE   = new MenuItem("ProcessEvaluation");
            private MenuItem itmTE   = new MenuItem("TotalEvaluation");
            private MenuItem itmExit = new MenuItem("Exit");
            public FileMenu(MainWindow main) {
                super("File");
                this.mw = main;
                this.itmPE.addActionListener(this);
                this.itmPRE.addActionListener(this);
                this.itmTE.addActionListener(this);
                this.itmExit.addActionListener(this);
                this.add(this.itmPE);
                this.add(this.itmPRE);
                this.add(this.itmTE);
                this.add(this.itmExit);
            // respond to the Exit menu choice
            public void actionPerformed(ActionEvent e) {
                if (e.getSource() == this.itmPE) {
                   final Frame frame1 = new Frame("Frame1");
                    frame1.setSize(700,700);
                    frame1.setLayout(null);
                    t1 = new TextField("");
                    t1.setBounds(230, 230, 50, 24);
                    frame1.add(t1);
                    t2 = new TextField("");
                    t2.setBounds(330, 230, 50, 24);
                    frame1.add(t2);
                    frame1.addWindowListener(new WindowAdapter() {
                        public void windowClosing(WindowEvent e) {
                            frame1.dispose();
                    frame1.setVisible(true);
                else
                if (e.getSource() == this.itmPRE) {
                  final  Frame frame2 = new Frame("Frame2");
                    frame2.setSize(700,700);
                    frame2.setLayout(null);
                    t1 = new TextField("");
                    t1.setBounds(230, 230, 50, 24);
                    frame2.add(t1);
                    t2 = new TextField("");
                    t2.setBounds(330, 230, 50, 24);
                    frame2.add(t2);
                    frame2.addWindowListener(new WindowAdapter() {
                        public void windowClosing(WindowEvent e) {
                            frame2.dispose();
                    frame2.setVisible(true);
                else
                if (e.getSource() == this.itmTE) {
                  final  Frame frame3 = new Frame("Frame4");
                    frame3.setSize(700,700);
                    frame3.setLayout(null);
                    t5 = new TextField("");
                    t5.setBounds(170, 230, 50, 24);
                    frame3.add(t5);
                    t6 = new TextField("");
                    t6.setBounds(270, 230, 50, 24);
                    frame3.add(t6);
                    ActionListener action = new MyActionListener(frame3,t5,t6);
                    Button b1  = new Button("Button1");
                    b1.setBounds(170, 400, 120, 24);
                    b1.addActionListener(action);
                    frame3.add(b1);
                    Button b2  = new Button("Button2");
                    b2.setBounds(300, 400, 120, 24);
                    b2.addActionListener(action);
                    frame3.add(b2);
                    frame3.addWindowListener(new WindowAdapter() {
                        public void windowClosing(WindowEvent e) {
                            frame3.dispose();
                    frame3.setVisible(true);
                else {
                    mw.exit();
          class MyActionListener implements ActionListener {
                private Frame frame3;
                private TextField t5;
                private TextField t6;
                public MyActionListener(Frame frame3,TextField tf5,TextField tf6)
                    this.frame3 = frame3;
                    this.t5 = tf5;
                    this.t6 = tf6;
                public void actionPerformed(ActionEvent e) {
                    String s = e.getActionCommand();
                    if (s.equals("Button1")) {
             // I think code for the Button1 action can be written here  
          else if (s.equals("Button2")) {
             // I think code for the Button2 action can be written here  
           

  • Question about changing a file type into another file type

    Hello. This isnt a java question but you guys have been so helpful in the past I hope its ok if I ask this question for a friend.
    How can I import a scriptware file into Screenwriter 2000, or change a .scw file into a .tag file?
    Anyone who can help thanks.

    I know nothing about scriptware or Screenwriter. But, my only advice is to see if Scriptware can export some other file type (not necessarily a .scw file) that Screenwriter can read. Sometimes, when I have two text editors whose native formats are incompatible (like opening a paper typed in a new version of Microsoft Word using an old version of WordPerfect or something), I save the file as an RTF file, rather than in the native format. Maybe something like that applies to your situation, too.
    Hope that helps.
    Jason

  • Copy values from one Parent node to other Parent Node

    Hi all,
    I have a 2 Parent node each having 3 child nodes. I want to copy the values of all the attributes of all the child nodes of one Parent Node to corresponding other node.
    Both the Parent Nodes as well as their Child Nodes have different name but their attributes have same name.For ex:
    Parent Node -A
    Child Nodes - a, b,c
    Child Node "a" has attributes "x" and "y"
    Parent Node -B
    Child Nodes - d,e,f
    Child Node "d" has attributes "x" and "y" .
    Now I want to copy the values od attributes "x" and "y" from one Parent Node to other Parent node.
    Please help me out.
    Helpful answers will be rewarded.
    Thanxs in advance...

    Hi Jin,
    To use copy service API, u need to satisfy 2 condition for the attributes of source node and target node:
    1. The name of the attribute should be same (including the case of the name)- Abc is different from ABC
    2. Type of the attribute should also be the same.
    copy elements works for copying values from Model node to context and does not work vice-versa. To enable the copying of context node to model node, use copycorresponding API.
    Eg:
    int contextNodeSize = wdContext().node<contextNodeName>().size();
    for(int i = 0; i < contextNodeSize; i++)
         <modelNodeName> modelObject = new <modelNodeName>();
         <contextNodeName>Element contextObject = wdContext().node<contextNodeName>().get<contextNodeName>ElementAt(i);
         WDCopyService.copyCorresponding(contextObject, modelObject);
    This will copy the values from Context Node to Model Node.
    Hope this helps you.
    Regards,
    Poojith MV

  • How to transfer stock from one storage type another storage type

    Hi Guys
    I have 10 items
    How can I transfer all in One Single Transfer order  from one storage type to another storage type
    I need to take TO print for all these 10 TO items

    Hi,
    Goto LT01 transaction with Movment type = 999 and stock category = Required stock category. Create a PCN and process the remaining process so as to change the stock type.
    Regards,
    Dilli Babu R

Maybe you are looking for

  • Unable to add printer after 10.4.8 update

    Hello! I updated to 10.4.8 (combo update) on a G5 Quad and lost my printer settings. When I tried to add the printer again, the only thing I get is an error message: "server-error-service-unavailable". I'm using a HP Laserjet 2200 with a D-Link Ether

  • Multiple idocs from single flat file

    Hi All I want to send data from a flat file to SAP(file to idoc) My flat file structure is id,name,number,city 2,R1,234,SD 2,R2,457,MD 3,R4,789,HG 3,R6,235.HG The Field 'id' will change..after  every change in 'id' ,seperate idoc should be created. I

  • Email-statusing -service error

    Hi All, After configuring Email-statusing-service properties in config.properties file and running run.sh file throws the below error .Please sahre your ideas on this ... 12 more 2012-11-20 18:15:00,013 [org.springframework.scheduling.quartz.Schedule

  • UPDATE statement not working

    Hi, I want to modify the record of PA0009 .I want to change the enddate of personnel No. UPDATE PA0009 SET ENDDA = '30.10.2009'               WHERE PERNR = '1'               AND BEGDA =  '01.09.2008'. The above statement is not working. How to modify

  • Microsoft Word dissapeared from applications

    I accidently dragged my Word Icon from my dock and poof it dissapeared. Did not think anything about it, until later on.  I think I may have already emptied out my trash.  And I have tried looking for it in applications.  And it is not there.  I'm ne