HS - link between ORACE and MS SQL - decimal numbers not transfered

Hello folks,
I have defined a HS connection using Windows ODBC Data Source Administrator between MS SQL database and Oracle.
When I query data from ORACLE database from MS SQL table using HS database link, a returned numbers which should be decimal are truncated and returned as whole numbers!
Any idea what settings is missing, or incorrect?
Many thanks,
Tomas
initHELIOSSRO.ora
# This is a sample agent init file that contains the HS parameters that are
# needed for the Database Gateway for ODBC
# HS init parameters
HS_FDS_CONNECT_INFO = HELIOSSRO
HS_LANGUAGE="CZECH_CZECH REPUBLIC.AL32UTF8"
# HS_FDS_TRACE_LEVEL
# Specifies whether error tracing is turned on or off for gateway connectivity.
# The following values are valid:
#   OFF disables the tracing of error messages.
#   ON enables the tracing of error messages that occur when you encounter problems. The results are written by default to a gateway log file in LOG directory where the gateway is installed.
#   DEBUG enables the tracing of detailed error messages that can be used for debugging.
HS_FDS_TRACE_LEVEL= ON
HS_KEEP_REMOTE_COLUMN_SIZE=ALL
HS_NLS_NCHAR=UCS2
# Environment variables required for the non-Oracle system
#set <envvar>=<value>

Hi Tomas,
     The usual reason that you loose the decimal part of the numbers is a difference between the territory settings between the source and target database.
You have set -
HS_LANGUAGE="CZECH_CZECH REPUBLIC.AL32UTF8"
and this expects the decimal separator to be a comma - , - but if the source is using a full stop - . - then this will cause the decimal part to be lost.
You should set the territory part of HS_LANGUAGE to match the setting used by the source database.
If it uses a full stop then set it to something like -
HS_LANGUAGE="AMERICAN_AMERICA.AL32UTF8"
and try the select again from a new SQLPLUS session.
If you have access to My Oracle Support have a look at these notes -
NLS Guide for Generic Connectivity and Gateways (Doc ID 230239.1)
Gateway and Decimal Digits (Doc ID 1453148.1)
Regards,
Mike

