Regarding Outside database table acess from SAP R/3.

dear all,
is it possible to access or call outside (thiird party) databse table from SAP R/3??
if it is then pls send me any useful link or any help regarding the same.
i will be so thankful.
regards,
jigar

Hi jigar,
1. for this u will also require help of basis team.
2. these are the steps.
a) make an entry in DBCON
b) make connection string
(on the physical application server,
so that it can connect to secondary database)
(this will be done by basis team,
in which, they will specify the
IP address of the secondary database server,
the DATABASE ID, and the port number)
c) then using open sql / native sql,
we can use the secondary database connection,
just like normal.
d) if we use open sql,
then there must be Y/Z table on
sap as well as secondary database,
and the field names , their type all should be identical.
regards,
amit m.

Similar Messages

  • How to  access the ORACLE APPS table structures from SAP

    Hi Experts,
        How to  access the ORACLE APPS table structures from SAP? Is it possible from SAP?
    Thanks in advance
    Thomas

    Hi Silviya,
    you can access this database using a technique called DB Multiconnect - sometimes written as multi-connect.
    Search the SAP documentation and notes for this term and you will find how to do it.
    Essentially you configure the remote database connection via transaction DBCON.
    If your SAP system is not running on Oracle you will need to install the db-specific kernel files for Oracle along with the Oracel db client software - SQL*Net.
    Then you can access the Oracle database from ABAP using native-SQL. It works a treat!
    Cheers
    Graham Robbo

  • 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

  • Connection to a Outside Database Table

    Hi All
    We have created two tables "cust_ucm_name" and "cust_ucm_code" which provide values as an option list to 2 Metadata CustomerName and CustomerCode till now we used to add the rows to the 2 tables using a dump file from another database containing our customer master
    Is there any mechanism in UCM by which these two tables "cust_ucm_name" and "cust_ucm_code" could get the values from the outside database directly using ap rovider or something
    Thanks
    Raj

    Hey raj,
    there is no way in UCM to achieve this automatically. You need to do this from db end only. I guess your DBA should be able to set this up.
    cheers,
    sapan

  • Change Date Column in database table format from mm/dd/yyyy to dd/mm/yyyy

    Hi I use Jdeveloper 11G with an Oracle Database.
    My table is empty currently but I am importing some excel columns into it and the dates in them are throwing errors because you have some dates like 14/09/2012 which would mean the month is out of range even though its not.
    This seems like a simple thing to do but I was unable to find how online.
    Please Help

    I'm not sure I understand COlumn Type is DATE
    There is no Simple Date type. This is DATABASE, has nothing to do with Entities and Views etc. This is straigh in the Database Table.
    Edited by: Dino2dy on Nov 6, 2012 5:47 AM

  • How to use LSMW to upload database table directly from flat file extract

    Hi Guru's,
    I am new to LSMW tool. I have searched the fourm before posting this thread for my issue but i didn't find any good posts for the same.
    my requirement is : I will have a flat ( tab -delimited ) or Excel file with number of records downloaded using the databrowser for some of standard tables from one SAP systesm  . I wanted to upload the records using the LSMW  to the same tables  in some other SAP systesm . Please help me to How to upload the same using the LSMW.
    Thanks & Regards,
    Praveen.

    Hi Praveen,
    There is a risk trying to migrate data directly into standard tables because this can generate database inconsistences or wrong inserted data according to what is customized in the target system. I do not recommend migrate like this. 
    With LSMW you use objects like direct input programs, idocs, bapis and recorded batch input. Try to create a project and use an standard object for your data. Also, check in SXDA transaction (Goto-->DX programs) if there is a standard program for your data.
    Anyway, if you want to upload data directly to tables, read below thread:
    ["UPLOAD  CSV  FILE";
    [how to upload .csv file into a custom table;
    Regards,
    Roger

  • Regarding Error in sending Mail from SAP

    Hi SAP Gurus,
      I have developed a Smartform for Purchase Order, For that I have given an option for mailing .
    when mailing the PO to a company address(like outlook) it is sent , But when i am trying to send to Gmail it was giving the following error message.
      No delivery to Email-address, as recipient unknown
    and in SOST transaction i have got the following information:
      Info from Node     :Recipient is not in an R/3 address book
    Please Help,
    Thanks and Regards,
    Pavan.

    Hi,
    when doing the recipient mail id settings in internal table.
    set the REC_TYPE parameter of recievers as A(means external Mail ID)
    as mentioed in the given code:
        wa_receivers-receiver = so_malid-low.
        wa_receivers-rec_id = so_malid-low.
        >>wa_receivers-rec_type = 'A'.                     
        wa_receivers-com_type = 'INT'.
        wa_receivers-notif_del = 'X'.
        wa_receivers-notif_ndel = 'X'.
        APPEND wa_receivers TO gi_receivers.
    in your earlier setting you have given it like this:
        wa_receivers-receiver = so_malid-low.
        wa_receivers-rec_id = so_malid-low.
      >>  wa_receivers-rec_type = 'U'.                         " 'U' means internal mail Id         
        wa_receivers-com_type = 'INT'.
        wa_receivers-notif_del = 'X'.
        wa_receivers-notif_ndel = 'X'.
        APPEND wa_receivers TO gi_receivers.
    hope it helps.
    Regards,
    Rajesh Kumar
    Edited by: Rajesh Kumar on Aug 20, 2009 5:40 AM

  • Regarding Transfer of HR data From SAP System to Non-SAP System

    Hi All,
    Can anyone Please help me how i can transfer HR Payroll Data from a SAP system to a Non-SAP system. If it can be done by using Bapi's Please send me some notes or code the way how it can be done,data can be transfered through IDOC wht wud be the IDoc format and the message type etc.Please help me out in this, if some one have done it or got any idea pls send it across. Even if my idea is wrong pls sujjest me ur method and the way it can be done.
    Thanks & Regards
    Sathish

    Hi manoj
    Thanks a lot, u can send it to [email protected] and [email protected] Pls Send it accross to both.
    Thanks
    Sathish

  • How to pass tables data from SAP script to the routine.

    Hi,
    I have standard program RPCTEAL0_01 which calls a SAP script form(Custom) to print the form.
    Now I have to add some additional functionality to change the values in the form. Since it is custom form I can add ROUTINE and then pass the values to the custom program to modify the variables.
    My concern here, I would like to pass the tables like RT,CRT to the custom program via form.
    Is this possible?  RT and CRT filled by standard progam.
    Regarsd
    Eswar
    <MOVED BY MODERATOR TO THE CORRECT FORUM>
    Edited by: Alvaro Tejada Galindo on Jan 20, 2009 9:06 AM

    Hi, The suggested option is not working.
    Actually I am using the below code in SCRIPT
    /:   PERFORM CAL_2008 IN PROGRAM ZHR_TEST1
    /:   USING &PER_NO&
    /:   CHANGING &W12&
    /:   ENDPERFORM
    and calling form in ZHR_TEST1. But this will pass only variables. Now my requirement is to pass tables also.

  • Regarding the Database table names

    Hi,
    We receive the data through ORDERS05 IDoc, in which data base tables this data stores ?
    Control records, status records and data records data saved in which data base tables.

    Not only for ORDERS05 Idoc ,  For all Idoc's control records , Status Record , Data records are stored in the below tables.
    Control Record :
    EDIDC                          Control record (IDoc)
    Status Record :
    EDIDS                          Status Record (IDoc)
    Data Record :
    EDID2                          IDoc Data Record from 3.0C onwards
    EDID3                          IDoc Data Record from 3.0 onwards
    EDID4                          IDoc Data Records from 4.0 onwards
    Based on your R/3 Version.
    Thanks,
    Karthik

  • Delete from database Table

    Hi,
    To delete data from database table using internal table I am using following statement.
    DELETE dbtab       FROM TABLE itab.
    Itab is a sorted table.Just wondering if table type matters while deleting database entries using internal table.which is efficient table type for deleting records from database table?
    Regards
    Nilesh

    Hi Nilesh
    The row type of the internal table must be a data object with at least the same length and alignment as the key structure of the database table. The key is read according to the structure of the table line, and not that of the row type. It is a good idea to define the row type with reference to the structure of the database table.
    From SAP Help
    DATA: BEGIN OF WA,
    CARRID TYPE SPFLI-CARRID,
    CONNID TYPE SPFLI-CONNID,
    END OF WA,
    ITAB LIKE HASHED TABLE OF WA
    WITH UNIQUE KEY CARRID CONNID.
    WA-CARRID = 'UA'. WA-CONNID = '0011'.
    INSERT WA INTO TABLE ITAB.
    WA-CARRID = 'LH'. WA-CONNID = '1245'.
    INSERT WA INTO TABLE ITAB.
    WA-CARRID = 'AA'. WA-CONNID = '4574'.
    INSERT WA INTO TABLE ITAB.
    DELETE SPFLI FROM TABLE ITAB.
    Besides, it is so technical what algorithm is run to delete records from the DB table when an internal table is given. If you want you can have a quick test using GET TIME. However, it seems logical that if your internal table is sorted with respect to any index, especially the primary index, of the DB table this may increase performance.
    Regards
    *--Serdar <a href="https://www.sdn.sap.com:443http://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.sdn.businesscard.sdnbusinesscard?u=qbk%2bsag%2bjiw%3d">[ BC ]</a>

  • Dynamic record deletion from database table

    Hi,
    I need to delete selected records from database table(dynamic names). Table names are being passed from main program with some of their field names. The record to be deleted from the database table is being decided based on the fields passed for the table and their contains passed from the main program.
    It is not possible to write dynamic where clause for DELETE statement directly.
    So, I created a dynamic internal table and i am trying to fetch all records using SELECT statement(for which we can write dynamic where condition, something like...SELECT...WHERE (itab).  ) which need to be deleted in the iternal table.
    Piece of code :
              CONCATENATE c_im v_tablefield1 INTO v_imprtfield1.
              CONCATENATE v_tablefield1 c_in v_imprtfield1
                       into s_condition separated by space.
              APPEND s_condition TO t_condition.
              PERFORM GET_DYNAMIC_ITAB USING s_flds_agtab-tabname
                                    changing t_itab.
              ASSIGN t_itab->* TO <itab>.
    *Select the data (to be deleted) from the database table
               SELECT * FROM (s_flds_agtab-tabname) INTO TABLE <itab>
                 WHERE (t_condition).
    *Delete the records from the table
               IF SY-SUBRC = 0.
                 DELETE (s_flds_agtab-tabname) FROM TABLE <itab>.
               ENDIF.
    Here t_condition is of standard table of WHERETXT.
    t_condition at the run time before giving dump was:
    SPART IN IM_SPART
    AND KUNNR IN IM_KUNNR
    Here IM_SPART is renge type of SPART and IM_KUNNR is renge of KUNNR.
    I am getting a DUMP:
    The WHERE condition has an unexpected format.
    Error analysis                                                                               
    The current ABAP/4 program attempted to execute an ABAP/4 Open SQL
    statement containing a WHERE condition of the form WHERE (itab) or
    WHERE ... AND (itab). The part of the WHERE condition specified at
    runtime in the internal table itab contains the operator         
             IN (v1, ..., vn)                                        
    in incomplete form.                                              
    How to correct the error
    If the error occurred in a non-modified SAP program, you may be  
    able to find a solution in the SAP note system.                  
    If you have access to the note system yourself, use the following
    search criteria:                                                 
    "SAPSQL_IN_ILLEGAL_LIST"                               
    "SAPLZSD_TAB_REFRESH " or "LZSD_TAB_REFRESHU01 "       
    "Z_SD_REFRESH_AGTABLES"                                
    If you cannot solve the problem yourself, please send the
    following documents to SAP:                             
    I would like to know whether "IN" operator is allowed in (itab) of WHERE clause. While testing I changed the "IN" to "=" specifying a suitable value there. It worked. So please let me know if i can give "IN" operator using renge table in the dynamic where clause.
    Thanking you,
    Surya

    Hi again,  so if you can not use the IN in a dynamic where clause you might be forced to dynamically build the entire select statement,  Here is a sample program which may give you some ideas, notice that we are writing the select statement code, putting it in another program and generating the subroutine at runtime, then call this routine.  I'm sure that this will help you see what you need to do.
    report zrich_0003 .
    tables: kna1.
    types: t_source(72).
    data: routine(32) value 'DYNAMIC_SELECT',
                 program(8),
                 message(128),
                 line type i.
    data: isource type table of t_source,
                xsource type t_source.
    ranges:
            r_kunnr for kna1-kunnr.
    data: ikna1 type table of kna1.
    data: xkna1 type kna1.
    r_kunnr-sign = 'I'.
    r_kunnr-option = 'EQ'.
    r_kunnr-low    = '0001000500'.
    append r_kunnr.
    xsource = 'REPORT ZTEMP.'.
    insert xsource  into isource index 1.
    xsource = 'FORM dynamic_select'.
    insert xsource  into isource index 2.
    xsource = 'Tables r_kunnr ikna1.'.
    append xsource to isource.
    xsource = 'select * into table ikna1 from kna1'.
    append xsource to isource.
    xsource = 'where kunnr in r_kunnr.'.
    append xsource to isource.
    xsource = 'ENDFORM.'.
    append xsource to isource.
    generate subroutine pool isource name program
                             message message
                             line line.
    if sy-subrc = 0.
      perform (routine) in program (program) tables r_kunnr
                                                    ikna1.
    else.
      write:/ message.
    endif.
    loop at ikna1 into xkna1.
      write:/ xkna1-kunnr.
    endloop.
    Regards,
    Rich Heilman

  • HOWTO Transfer Oracle Database Tables to SAP

    hi
    I need to import some Oracle Database Tables to the SAP Dictionary, i was wondering that id there is a short way to do this. If there is a progrm to be written then could any one send me the code.
    And if there is another way then plz  do guide me.
    Thanx in Advance.
    Zahid

    Dear vasmi VaraPrasad!
    I am grateful for ur time. I perfectly understand the logic you told me.
    Now let me tell you what i have done so for in this regard by doing some googling and with the help of my respected teacher.
    I made a connection entry in the DBCON table and specify all required things
    like
         NAME      =  MYCONNECTION
         DBMS      =  ORA
         USER      =  SABRO <my db user>
         PASSword  =  *********/********* <my db password>
         INFO      =  FIRS <TNS Name to my db>
    afte that i tried the following code.
    ===========================================
    REPORT Z_DB_1 .
    *Declaration
    DATA: WA TYPE <SAP_TABLE>.
    Init connection
    EXEC sql.
    connect to 'MYCONNECTION' as 'MYDB'
    ENDEXEC.
    Open connection
    EXEC sql.
    SET CONNECTION 'MYDB'
    ENDEXEC.
    Do your trick
    EXEC sql PERFORMING your_form.
    SELECT * INTO :WA FROM <DB_TABLE>.
    ENDEXEC.
    Stop connection
    EXEC sql.
    disconnect 'MYDB'
    ENDEXEC.
    FORM your_form.
    WRITE: / wa-deptno, wa-dname, wa-loc.
    ENDFORM.
    ======================================================
    now when i run this program it terminates with a runtime error that is:
    "An error occured while setting up a connection to MYCONNECTION".
    This  seems that there is some problem with the connection i don't know how to figure out what is wrong with this connection.
    I think the problem is that SAP does not know the TNSNAMES file, or there might be some environment variables to be set so that SAP recognize or read that TNS NAME "FIRST".
    Regards
    Zahid Kareem.

  • Populate 2 infoobjects from One database Table

    Hi,
    I have two infoobjects INOBJ1 & INOBJ2 & one database table TABLE1(on SAP systems connected via UDI) having fields F1 F2 & description D1.
    I would like to extract data & populate either INOBJ1 or INOBJ2 with F2,D1 data based on field F1.
      Please let me know the fastest & easiest way to do this.
      Thanks & warm regards,
      Sunil

    Hi sunil,
    Write piece of ABAP code based on what condition you want..to fetch the field F2 from table1..
    Check the standard generic extractor for template..
    your case..
    select F2 D1 from table1...where F1 = "condiiton"..
    Regards
    Manga(Assign points)
    Message was edited by: Manga

  • Transfer Table View from R/3 to Sap BW? How to Replicate DS form R/3 to Bw?

    Dear Friends ,
    I have a requrement where I need to transfer a Table view from SAP R/3 to SAP BW System.
    I have made view ,
    In RSO2 identified Data source
    In RSA3 Did the data extracion process.
    I need proceeding steps to follow in SAP BW
    1. Replicate the data source
    2.Etc
    Regards,
    Gaurav sood

    Hi Gaurav,
    Your question is not clear.
    There is no need to transfer view from R3 to BW.
    ONce the datasource created in r/3 by using views or tables you have test the datasources wther it extract records or not.
    Once the testing is done then in BW side you have to replicate using RSA1 tcode and then extract data from r/3 to bw...
    Hope it helps..let me know if its not clear
    Regs,
    VAC
    Assign points if helpfull

Maybe you are looking for

  • Date fields in the Maintainence View.

    Hello friends,                I created a maintanence view which of 2 steps. This view contains a DATE field of data element type 'DATS". Now the problem is -" 1. In the first screen  of the viewI am not able to see only the DATE field(Over view scr)

  • Problems with SAP Logon ticket

    Hi. I am trying to send SAP Logon ticket from ECC 6.0  to the backend legacy using Soap adapter in receiver side. I get the following error in SXMB_MONI, so it looks like AF is not accepting the ticket. Can anybody tell me please, how I can identify

  • My websites and UI have suddenly become huge. How can I get them back to a normal, smaller size?

    Yesterday all of a sudden my webpages and UI appeared to be magnified. While I can zoom out on websites, I cannot find any option to adjust the size of the UI. I noticed that Firefox 22 (which I am running) has a new feature: "Windows: Firefox now fo

  • Map base64 attachment to single field

    Hello, in a proxy --> http scenario I receive a message with SOAP attachment (base64 encoded). The requirement on http receiver side is now, that the attachment is put in a single element, just like: <attachment> base64code </attachment> Is there a s

  • Bluetooth no longer finds my phone

    Hello All, I used to be able to send files (photos, ringtones, etc) back and forth from my phone to my computer, but for some reason it doesn't work anymore. Last time I tried was one month ago and it worked no problem. I've also been able to sync (c