Generating EDI from a non-SAP, non-EDI-savvy database to go INTO a SAP sys?

I am a FileMaker geek.
I have been asked about developing EDI transaction modalities from within a FileMaker Pro database for facilitating data exchange between the FileMaker db and a SAP environment owned & maintained by the same company.
It seems like an odd request (these days, most exchange to/from FileMaker and other in-house systems is done "live", writing directly to the rows & columns of the various non-FileMaker tables using standard ODBC drivers;... but ignoring that, I've looked at what EDI is, and does, and I gather that the following are true?:
u2022 System A's data structure is "flattened" down and then that data is arrayed as a "document" such as an invoice or a purchase order, etc etc....
u2022 EDI is a venerable and well-established system allowing that resulting "document" to be conveyed, usually to a different company such as a trade partner, (in this case NOT, it will all be internal), which can then, in some fashion, import the data from the "document" into its own very different table structure in what we'll call System B.
u2022 EDI in some fashion creates a standard, and that standard replaces the need for the folks using System A and the folks using System B to do a lot of cumbersome comparison of "what table and what column in your system represents the unique identifier for invoice and which column is invoice number" etc etc, -- by having both folks "speak EDI" the need to map out those matchups is eliminated.
Please correct me if I'm on the wrong track up until that point, thanks.  Now, assuming I am NOT wrong, my main questions:
u2022 File format!  Is the EDI "document" a plain text file that can be assembled and exported from a system that is itself oblivious to EDI, by a developer who is given the schema of how that text document has to "look" to System B?  Or is it binary and/or of sufficient complexity that no one DOES that, that instead some sort of driver or program is generally acquired or purchased that encodes data (say for example tab-delimited ASCII text) into EDI format?
u2022 Schema?  I know how to flatten relevant information and export it out of FileMaker, but for most such requests I would be given a sample document, e.g., "data that goes into QuickBooks has to be in XML format with the relevant XML headers & data in the following order..." or "data that goes into our MAS 90 should be in tab delimited text with the following column order and without column name as top row..." or "data that is to go into our SAS system should be a plain text file with each column a precise char length padded with the standard space char as need be, in the following order..." etc etc.  Would I be given a similar schema and then just export out of FileMaker and assume that they will convert it (if need be) to EDI format from that, or is the art of spitting out data as an EDI "document" a very different sort of task?
u2022 Is there a good reason that my initial gut reaction is necessarily WRONG, i.e., that since Company X owns both System A (FileMaker) and System B (their SAP system) and presumably have the hi-level passwords for full access to both, it would make more sense to write directly to the appropriate corresponding tables rows & columns instead of using EDI?  If so can you give me a sense of why they would want to use EDI for this?
with sincere gratitude, thanks in advance.
Edited by: Allan Hunter on Feb 3, 2009 2:25 PM elaborated on thread title

Thank you, <b>Amit Kulkani</b>, for your replies.  I'm afraid neither answer is really an answer to my questions.  May I elaborate?
a) In the first reply post, you write: " if we did not use EDI there might be many mannual error take place in operation.  So In short only the security point of view EDI works better."
Assuming your target (SAP) tables have rules per each column and per each row, a direct SQL statement should not allow inappropriate information to be entered.  I can accept that perhaps SAP was written without such safeguards, if that is what you are telling me, but in that case any direct data entry process is going to be vulnerable to data entry error.  Or do you mean that no data entry <i>whatsoever</i>, at any point, at any time, occurs other than via EDI?
b) In the second reply post, you cite these advantages.  Advantages over hand-writing the data on the back of a paper napkin and mailing it in a manila envelope for someone to retype into the system, yes, but how are any of these improved by using EDI instead of a direct connection from FileMaker?:
u2022 Reduced postage costs  <i>Huh?</i>
u2022 Reduced expenses <i>what expenses?</i>
u2022 Speed <i>I would think directly writing to the data would be considerably FASTER than exporting to EDI and then importing from EDI into SAP</i>
u2022 Elimination of paper documents <i>Who said anything about paper documents?</i>
u2022 Elimination of labor intensive tasks, such as data entry <i>Yes, what I propose would eliminate that also</i>
u2022 Greater accuracy of information <i>See above</i>
Can you re-read my original post and give the same thoughtful consideration, but this time comparing EDI to what I am proposing (direct connection to the SAP tables), <i>not</i> comparing it to sending the data in on a piece of paper to be retyped manually when it arrives?
Thanks in advance, and thanks again for your answers so far.

