Move values of one field symbol to other field symbol of different structur

Hi all,
i need to move values of one field symbol to other field symbol of different structure.
I need to perform operations like MOVE-CORRESPONDING on two field symbols of different structure.
How can i achieve this?
field symbol 1 have 2 field and field symbol2 have 4 fields....
Best Regards,
Vijay.

Hi,
You can use -
MOVE-CORRESPONDING <struct1> to <struc2>.
In this case it will move the contents of the components from struct1 to struct2 that has identical names.
You can refer this link also-
http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3260358411d1829f0000e829fbfe/content.htm
Regards,
Sujit

Similar Messages

  • Search a value in one field contained in different tables

    In my database, a field name is used in more than one table. For example, the field 'ITEMCODE' is available in TABLE1, TABLE2, TABLE3, etc... Can anyone please suggest a query to search a particular value in this field in all tables ? Thanks for your answers.

    The query you need depends on the datatype of the column you need.
    you could try this for a number:
    select 'select '||column_name||' , '''||table_name||''' table_name from '||table_name||' where '||column_name||' = '||Yournumbervalue||' union '
    from user_tab_cols
    where column_name = 'Your_column_name'or a varchar2:
    select 'select '||column_name||' , '''||table_name||''' table_name from '||table_name||' where '||column_name||' = '''||YourVarchar2value||''' union '
    from user_tab_cols
    where column_name = 'Your_column_name'user uppercase for Your_column_name, strip off the last union and you might have what you're looking for...

  • How to find out the max/min value of one field corresponding to a second field in HANA through graphical way.

    Hi,
    I am trying to find out the latest delivery date(EINDT)  for each purchasing document (EBELN) through graphical way.
    The view contains other fields apart from the above mentioned two fields.
    When only the two fields (EBELN, EINDT) are there, then in semantics, I can select 'Max' as aggregation to get the maximum value for each document.
    If I do like this, then I need to join more than 3 views and also so many joins in calculation view. Taking so much time for data preview.
    Hence , please help me in getting the solution while the view contains other fields also.
    Thanks in advance.
    Thanks,
    Jyothirmayi

    Hi Sreehari/Vinoth,
    Thank you for your replies.
    if only two fields are then I can get the max/min values of one field corresponding to other field.
    But more than two fields are there with different values, then let me know how to find out the max/min value of a particular filed corresponding to the 2nd field with other fields also should be in the output.
    I hope you understood my issue.Please revert in case of questions.
    Thanks & Regards,
    Jyothirmayi

  • Move value from one listbox to another listbox

    Hi,
    I have two list boxes with list of values in it. Can anyone help me to move values from one listbox to another listbox on click of a button in AWT. It will be of great help if i can get any sample code.
    Thanks a lot in advance

    hi,
    do u want to move a specific item that is selected or all of the items?
    anyway the logic is very simple!:)
    if u want to transfer the currently selected itme form the first List box,
    use the method getSelectedItem() to get the currently selected item.
    then keep this value in a String variable (item)
    and use getItemSelected() to get the Index of it in int.
    keep this value in an int variable (index)
    then delete the item from the first list using the method remove(index) on the first list object.
    then add the item to the second list using
    add(item) on the second list object.
    hope u can work it out urself from here!
    rgds
    JP

  • How to move value from one tlist to another tlist in same form?

    how to move value from one tlist to another tlist in same form on button press?
    Same like in data block wizard when we select value from 1st list it will go to 2nd list and can be move back. Please help i am new to forms .
    Regards

    just call the following proc in your add & add all buttons. Reverse the code for REMOVEs
    this proc will move one item at a time from list_item1 to list_item2.
    PROCEDURE add_an_item
    IS
      v_list_count    NUMBER;
      v_item1_label  VARCHAR2(60);
    BEGIN
      IF :list_item1 IS NOT NULL THEN v_list_count := nvl(Get_List_Element_Count('list_item1'),0);
          IF v_list_count >= 1 THEN FOR i IN 1..v_list_count
          LOOP
             IF   :list_item1    = Get_List_Element_Value('list_item1', i)
             THEN
                  v_item1_label := Get_List_Element_label('list_item1', i);                 
                  Add_List_Element('list_item2',1,v_item_label,:list_item1);         
               Delete_List_Element('list_item1',i);
               Exit;
             END IF;
          END LOOP;
           END IF;
       END IF;
    END;
    *********************************************************************************this proc will move all items from list_item1 to list_item2.
    PROCEDURE add_all_items
    IS
      v_list_count NUMBER;
      v_item_label VARCHAR2(60);
      v_item_value VARCHAR2(60);
    BEGIN
    v_list_count := nvl(Get_List_Element_Count('list_item1'),0);
    IF    v_list_count = 1 AND Get_List_Element_Value('list_item1', 1) IS NULL THEN NULL;
    ELSIF v_list_count >= 1 THEN
           FOR i IN 1..v_list_count
           LOOP
            v_item_value  := Get_List_Element_Value('list_item1', i);
            v_item_label  := Get_List_Element_label('list_item1', i);       
            Add_List_Element('list_item2',i,v_item_label,v_item_value);
           END LOOP;
           clear_list('list_item1');
    END IF;
    END;I added [ code ] tags to make this easier to read.
    Message was edited by:
    Jan Carlin

  • How can I move apps from one computer to the other?

    How can I move apps from one computer to the other?
    (preferably without iCloud)

    Backup your iTunes library to an external drive and onto the other computer
    http://support.apple.com/kb/ht1751

  • 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.

  • How to Insert more than one record at a time- with fixed set of values in one field

    Can someone guide as to how to insert multiple records at a time using ASP VBScript in Dreamweaver CS4 or ADDT.
    If someone can guide then the exact problem is given below.
    I have a MS access database with one table. The table has three fields. The first field is an autonumber field for ID number.
    The second field contains string values- One out of 7 predefined values. One set of records consists of 7 records containing all the seven types of predefined values in fields no 1.
    The third field is a numeric field and can contain integers.
    I want that the user can enter data for the table using an ASP form in such a way that he enters one set of records at a time in one single screen. This way he will not have to remember that he has /has not entered all the seven set of values for the field no 1.
    I am not creating fields with the 7 types of field1value as their names as it will increase the number of fields drastically.
    Please help for dreamweaver ASP VBScript.

    I have successfully inserted seven records in one form submit operation by looping through the command object execute method.
    However, the data that is being inserted by the command object is repetition of the first record and the command object is not taking any data from the text boxes for the second record onwards. In this I had used the isert record behavious generated by DW CS4 and modified it to suit my requirement. However, the data inserted in the first row is getting repeated in all the seven rows.
    Please help.
    Also advise if there are any free dreamweaver server side validation extensions available.

  • How to fill more values in one field (JSP / HTMLX)

    When I want to fill one value in a field on a JSP page, I enter:
    value="<%=someClass.getSomeValue() %>"
    How should I enter more values (e.g. street, city, postal code, country) in one field?
    I tried to put those fields together, so I do one getAddress() call, but the output is (initial screen - supposed to be empty) null null null null
    When I enter a customer, the field works ok (no null values).
    TIA,
    Mylene

    JSP:
    <hbj:inputField     
    id="CustomerAddressInputField"     
    type="STRING"     
    maxlength="10"     
    value="<%=quotationHeader.getCustomer().getAddress().getAddress() %>"
    design="STANDARD"
    ... %>"
    getAddress():
    @return String (complete address / positioning
    pCode unsure!)
    public final String getAddress()
    return (street + " " + pCode + " " + city + " " + cCode);
    This is what returns null null null null
    What I want (if possible) is to change the getAddress() in the JSP in subsequent getStreet() - add space - getPCode() - add space - getCity() - add space - getCCode()
    That will not result in null values - I hope.
    But just putting those calls in the string between the
    value ="<%= and the %>" tags doesn't seem to work!
    TIA,
    Mylene

  • BDC: To Include more than one value in one field.

    Hi All,
    I want to include more than one value in a particular filed, while its running in back ground.
    The requirement is like this
      perform bdc_field       using 'PNPABKRS-LOW'
                                     '01'.
    01 is a filed on employee payroll type : management staff.
    02 - Filed staff
    03 - work men
    How can i include 02 and 03 also for the perform.
    it has to check whether the employee  can belongs to any of the above three.
    Thanks in Advance,
    Points Rewarded for Help full answer.

    Hi, Ramesh,
    You can not use all the 3 fields at the same time, instead you can pass on one variable in that perform.
    eg.
    take all your staff value in one internal table and use the following code
    loop at i_tab into wa_tab.
    data : l_variable type string.
    perform bdc_field using 'PNPABKRS-LOW'  wa_tab-staff.
    endloop.
    in first run of loop it will take value '01', in second '02' and so on.
    regards,
    vikas
    plz reward if helpful.

  • Multiple Checkbox Values Into One Field

    Hopefully someone can help me with this issue I'm having.
    I'm trying to save the values of multiple selected checkboxes into one field separated by commas through ADDT's Insert Transaction code. I can do this easily with DW's standard insert record wizard by using the PHP implode() function but I haven't been able to figure it out with ADDT's code.
    <form>
    <input type="checkbox" value="1" name="program[]" /> Program One
    <input type="checkbox" value="2" name="program[]" /> Program Two
    <input type="checkbox" value="3" name="program[]" /> Program Three
    <input type="checkbox" value="4" name="program[]" /> Program Four
    </form>
    THIS IS ADDT'S CODING
    $ins_quoteManager->addColumn("programs", "STRING_TYPE",  "POST", "programs");
    THIS WORKS VIA DREAMWEAVER'S INSERT RECORD WIZARD
    Original: GetSQLValueString($_POST['programs'], "text"),
    Modified: GetSQLValueString(implode(',',$_POST['programs']), "text"),
    Anyone know how to modify the ADDT code with the implode function to get this to work?

    Have you tried ADDT´s "comma-separated checkboxes" form control, which will also store the values into a field of your choice (and of course retrieve them from there on update record - pages) ? The only possible drawback might be, that the checkboxes can´t be defined statically, means that the array of value/label - pairs will be retrieved from another table by establishing an additional recordset.
    Cheers,
    Günter

  • How do I move Events from one user to the other?

    I have two users on my PowerBook G4 and in preparation of moving all to a new MacBook Pro I want to move the pictures of one user to the other user. I've tried copying them and was successful but the Events did not copy, rather all 530 photos copied as one Event. How do I copy the photos and maintain the Events?

    iPhoto Library Manager is recommended on here many times every day. I can't recall anyone mentioning a significnt issue with it.
    Regards
    TD

  • How can i move icons from one screen to the other?

    How do i move icons from one page to another?

    Tap and hold any icon for a couple of seconds. They'll all start to wobble. Tap and drag the one you want to move to the side of the screen and the next screen will appear; drop the icon on whatever screen you want it on.
    You can also do it quicker in iTunes - connect the phone and click the Apps tab in the main window. You'll see a picture of your phone with the apps laid out. Just click and drag

  • 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 move Person from One org.Unit to other

    Hi,
         I want to move a Central Person from One Org.Unit to Other Org.Unit programatically ( through function module ). I am trying to use the FM "OM_CREATE_NEW_RELATIONS" .
    But, it's not working. Can anyone through some light on this ?
    Thanks in Advance..
    Prasad

    Thanks for the reply,
    But, i do not want to delete and then assign.
    I just want to mimic the Drag & Drop option available in PPOMA_BBP.
    In the background system is using a FM "OM_CREATE_NEW_RELATIONS". I am trying to use this FM in similar way . But, it is not moving the CP and Position.
    Thanks,
    Prasad

Maybe you are looking for