DB connect: Yen Currency

we are extracting data from R3 and other databases using DB connect.
data extracted via DB using Yen currency  multiplies the result by 100.
Transactions extracted from R3 using Yen currency are displayed correctly.
checked the currency settings/ tables and everything seems to be correct.
I know that Yen does not have decimal places and that R3 & BW overcome this problem in order to display the correct value.  However this translation does not seem to work when extracting via DB connect.
Any useful suggestions/ solutions?

Hi Thomas,
if you face this problem only when you are extracting data via dbconnect and only when the currency is yen, then just add a routine to your transfer rules deviding the amount by 100.
regards
Siggi

Similar Messages

  • Yen currency: DB connect

    we are extracting data from R3 and other databases using DB connect.
    data extracted via DB using Yen currency  multiplies the result by 100.
    Transactions extracted from R3 using Yen currency are displayed correctly.
    checked the currency settings/ tables and everything seems to be correct.
    I know that Yen does not have decimal places and that R3 & BW overcome this problem in order to display the correct value.  However this translation does not seem to work when extracting via DB connect.
    Any useful suggestions/ solutions?

    Hi Thomas,
    SAP stores all currencies with two decimal places, then they format the currency amount when they display the data.
    How much is your currencies off? When you load in your data have you checked the option 'Currency Conv for External System' on the external data tab of the infopackage? This should load the data in correctly for you, assuming you have a currecny it can use with the record you are loading.
    Cheers!

  • Japanese Yen currency issues

    hello, friends.
    there is a situation where japanese yen is divided by 100.  for example, the procurement price of a material is Yen 3,000,000.  but it shows up as 30,000 in a purchase order.
    a SAP Note 647667 says this is due to a source code error, especially where currency conversions apply and the currency involved does not have decimal places.  but our BASIS says this SAP Note is applicable to SRM, and not to ERP.
    has anyone encountered a similar problem?  what was your solution?
    many thanks.

    hello, friend.
    the exchange rate is correct.  in OY04, the number of decimal places is 0.
    in another thread with a similar issue, the supposed solution was to delete OY04, and in OY01 we maintain the currency with decimal places.  however, i am hesitant to use this approach as i have seen problems when changes are made in OY04.   in fact, when OY04 is accessed, there is a warning that states that existing data will be distorted; this i have witnessed as well.
    hope there is a standard remedy.
    thanks.

  • Japanese yen currency conversions

    Hi,
         In SAP when i display the document it shows the correct amount like 48000247 for japanese yen.But when i go and look in BSEG i am seeing the value as 480002.47 .As BSEG is having that value even BW is pulling in the same value of 480002.47 .When i look in TCURX it shows 0 decimals for Japenese YEN.we are not doing reporting in BW.In our system BW just needs to extract data from SAP and send it to openhub.After extraction we want in BW to display as 48000247 instead of 480002.47.
    Any pointers will be of great help.
    Thanks,
    Vijay.

    Hi Vijay,,
    Regarding your case, it think ..
    It's because of ratio ..
    You can check it within TCURF table ..
    e.g.
    from JPY : USD = 100 : 1
    So in the routine of JPY currency, you must devide it by 100
    The function to get the factor of corresponding currency is:
    CURRENCY_CONVERTING_FACTOR
    Hopefully it can help you a lot.
    Regards,
    Niel
    thanks for the points you choose to assign.

  • How to determine the second decimal of currency is equal to 0.

    Hi guys,
    My problem is how to determine the second decimal of currency is equal to 0.
    i.e: 130.23 the second decimal is 3.
    Thx in advance.
    Points will be rewarded.

    Hi Vincent,
    if you want to check the internal currency value, you can not know from the field contents what is the second decimal. Because ABAP currency fields (CURR) are connected to currency key CUKY. For USD or EUR you have two decimals, japanese yen have no decimals where as some arabian pound have three decimals. The default are 2 decimals; all excetions can be found in table TCURX.
    If you WRITE the value it is converted correctly according to the connected currency.
    Just multiply the value with 10 to the power of decimals, e.g. USD value * ( 10 ** 2 ). Then do a MOD: second_decimal_of_currency = ( value * ( 10 ** decimals ) mod 10.
    If result is zero, then the second decimal of currency is equal to 0.
    Regards,
    Clemens

  • Problem in Currency Exchange Rates

    Hello All,
    This question is connected to currency conversions from GBP to EUR in Sales Transactions. We have defined 2 Exchange Rate Types between GBP to EUR.
    One Exchange Rate Type (example "ZZZZ") is from NETHERLANDS  to the internal INTER-company Customer in Britain.
    The other Exchange Rate Type (example "YYYY") is for Sales from SPAIN to External customers in Britain.
    These exchange rate types ZZZZ and YYYY are defined in the respective customer masters and there are conversion Ratios maintained for both in OB08.
    T/Codes OB07 & OB08 are maintained. Tables TCURF & TCURV are maintained.
    Problem:
    For Intercompany Customers with Rate Type ZZZZ: The system is taking the correct currency conversion of Rate Type ZZZZ in the Accounting documents of Intercompany Invoices as defined in OB08 for ZZZZ.
    For Sales to External Customers with Rate Type YYYY:
    The system ignores the Ratio maintained for Exch Rate Type "YYYY" in the Customer Master and prefers the EURX Rate in the Accounting documents of customer Invoices.
    Thanks,
    Srinivas

    Hi Srinivas,
    Go to OBBS and find the transalation ratios between the currency pair GBP to EUR with exch rate type YYYY.
    For that row, there is a field called Alternative exch rate type must have been assigned as EURX.
    Remove it and SAVE and post your sales document now.
    This will resolve your issue.
    Thanks,
    Srinu

  • Information required for all currency formats settings.

    I need information in Web Dynpro Java for currency format.
    currently I have following fields in application:-
    1.Wrbtr Amount in document currency
    2.Waers Currency Key
    In local dictionary I could see Amount type as simple type in external representation I could see #,###.00## format.
    This format has a problem with Yen currency that if ECC shows 1000.00 then Portal shows only 100.00.
    Please let me know how dictionary works about pair of keys an values of above fields.
    Please let me know solution of this problem.
    Higher points will be rewarded for immediate solution and appericated also.

    Hallo Laxmikant,
    to correctly format BigDecimal price values depending on a given currency YOU MUST apply structure binding:
    - define a dictionary structure with a currency field AND an amount field and relate the amount field to the currency field.
    - bind a context node to this structure so that the context attributes are created from the sturcture fields.
    In this way the Java Dictionary Runtime will correctly format the decimal places for the amount depending on the given currency key (see ISO 4217). For the Jordanian Dollar JOD three decimal places are rendered, for the Japan Yen (JPY) zero.
    Look at this [Table Tutorial|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/user-interface-technology/webdynpro/wd%20java/wdjava%20tutorials%207.0/web%20dynpro%20sample%20applications%20and%20tutorials.htm#46] which applies the sctructure binding and currency-formatting technique.
    With your formatting pattern approach on simple type level you cannot adapt the formatting pattern for different currencies.
    In NW CE 7.1 you can use the new CCTS-datatype Amount.
    Regards, Bertram

  • Power Pivot - Calculating Exchange Rates depending on MONTH

    Hello everyone, I have a question, would like to know if someone can help me figuring out a solution. I have created a spreadsheet using powerquery and powerpivot. Loading the data on powerquery from different spreadsheets was a charm, the problem is calculating
    the exchange rates per month. Let me try to explain better;
    The structure is as following:
    I have 3 tables, they are:
    Dates– Just a dates (loaded directly on PowerPivot).
    Invoice – Details of invoices for all customers, gross totals are in different rates (loaded through power query)
    Customer – Detailed information of customers (loaded directly on PowerPivot).
    Currency – exchange rates (loaded directly on PowerPivot).
    Note: I mentioned where they were loaded because I do not know if that really matters, I guess it does not... but extra information will not hurt. Now, let's go to how these tables are connected between each other and their key columns:
    The Invoice table has information on invoices dates, invoice gross total and customer code. This table is related to Customer table, which has the actual name of customers and other details. This link is done through the Customer Code column. The Currency
    table have a relationship with the Customer Table through the Country Column.
    What I want to achieve is a formula to do the exchange rate based on the Invoice Date column present on the Invoice Table. So I have created a column on the Currency Table named at each month of the year and populated it with the exchange rates for all countries
    (countries listed using ISO3 format).
    My problem is while I am able to select a column from the Currency table to do the exchange rate calculation using the below formula, I fail to realize how to do it per month:
    =CALCULATE(sum(invoice[Gross Value])*SUM(Currency[Reverse]))
    *Reverse is the column with the exchange rate for the country money to USD
    What I am failing to do is how to make that calculation to also consider the month of the invoice and pull the exchange rate for the same month from the Currency table… something like:
    Get the invoice date then find the column on Currency[Month] and multiply, providing me the USD amount.
    I was unable to figure out a solution using the filters parameters from Calculate. If some of you ask why I am using SUM inside Calculate, is because if I only use SUM and try to do the math between the two tables I get an error saying that it was not possible
    to determine the value on Currency[Reverse]. Same happens with SUMX. It worked out with Calculate, but then I cannot create other formulas using CALCULATE on that table because it will give that error on redundancy, unless I add a filter on it, which worked
    last time (but I do not remember which thing /parameter used to filter, so do not ask it right now :D)
    To be honest… I do not really need that level of accuracy, but my Virgo perfectionist side demands me to find a solution to that, that will not use a single exchange rate, but consider which is the correct exchange rate for the month of the invoice and calculate
    it correctly for all invoices. Just so you know, the Invoices tables has more than 1million lines.
    Anyone know how to crack this problem or can point me to some site where I can learn how to do it?
    Thanks for the time reading all of this, even if you cannot help, I really appreciate it ;)

    Hi Estevao,
    Having problems to understand how you managed to combine your currency table with the customer table by Country ID. Where’s the 1-side of this relation (many customers in the same country and many months for the same currency)?
    Anyway: Seeing that you already use Power Query, I’d suggest that you prepare your data in a way that you can connect your currency table with your invoice table instead of with your customer table. Create a field in your Invoice Table
    that concatenates Customers CountryID&Month.
    Imke

  • Simple JSP demo

    As soon as I implement a Java Bean I can't get my jsp pages to run.
    ProcessLogon.jsp
    <%@ page language="Java" %>
    <%@ page import="java.sql.*" %>
    <%@ page import="java.io.IOException" %>
    <%@ page import="SQLBean.*" %>  
    <jsp:useBean id="db" scope="request" class="SQLBean.DBClientBean" />
    <jsp:setProperty name="db" property="*" />
    <html>
    <head>
    <title>processLogon</title>
    </head>
    <body>
    <%
         db.connect();
    %>
    </body>
    </html>My javaBean "DBClientBean.java"
    package SQLBean;
    import java.sql.*;
    import java.text.NumberFormat;
    public class DBClientBean  //implements java.io.Serializable
      Connection connection;
      public Statement statement;
      public ResultSet resultset;
      public NumberFormat currency;
      public DBClientBean () throws ClassNotFoundException, SQLException
        Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
        connection = DriverManager.getConnection
          ("jdbc:odbc:MovieDB","myUsername", "myPassword");
        statement = connection.createStatement();
        currency = NumberFormat.getCurrencyInstance();
      protected void finalize() throws SQLException
        resultset.close();
        statement.close();
        connection.close();
    }Error I get is,
    <path>/ProcessLogon.jsp(9,0) The value for the useBean class attribute SQLBean.DBClientBean is invalid.I've been trying to figure this out for hours .. what may be the problem? Can someone please help me before all my hair is gone?

    Thank you I implemented all your tips. But I still the same error :( Its almost as if my JavaBean doesn't exist. This is the same error that you get if the jspBean that is being imported doesn't exist.
    Anyways, here's my updated code with the suggestions that you made. I even took the connect command out of the script.
    this is in (/Servlet/MovieProject/ProcessLogon.jsp)
    <%@ page language="Java" %>
    <%@ page import="java.sql.*" %>
    <%@ page import="java.io.IOException" %>
    <jsp:useBean id="db" scope="request" class="SQLBean.DBClientBean" />
    <jsp:setProperty name="db" property="*" />
    <html>
    <head>
    <title>processLogon</title>
    </head>
    <body>
    <%
         out.print("Hello");
    %>
    </body>
    </html>This is (/Servlet/MovieProject/SQLBean/DBClientBean.java)
    package SQLBean;
    import java.sql.*;
    import java.text.NumberFormat;
    public class DBClientBean  //implements java.io.Serializable
      Connection connection;
      public Statement statement;
      public ResultSet resultset;
      public NumberFormat currency;
      public DBClientBean ()
      void connect() throws ClassNotFoundException, SQLException
           try
           Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
              connection = DriverManager.getConnection
                ("jdbc:odbc:MovieDB","myUsername", "myPassword");
              statement = connection.createStatement();
              currency = NumberFormat.getCurrencyInstance();
           catch (SQLException e)
              System.out.println("Whoops");
           catch (ClassNotFoundException g)
                System.out.println("Not class found..");
      protected void finalize() throws SQLException
        resultset.close();
        statement.close();
        connection.close();
    }I've seen some people use the import command on their JavaBean. Should I do this instead of the <useBean>. Anyways, I'm up for any ideas and I've been plugging away at this for like 3 hours now.

  • Approvals and multicurrency

    I am setting up approval templates.  If I have multicurrency setup and we create purchase orders in U.S dollars and yen currency, will I have to approval templates for both U.S dollars and yen?
    Regards,
    Fred

    Hi Fred,
    That is depending what terms have you setup for approval. Mostly would be yes.
    Thanks,
    Gordon

  • My itunes library when using my phone is in Japanese, and the currency is set to yen. I have changed the settings via the flag at the bottom of itunes on windows but its only changed on my windows itunes.

    The currency on my itunes store when using my iPhone is in Japanese yen, the menu is in Japanese too. I have changed the country using the flag at the bottom of itunes for windows, I have synced my iphone and restarted it, but it still has not changed. I also cannot set up a payment method for itunes as it keeps asking for japanese bank details? Help!

    The currency on my itunes store when using my iPhone is in Japanese yen, the menu is in Japanese too. I have changed the country using the flag at the bottom of itunes for windows, I have synced my iphone and restarted it, but it still has not changed. I also cannot set up a payment method for itunes as it keeps asking for japanese bank details? Help!

  • Currency in Yen is ot appearing in MB51

    Hi All,
    My client is a dealer of trading goods.They procure the goods in currency Yen. And their all the transactions are in Yen only. But in MB51 it is appearing in INR by proper conversion. Client want it to appear in Yen. Do help me.

    Hi,
    If you go to the details screen of MB51 and then select settings > Layout > current from the menu. There is a field in the list on the right called something like "Value in local currency". click on this then click on the arrow in the centre pointing to the left and this will add that field to the list.
    If this is the field that you  want then save the layout as the default.
    Steve B

  • For Japanies Currency Yen - Getting Warnig message Decimal places not permi

    Hi SRM,
    For Japanies Currency Yen - Getting Warnig message Decimal places are not permitted,
    while creating Shopping Cart.
    Could you please provide solution for this.
    If you provied OSS notes on Japanies currencies ( > Support Pack -14).
    Thanks in advance
    Edited by: CK on Jun 25, 2009 9:50 AM

    Hi Muthu,
    Thanks a lot for your reply ,
    Could you please provide for this is there any OSS note saying that this is standard functionality,
    Sothat I can communicate this to customer.
    Greatly Appreciated...
    CK
    Edited by: CK on Jul 2, 2009 4:05 PM

  • Crystal Report can't add Currency field when connect to SAP Infosets.

    Hi,
    I created a simple Crystal Report which connect SAP Infosets.
    Everything is fine except I add a "Currency" field into report. Three errors returned.
    Fail to retrieve data from database -> Database connector error :'Syntax error in program SAPLHRPADINA1' -> Database connector Error: 'RFC_CLOSED'
    Do you have any idea?

    Hi,
    can you run a InfoSet query based on the InfoSet ?
    Can you create a QuickView on top of the InfoSet ?
    ingo

  • WRITE command gives unexpected value when currency is JPY (japanse yen)

    Hi All
    I am getting unexpected value for below WRITE command but only when the currency is JPY (Japan Yen)
    lv_amount = 1215.40
    lv_currency = u2018JPYu2019.
    write   lv_amount   to   ev_amount_ext    left-justified    no-gap   NO-GROUPING   currency lv_currency.
    Value wrongly gets as ev_amount_ext = 121540 (Decimal takes as full value)
    Appreciate your help if you have any idea on this please
    Many Thanks
    Iver

    Hi,
      use like this
      lv_amount = '1215.40'
    lv_currency = u2018JPYu2019.
    write lv_amount to ev_amount_ext left-justified no-gap NO-GROUPING currency lv_currency.
    other wise.
    data lv_amounts  type string.
    move lv_amount to lv_amounts.
    lv_currency = u2018JPYu2019.
    write lv_amount to ev_amount_ext left-justified no-gap NO-GROUPING currency lv_currency.

Maybe you are looking for

  • MIRO with more than 999 goods receipts

    Hello, I have the following flow for logistic costs: - I create a purchase order by month for my warehouse handler containing 1 line item with a quantity of 1600. - Everytime I ship goods in my sales flow I create a shipment cost document that genera

  • How to start and stop looping

    I'm very new to Flash / action script, so I just need to know where to put both the start loop, and the end loop code (below) in my Flash file to make the waving effect on this flag (link below) start and stop when I need it to, because I'm adding a

  • X220i battery not working, starting up on its own

    Background: I've had my x220i for a bit over 2 years and never had a problem with it.  Suddenly a couple of weeks ago it completely died for no reason.  It was fine one day, and the next morning when I tried to wake it from sleep state, the screen we

  • Corrupt Applications folder

    Performed a fresh ML install following a Hard Disk replacement. Migrated all user and Application daat using OS migration assistant off my TimeMachine backup. All is well except: /Application folder is not beaving properly. filesysyem permissions loo

  • URL filtering on ESA

    So I've started to test the URL filtering capabilities on our C670s.  So far I have found that there are quite a few false positives or incorrectly categorized web sites.   Is there any mechanism in place to request a reclassification of a website? J