Similar Messages

  • Not getting the Link between GEIL and material type: procured  material not

    Hi Friends,
    Some material corresponding to certain G/L Account numbers are not appearing. From Fagll03 I can check the G/L Account number, but how shall be able to get the corresponding table field which holds the material or to check whether that G/L Account number has been properly linked to the material.
    Please suggest what to do. Is this a problem of programming ? or ...
    Thanks,
    Saheli

    Hi Saheli,
    Link b/n GL accounts and Material is in this way.
    Material is created based on material type and material type is connected to Valuation class via Account category reference.
    Now that for each valuation class corresponding GL accounts are defined in customizing.
    you can check the same in Tcode# OBYC.
    To check the posting to Inventory account during GR, select BSX (Inventory posting) and check whether the corresponding valuation class has got the assignment with GL accounts or not.
    Hope this help you out.
    BR,
    Krishna

  • Convert between binary and signed/unsigned decimal numbers

    Hi all,
    Has anyone written a code to convert:
    binary number --> signed decimal
    binary number --> unsiged decimal
    signed decimal --> binary
    unsigned decimal --> binary
    Please help! I'm confusing.

    http://java.sun.com/j2se/1.4/docs/api/java/lang/Integer.html
    See the methods parseInt and toBinaryString.
    Please help! I'm confusing. You are, aren't you?
    (Sorry, couldn't resist...)

  • Link Between AP_INVOICE_PAYMENTS_ALL and AP_PAYMENT_SCHEDULES_ALL

    Guys,
    I am new to Oracle Financials, can you please let me know if my understanding of link between AP_INVOICE_PAYMENTS_ALL and AP_PAYMENT_SCHEDULES_ALL is correct or not?
    SELECT ai.invoice_id
    , ai.invoice_num
    , aps.due_date
    , aip.accounting_date
    , aip.amount, aip.payment_num
    FROM ap_invoices_all ai
    , ap_invoice_payments_all aip
    , ap_payment_schedules_all aps
    WHERE aps.invoice_id = ai.invoice_id
    AND aip.invoice_id = aps.invoice_id
    AND aip.payment_num = aps.payment_num

    plz look at seeded view AP_DOCUMENTS_PAYABLE
    FROM
    ap_invoices_all ai,
            ap_invoice_payments_all aip,
            ap_payment_schedules_all aps,
    WHERE
    AND aip.invoice_id = ai.invoice_id
    AND ai.invoice_id = aps.invoice_id
          AND aps.payment_num = aip.payment_num
    ...your code a bit different by
    AND aip.invoice_id = aps.invoice_idbut it's ok
    >
    AND aip.payment_num = aps.payment_num
    Is this correct?
    >
    yes

  • Link between RCV_SHIPMENT_LINES and WSH_NEW_DELIVERIES

    Hi all,
    Can anyone tell me the link between RCV_SHIPMENT_LINES and WSH_NEW_DELIVERIES tables,
    i am not able to link these tables as this join includes few other tables in the from clause.
    and it is very urgent - Appreciate your  help.
    Thanks in advance
    -Ragul

    No, we can't as we don't have your database and tables.
    And there is no urgent questions on the forum.
    "urgent" suggests that you have a live system that has failed, or that people's lives are at risk, in which case it relates to a commercial system.  Such commercially critical support is provided by Oracle Support, not the public forums that are manned by volunteers with their own jobs to do.  It's very rude to suggest your question is more urgent than other people's or that the volunteers should urgently deal with your issue.  It's a sure way of ensuring that you will not get quick answers to your question, as many people will either ignore it on purpose or give you abuse for saying it.
    Re: 2. How do I ask a question on the forums?

  • How to create database link between oracle and SQL Server

    Hello Everyone,
    Here i have Oracle Database 9i and SQL Server 2005 databases.
    I have some tables in sql server db and i want to access from Oracle.
    How to create a database link between these two servers
    Thanks,

    Thanks for Everyone,
    I was struggle with this almost 10 days....
    I created Database link from Oracle to SQL Server
    Now it is fine.........
    Here i am giving my servers configuration and proceedure how i created the db link...@
    Using Generic Connectivity (HSODBC) we can create db link between Oracle and SQL server.
    Machine (1)
    DB Version : Oracle 9.2.0.7.0
    Operating System : HP-UX Itanuim 64 11.23
    IP : 192.168.0.31
    Host : abcdbt
    Machine (2)
    Version : SQL Server 2005
    Operating System : Windows server 2003 x86
    IP : 192.168.0.175
    Host : SQLDEV1
    User/PW : sa/abc@123! (Connect to database)
    Database : SQLTEST (exsisting)
    Table : T (“ T “ is the table existing in SQLTEST database with 10 rows)
    Prerequisites in Machine (2):
    a)     Oracle 10g software
    b)     User account to access SQL Server database (sa/abc@123!)
    c)     Existing SQL Server Database (SQLTEST)
    d) Tables (testing purpose) (T)
    Steps:
    1)     Install Oracle 10.2.0.1 (Only SW,No need of database) *(Machine 2)*
    2)     Create a DSN where your windows Oracle 10g SW resides *(Machine 2)*
    Control panel >> Administrative Tools >> Data Source (ODBC) >> System DSN ADD
    You can follow this link also.....
    http://www.databasejournal.com/features/oracle/article.php/3442661/Making-a-Connection-from-Oracle-to-SQL-Server.htm
    I created DSN as
    DSN name : SQLTEST
    User : SA/abc@123! (Existing user account)
    Host : 192.168.0.175 (machine 2)
    Already I have 1 database in SQL Server with the name SQLTEST
    You can create DSN with different name also (not same as db name also)
    3)     Create a hsodbc init file in $ORACLE_HOME\hs\admin *(Machine 2)*
    Create init<DSN NAME> file
    Ex: initSQLTEST
    Copy inithsodbc to initSQLTEST
    And edit
    initSQLTEST file
    HS_FDS_CONNECT_INFO = SQLTEST    <DSN NAME>*
    HS_FDS_TRACE_LEVEL = OFF*
    save the file....@
    4)     Configure Listener.ora *(Machine 2)*
    LISTENER_NEW =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.175)(PORT = 1525))
    SID_LIST_LISTENER_NEW =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = SQLTEST) *+< Here SQLTEST is DSN NAME >+*
    (ORACLE_HOME = G:\oracle 10g\oracle\product\10.2.0\db_1)
    (PROGRAM = hsodbc))
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = G:\oracle 10g\oracle\product\10.2.0\db_1)
    (PROGRAM = extproc) )
    :> lsnrctl start LISTENER_NEW
    5)     Configure tnsname.ora *(Machine 2)*
    SQLTEST11 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.175)(PORT = 1525))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = SQLTEST))
    (HS=OK)
    :> tnsping SQLTEST11
    If No errors then conti….
    6)     Configure a file *(Machine 1)*
    Cd $TNS_ADMIN ($ORACLE_HOME/network/admin)
    Create a file
    $ vi TEST_abcdbt_ifile.ora
    something=
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST =192.168.0.175) (PORT=1525))
    (CONNECT_DATA=
    (SID=SQLTEST))
    (HS=OK)
    $ tnsping something
    $ sqlplus system/manager
    Your connected to Oracle database *(machine 1)*
    create database link xyz connect to “sa” identified by “abc@123!” using ‘SOMETHING’;
    select * from t@xyz;10 rows selected.
    Thanks,
    Edited by: ram5424 on Feb 10, 2010 7:24 PM

  • Database link between oracle and sql server

    dear all,
    i m a newbie to oracle and i need your help to know how to create a database link between oracle and sql server.my oracle version 10.2.0.3 and platform is redhat linux 5.7.your help appreciated.
    thanks in advance.

    [oracle@localhost ~]$ rpm -qa | grep -i odbc
    php-odbc-4.3.9-3.15
    unixODBC-kde-2.2.11-1.RHEL4.1
    MyODBC-2.50.39-21.RHEL4.1
    postgresql-odbc-7.3-8.RHEL4.1
    freeradius-unixODBC-1.0.1-3.RHEL4.3
    qt-ODBC-3.3.3-9.3
    unixODBC-devel-2.2.11-1.RHEL4.1
    unixODBC-2.2.11-1.RHEL4.1
    is this showing odbc installed in os?

  • Link between Delivery and Sales Order Schedule Line

    Hi Gurus,
    I have a requirement in which i need to display quantity and amount at schedule line level and also the delivery and delivery item for each schedule line.
    For example, if there is a sales order O1 and item 10 for which we have 3 schedule lines and 3 deliveries as well say D1, D2 and D3.
    Report should be something like this
    Sales Order    Item   Schedule Line    Delivery    Del Item   Confirmed Order Qty
    O1                 10      1                       D1           10            5
    O1                 10       2                      D2            10            5
    O1                 10       3                      D3            10            4
    How can i determine that a particular delivery corresponds to which schedule line of that saler order-item?
    We have the link between delivery and sales order but is there any way that we can get the link of delivery at schedule line level?
    Please help.
    Regards,
    Gaurav

    Hi,
    I suppose you must check with SD functional consultant and the post should also be in the logistics SD forum and not BI. But I suppose there is know specific link between the schedule line of SO to the Delivery. It is more like a bucket flow for ex.
    Sale order   Item    Schedule line  qty
    SO1            Item1     Sch1            10
    SO2            Item1      Sch2           10
    Delivery Item QTy
    DO1       IT1   15
    DO2       IT1    5
    In this case qty 15 is distributed over both SO1 and SO2, and SO2 ITem1 Sch2 has link to both the DOs
    So I am not sure if you can establish a one to one link, please check with your SD consultants.
    Regards,
    Ashwin G

  • Link between sd and pp

    hi all,
      i have a problem regarding relation or link between sales and production order. i have to fetch production order number related to sales order number. i have checked in the table AFPO that is production order item table , there is field AFPO-KDAUF and AFPO-KDPOS ie, sales order and sales item. but when i see these two fields there is no data into the field so how can i get data into the table related to production order.can anyone help me on this issue.

    Please refer to the below links -
    https://forums.sdn.sap.com/post!reply.jspa?threadID=309885
    Integration points with MM/IM and PP are some of the following -
    When a Production order is created and released a reservation gets created for the materials in BOM
    When the reservation is created and materials are posted against the reservation with mvt type 311 these are transferred to the respective location.
    When a GR is posted with mvt type 101, the Finished or Semifinished goods are posted to the respective storage location and inventorized.
    When a consumption is posted with mvt type 261 then stock will get reduced in resepective storage location.
    When a batch determination is done in a production order basing on the batch search strategy and sort rule material, quantity and batch are selected.
    If WM is configured an associated internal movement for all the above movement types will be posted.
    During MRP, BOM which is a master data for PP is used to calculate the dependent requirements of materials.
    During availabilty check of a production order basing on the availability check configured materials will be selected and checked.
    Hope the above may help you.

  • 'Is there a link between OLM and iProcurement'

    I have been asked 'Is there a link between OLM and iProcurement'? The person posing the question is wanting to create trainers as suppliers and I know that the supplier information is shared between OLM and the A/P, A/R and G/L modules and I presume that the link to iProcurement will be via one of these modules however is there a more direct vanilla link between OLM and iprocurement?
    Any help would be great
    Thanks
    DM

    I am afraid there is no link between the iProc and OLM.
    The closest that apps can offer you is that your learner/delegates can be of type external i.e. being an Organization or a Customer. Hence there exists a link for your delegate to be a customer(hz_parties).
    However this might be a future integration i.e. Trainers being suppliers. I am saying so because in 11.5.10 there is a table named OTA_VENDOR_SUPPLIES that has reference to vendor_id. Currently this table is not being used by OLM.
    You may look into the code of packages OTA_VSP_API, OTA_TEA_BUS & OTA_PLE_BUS and see if Oracle's future functionality will converge towards your business requirement.
    Thanks,
    Anil Passi
    http://oracle.anilpassi.com

  • Link between Project and Sales Order

    Apart from sales order can we have a link between project and customer master ??
    I know that WBS element assignment can be made in sales order but i want to have link between
    customer master and project. I don't want any user field or text field in sales order.
    Any idea ?
    Regards
    Ashish

    Yes Mr Ashish!
    As far as iam concern there is no link between Project & Customer Master, you have to link it with SALES order, I had check in XD03,XD01, the complete customer master, i didnt find any field in customer master which links with Project.
    I'll let you know if i find any links.
    Regards,
    ANSAR

  • Link between Item and delivery

    Hi ,
    I want to know the link between item and deliveyr. Like for example, an sales order item ( no. 10) containing 10 quantities can be delviered 5 times( each containing 2 quantities) and line item ( no. 20) can contain one single delivery. I am working on a report where i have to link all the line item to its delivery number. I am trying to achieve this through GENIl but i am not able to indetify as to how to differentiate the different deliveyr numbers. In other words, can some one help me as to how to link the delivery number to its corresponding items?

    Document flow is stored in the table VBFA in ECC.
    VBELV fied is the sales order number and in POSNV specify the line item number and speicfy VBTYP_N = J (Delivery).
    Regards,
    Bhanu

  • Link between GTM and FSCM (sales or purchase order hedging)

    Hi all,
    I am trying for a few days to have SAP GTM working (I am in an IDES ECC6 system, and as far as I know in EhP4 version). The main goal in fact is to test the currency hedging, and therefore to the link GTM and FSCM, either single-sided purchase or sales order, or two-sided . The flow I want is the following :
    -     I buy or sell a product, in GTM, through a trading contract which generates a purchase or sales order.
    -     Automatically a currency hedge is generated to cover the risk, in FSCM, I guess in exposure management.
    -     And then the financial products (derivatives) are generated as well.
    No problem to create the trading contract, no problem to generate the sales or purchase order. But in spite of the (very little) customizing I found in u201CSAP GTM => currency hedgesu201D, and some in FSCM, in u201Ctreasury and risk managementu201D, no way to have this link between GTM and FSCM, no additional document is generated like a Forward Exchange Transaction (I guess I should have this, and then a risk exposure in FSCM).
    Would you have an idea ? Is this customizing, or an additional Business Functions or Extension Set not activated ? SAP says : u201Cit worksu201D, but canu2019t find the way.
    Thank you very much for your help, I am quite looking for this link for a few days now u2026
    Best regards
    Patrick

    Yes Mr Ashish!
    As far as iam concern there is no link between Project & Customer Master, you have to link it with SALES order, I had check in XD03,XD01, the complete customer master, i didnt find any field in customer master which links with Project.
    I'll let you know if i find any links.
    Regards,
    ANSAR

  • What is the link between PO and Requisition in database side

    hello friends,
    please can any one tell me that what is the link between PO and Requisition in database side. means after creating the requisition we will go for create the PO based on that requisition.
    want to know that what is the link between both in database side.
    Thanks in advance
    krish.

    Hi,
    The link is at distribution level, between:
    PO_DISTRIBUTIONS_ALL.REQ_DISTRIBUTION_ID
    and
    PO_REQ_DISTRIBUTIONS_ALL.DISTRIBUTION_ID
    Hope it helps.

  • Link between PR and RFQ

    Hi all,
    I looking for a table where I got a link between e PR and the RFQ which refeer to that PR. We can see in ME53N in the Status tab the RFQ number. I want to fine a table where is that link between PR and RFQ.
    We can see the link in EKPO with the PO number  only if a PO is done from the RFQ (field BANFN).
    If I look in EKPO with the RFQ number, the field BANFN (PR number) is empty.
    I don't find a table with a link between the PR and the RFQ if the PO is not done (nothing interesting in EBAN)
    May someone help me ?
    Thanks all
    Regards
    Mathieu PAINEAU

    Hi all,
    I found by myself ! This link is done in the Table EKET.
    Regards
    Mathieu PAINEAU

