How can i convert the data from mutiple-table to the other database(MSSQL)?

Dears,
How can i convert the data from mutiple-table to the other database such as MS-SQL?
I have a third party system based on MS-SQL 2000.
Now we want to make a integration between SAP R/3(Oracle) and SQL server.
When my user releases the purchase order in R/3, the application we coded will convert the releated data to the temp database on the SQL server.
But i don't know which tools will help me reach the purpose.  BAPI, LSMW, IDoc... ???
Would anybody tell me which way is better and how to do?
Thanks a lot!
Kevin Wang

Hello Kevin,
The question to use which method depend on your detail requirements. If you use BAPI, you need to find which Bapi can provide the data you want. Bapi normally use as a function called by external system. So you need to develop an external program like VB/Java to call this Bapi and move it to SQL. LSMW is use when you want to upload data from an external system to SAP. So it does not serve your requirement. Idoc can be use to export data to an external system. Again like Bapi, you need to find what Idoc can provide the data you want. However, it does not any programming from the external system. If I were you, based on your requirements, I think writing an Abap program that read the data you want and download it to NT/SQL server will be faster and easier.

Similar Messages

  • How can I autoindexi​ng data from vi that read the serial port (CODE)

    Hello. I´m working in a proyect in the company, the proyect consist in read two incremental encoders for the inspection of automotors supension. I have a Digital Read Out System that read the 2 linear encoders, the DRO it has a serial RS-232 interface, i can read the data from the DRO to my computer, but now, I want to storage the information in Arrays (for autoindexing) for then make a graphic, If you want check the program, and if you tell me information, or a example code  thanks for yor help.
    P.D. Only if the data is diferent is sotraged. (I have LabVIEW 5.1.1)
    Atn. Ing. Jorge Cardozo. San Luis Rassini Corporation. Piedras Negras Coahuila Mexico.
    Thank you for your help.
    Attachments:
    KA-COUNTER (Comparacion).vi ‏77 KB

    hi there
    to collect scalar data in an array you can use a so called "Shift register". To display the history of scalar data you can use a Waveform Chart (not a "Graph", a "Chart"). See attachments. because i can't save the vi as 5.1 i appended some screenshots of the front panel and the block diagramm.
    Best regards
    chris
    CL(A)Dly bending G-Force with LabVIEW
    famous last words: "oh my god, it is full of stars!"
    Attachments:
    KA_Counter_BD.JPG ‏122 KB
    KA_Counter_FP.JPG ‏86 KB

  • How can i insert character data in a table using the report trigger

    well here is my query
    do_sql ('insert into report_trigger_details values(po report,before parameter)');
    i need to to insert data from within the report using the before parameter form trigger.Error is as follows:
    error: rep-1425,cant parse the statement,missing comma
    This error got removed by removing the space in ''po report" and before parameter"
    Now the error that i get is :ora-00984:column not allowed here
    Also i need to keep the spaces between the values while inserting data
    Please help!!!
    Thanks
    Edited by: 924271 on Mar 29, 2012 7:02 AM
    Edited by: 924271 on Mar 29, 2012 7:07 AM
    Edited by: 924271 on Mar 29, 2012 7:08 AM

    I know this isnt a great way of using query but its part of the assignment ,so any help will be greatly appreciated.
    Here it is again......
    function BeforePForm return boolean is
    segment2 varchar2(10);
    begin
         srw.message(001,'I just got executed first');
    srw.do_sql('select segment1 into :segment2 from xxmssl_po_headers_all');
    srw.do_sql('insert into report_trigger_details values(seq2.nextval,:segment2,''po report'',''before parameter form'',''po number is'')');
    srw.do_sql('commit');
    return (TRUE);
    end;
    the that i was getting earlier was resolved by using two single quotes....Now the error is....
    Error: error putting value in column....
    column 'segment2' may not be referenced by parameter triggers..
    The insert ran fine until I changed the above function as follows:
    function BeforePForm return boolean is
    segment2 varchar2(10);
    type_code varchar2(10);
    org_no number(4);
    begin
         srw.message(001,'I just got executed first');
    srw.do_sql('select segment1,type_lookup_code,org_id into :segment2,:type_code,:org_no from xxmssl_po_headers_all');
    srw.do_sql('insert into report_trigger_details values(seq2.nextval,:segment2,''po report'',''before parameter form'',''po number is'':segment2 '',type_code is'':type_code '',org_no is'':org_no )');
    srw.do_sql('commit');
    return (TRUE);
    end;
    When i ran it ,it started giving the above mentioned error.I reverted the changes back and recompiled my report but still getting the same error....
    Thanks in advance
    Edited by: 924271 on Mar 29, 2012 11:59 PM
    Edited by: 924271 on Mar 30, 2012 12:11 AM

  • How can I convert/read out from a string Hex (8-bit), the bit 0 length 1

    How can I convert/read out from Hex (8-bit), the bit 0 length 1 (string subset!!??) and convert it to decimal.
    With respect to one complement and two complement ?

    Just like Jeff, purely guessing here.
    It almost sounds like you just need to Read from Binary File?
    AND the 8-bit number with 1?
    Need more details.  What exactly do you have to start with?  What exactly are you trying to get out of it?  Examples help.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • How to delete the data from partition table

    Hi all,
    Am very new to partition concepts in oracle..
    here my question is how to delete the data from partition table.
    is the below query will work ?
    delete from table1 partition (P_2008_1212)
    we have define range partition ...
    or help me how to delete the data from partition table.
    Thanks
    Sree

    874823 wrote:
    delete from table1 partition (P_2008_1212)This approach is wrong - as Andre pointed, this is not how partition tables should be used.
    Oracle supports different structures for data and indexes. A table can be a hash table or index organised table. It can have B+tree index. It can have bitmap indexes. It can be partitioned. Etc.
    How the table implements its structure is a physical design consideration.
    Application code should only deal with the logical data structure. How that data structure is physically implemented has no bearing on application. Does your application need to know what the indexes are and the names of the indexes,in order to use a table? Obviously not. So why then does your application need to know that the table is partitioned?
    When your application code starts referring directly to physical partitions, it needs to know HOW the table is partitioned. It needs to know WHAT partitions to use. It needs to know the names of the partitions. Etc.
    And why? All this means is increased complexity in application code as this code now needs to know and understand the physical data structure. This app code is now more complex, has more moving parts, will have more bugs, and will be more complex to maintain.
    Oracle can take an app SQL and it can determine (based on the predicates of the SQL), which partitions to use and not use for executing that SQL. All done totally transparently. The app does not need to know that the table is even partitioned.
    This is a crucial concept to understand and get right.

  • How can I restore my data from iCal? I didn't make any backup, but I use  time machine with an external HD. I deleted iCal when I deleted my gmail account. I have tried to restore, but I can only restore the iCal software and not the data.

    How can I restore my data from iCal? I didn't make any backup, but I use  time machine with an external HD. I deleted iCal when I deleted my gmail account. I have tried to restore, but I can only restore the iCal software and not the data.

    So what is your question?
    If you forgot your encryption password:
    Warning: Make sure it's a password you will remember or write it down for safekeeping. If you encrypt an iPhone backup in iTunes and forget your password, you can't restore from backup and your data will be unrecoverable.
    If you can't remember the password and want to start again, you must perform a full software restore and chooseset up as a new device when iTunes prompts you to select the backup from which to restore.
    The above comes from here:
    http://support.apple.com/kb/HT4946

  • How can delete my iphone5 data from the date its restored?

    how can delete my iphone5 data from the date its restored?

    it's unclear what you mean
    if you wish to remove your iphone5 data you connect it to iTunes on the computer and click the restore button and choose restore to factory defect

  • How can I see website data from itouch 4th generation?  My 8 yr old may have been on inappropriate sites and I need to see the data from website data stored on the itouch.

    How can I see website data from itouch 4th generation?  My 8 yr old may have been on inappropriate sites and I need to see the data from website data stored on the itouch.

    There is no way to see where he has been.
    Go into Settings > General > Restrictions > Safari and turn it off. Then add the MacGruff browser from the app store. After that go back to Restrictions and turn off the ability to add apps.

  • How to send data from internal table to the shared folder in ABAP

    Hi experts,
             My requirement is to transfer data from a file to shared folder. i just did reading data from a file to a internal table. Now i want to send this internal table data into a shared folder which is  "
    xxx\y\z....".
    I do not have any idea on how to send data from internal table to the shared folder path.
    can anybody please help me out how to do this?
    Thanks & Regards
    Sireesha.

    Where that folder is located, its on presentation server i.e. desktop or application server.
    If its on presentation server, use FM GUI_UPLOAD.
    If its on application server, then use DATASET functions. Have a look at below link.
    [File Handling in ABAP|http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3ca6358411d1829f0000e829fbfe/frameset.htm]
    I hope it helps.
    Thanks,
    Vibha
    Please mark all the useful answers

  • How can i convert video files from my mac to watch them on my iphone?, how can i convert video files to watch them on my iphone?

    how can i convert video files from my mac to watch them on my iphone?, how can i convert video files to watch them on my iphone?

    Turns out the answer to that question changes if you ask it more than 4 times, so ask it again....
    The answer depends on the type of video files you want to convert.  If they are DRM protected commercial videos, no help can be given here.  Google.

  • How to bind the data from user table into user report

    Hi All,
      Please assist me to bind the data from user table into user report. I did create an user table with data and create a user report template (using Query Print Layout). How can I display my data into report format which I created before? Any sample program or document I can refer?
    Platform: SAPB1 2005A
    Add On Language: VB.Net 2003
    Thanks.
    rgds
    ERIC

    Hi Ibai,
      Thanks for your feed back. I give you an example.
    Let say now i wanna print employee list, so i will go
    1. Main Menu -> Reports -> HR -> Employee List
    2. Choose the Selection Criteria -> OK
    3. Matrix will display (Employee List)
    4. I can print the report click on print button
    5. Printing report
    My target
    1. Main Menu -> Eric_SubMenu -> Employee List
    2. Matrix will display (Employee List)
    3. Print button
    4. Print report
    My problem
    Now I would like to use my own report format. My own report format means I wanna add on my logo or do some customization within the employee report. So how I am going to do? I only able to display the employee list in matrix. How do I create a new report format and display it.
    Thanks.
    rgds
    ERIC

  • How can i recover my data from an old hard drive after replacing it?

    How can I recover my data from an old hard drive after replacing it?

    Internal or external hard drive? Was the drive still working before you replaced it?

  • How can I transfer outlook data from Ipod to new hard drive?

    My hard drive had to be replaced last week. Although my music was backed up by Norton 360, my Outlook contacts and calendar were not backed up. How can I transfer my data from my Ipod to my new hard drive? I am running Windowa XP, if that matters. Will a sync to Itunes destroy all my data on my Ipod?

    You would need to enter at least one unique contact and calendar entry on the new computer, then when you first sync you should get the option to merge the data.

  • How can I get my data from a old iPad to a new iPad using iCloud and not iTunes

    How can I get my data from a old iPad to a new iPad using iCloud and not iTunes

    Restore from the iCloud backup - assuming that you were backing up to iCloud in the first place. If you weren't using iCloud for backup - then you are out of luck.
    If you were backing up to iCloud - you have to erase all contents on the iPad in Settings>General>Reset>Erase all content and settings - before you can restore from the iCloud backup.
    Read this article before you do anything else
    http://gigaom.com/apple/ios-101-set-up-and-restore-from-icloud-backup/

  • How can i get my data from my sync acount when i lost it today

    Firefox has been causing pbs for my MBP OS X ML. So i tried to reinstall it. Removed it form OSX cleaned the system then reinstalled it. When i tried re syncing my data i forgot the password for my account. I had to reset it.
    Then when i tried to re-add my MBP to my sync account it told me do you really want to replace the data from this device with the data on the sync account. I said yes then nothing happened.
    I tried re syncing but nothing happened. I changed the sync option to the second one "replace all data on this device with my sync data" but nothing happened.
    I don't know how to deal with this? can someone help please. Did i lose all my sync data or there is a way to get it back?

    Thank you for your replay, i kind of got that at the end.
    The only solution is starting over or going the other way (chrome's way).
    Since, i'm a gmail user i think the other way is better even if i've been a FF user from over 8years (netscape's years). I thought sync was a good way/tool to handle my stuff and boy i was wrong. If losing all my bookmarks (i'm a massive user) is what it takes to switch, then i'm ok with it.
    This pb with sync and the way it is handled are really stupid , but anyway.
    Someone is going to notice it in the future but...
    Thanks anyway.

Maybe you are looking for

  • Unable to reach Workspace Login Page

    Hi, First some background - I am an Apex developer / administrator. I do not have a DBA background. DBAs install the Apex software and I administer the webserver (although my experience with webservers is that which I've picked up using Apex) and dev

  • Putting logo letters on screen without background or edges of color

    Hi, I'm trying to put a logo on the bottom of the screen of a video and I'm having some trouble. The logo is a pdf file of a white rectangle with words on it. The people in charge want the words to only be on the screen without the large white rectan

  • HT1420 I have 2 iPads, 1 iPhone, 1 iPod, 2 PCs, and 1 Macbook pro.

    What's with the 5 limit to register in the same account? Why not 10? I bought a new iPad and gave iPad 1 to wife. Bought her iPod, I have iPhone, 2 PCs (Dell and HP) and a MacBook pro. So Apple figures that's too many. I figure it's too many Apple pr

  • Update PowerView report EntityDataSource information by PowerShell

    Hi, Is there a way to update the entitydatasource connections for PowerView reports through PowerShell? I have over 25 reports I need to update the datasource for and I would prefer not to do it manually. Thanks, Georgi Georgi

  • HCM Best Practice

    Dear Experts, Im trying to use the ata transfer tool delivered with best practices for HCM on mySAP ERP 2005, i have installed the role required, however while trying to run the transactions from the menu that has been attached to this role this mess