BADi Question:  Need to move data from OLD_IMAGE-DATA1 to structure

Greetings:
I want to move the data from OLD_IMAGE to a structure that matches the infotype I'm working with, i.e., P0167.  I tried this using the following code:
DATA:   lv_p0167  TYPE p0167,
        lv_wa_old LIKE LINE OF old_image.
MOVE lv_wa_old-data1 TO lv_p0167.
However, the compiler tells me that "'LV_P0167 and 'LV_WA_OLD-DATA1' are not mutually convertible in a Unicode program". 
I need the data in this structure because I need to hand it off to a FM, among other things.
Suggestions?
Thanks!

Looks like structures differ from each other, so it might be possible to move the fields from the structure seperately like this:
move lv_wa_old-data1 to lv_p0167-data1 (or whatever the name of the field might be).

Similar Messages

  • I have an old Mac Tower.  I need to move data from the unit to an external hard drive. What kind of hard drive do I purchase.  There is not a lot of data to be transferred.

    I have an old Mac Tower.  I need to move data from the unit to an external hard drive.  What kind of of hard drive must I purchase so that it works with the Tower?  There is not a lot to transfer.

    MG,
    What we might need to do is to change the question.  What computer do you plan to use the data on in the future?  For example, if you have a newer tower, just move the hard drive to the new tower.  If you want to use the data, what about an ethernet LAN to get the data over?  If you want to archive the data, how do you store the second drive?  What are your plans for the first drive?  If the new software will not recognize the old file type, the data must be exported.  Just getting files to another hard drive will not finish your journey.
    As Allan said, knowing the exact model and year of your tower is important.  My suggestion is to find a user group near you.  Please post back with more information, including the name of a large city near you.
    For example, our user group just experimented with a 1983 Apple IIc that predates the Mac.  It started right up, read files from 1984  and saved them from a 5.25" floppy to a 3.5" floppy.  That 3.5 floppy will go into a platinum G3 which will read PRODOS files using Apple File Exchange.  That G3, with a USB card, will allow saving the files to a USB flash drive.  But, somewhere along the way, some software has to read the file and convert it to data that is useable by current software.
    Ji~m

  • Need to move data only by company code wise to another client

    Hi All,
    I need to move data from DEV client to one of PRD clients.
    There are two scenarios:
    1. The scenario is we have 3 company codes in DEV but need to move data of only 1 company code (that too customizing data).
    2. We want to move data, date wise also (i mean from 1 JAN to till date).
    Is there any possibility in SAP to do this?
    Thanks
    Disha

    "As I said above, production system should not be build from quality/development system in any way either by client copy or ALE or any other means."
    @Sunny
    Not necessarilly correct in all cases. Purely depends on what data is being discussed here. ALso depends on how Business processes have been defined. In lot of projects master data like GL Accounts,Cost Centers,Profit Centers etc is created in Development and ALE'D to production. You can also move a lot of data via transports (cutomizing). Depends on what data is being discussed. Transaction data ..yes you would never do that . But customzing and master data you can; provided you have fool proof processes in place and have a good understanding of how ALE works for the concerned data !
    Coming back to the question :
    Yes you can do it. Never do it for transactional data. A lot of garbage might have been created. Master data if you are really happy with the quality do it via ALE (but do it first on a test box) .  Make sure however that all the relevant customzing is in place.  Sequence is import. What got created in DEV first must go to prod first or else you would have errors which of course can be solved but then why take the pain. Involve your FI-CO guys and Business process owners before you do it. Be a bit careful with chart of accounts !
    As I said try it on a test environment first..
    And why are people suggesting to use TDMS when it was mentioned that only customzing data is involved! Why did SAP create CTS then if customzing has to be moved via TDMS !! Or is the old point frenzy back again !
    Regards.
    Ruchit Khushu

  • Move data from one table to another

    Hi,
    I need to move data from work space -1 to work space -2. I need to move only selected data. From work space -1 to work space -2
    Work space -1
    Table -1_
    ID NAME Description
    1 xyz one
    2 abc two
    3 mnk three
    Table -2_
    ID PID NAME Description
    1 1 x1 -
    2 1 x2 -
    3 2 a1 -
    4 2 a2 -
    5 3 m1 -
    Table -1 is parent table and Table-2 is child. Here PID is parent key of table-1 and ID's in both the table are primary keys.
    Now i need to move data from work space-1 to work space -2
    Work Space -2 table structure
    Table - 1
    ID INDUSTRY_TYPE DATE DESC
    1 TNT - -
    2 MTN - -
    Table - 2
    ID T_ID NAME DATE DESC
    1 1 T1 - -
    1 1 T2 - -
    2 2 E1 - -
    2 2 E3 - -
    I need to migrate data from work space -1 of table 1 and 2 to work space - 2 of table 1 and tabe 2
    Please suggest me a query to migrate. Please let me know if the steps mentioned above is not clear.
    Thanks
    Sudhir

    Hi Sudhir,
    since data tables are not located in work-areas but in schema's I presume you mean the latter.
    A simple conversion statement would be something like :
    insert into table s1.newtable ( column1, column2, ... )
    select column1a, column2a, ...
    from s2.oldtable
    where ...
    First the master table, then the child table.
    This works using a user-id having al least read-access to schema s2. If no such user exists then use some export method.
    No relation to APEX though.
    Hope this helps.
    Daniel

  • Unable to  move data from Infooject to another Infoobject in APD

    Dear BW experts.
    I have data in Infoobject1 with 10 columns and I have another Infooject2 with 11 columns.
    I need to move data from infoobject1 to Infoobject2 both have identical fields except for the 11th column. In addition to filling up the common 10 columns, I need to calculate the data on the 11th column based on the previous record for each record. Hence I cannot move data directly from Inobject1 to Infoobject2.
    I try to use Analysis Process designer. In this, I could consider Infoobject1 as the source but in the choice of the target, I do not see Infoobect  but only see DSO and other objects not relevant for me.
    How do I move data from infoobject1 to Infoobject2 using ABAP routine in the APD.
    Kindly suggest.
    Thanks,
    Sai

    Hi,.
    See usefull Articles in
    http://wiki.sdn.sap.com/wiki/display/profile/Surendra+Reddy
    Analysis Process Designer (APD)
    Analysis Process Designer (APD): Part - 1
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f06353dd-1fe3-2c10-7197-dd1a2ed3893e?quicklink=index&overridelayout=true 
    Analysis Process Designer (APD): Part - 2
    http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/business-intelligence/a-c/analysis%20process%20designer%20(APD)%20Part%20-%202.pdf 
    Analysis Process Designer (APD): Part - 3
    http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/business-intelligence/a-c/analysis%20process%20designer%20(APD)%3a%20Part%20-%203.pdf
    Thanks
    Surendra Reddy

  • Badi: move data from bpc cube to bw cube

    Hi friends,
    I would like to move data from bpc application(i.e bpc cube) to bw cube.  Bpc cube having infoobjects starting with /cpmb/* and bw cube having infoobjects starting with y* .
    I want to write badi code to move data from bpc cube to bw cube? is it possible to move data via badi in our case?
    I know through APD its possible to move.  Any suggestions pls. we are on bpc 75 nw sp04
    Thanks,
    naresh

    Hi Naresh!!!
    I am doing the same stuff...... and got the data read inside the BAdI and converted the comma seperated into a properly structured table... but i dont know how to send this field symbol structure to a normal table. can you help me!!!!??? can you give me your contact details.... please
    Regards,
    Surya Tamada.

  • Best way to move data from page to page inside app

    Hi all I started writing this and it got way to complicated to explain in full without a novel.
    Breif description. I am using query string that starts in the parent window (from href in json file) it then has to be moved into the iframe url when moving to other pages to avoid security as page and iframe are conflicting http and https. and cannot be accessed.. it seems there must be a better way.
    So my question is what is the best way in open platform to move data from one page to another?

    Hi Liam
    Small data just a webapp ID and I am using the URL. But if you pass a ID say from Json ie "href":"/Admin/AppLoader.aspx?client_id=dev-name&ID=111111" it gets passed to the page url. This can be referenced using document.referrer initially. As the app is inside another frame and url that is https there is security issue using parent.location between https and http. Fine but then if you move to a new page referrer is no longer as there is no real referrer and you have to use location but you cannot. Now the work around is to pass the value from the page url to the app url at the start. and then you get around http https security issue when using parent.location but this seems convoluted and like a work around. Is this really the only way or the best way or a bad way. without using other ways that seem over kill for 6 odd characters.

  • Need to convert  Date from calendar to String in the format dd-mom-yyyy

    Need to convert Date from calendar to String in the format dd-mom-yyyy+..
    This is absolutely necessary... any help plz..
    Rgds
    Arwinder

    Look up the SimpleDateFormat class: http://java.sun.com/j2se/1.4.2/docs/api/java/text/SimpleDateFormat.html
    Arwinder wrote:
    This is absolutely necessary... any help plz..For you maybe, not others. Please refrain from trying to urge others to answer your queries. They'll do it at their own pace ( if at all ).
    People on the forum help others voluntarily, it's not their job.
    Help them help you.
    Learn how to ask questions first: http://faq.javaranch.com/java/HowToAskQuestionsOnJavaRanch
    (Yes I know it's on JavaRanch but I think it applies everywhere)
    ----------------------------------------------------------------

  • How to move data from a staging table to three entity tables #2

    Environment: SQL Server 2008 R2
    I have a few questions:
    How would I prevent duplicate records, when/ IF SSIS is executed many times?
    How would I know that all huge volume of data being loaded in the entity tables?
    In reference to "how to move data from a staging table to three entity tables ", since I am loading large volume of data, while using lookup transformation:
    which of the merge components is best suited.
    How to configure merge component correctly. (screen shot is preferred) 
    Please refer to the following link
    http://social.msdn.microsoft.com/Forums/en-US/5f2128c8-3ddd-4455-9076-05fa1902a62a/how-to-move-data-from-a-staging-table-to-three-entity-tables?forum=sqlintegrationservices

    You can use RowCount transformation in the path where you want to capture record details. Then inside rowcount transformation pass a integer variable to get count value inside
    the event handler can be configured as below
    Inside Execute SQL task add INSERT statement to add rowcount to your audit table
    Can you also show me how to Check against destination table using key columns inside a lookup task and insert only non
    matched records (No Match output)
    This is explained clearly in below link which Arthur posted
    http://www.sqlis.com/sqlis/post/Get-all-from-Table-A-that-isnt-in-Table-B.aspx
    For large data I would prefer doing this in T-SQL. So what you could do is dump data to staging table and then apply
    T-SQL MERGE between tables (or even a combination of INSERT/UPDATE statements)
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Need to POST data from a desktop client to a server.

    Hello all, it's been awhile since I've posted here, so I hope everyone has been doing well.
    I have cross posted this here java - Need to POST data from a client application to my server - Stack Overflow but no answers, and since SO has been extremely slow for the questions I've been asking I am posting here.
    Here is the post:
    I know the title is probably a common question, but I am a bit confused on everything I'm trying to do, so I am trying to piece it together, and figured a common title would be better than a confusing one.
    I am basically developing a web application and one part of that is a file uploader. I am using Apache Commons File Upload via the Streaming API, and that all works fine, except I need to access the file I'm uploading, because that contains data to additional files to upload.  I.e., Read File A, get paths to images, upload images with File A to server and save on server.  The API can be found here http://commons.apache.org/proper/commons-fileupload/streaming.html
    I was told there is a security risk via the web and would be impossible via a browser, since the user needs to select all files to upload, i cannot tell the browser to upload additional files, so I am left with a client side option.
    I am confused if there is a special library I need, or as I have been seeing threads that talk about using the built in UrlConnection Class or http://hc.apache.org/
    I basically need to be able to read the file, which technically gives me a path to a Database on the user's system which I then read to get the additional images.  After I get all of that I then  need to post the data as a multipart form as that is what the FileUpload requires.
    form method="POST" enctype="multipart/form-data" action="fup.cgi">
      File to upload: <input type="file" name="upfile"><br/>
      Notes about the file: <input type="text" name="note"><br/>
      <br/>
      <input type="submit" value="Press"> to upload the file!
    </form>
    This is the example found in the Overview section of the Fileupload which can be accessed from the link above.
    There wouldn't be an issue if the users uploaded all of the data themselves, but since I have to do some of it automatically it causes some "concerns/issues."
    Basically these files are created and packaged from another application, so the images, and the db will always be in the same place, and that file that they are uploading is a file the other program creates, so everything will always be known, I just need to upload it, and then POST it as enctype="multipart/form-data" So that my servlet can read it and save it on my server.
    So I would appreciate it if anyone had any suggestions on where to begin my journey with this.  I have heard of a few applications like curl and wget that are used for this, but those seem to be more C based.  As mentioned earlier it seeems the httpcomponets from apache might work well, but I want to make sure.
    I appreciate all the help, thank you for your time all.

    It's not possible to read from a file without using classes from the core API*. You'll have to get clarification from your instructor as to which classes are and are not allowed.
    [http://java.sun.com/docs/books/tutorial/essential/io/]
    *Unless you write a bunch of JNI code to replicate what the java.io classes are doing.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to move data from 2 internal table to 1 internal table

    Can any body send me code that how to move data from 2 internal table into one internal table.
    Moderator message : Read ABAP documentation. Thread locked.
    Edited by: Vinod Kumar on Jun 13, 2011 11:45 AM

    Hi Mohdarif92;
    I don't know your full needs. But general method should be as below code.
    Please check exam below code.
    Best regards.
    data : begin of gt_result.
                ... like mkpf-...
                ... like mkpf-...
                ... like mseg-...
                ... like mseg-...
              end of gt_result
    select *
    into table gt_mkpf
    from mkpf where ...
    select *
    into table mseg
    from mseg where ...
    loop at gt_mkpf.
         loop at gt_mseg where ... = mkpf-...
            move-corresponding gt_mkpf to gt_result.
            move-corresponding gt_mseg to gt_result.
            append gt_result
         endloop.
    endloop.

  • Need to Get Data From Siebel On Demand ( I am new to Siebel Please Help)

    Hi All,
    I have a project in which i need to get data from Siebel On Demand and Automate this process.
    I have downloaded the Custom WSDL file and the Schema file from Oracle Siebel On Demand. I am using IDE WSAD and when i import these files into WSAD i am getting an error stating the schema definitions are wrong. Can anyone help me.....
    I need to complete it asap....
    Edited by: user491578 on Nov 11, 2008 6:50 PM

    You should probably ask Advantech. This question really has nothing to do with LabVIEW SE or NI-ELVIS. You could try posting to the LabVIEW board but there have only ever been two posts regarding 'advantech 4716'.

  • Best LKM to move data from with in Oracle from one schema to another Schema

    Hi Gurus,
    What is the best KM to move data from one schema to another schema within same oracle database.
    Thanks in advance

    Dear,
    If your source and target are on the same database server then you dont need LKM.
    You have to 1. create one data server for the database server
    2. Create one physical schema for your source and another physical schema for your target under the above created data server.
    3. Then create models for each above created physical schema
    In this case you just need IKM knowledge module
    Please refer http://oditrainings.blogspot.in/2012/08/odi-interface-source-target-on-same.html
    If your source and target are on different server then you must create two different data servers in topology. You have to use LKM.
    The best LKM to use is LKM oracle to Oracle dblink. But you should have proper grants to use it
    If your source has very few records you can go with LKM SQL to Oracle other wise use LKM oracle to Oracle dblink

  • Move data from Citadel to SQL Server 2005

    I wish to move data from a Citadel database. I have tried to use an ODBC connection to a Citadel database with little success. I can connect and write queries using Microsoft's Excel, but what I want to do cannot be done in Excel (due to Excel's row and column limitations and because I need a "heavier" lifter than Excel) . The data-tag names are longer than MS Access will accept and Visual Studio Professional 2005 connects but no queries are successful. MS Access can open the ALIAS table.
    What I want.
    I wish the UTC date and time, Data-Tag Name, and data values between start and end times (logical run) for data contained in the RAWDATA table of the ODBC connection. I need to repeat this for the 400+ data-tags in the Citadel database.
    An ODBC connection is inherently slow and inefficient and thus isn't the connection of choice. However, I don't know of any other means to connect. I have years of data from which to extract runs on multiple DAS Citadel databases.
    Is the Citadel database the best source for this data extraction or is there a "native" LabView database that this extraction process might use for more efficient data extraction?'
    Is there a product marketed by NI that will extract this data to SQL Server or a delimited text file?

    Thanks Amanda:
    Today, I was able to connect from within MS Access via an ADODB connection to the ODBC Citadel database. That is working well so far and seems to be reasonably fast--returned 3 recordsets from the RawData table having about 370; 1,400; and 460,000 records in a little over 16 seconds from a PC with medium power (cpu configuration and RAM availability). The recordsets were ordered but no "WHERE" clauses were involved.
    I'll use these recordsets to vet the algorithm I am developing to identify "runs"--there are 19 complete runs and 1 incomplete run at the end of the Citadel database. The next Citadel database repeats runs 18 and 19 and then has run 20 through whatever. The algorithm currently successfully finds the UTC run start date/time. Tomorrow, I'll work on the run end date/time portion of the algorithm and if all goes well Monday will be the big test of picking the data between the start and end times for each run for each of about 370 data tag names.
    Thanks, again.

  • Move data from 1:1 to M:M

    I have 2 table. one is s_org_ext and another one is s_org_ext_x. Relationship between the two table has 1:1
    Table 1:
    Column: Row_id,Name.
    Table 2:
    Column: Row_id,BI_Application,Par_Row_id(Foreign key of Table 1).
    My UI layer displayed recors as follows.
    Name(S_org_ext) | BI Application(S_org_ext_x)
    |
    IBM | Cog
    Oracle | Siebel
    But now i need to column BI_Application from another table s_org_ext_XM (Third table). So I successfuly configured 1:M relationship. But now i want get the values from second table (s_org_ext_x with 1:1) column (BI_Application) to
    third table (S_org_ext_XM with 1:M) column (BI_Application)
    Let me know, if u know ease way to move data from 1:1 to 1:M.
    Thanks
    Pandiarajan

    You can define third table S_org_ext_XM with will be having row_id from s_org_ext and row_id from s_org_ext_x like
    create table S_org_ext_XM (s_org_ext_row_id, s_org_ext_x_row_id)  as
    select
         t1.row_id,
         t2.row_id
    from
          s_org_ext t1,
          s_org_ext_x t2
    where
         t1.row_id = t2.par_row_id You can also put the composite primary key on that both columns.

Maybe you are looking for