Maybe you are looking for

  • Can't Download iTunes 10.5.2 64-bit

    Hey, I have Windows 7 64-bit and I am trying to download the iTunes 10.5.2 64-bit download. However, I am getting the error message: An error occured during the installation of assembly ''Microsoft.vc80.crt.type=''win32'', version=''8.0.50727.6195, p

  • Problem when syncing with MobileMe

    I am using iPhone 3G, software 2.1. I use GMail for email (no problems) but my contacts, and only my contacts, sync through MobileMe. The problem is that with MobileMe active, my Contact list, "Mail, Contacts and Calendars" settings and several other

  • Penalty charge for not meeting the Delivery date by the vendor

    Dear Sapians, My client want to have Liquitidy damage charged to the vendor if he fails to meet the agreed delivery date. For example PO Delivery date is 10-08-2007 and the vendor delivers the material after 10-08-2007 , then the purchase price has t

  • Anyone have solution for gray screen problem?

    Acrobat displays gray screens only for each page of file when opening from flash drive.  Files open properly from same flash drive on other computers so fiies are OK.  Latest Acrobat update installed. Problem started within last few weeks, worked fin

  • Will command R erase everything?

    The repair disk utility is asking me to do Command R.  Will this erase everything on my machine.  I have also been unable to use TIme Machine.  So I don't have a backup.