Updating table of non-sap Database

Dear All,
              I want to transfer data from Ztable to  non-SAP database table. Is it possible to do it.
If yes, Plz suggest ...........
Regards,
Gulrez

Hi.
>
Gulrez Alam wrote:
>      I have to update a Mysql Database  table (non-SAP ) from ztable.. Actually have done like this for Oracle table(non-SAP)  table.
>
> Actually in table dbcon there is field DBMS in that there are entriey for Oracle, Microsoft SQL and other DB , but no entry for Mysql Database.
Looks like you haved use multiconnect for this task in the past. At the moment only databases that are supported as a main database can be accessed using this technique. So you cannot have an entry for a mysql database in the dbcon table. Sorry for that but that is the current status. You will have to use a different approach.
Best regards,
Jan Stallkamp

Similar Messages

  • Jdbc connector with a external non-sap database of microsoft for PORTAL

    hi gurus
    I need to reach a database microsoft sql 2000 this DB is in a microsoft Windows 2000 server
    and my PORTAL is in another microsoft windows server 2003 how to make the connector in
    visual administrator from my portal until these server and how i know what kind of driver need
    any idea
    atte
    Salvatore

    Hi Salvatore,
    We also had implemented the same using SAP NWDS. We can connect to An non-SAP external database by using JDBC drivers. I have mentioned sample code.
    First just declare strings which ustore path of the excel u need to acess. Say
    String file = "<path>.xls";
    Declare this string which is an JDBC-OBDC driver.
    String lConnectStr = "jdbc:odbc:Driver={Microsoft Excel Driver (*.xls)};DBQ="file";DriverID=22;READONLY=false";
    String url="jdbc:microsoft:sqlserver://<HOST NAME of DB>;DatabaseName= ";
    String driver="com.microsoft.jdbc.sqlserver.SQLServerDriver";
    Now load the class and to get the connection.
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    response.write("driver loaded");
    Connection gConnection = null;
    gConnection = DriverManager.getConnection(lConnectStr,"<DOMAIN/UI>","<PWD>");
    Statement stmt=gConnection.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_UPDATABLE);
    response.write("...........driver loaded");
    Now we can access the database tables at the SQL server and also extract it..
    we can also use POI-HSSF model to create excel sheets and modify cell wise.
    Hope this is useful for your implementation.
    Regards,
    Shaila Kasha.

  • Update table in another SAP system

    Hi Guru's
    I have requirement, in which the outout of the report should be update Z table in another SAP System.
    How we can do this?
    Thanks
    Karthi

    Hello Karthik ,
    added to the above mentioned points , While Calling function you need to call other system FM with Destination with its parameters.
    Create a FM in System B with parameter for passing the Source Code from system A. Write your code to update the source code.
    call Function 'XYZ' Destination  Destination_name
      IMPORT
      EXPORT
    Please refer the below links.
    [http://www.sapdev.co.uk/bapirfc/rfcsap.htm]

  • Updating tables in logical standby database

    Dear DBAs,
    Is it possible to update non replicated tables in the logical standby database, but have the same schema name?
    "Alter session disable guard" works only for the current session, in fact i want it for all connected users whithout stopping the standby apply ?

    hi,
    Let's say in the primary database i have 10 tables, and using the RMAN i have created a Ph. standby database and then converted to a logical.
    so now i have the same schema and the same tables in these servers.
    the fact of using logical stdby is to be able to make DML transactions.
    so the issue is that from the 10 tables i need 9 tables to be replicated and the last one will not be replicated, so the application connected to the log. stdby will use only this table to update the user record(login date, logout date...bla bla bla).
    the problem is that when the user will connect to the database the application will insert a record like "insert into SCHEMANAME.tablename....."
    the problem is that the schema name is added into the insert statement.
    Thank you in advance

  • Updating tables in external database

    Is there a way to update tables in an external database using an HTML-DB process?
    I want to make my "Apply Changes" button process script update an external table in database x.
    Example:
    update x.tracking_locations@x
    set location = :P7_LOCATION,
    description = :P7_DESCRIPTION,
    IN_USE = :P7_IN_USE
    where tracking_location_num = :P7_TRACKING_LOCATION_NUM;
    I get the following error:
    ORA-01461: can bind a LONG value only for insert into a LONG column ORA-02063: preceding line from x
    None of these columns is type long! (they're varchar2)
    Both databases are 9iR2.
    I had a similar problem INSERTING the data (CREATE button) which I got around by posting to a table in my HTML-DB schema, inserting into the database x table as select from the HTML_DB table then deleting from the HTML-DB table all within the "on submit" process script.
    example:
    insert into tracking_locations
    (DESCRIPTION, LOCATION,IN_USE)
    values(:P7_DESCRIPTION,:P7_LOCATION,:P7_IN_USE);
    insert into x.tracking_locations@x
    (DESCRIPTION, LOCATION,IN_USE)
    select description, location, 'Y' from tracking_locations;
    delete from tracking_locations;
    This INSERT trick works, but seems like it should be easier! Nevertheless, I can't get updates to work.
    Any ideas?

    hey tony--
    neat issue. i just reproduced it on our development box and will log it in a minute. for now, though, an easier way to get around it would be to assign the values from your page items to local variables declared in your update procedure and use those local vars for your update. so instead of...
    update x.tracking_locations@x
    set location = :P7_LOCATION,
    description = :P7_DESCRIPTION,
    IN_USE = :P7_IN_USE
    where tracking_location_num = :P7_TRACKING_LOCATION_NUM;
    ...you could set it up like so...
    declare
    l_location varchar2(200) default :P7_LOCATION;
    l_description varchar2(200) default :P7_DESCRIPTION;
    l_in_use default :P7_IN_USE;
    begin
    update x.tracking_locations@x
    set location = l_location,
    description = l_description,
    in_use = l_in_use
    where tracking_location_num = :P7_TRACKING_LOCATION_NUM;
    end;
    ...and things should work fine. i'm also pretty sure that you could avoid having to declare the local variables if you referred to your items in your update statement using the v('ITEM_NAME') syntax, but you'd have to have global_names set to true and it might not be as performant a workaround.
    hope this helps,
    raj

  • Lots of tables in the non-SAP source systems

    Hi All,
    Earlier I asked a question on SDN about having about 50 tables in non-SAP source systems like SQL, Oracle, etc. According to the functional/business folks here, I'm supposed to be extracting only 1 or 2 fields from many tables. So I got a reply from SDN that I should recommened creating Views and client also agreed. Now I do not see any official documentation from SAP that that says that I should create Views in the source ysystem wherever it is possible. Any help in getting this information is very helpful.

    Hi,
    1. authorization: normally the database admin create you a new user. It's easier to get read authoriziation for your own views.
    2. a problem is the naming convension of tables and fields - the BW/database connector supported not all. create the fields
    - in upper case and
    - a length of ... (16 characteristcis?)
    - without special signs.
    => looking in service.sap.com/notes for "DB connect"
    3. changing of data source: when you need a second table for the data extraction, then you have to create a new datasource.
    => create a view directly (its the same to multiprovider. Don't work with the object directly - create a view).
    Sven

  • Uploading Excel file into SAP Database table?

    I built a table in the SAP Data Dictionary, and i need to write a program that uploads the Excel table, into the SAP Database table.  Does anybody have a sample program that may help me?  Thanks!

    TYPES:
         BEGIN OF ty_upload,
         matnr like mara-matnr,
         meins like mara-meins,
         mtart like mara-mtart,
         mbrsh like mara-mbrsh,
         END OF ty_upload.
      DATA it_upload TYPE STANDARD TABLE OF ty_upload WITH header line.
      DATA wa_upload TYPE ty_upload.
      DATA: itab TYPE STANDARD TABLE OF alsmex_tabline WITH header line.
      CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
        EXPORTING
          filename    = 'C:\Documents and Settings\venkatapp\Desktop\venkat.xls'
          i_begin_col = 1
          i_begin_row = 1
          i_end_col   = 4
          i_end_row   = 65535
          TABLES
          intern      = itab.
    if not itab[] is initial.
    loop at itab .
    case itab-col.
    when '0001'.
    it_upload-matnr = itab-value.
    when '0002'.
    it_upload-meins = itab-value.
    when '0003'.
    it_upload-mtart = itab-value.
    when '0004'.
    it_upload-mbrsh = itab-value.
    append it_upload.
    clear it_upload.
    clear itab.
    endcase.
    endloop.
    endif.
    loop at it_upload into wa_upload.
    ztable-matnr = wa_upload-matnr.
    ztable-meins = wa_upload-meins.
    ztable-mtart = wa_upload-mtart.
    ztable-mbrsh = wa_upload-mbrsh.
    insert ztable.
    endloop.

  • Installing Oracle for SAP on existing non-SAP RDBMS

    The title says it all -
    I haven't been able to find any real docs supporting or not supporting the practice of using an existing Oracle 10.2 RDBMS to add an SAP DB.  I know it's technically possible, but since the SAP Oracle installer is configured to build a new RDBMS for each SAP instance/DB installation, I'm wondering if it can be altered and piggy back on an existing one.
    The reason is I have a customer who would like to do this so they can continue to use an existing DEV Oracle server without adding the stress of an indepedent set of oracle binaries running, and consuming resources.

    > But aside from that - let's assume the release and patch levels from their own DBs are equal to the requirements from SAP.  What other considerations/issues/supportabilty problems might be encountered?
    If it's not a production system you could certainly go for it.
    I think though, that it's MUCH LESS maintenance work using a second ORACLE_HOME than to try to fiddle with the huge amount of single/interim patches SAP requires. If you just check
    Note 871096 - Oracle 10.2.0: Patches/patch collections for Oracle 10.2.0.2 (59 interim patches)
    Note 1137346 - Oracle 10.2.0: Patches/patch collections for Oracle 10.2.0.4 (39 interim patches)
    I can imagine you having a pretty hard time aligning that with the other non-SAP databases. On top may come incompatibilities with OPatch (SAP uses a "special OPatch") where you may need to switch between the official one and the "SAP-one" depending on which patch you install.
    The only additional resources the new ORACLE_HOME uses is harddisk space (some GB) - which shouldn't be more expensive than the work you'll need to invest to keep the system and working for both.
    Technically it can be done - certainly.
    Markus

  • Connect SAP Application with out of SAP Databasa (integration)

    Dear All;
    can any budy help me how to user DBCO to make a connection with non-SAP database.
    Regd
    AJ

    AJ,
    If not done already, please review the following notes and links (depending on the database that you want to connect to):
    Note 339092 - DB MultiConnect with Oracle as secondary database
    Note 323151 - Several DB connections with Native SQL
    Note 955670 - DB multiconnect with MaxDB as secondary database
    Note 738371 - Creating DBCON multiconnect entries for SQL Server
    http://sap.ittoolbox.com/groups/technical-functional/sap-basis/connection-between-sap-system-with-external-oracle-database-with-tcode-dbco-1178583?cv=expanded
    https://websmp109.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700002040342006E
    Hope this helps.
    PJ

  • Send data to other non SAP system

    Hye techies,
       I have a requirement, on click of submit in my bsp application, the data updated by the button event should also be updated in other non SAP system.
      Please let me know what is required at my end, also please let me know what should the other communicating non SAP should have to consume the data.
    Regards
    Imran.

    Hello,
    you want to consume the data send by sap via .NET?
    I think in this case it is better to send the data via RFC. You have to implement an interface in your .NET application which will consume the data  sent by sap. On the SAP side you can define a function module as interface. The .Net and the SAP FM parameters must be the same. Now you define an RFC in SAP via SM59,for exception chosse "start on explicit host" and then entery the .Net/SQL server adress and your programm. in your abap code you call your fm...
    CALL FUNCTION XYZ DESTIONATION 'XYZ'
    . In your .Net progamm consume the data send by sap and write it in the db. I hope this explanation is ok for you. We solved problems like yours, with this way.
    A direct change of your SQL Data via BSP, in my opinion, is NOT possible

  • BW connecting to NON SAP OR ETL Tools

    Hi ,
    I am new to SAP BI . Can any one tell me ,how we can get data from Non-SAP databases  like Oracle or any ETL Databases to BW. Any URL links  or documents provided would be appreciated .
    Points will be given to apprioprate answers. Thanks,
    Andrew-

    check this out:
    http://help.sap.com/saphelp_bw33/helpdata/en/58/54f9c1562d104c9465dabd816f3f24/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/44/bcdce1dcaf56a3e10000000a1553f6/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/58/54f9c1562d104c9465dabd816f3f24/frameset.htm

  • Updating Database table across multiple SAP systems

    Dear All,
    I am working on a requirement which is described as follows:
    The requirement is to keep a database table in sync across 10 different SAP clients (for production, test systems etc.). So when the database table is modified in source SAP system, it has to be replicated across all the clients and table of other SAP systems.
    So the queries from my side are:
    1. Whether XI should be used here as a middleware or direct RFC calls can do the updation across the SAP systems?
    2. If XI is to be used what would be the recommended approach (ABAP Proxy to ABAP Proxy communication?)
    Hope you can recommend me the best options to achieve this.
    Thanks & Regards,
    Pratik

    it depends on what tables are involved/ what type of data/what transactions cause the update.
    If you know the table names - then database level replication may be an option u2013 many projects do refresh their QA system with production data for a very real test data. If not, a hard disk level mirroring may have to be considered.
    There are other technologies like change pointers in conjunction with distribution model can also be considered - which could trigger idocs that can be sent to the other systems using ALE layer or ALE *** PI/XI

  • Populating SAP Database table using JDBC adapter

    Hi Folks,
        I have a requirement to populate a SAP database table say ZTABLE using XI. The Model is the table has to be populated through a file which will be processed by SAP XI. Basically this is a File to JDBC scenario. The database used is ORACLE. Kindly provide me some idea to go ahead.

    I tried to place the MS access table in the shared folder of the Application server system but still it seems the table is not being populated.
    did you check the log in your receiver channel? (/people/sameer.shadab/blog/2005/10/24/connecting-to-ms-access-using-receiver-jdbc-adapter-without-dsn)
    The requirement is to update the tables directly as those are the custom tables.
    i would still say that do not update SAP tables directly from XI/ PI.....this is not a standard architecture/ solution....

  • SAP database updations through Java program

    Hi All,
    From Java program, I want to access SAP database batch RFC
    Please tell me which batch RFC's I have to use for read and update of a table.
    Please also tell me how to find out a batch RFC for a particular table.Is there any way to find it out like BAPI.
    What are the steps and settings ?
    Detailed steps help the requirement.
    Thanks,
    Giri

    Giri,
    Ya...Java APP sents data to XI and XI needs to insert the data into the database.
    Before the next round of data is sent by the Application, Xi should sent back info on the status of the records.
    Is this what you want?
    This will be like I have pointed earlier possible without a BPM. But, make the call from the sending application Synchronous. And then map the JDBC response to the calling aplication.
    But this updation is only possible through XI.
    If i got the requirement wrong can you let me know in more detail, what is it that you are trying?
    Reward if solved

  • Extract Tables/views into ECC 5.0 SAP system from Non-SAP system

    Hi,
    I am looking for some inputs on how to set up the following scenario of extracting data stored in tables/views in a non-sap external system into my SAP ECC 5.0 SAP database.
    Currently we are using a middleware between SAP and the external system to fetch data. I would like to get rid of the middleware and set up a scenario to call this non-sap external system and pull data stored in views into our SAP system directly. Is that possible in SAP version 5.0? If yes let me know the steps to be performed... do I need to set up XI ?

    maybe you can access sap data using some connector such as java or .net connector.

Maybe you are looking for

  • My computer crashed at the same time I switched to the 4s. how do I upload my stuff from my old Iphone to Itunes?

    What are the odds,my computer crashed at the same I switched to the 4s. I had to download and start all over with Itunes. My question is how do I upload from my old Iphone into Itunes so I can get my music off the old phone?

  • EAP-TLS configuration issues

    Hi , I am trying to set up a mixed vendor NIC wireless environment and have opted to use EAP-TLS. I am however having some problems getting it to work. I am using AP1100, Aironet 350 PCMCIA cards , Microsoft CA, and ACS3.1. I have successfully setup

  • Photo library to iPhoto

    When i plug in my ipod to mac book air and touch the camera icon I have saved photos and photo library. I opne iphot and ony saved photos automatically load into iphoto. How do i get photo library to load to iphoto? thanks

  • Can't launch iWeb-very strange

    Trying to launch iWeb08 gives this message: "You can't open the Application "iWeb" because it is not supported on this architecture." I noticed this around the time I tried to install the 10.5.2 update so it may be related but not sure. Had 10.5.2 pr

  • Debug print program

    Hi,   I have created a output type for the packing list inside vl02n i.e. vl02n->pack->Extra->Output.  Then, i also tried to debug my print program by placing a break point in it.  But, the system did not stop in the breakpoint during the execution.