Copying fields from one screen to another

Hi All,
I want to move data from one field of a program to another field of a different program.  I mean, I have a date field (this field i will fill with the current date or any other date value) in my program.  This field is a parameter on my screen.  Now in my program I am calling a transaction, which opens up a new program with new screen.  I want to pass my date value to this new screen.  Is it possible to do that? Pls explain with an example.  Greatly appreciate that!
Thanks in advanced!

http://www.erpgenie.com/abap/bdc.htm
http://www.sapdevelopment.co.uk/bdc/bdc_ctcode.htm
http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm
http://abap-gallery.blogspot.com/2007/08/bdc-batch-data-communication-tutorial.html
http://www.savefile.com/files/155321
http://www.savefile.com/files/155324
http://www.savefile.com/files/155326
Regards,
Abhishek

Similar Messages

  • Copying fields from one textfield to another

    in this program i need for the t3, t5, t6 and t7 to copy the textfield from the tt, tt2, tt3 and tt4, everything else works fine, but i just don't know how to this part, when i try the t3 = tt.getText(); gives me an error.
    my code is below
    import java.awt.*;
    import java.awt.event.*;
    public class HammingCodeClient extends HammingCodeGUI implements ActionListener
         String p1, p2, p3;
         String d1, d2, d3, d4;
         public void init()
              super.init();
              b.addActionListener(this);
         //public void buttonPressed( e)
         public void actionPerformed(ActionEvent e)
              d1 = tt.getText();
              d2 = tt2.getText();
              d3 = tt3.getText();
              d4 = tt4.getText();
              for( int i = 0; i < 3; i++)
                   if(d1 == "1" && d2 == "1" && d4 == "1")
                        t.setText("0");
                   else
                        t.setText("1");
                   if(d1 == "1" && d3 == "1" && d4 == "1")
                        t2.setText("0");
                   else
                        t2.setText("1");
                   if(d2 == "1" && d3 == "1" && d4 == "1")
                        t4.setText("0");
                   else
                        t4.setText("1");
         }

    like Praveen was sayingPraveen was quite reasonably showing the OP where the spoons are kept and suggesting they might be used. That's probably enough.
    On another matter...
    OP wrote:
    if(d1 == "1" && d2 == "1" && d4 == "1")Don't compare strings (or other objects) with ==, use the equals() method instead.
    d1.equals("1")

  • Copying screen elements from one screen to another in 4.5b

    Hi ABAP Gurus
    Please help me out from the following situation.
    I am in a situatin where i need to copy the screen elements(Block, I/O fields, Push buttons) from one
    screen to another and do the modifications in the copied screen. Here iam using 4.5b version and i am unable to find out to copy the screen. I am trying with the following way and is not working for me.
    selecting the block -
    >EDIT---->CLIPBOARD---->Copy to Temp Storage
    EDIT---->CLIPBOARD---->display temp stor.
    but itz not working.
    Please let me know the process. Please dont forgrt that i am working on 4.5b version.
    will reward with points for the helpfull ones.
    Thanx in advance.

    don't go from that way
    go to source screen select contents with ctrl key and mous e
    procedure :  click on one object press ctrl after that click on all object along with ctrl key.
    copy or ctrl +c
    open target screen paste.
    when u paste a structure comes with your pointers just click on screen
    regards
    aniruddh singh

  • Transfer field value from one screen to another screen

    hi gurus,
    I am using field exit in mm02, i want to transfer field value from one screen to another screen. I am using Export, Import, Some FM like DYNP.......
    but not getting the value.
    can any one give idea about this.
    Thanks in Advance,
    Sudheer.

    I THINK IN FIELD EXITS SOME RESTRICTION IS THERE YOU CAN NOT USE CALL TRANSACTION OR CALL SCREEN. I DONT KNOW WHAT IS YOUR ACTUAL REQUIREMENT. BUT YOU ARE TRYING TO CALL TRANSACTION USING MEMORY ID OR SOMETHING THEN I THINK IN FIELD EXIT YOU CAN NOT DO THAT. PLS CORRECT ME IF I AM WRONG
    REGARDS
    SHIBA DUTTA

  • HOW to copy Form field from one RTF to another RTF

    Hi Expert
    I have developed 20 reports in BI Publisher which is using xml as data source. So to access the data i have done the xml coding for each form field.
    Now i want to copy the form field from one rtf to another, while doing the copy paste of the form field from one rtf to another it is not copying the xml coding. It is appearing in the new rtf as below
    <?ref:xdo0391?>
    Can you guys suggest me how to achieve the same. Is there any setting need to be changed so that while do the copy paste the form field it will copy the backend code also.
    Thanks in advance.
    Thanks
    Srikant

    make your template set as backward compatabile before you do anything on template. load the xml and then copy the form field. it should work. dont try to open the field without loading xml.

  • Exporting and importing a field value from one screen to another in BSP

    Hi All,
    I am working on a BSP application which consists of multiple screens. I have to export the value corresponding to a value selected from a drop down and import it in another screen so that in the next screen values can be populated corrsponding to the value selected in the drop down in the first screen.
    I tried using SET/GET parameter and also EXPORT/IMPORT so that I can get value from one screen into another screen but both the statements are not working in BSP....
    Please help...
    Vivek Gupta
    Edited by: guptav_infy on Feb 21, 2010 11:33 AM

    Hi All,
    This question is still un answered. please reply ..
    Vivek

  • How we can get the values  from one screen to another screen?

    hi guru's.
         how we can get the values  from one screen to another screen?
              we get values where cusor is placed but in my requirement i want to get to field values from one screen to another screen.
    regards.
      satheesh.

    Just think of dynpros as windows into the global memory of your program... so if you want the value of a field on dynpro 1234 to appear on dynpro 2345, then just pop the value into a global variable (i.e. one defined in your top include), and you will be able to see it in your second dynpro (assuming you make the field formats etc the same on both screens!).

  • Edit Text from one screen to another screen

    Hi Experts,
           Here I am having two doubts in doing functionality on SMP 2.3,The below mentioned are the doubts,
                       1. In SMP 2.3 Version,When i am doing Hybrid App Designer in that  Edit Text functionality to pass the values from one screen to another screen,we want to type any text or digits in edit text keypad options is not opening in that field.If any one knows to handle that issue please let me know experts.
                       2.  In SMP 2.3 Version,When i am doing Hybrid App Designer we are taking some labels or buttons or edit box etc....,first time i am generating the hybrid app it is displaying in the mobile device what ever i give in that screen.Afterwards when i am updating second time in that screen with extra functionality labels or buttons or edit box etc...,and generating hybrid app,these time it is not displaying in mobile device which i gave not updating.If any one knows to handle that issue please let me know experts.
         For these both isssues if anybody gets solutions to handle these data please let me know and if links are there please provide it .
    Thanks & Regards,
      Lokesh Reddy G,
      9700414490.

    Hi Lokesh,
    Regarding your queries:
    1. What kind of device/simulator and OS you are testing your app? What is its version?
    Can you share the snapshots as well?
    2. What extra functionality you have added 2nd time? When you generating hybrid app 2nd time is it uploading in HWC container successfully?
    Meanwhile you can check this blog
    A workflow Application to Release A Purchase Order...
    Rgrds,
    Jitendra

  • Transfer from one screen to another screen in mm02

    hi guru,
    how to trasfer value of field from to screen to another screen.
    my problem is when we change in mm02 transaction Basic data1 view the field (prod.hierarchy) value it should be transfer to sale organization 2 view and displayed in prod.hierarchy.
    the value should be transfering from one screen to another screen.
    kindly do the need full code ASAP.
    Thanks & Regards,
    Sudheer.

    check this link....
    defining screen fields using FIELD-SYMBOL
    regds,
    kiran

  • Copying Fields from one PDF to an Updated PDF - can't move fields on destination pdf

    I'm using Word as the authoring software for a PDF.  In version 9, I never had problem copying fields from one to another.  But in Version 11 I copy them to the new revised form and the fields won't move.  I can't move them with the mouse or the keyboard arrows.  I do see a bunch activity in the right pane called fields (tab order) but the fields don't move.
    Any help understanding why and how to solve is greatly appreciated.
    Thanks in advance for your time and experience.

    Highlight all the fields with CTRL +A, click on properties, and uncheck "Locked"  in the bottom left.

  • Can Pages copy text from one page to another automatically?

    Can Pages automatically copy text from one page to another?
    For example recurring text in a document e.g. addressee details or a date (not today's date).
    I want to type the topic title of one letter and have it automatically filled into the correct field in the next page which will be a letter to a different recipient.
    The letter text will be different for each recipient so mail merge probably won't work.
    Thanks
    Andy

    Thanks that worked great!!!(for the first line)
    Now why wont it populate more than the one other text field?
    F.Lic.Table1.Row1.agt_ssn_lic.rawValue = xfa.event.newText;
    F.PAGE3.agt_ssn_1.rawValue = xfa.event.newText;
    F.PAGE4.agt_ssn_2.rawValue = xfa.event.newText;

  • Copy Text from one quote to another

    Hi
    I need to copy text/notes related to one quotation to another.. I tried FM SAVE_TEXT and CRM_TEXT_MAINTAIN_OW but neither of it worked...
    Can anyone help me with this ?

    Hi Ashwineee,
    U can copy text from one quote to another by customizing also
    Just Check the settings of your text type in the text determination procedure.
    Select ur  text type and click on details u will find the text id description sequence and
    Transfer  field u have various options  u select the option "B" for ur text type .
    U can take reference of the  Standard Text determination Procedure "ORDER001"  for doing the same
    for your text determination Procedure
    Menu Path--
    Crm-Basic Functions- Text Management-Define Text Determination Procedure - select the Object --
    example for CRM_ORDERH and click on Procedure and select ur text determination procedure --     
    Select  Definition of Procedure that gives u details of  your   text type  and  its  options
    Hope it will Resolve ur problem
    Regards
    Pavan.A

  • How can i copy apps from one computer to another?

    how can i copy apps from one computer to another?

    You don't mention which operating system you have so it's difficult to provide an answer since the mac and Windows stores the files differently.
    The other thing you can do is just re-download the apps from the iTunes Store. Just login to the iTunes Store on the other computer using the same Apple ID. On the right-hand side of the iTunes Store page you will see a 'Purchased' link. Clicking on that will take you to a page that will list your past purchases which you can re-download to the new computer.

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

  • Copying photos from one computer to another, with descriptions

    After editing photo descriptions and locations in iPhoto, it is desireable to be able to copy them to iPhoto on another computer, with the associated photo descriptions and locations.  In principle, this is possible by selecting all desired photos, then selecting File -> Export...  In the Export dialog box, in the "File Export" tab, select "Include: Titles and keywords", and "Include: Location information".  Copy the exported files to the other computer, and do a File -> Import to Library ...
    In practice, this works fine with images taken by some cameras, and not with images from others.  In my limited experience with a Fuji F80EXR and a Canon SX230HS, the above work flow works with the Fuji.  But, with the Canon, while the exported files clearly have the description data embedded in them (as seen by GraphicConverter), it is not imported into iPhoto, nor is it visible in Preview's Inspector.  The workaround I use is to run an exiftool command on the exported files.
    Exiftool is a command line utility that can read and write meta data in image files:
    http://owl.phy.queensu.ca/~phil/exiftool/
    I run the following command on the exported files to rewrite the IPTC Caption:
    exiftool −overwrite_original_in_place -tagsfromfile %f.jpg -ext jpg -"IPTC:Caption-Abstract>IPTC:Caption-Abstract" *.jpg
    Note that the above command overwrites the files that were exported from iPhoto.  If you wish to leave the original files intact, with an "_original" appended to the file name, run:
    exiftool -tagsfromfile %f.jpg -ext jpg -"IPTC:Caption-Abstract>IPTC:Caption-Abstract" *.jpg
    I'm not sure why it is necessary to copy and rewrite that data.  Perhaps there is something strange in the format of the meta data in the file as it comes from the camera, and the iPhoto export does not correct this strangeness. Copying and rewriting the data by exiftool seems to put things right.
    The above works for me, but is somewhat unwieldy.  Is there a better way to copy photos from one computer to another, if iPhoto refuses to import the description data that it was written to the exported files?

    Thanks for the pointer.  I did a test with 10 images, and confirmed the iPLM works, even with the problematic images from my Canon SX230HS.
    The workflow is to use iPLM to create a new Library on the computer that has the photos you want to copy.  Copy the photos to the new Library.  Copy the new Library to the second computer using a method of your choice (file sharing, USB flash drive, etc).  Copy the photos from the new Library to the existing iPhoto Library.
    iPLM costs $20, whereas my original solution was free (but you need to invest the time to get exiftool installed and working).  But, unlike exiftools, iPLM also copies over the Faces information, so it is likely a worthwhile investment if you use that feature. 

Maybe you are looking for

  • Why will my iphone 5c not show up as a device on my itunes?

    why will my iphone 5c not show up as a device on my itunes? this is the first time it has ever happened ?

  • Linksys E2000 Won't Connect

    My sister gave me her E2000. I run the setup program, my laptop sees the router and it shows a strong signal. When I try to connect with it, it won't connect.

  • Mail service keeps corrupting.

    Hello all, My mail service keeps corrupting on my PowerMac running Mac OS X 10.3 Server. I have reinstalled my server 3 times due to this problem. Any one else having the same problem? any solutions? Thanks, Chris

  • Can i use my ipod shuffle in my audi q3 ?

    I have just got an ipod shuffle but when I connect to my Audi Q3 I get the message "content unreadable "   what is wrong ?

  • Business Content Source System Assignment???

    Hi Gurus, i am installing Business content and after going thru few posts in this Forums i have been hearing about Source system assignment in the Business content screen. but when ever i installed i never really used this option and we have only one