Similar Messages

  • SAP tables used to fetch role names into 'Lookup.SAP.UM.Roles'

    SAP User Management Lookup Recon schedule task is used to populate all the Lookup's defined in 'Lookup.SAP.CUA.LookupMappings'. In case of the lookup 'Lookup.SAP.UM.Roles', the description of the SAP Role is populated in Decode value.
    In our environment, the SAP role description is changed in the table 'USRSYSACTT' for both LANGU types 'E' and 'D'. However, when we run the schedule job, we are unable to see the updated value of description in the lookup 'Lookup.SAP.UM.Roles'. Please let us know which SAP table is actually being used to fetch the role information in OIM.

    Dear Satish,
    Do you have any red alerts on top of your change request?
    If yes, you cannot change the status of this change request.
    Do a double click on the alert flag and clear/maintain any alerts first.
    I had just the same problem.
    Yours
    Markus

  • Generate Script from table with Clob and save other Database

    Hi
    How can I to read data from Clob column and insert into other table in other Database,
    The fist Table is in Test Quality and second in Production
    Are there way without to use Export/ Import ?
    Can I to use Loader ?
    Using 9i

    3360 wrote:
    muttleychess wrote:
    mschnatt wrote:
    than you only can try the db-link
    CREATE DATABASE LINK <dblink-name> CONNECT TO <user> IDENTIFIED BY <pwd> USING '<tnsnames-entry>';
    and make table
    create table ....
    as select ....Thank , but too no work :-( :-(
    SQL> select id,clob_data from myclob@teste;
    select id,clob_data from myclob@teste
    ERRO na linha 1:
    ORA-22992: cannot use LOB locators selected from remote tables
    Well you didn't do what the reply said to do
    and make table
    create table ....
    as select ....Also in the manual, you could save yourself a lot of time if you would open it.
    http://docs.oracle.com/cd/B14117_01/appdev.101/b10796/adlob_wo.htm#1006314
    >
    The following syntax is supported on remote LOB columns:
    CREATE TABLE t AS SELECT * FROM table1@remote_site;
    INSERT INTO t SELECT * FROM table1@remote_site;
    UPDATE t SET lobcol = (SELECT lobcol FROM table1@remote_site);
    INSERT INTO table1@remote_site select * from local_table;
    UPDATE table1@remote_siteset lobcol = (SELECT lobcol FROM local_table);
    DELETE FROM table1@remote_site <WHERE clause involving non_lob_columns>
    This is the only supported syntax involving LOBs in remote tables. No other usage is supported.
    >[h1]Thank you very much, very very good [h1]

  • Steps of EDI is used to transfer IDOC from R3 system to non sap system

    Hi Experts,
    Can you provide me Steps to configure EDI is used to transfer IDOC from R3 system to non sap system?
    Full points will be assigned.
    Thanks in advance!
    Sapna

    Hello,
             The EDI Configuration required to be done for Transfering IDoc to non SAP System is.
    1. First of all, we need to identify the Transaction Data which is required to be Transfered to external System.(Ex: Sales Order Data or Shipment Data or Delivery Related Data).
    2. Secondly, Identify the IDoc Type & Message Type. IDoc Type can be found in Transaction WE30 & Message Type Can be explored in Transaction WE81.
    3. After that, assign the IDoc Type to Message Type in WE82.
    4. Identify the Selection Program (Outbound) which is generally a Function Module in the Form of IDOC_OUTPUT_<Message Type>. Example, if the Message Type is ORDERS, the FM will be IDOC_OUTPUT_ORDERS.
    5. Assign the Function Module to a Process Code in WE41 (Process Code for Outbound).
    6. Configure Port Definitions in WE21 for which the RFC destinations are to be maintained in Transaction SM59.
    7. Maintain Partner Profiles for the Outbound Message Processing in WE20.
    8. Last, but not the Least, we need to Focus Mainly on Message Control Configuration which is nothing but maintaining the Output Type for the Outbound IDoc to be Triggered for the Sales Order Application or Delivery Application.
       i. In Message Control Configuration, we'll maintain
          a. Condition Tables
          b. Access Sequences
          c. Output Types
       ii. To Create the above elements, we can go to SPRO Transaction and do the same depending on the Application Area such as Sales / Shipping / Logistics Execution etc.
       iii. For Output Types & Access Sequences, we can go to the Transaction NACE or VK01 in which we'll maintain the Output Types / Access Sequences & Condition Records.
       Please note that all the above steps may not be needed if we are using some of the Standard Elements provided by SAP such as Message Type, Process Code, IDoc Type & Selection Program as many of the Standard SAP Applications have their own Elements for different Application Areas.
       For example, if you want to send an Order Confirmation IDoc when the Sales Order is saved, you can use the Message Type ORDRSP, IDoc Type ORDERS05 & Selection Program as IDOC_OUTPUT_ORDRSP.
       However, Message Control Configuration is the Key Factor and is required for all the Applications as per the Customer's / Client's Requirements.
    Hope the above procedure was clear.
    Thanks and Regards,
    Venkat Phani Prasad Konduri

  • Forwarding XML/EDI from SAP Business connector to EDI (cloverleaf)

    Hello,
    We are having issues setting SAP up to work with the business connector and our EDI system - cloverleaf.
    For testing, we would like to:
    1.  Create an idoc in SAP and send it to the Busness Connector.
    2.  Have the busness connector send the doc via XML to our EDI system cloverleaf.
    Currently, I have things setup like so:
    SAP/ECC6:
    SM59: RFC setup as type T and works fine.
    WE20: Partner Type LS:
    I have 2 message types setup (in outboard: I have "orders" and in Inbound I have the same).
    in WE21: I have a cloverleaf (our EDI system) to run with the RFC destination I setup in SM59.
    On the Business connector, I have the following under routing rules:
    From SAP to the Business connector:
    Sender: 8805
    Reciver: 10000000008
    Message Type: Orders
    ACL Group: none
    Package: default
    Main Flow Services: wm.PartnerMgr.flows.88605.1000000008:ORDERS
    Transport: ALE (R3/IDOC)
    SAP destination: RD1 (our sid).
    FOR my outgoing to our EDI system cloverleaf:
    I am using the sender: * - Not sure if this should be SAP or the BC.
    Reciver:  *  - Our EDI system.  our EDI system is listening on port 49001.
    Message Type: Orders
    Under URL (not sure about this one) 
    I have  http://reg2lxap0725:5555/MessagingSystem/receive/BcAdapter/BC
    I am however stummped on how the URL shold look..
    Now, when we test the above config...  I recive the following results in WE02.
    0000000000003024  25     03 Green Light: IDoc Successful Green     LS/  /SAPBC     ORDERS05     ORDERS     Outbox     CLOVERLEAF
    For some reason, we also have an "inbound" that fails.
    0000000000003025  25     56 Red Light: IDoc Has Errors           KU/  /0000088605 ORDERS05 ORDERS Inbox     SAPRD1
    My main question is however around routing... 
    We are trying to send these to our EDI system which is listening on 49001.
    I am not sure how they want us to setup the routing rules to pass this over to the right port..
    I have also  searched the documentation, and have not found any real step by step guides, so I may be missing a few things..
    Any advice to point me to the right direction is greatly appriciated....
    Thanks  everyone,
    Richard

    Hello Prateek,
    Thank you very much for your answer. The AdapterGuide was really helpfull.
    Now the routing rule is associated to the correct Service (that was a the problem). So the rule started to process the XML files from the folder (the XML files disappeared immediately after I corrected the rule).
    But now my problem is that on the SAP side there is no inbound IDOCs so it seems the trasmission may failed.
    Moreover under "Routing"-->"Transactions" I don't see these entries with the the current date.
    Our routing rule is simple: "wildcard" "wildcard" "wildcard" "ALE (R/3 IDOC)"--><OUR SAP SYSTEM>
    The SAP connection is working as I can test under "SAP..." menu.
    Is there any other way to monitor what had happened with these XML files? I'm sure the BC processed as the files are gone, but there is no IDOC in the destination SAP...
    Thanks a lot!

  • Text file from sap - non-sap

    Hi ,
    I am new to sap.I have task like
    Shipment history, customer orders, stock on hand, vendor purchase orders and some master data items for service parts are collected from SAP in a flat file format and imported into non sap on a monthly basis. A non-sap forecast is generated, as a text file output and imported back into the SAP.
    For this task which method can I use.Do I need to use data set or sessions or ALE?
    Please suggest me.
    Thanks

    hi Nithin,
    Make use of ALE concepts for the same ...
    here is the Link for the same..
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    Regards,
    Santosh

  • Task : from sap - non sap

    Hi ,
    I am new to sap.I have task like
    Shipment history, customer orders, stock on hand, vendor purchase orders and some master data items for service parts are collected from SAP in a flat file format and imported into non sap  on a monthly basis. A non-sap forecast is generated, as a text file output and imported back into the SAP.
    For this task which method can I use.Do I need to use data set or sessions or ALE?
    Please suggest me.
    Thanks

    IF it is text file, u can use ope data set concept.
    you can try this code frangment.
    open the file to be created on application server.
    OPEN DATASET app_path FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
    IF sy-subrc NE 0.
    MESSAGE e001(zs) .
    ELSE.
    get header data
    PERFORM get_data_header.
    *transfer data to application server file.
    TRANSFER v_header TO app_path.
    get segment data
    PERFORM get_data_segment.
    *transfer data to application server file.
    TRANSFER v_segment TO app_path.
    *clear work areas and local variables.
    PERFORM clear_local.
    get trailer record.
    PERFORM get_data_trailer.
    *transfer data to application server file.
    TRANSFER v_trailer TO app_path.
    ENDIF.
    CLOSE DATASET app_path.
    Regards

  • Extraction of InfoCube data from BW system to non SAP system

    Hello All,
    Is the extraction of InfoCube data from BW system to non SAP system availbale only for BW 3.5 release ? If yes, how can we extract the InfoCube data to a non SAP system with SAP BW 3.1 ?
    Hope to get some help.
    Best Regards,
    Loveline.

    Hi Gianfranco,
    Thanks for replying.
    Yes I know that open hub service is the appropriate technique to extract data from the infocube.
    But if we look at SAP Netweaver documentation : Prior to SAP NetWeaver '04(since the SAP BW release I am working is 3.1); We find that we have the option to extract to a DB table or flat file.
    Now if we look at SAP Netweaver documentation : SAP NetWeaver '04; In addition to the above we have the option to extract to a non SAP system.
    My requirment is to extract data from InfoCube to a non SAP system. The SAP BW release I am using is 3.1
    Best Regards,
    Loveline.

  • Data transfer using EDI from one SAP system to other SAP system

    Dear all,
    I understand that i should use normal ale-idoc features to transfer data from one sap to other sap system.
    but can i transfer those idocs using EDI from one SAP to other SAP system

    Hello,
    surely you can do so.
    EDI means that you transfer data in standardized EDI-formats. To get the data at the source  into that formats you normally use an EDI-Converter, which maps the IDOC-format into the EDI-format. Then you send the data in EDI-format to an EDI-converter at the target. There's the reverse mapping. You map the EDI-Format into IDOC-format and book these IDOCs into SAP.
    I think this makes only sense if you cross organizational borders within the business process, e.g., if you define an exchange with many customers, but not all of them have an SAP-system. 
    Regards Wolfgang
    Edited by: Wolfgang Valtin on May 19, 2009 6:13 PM

  • How can we change the field confirmed work of SAP PPM from edit to not edit mode ? I need it into non edit mode for time recording with ChaRM

    Hello everyone,
    Do someone meet this issue ? Do you know if it has a link with customization of ppm or customization of ITSM ?
    Many thanks in advance for your replies !

    It seems that I've solved this issue. To get it work:
    1. Select checkbox Time Recording and Travel Expenses via CATS for project type. Path: SPRO —> SAP Customizing Implementation Guide —> SAP Portfolio and Project Management —> Project Management —> Structure => Define Project Types
    2. Run/schedule a synchronization with the report DPR_CATS_CPR_TRANSF (Transfer of CATS Itemizations to Project Management Application).
    Time Recording from a Request for Change to a PPM ProjectTask - Working with Projects - SAP Library
    Regards,
    Alex

  • SAP ABAP + EDI

    Hi friends,
      My organization is asking me to get trained in EDI to help the EDI team. I would be working on a EDI tool GIS. But I am not comfortable. I have around 4 yrs expereince as ABAPer..Just wanted to know how good would EDI be in a SAP Technical Resume. Having EDI in resume give any weightage to it and will EDI be of any use to a SAP Consultant?
    Please advice.
    Regards,
    M....
    PS: Hope this question would not abuse the actual intention of this forum.

    Hi Madhu,
    I don't think it is going to harm you in any way. I believe we should be open to learn more any time.
    SAP EDI is going to add a lot of value to your Resume. For any big client who has got buisness spread accross a wide range and has different buisness partners EDI proves a boon to them. You will be able to call your self a B2B integration consultant.
    It is a matter of fact that not all the companies in this world have SAP. So when we have to integrate a SAP Partner with a Non Sap partner (which I believe is very common) you will have to go for solution like EDI.
    I think that is a good oppertunity. You should not miss it.
    Regards,
    Prakash

  • [SAP XI] EDI orders posting job to SAP R/3

    Hi everyone!
    I would like to know if SAP XI has the capability to directly post EDI orders in SAP R/3 wherein IDocs are placed. If yes, how? (Please describe the process in detail)
    In normal EDI implementation (AI, 3rd party translator used), batchjobs are created to be able to post EDI orders. The AI/3rd party translator are sending the IDocs after conversion from customer format order file to the specified UNIX directory in SAP and batchjobs will post these as EDI orders that can be viewed in WE02/WE05.
    In SAP XI direct connection case, all IDocs received are automatically posted in SAP R/3 without having a batchjob executing this. However, orders are not successfully posted as there is an authorization issue** (user/system/technology posting EDI orders are not allowed to create an EDI order) so we need to determine which user/system/technology are executing the job (posting of IDocs to an EDI order).
    Please advise. Thank you very much!
    Fred

    Hi,
    U can do the send EDI data into SAP using third party tool or adapter(Seeburger) or by using the conversion agant.
    U need to have the XSD for the EDI structure and EDI data should be flat file.
    Check some links on Conversionagant and Seeburger.
    /people/bla.suranyi/blog/2006/06/08/sap-xi-supports-edifact
    http://www.seeburger.it/fileadmin/it/pdf/2005_04_sapphire_Ferrero_transcript.pdf
    http://www.seeburger.com/fileadmin/com/pdf/Butler_Group_SEEBURGER_Technology_Audit.pdf
    http://www.seeburger.com/fileadmin/com/pdf/AS2_General_Overview.pdf
    SAP Adapters
    EDI with XI
    http://www.seeburger.com
    http://www.seeburger.com/fileadmin/com/pdf/AS2_General_Overview.pdf
    http://www.seeburger.it/fileadmin/it/pdf/2005_04_sapphire_Ferrero_transcript.pdf
    http://www.seeburger.com/fileadmin/com/pdf/SEEBURGER_SAP_Adapter_engl.pdf
    http://www.seeburger.com/fileadmin/com/pdf/Butler_Group_SEEBURGER_Technology_Audit.pdf
    http://www.sap.com/france/company/events/2006/02-01-Automotive-Seeburger.pdf
    http://h41123.www4.hp.com/presentations/ISUG/XISeeBurger.ppt
    http://www.sap.com/asia/company/events/nwtechdays/presentation/australia-slides/Pre-Built_Integration.pdf
    http://www.seeburger.com
    http://www.seeburger.it/fileadmin/it/pdf/2005_04_sapphire_Ferrero_transcript.pdf
    http://www.seeburger.com/fileadmin/com/pdf/Butler_Group_SEEBURGER_Technology_Audit.pdf
    http://www.sap.com/france/company/events/2006/02-01-Automotive-Seeburger.pdf
    http://h41123.www4.hp.com/presentations/ISUG/XISeeBurger.ppt
    http://www.seeburger.com/fileadmin/com/pdf/AS2_General_Overview.pdf
    http://www.seeburger.it/fileadmin/it/pdf/2005_04_sapphire_Ferrero_transcript.pdf
    http://www.seeburger.com/fileadmin/com/pdf/SEEBURGER_SAP_Adapter_engl.pdf
    http://www.seeburger.com/fileadmin/com/pdf/Butler_Group_SEEBURGER_Technology_Audit.pdf
    http://help.sap.com/saphelp_nw04/helpdata/en/43/6d95e0ac846fcbe10000000a1553f6/CMGetStart.pdf
    http://help.sap.com/saphelp_nw04/helpdata/en/43/4c38c4cf105f85e10000000a1553f6/content.htm
    /people/paul.medaille/blog/2005/11/17/more-on-the-sap-conversion-agent-by-itemfield
    /people/alexander.bundschuh/blog/2006/03/14/integrate-sap-conversion-agent-by-itemfield-with-sap-xi
    /people/paul.medaille/blog/2005/11/18/conversion-agent-a-free-lunch
    /people/william.li/blog/2006/03/17/how-to-get-started-using-conversion-agent-from-itemfield
    Regards,
    Phani
    Reward points if Helpful

  • ORA-28500: connection from ORACLE to a non-Oracle system returned this message: ORA-02063: preceding line from OWB_75

    ORA-28500: connection from ORACLE to a non-Oracle system returned this message: ORA-02063: preceding line from OWB_75
    Scenario:
    I am having difficulty getting ODBC connection between Oracle OWB app with an 11gR2 DB (running on a VirtualBox Linux) and SQL Server 2008 running directly on the host. (Windows 8)
    I am trying to take a SQL Server 2008 feed into Oracle Ware house Builder, and think(!) I have read everything and configured it in accordance (but I presume not given 3 days of failed attempts to fix it). I have also read several blogs, hence there might be a few more settings in the configuration files than the formal documentation says, but these have come from blogs that have “Solved” problems for other similar situations.
    The environments:
    HOST:
    Name: RESOLVEIT-PC
    IP: 192.168.1.80
    Windows 8 (64bit) , with system DSN ODBC connection ACME_POS created with 32 bit ODBC set up (This setting still shows up fine in the 64 bit ODBC).
    GUEST VM:
    Name: OraDBSvr.com
    GUES fixed IP Address: 192.1.200
    Oracle VirtualBox (4.2.16)
    Oracle Redhat Linux 6 (x86)
    Oracle 11gR2 Enterprise Edition (11.2.0.1.0)
    ODBC: Freetds driver
    Configuration files:
    initacmepos.ora
    HS_FDS_CONNECT_INFO = 192.168.1.80/SQLEXPRESS/ACME_POS
    HS_FDS_TRACE_LEVEL = 0
    HS_FDS_SUPPORT_STATISTICS=FALSE
    HS_RPC_FETCH_REBLOCKING= OFF
    HS_FDS_FETCH_ROWS = 1
    HS_FDS_SHAREABLE_NAME = /usr/local/lib/libtdsodbc.so
    set ODBCINI=/opt/odbc/odbc.ini
    # set <envvar>=<value>
    odbc.ini
    [ACME_POS]
    Driver     = FreeTDS
    Description = ODBC Connection via FreeTDS
    Trace       = 1
    Servername  = 192.168.1.80
    Database    = dbo
    odbcinst.ini
    [PostgreSQL]
    Description                        = ODBC for PostgreSQL
    Driver                   = /usr/lib/psqlodbc.so
    Setup                    = /usr/lib/libodbcpsqlS.so
    Driver64                              = /usr/lib64/psqlodbc.so
    Setup64                              = /usr/lib64/libodbcpsqlS.so
    FileUsage                           = 1
    [MySQL]
    Description                        = ODBC for MySQL
    Driver                   = /usr/lib/libmyodbc5.so
    Setup                    = /usr/lib/libodbcmyS.so
    Driver64                              = /usr/lib64/libmyodbc5.so
    Setup64                              = /usr/lib64/libodbcmyS.so
    FileUsage                           = 1
    [FreeTDS]
    Discription             = TDS driver (Sybase / MS SQL)
    Driver                           = /usr/local/lib/libtdsodbc.so
    # Setup                         = /usr/local/lib/libtdsS.so
    FileUsage                           = 1
    CPTimeout               =
    CPReuse                 =
    [oracle@oraDBsvr etc]$
    freetds.conf
    #   $Id: freetds.conf,v 1.12 2007-12-25 06:02:36 jklowden Exp $
    # This file is installed by FreeTDS if no file by the same
    # name is found in the installation directory. 
    # For information about the layout of this file and its settings,
    # see the freetds.conf manpage "man freetds.conf". 
    # Global settings are overridden by those in a database
    # server specific section
    [global]
            # TDS protocol version
    ;              tds version = 4.2
                   # Whether to write a TDSDUMP file for diagnostic purposes
                   # (setting this to /tmp is insecure on a multi-user system)
    ;              dump file = /tmp/freetds.log
    ;              debug flags = 0xffff
                   # Command and connection timeouts
    ;              timeout = 10
    ;              connect timeout = 10
                   # If you get out-of-memory errors, it may mean that your client
                   # is trying to allocate a huge buffer for a TEXT field.
                   # Try setting 'text size' to a more reasonable limit
                   text size = 64512
    # A typical Sybase server
    [egServer50]
                   host = symachine.domain.com
                   port = 5000
                   tds version = 5.0
    # A typical Microsoft server
    [ACME_POS]
      host = 192.168.1.80
      port = 60801                                # also tried 1433
      instance = SQLEXPRESS
      tds version = 8.0
      client charset = UTF-8
    tsql -LH 192.168.1.80
         ServerName RESOLVEIT-PC
       InstanceName SQLEXPRESS
        IsClustered No
            Version 10.50.4000.0
                tcp 60801
                 np \\RESOLVEIT-PC\pipe\MSSQL$SQLEXPRESS\sql\query
                via RESOLVEIT-PC,0:1433
    Oracle listener:
    [oracle@oraDBsvr log]$ cat /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    # listener.ora Network Configuration File: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = acmepos)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1)
    (PROGRAM = dg4odbc)
    (HS = OK)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = oraDBsvr)(PORT = 1521))
    ADR_BASE_LISTENER = /u01/app/oracle
    [oracle@oraDBsvr log]$ lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 16-SEP-2013 13:57:41
    Copyright (c) 1991, 2009, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=oraDBsvr)(PORT=1521)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date                16-SEP-2013 13:50:34
    Uptime                    0 days 0 hr. 7 min. 7 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    Listener Log File /u01/app/oracle/diag/tnslsnr/oraDBsvr/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oraDBsvr)(PORT=1521)))
    Services Summary...
    Service "acmepos" has 1 instance(s).
    Instance "acmepos", status UNKNOWN, has 1 handler(s) for this service...
    Service "dw" has 1 instance(s).
    Instance "dw", status READY, has 1 handler(s) for this service...
    Service "dwXDB" has 1 instance(s).
    Instance "dw", status READY, has 1 handler(s) for this service...
    The command completed successfully
    Oracle tnsnames.ora
    [oracle@oraDBsvr admin]$ cat tnsnames.ora
    # tnsnames.ora Network Configuration File: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    dw =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = dw)
    acmepos  =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))
    (CONNECT_DATA=(SID=acmepos)
    (HS=OK)
    Oracle sqlnet.ora
    [oracle@oraDBsvr admin]$ cat sqlnet.ora
    # sqlnet.ora Network Configuration File: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/sqlnet.ora
    # Generated by Oracle configuration tools.
    NAMES.DIRECTORY_PATH= (EZCONNECT, TNSNAMES)
    ADR_BASE = /u01/app/oracle
    I can connect from the linux server to SQL Server, and query the database:
    [oracle@oraDBsvr etc]$ tsql -S acme_pos -U acme_dw_user -P acme1234
    locale is "en_US.utf8"
    locale charset is "UTF-8"
    using default charset "UTF-8"
    1> select last_name from dbo.employees;
    2> go
    last_name
    Davolio
    Fuller
    Leverling
    Peacock
    Buchanan
    Suyama
    King
    Callahan
    Dodsworth
    (9 rows affected)
    1>
    However, I can’t get a response through Oracle OWB , and I get:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message: ORA-02063: preceding line from OWB_75
    In the hs log file I get:
    [oracle@oraDBsvr log]$ cat acmepos_agt_3821.trc
    Oracle Corporation --- MONDAY    SEP 16 2013 13:51:22.170
    Heterogeneous Agent Release
    11.2.0.1.0
    HS Gateway:  NULL connection context at exit
    [oracle@oraDBsvr log]$
    I am really stuck now and going round in circles and can’t see the wood for trees! Can anyone please help?!!
    Many Thanks.
    Rafe.

    Let us rewrite your ODBC DSN a little bit... Your current odbc.ini looks like:
    [ACME_POS]
    Driver     = FreeTDS
    Description = ODBC Connection via FreeTDS
    Trace       = 1
    Servername  = 192.168.1.80
    Database    = dbo
    Let us change it a little bit so that we only need one config file - no odbcinst.ini nor freetds.conf file anymore:
    [ACME_POS]
    Driver =/usr/local/lib/libtdsodbc.so
    Server = 192.168.1.80
    Database
    = dbo     ####  I have some doubts that you have a SQL Server database called dbo - one database that always exists is master - so as a test use master here or get the real database name of the SQL Server database you want to connect
    Port = 60801 ## make sure it really is the correct port - best would be to check on the SQL server and then try telnet <ip> <port> if you can connect to the SQL server
    TDS_Version = 8.0
    QuotedId=YES
    Especially the last 2 parameters are mandatory. TDS_Version specifies the TDS Version you have to use to connect to the SQL Server and QuotedID is required for DG4ODBC as it surrounds objevt names by double quotes.
    What happens now when you try to connect with for example isql - the ODBC test utility shipped with the ODBC Driver manager?
    In addition, could you please do me another favour and check the word size of DG4ODBC and the ODBC Driver Manager as well as the ODBC Driver - just execute:
    file /u01/app/oracle/product/11.2.0/dbhome_1/bin/dg4odbc
    file /usr/local/lib/libtdsodbc.so
    file < the patch to your libodbc.so library>/libodbc.so
    and post the output.

  • ORA-28500: connection from ORACLE to a non-Oracle system

    Hi, I need to connect to a OWB mysql database, but when making a query in sql plus sends me this error.
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Generic Connectivity Using ODBC][H006] The init parameter
    <HS_FDS_CONNECT_INFO> is not set. Please set it in init<orasid>.ora file.
    ORA-02063: preceding 2 lines from MYSQLINK
    listener.ora
    # listener.ora Network Configuration File: C:\oraclebi\db\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
         (SID_NAME = PLSExtProc)
         (ORACLE_HOME = C:\oraclebi\db)
         (PROGRAM = extproc)
         (SID_DESC =
         (SID_NAME = MYSQL)
         (ORACLE_HOME = C:\oraclebi\db)
         (PROGRAM = hsodbc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = bi.oratechla.com)(PORT = 1521))
    tnsnames.ora
    # tnsnames.ora Network Configuration File: C:\oraclebi\db\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    BISE1DB =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = bi.oratechla.com)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = bise1db)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    OTCL_MORDOR =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.31.210)(PORT = 1620))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = TEST)
    MYSQL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = bi.oratechla.com)(PORT = 1521))
    (CONNECT_DATA =
    (SID = MYSQL))
    (HS = OK)
    inithMYSQL.ora
    # This is a sample agent init file that contains the HS parameters that are
    # needed for an ODBC Agent.
    # HS init parameters
    HS_FDS_CONNECT_INFO = MYSQL
    HS_FDS_TRACE_LEVEL = off
    # Environment variables required for the non-Oracle system
    #set <envvar>=<value>
    system dsn --> MYSQL
    databaselink
    CREATE PUBLIC DATABASE LINK mysqlink CONNECT TO "oracle" IDENTIFIED BY "oracle" using 'ejemplo';
    Database link created.
    select * from empleado@mysqlink;
    ERROR at line 1:
    ORA-12154: TNS:could not resolve the connect identifier specified
    or
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Generic Connectivity Using ODBC][H006] The init parameter
    <HS_FDS_CONNECT_INFO> is not set. Please set it in init<orasid>.ora file.
    ORA-02063: preceding 2 lines from MYSQLINK
    tnsping
    C:\Documents and Settings\Administrator>tnsping MYSQL
    TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 06-AUG-2
    010 06:31:57
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Used parameter files:
    C:\oraclebi\db\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = bi.orate
    chla.com)(PORT = 1521)) (CONNECT_DATA = (SID = MYSQL)) (HS = OK))
    OK (30 msec)

    Use the setup failing with
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Generic Connectivity Using ODBC][H006] The init parameter
    <HS_FDS_CONNECT_INFO> is not set. Please set it in init<orasid>.ora file.
    ORA-02063: preceding 2 lines from MYSQLINK
    There is a typo in the name of you gateway init file. You posted the content of inithMYSQL.ora but the naming is init<SID>.ora which is in your case initMYSQL.ora.
    In addition please keep in mind HSODBC has been desupported since 2008 and when starting a new configuration you should use the follow up product dg4odbc (Database Gateway for ODBC) V11.

  • Sending special characters to non-unicode non-sap system: user exit

    Hello All,
    We are sending data from a SAP unicode system to a non-sap non-unicode system via IDOC. The idoc is standard idoc GLMAST which contains gl account information.
    Some text fields contained in this idoc can contain special Polish characters. If they are sent unchanged to the non-unicode system, they give problems in the destination system.
    What we would like to do is to build a user exit to convert these special characters, for example : 'é' becomes 'e', ....
    We used enhancement object ALE00001, function EXIT_SAPLBD11_001 and implemented it, but it seems this exit is not called. Can this user exit be used for this functionality?
    We also tried to change in SM59 the type of system of the destination to non-unicode, so that SAP replaces those special characters by #. But, than the error 02. Codepage not found is given in the idoc. Note: the link to the external system is not set up yet, so no actual connection is possible. Is this why we receive this error, and will this functionality work in the end with a non-sap system?
    Thanks for helping.
    Kind Regards,
    Bart Pelsmaekers

    I faced this problem in many project i implement below logic.
      DATA: c_splchar(2) VALUE '90',
            c_defaultchar(1) type c VALUE '#'.
    You have to move one by one character to this function module
              CALL FUNCTION 'URL_ASCII_CODE_GET'
                   EXPORTING
                        trans_char = spl_char
                   IMPORTING
                        char_code  = spl_code.
    All non unicode(Better you check) are always greater than 90.
             if spl_code is gt c_splchar.
                move c_defaultchar to c_splchar.
             endif.       
    "Reward points if usefull"
    Thanks,
    Narayan

Maybe you are looking for

  • How do I increase the font size on my screen in Firefox5 to make it easier to read on my HP atom computer whose screen is 12"?

    I just cannot find it anywhere in the menu. I use Windows starter edition. this does not seem to be a problem on Internet explorer which has an option to increase the size of the text. edit: removed email address from subject, though it may be too la

  • Forcing a component to lose focus

    Hi all! How do you make sure that a component (such as a JButton) never gets keyboard focus? If you're asking why I need this, I'm making a small program in which a button moves away from the cursor and I need to make sure that the user doesn't cheat

  • JLabel/html question

    how do you make a tab in html within a JLabel text. also how do you get rid of the bold that seems to be on every J label?

  • Where are my old pictures on iphoto?

    I frequently import my pictures to iphoto as backup, but today when i tried to look at my pictures from few months ago i cannot seem to find them on iphoto, i can only see the most recent imports, just a month worth of photos.

  • Can someone help with my school work... please...

    Hello Guys, I'm new here and I need help. I would like to know on how to create a Gantt Chart for my CPU Scheduling FCFS, SJN, SRTF, Priority and RR? I really need it for my school work. Thank you.