Currency conversion due to decimal differences in entering in an alv grid

Hello,
i habe trouble with entering some currency values into an alv grid. We chose the alv grid to be able to enter per copy and paste out of excel, but also to enable direct entering.
The problem:
1. First i enter a value (111) into the value wert => by pressing enter or changing the field it changes to 111,00
2. I enter the currency JPY in the currency field
  => i do not get a error message, that decimals are not allowed. (what happens in a table control)
=> if i press a button (f.e. save) the 111,00 is converted to 11.100.
In the dictionary the value field is connected to the currency field as reference field.
Do you have an idea?
Best regards,
  Michael
Edited by: Michael Flohs on Jan 30, 2012 4:47 PM

Hallo Tarik,
the fieldcatalogue for the two fields is like this:
ROW_POS     0     0
COL_POS     13     14
FIELDNAME     ACC_CURR_TC_A     ACC_CURR_TC_K
TABNAME     1     1
CURRE          
CFIELDNAME     ACC_CURR_TC_K     
QUA          
QFIELDNAME          
IFIELDNAME          
ROUND     0     0
EXP          
K          
K          
I          
S          
C          
J          
L          
N          
N          
N          
EDIT_MASK          
EMPH          $
F          
D          
N          
N          
T          
OUTPUT     0     0
CONVE          
SELTEXT          
TOOLTIP          
ROLLNAME          
DATATYPE     CURR     CUKY
I     P     C
INTLEN     21     5
L          
REPTEXT     Amt in TransCur     TC
HIER_LEVEL     0     0
R          
DOMNAME     FINB_AMNT     WAERS
SP_G          
H          
DFIELDNAME          
COL_ID     0     0
F          
A          
CHECKTABLE          
V          
WEB_FIELD          
HREF_HNDL     0     0
STYLE     0     0
STYLE2     0     0
STYLE3     0     0
STYLE4     0     0
DRDN_HNDL     0     0
DRDN_FIELD          
N          
H_F          
C          
N          
D          
REF_FIELD          
REF_TABLE     ZFS_MSK_EINZEL_BELEG_S     ZFS_MSK_EINZEL_BELEG_S
TXT_FIELD          
ROUNDFIELD          
DECIMA          
DECMLFIELD          
DD_OUT     28     5
DECIMA     2     0
COLTEXT          
SCRTEXT_L     Amount in Transaction Currency     Transaction Currency
Best regards,
  Michael

Similar Messages

  • Handling Enter Key in Editable ALV Grid using REUSE_ALV_GRID_DISPLAY

    Hello All,
    I have seen a number of threads on captioned issue and everyone of them say to create FCODE for Enter in the Screen's PF Status and then handle the event.
    But the catch is when you hit Enter key in ALV Grid, it will not trigger any FCODE at all because the FCODE Enter you have created is for the screen and not for the GRID. Can anyone please let me know if SAP has given any standard utility in REUSE_ALV_GRID_DISPLAY FM for handling the Enter key event.
    Thanks and regards,
    Mahesh

    Hi,
    Set the PF-status for OK key and use the FCODE or u can usethe dynamic ok_code generated .
    Also try 'ENTE' .
    Hope thishelps.

  • Currency Conversion Cuts off at 10 decimal places

    Hello all,
    When doing currency conversions the database cuts off the data two the 10th decimal place.  I need to be at 12 decimal places.  In the database the setting is set at decimal(25,10).  Is there a way to change it so the database will go out to more decimal places?
    Thanks for your help
    Steve

    It is possible to change the format to accept larger values, however this change will only impact any newly created Applications.
    To change the default, open Administrator and select "Set Application Parameters"
    Add the KeyID "SIGNED_DATA_FORMAT" and for the Value enter the total number of digits and the number of decimals, ex: "20,15" would indicate 20 digits to the left of the decimal and 15 to the right.
    Click on Update.
    Any new Application created will now use this new value for the Signed data column.
    I hope this helps in answering your question.

  • Balance is not zero due to currency conversion

    Hello experts,
    could you please suggest me in a solution of the following issue? I use f-28 Incoming payment transaction. Document currency is usd, while local currency is euro. When currency conversion takes place rounding happens and instead of e.g. 3555,14 euro 3555,15 come up. But it appears from time to time due to rounding. Because of this, debit sum is not equal to credit sum (0,01 in our case) and consequently the balance is not zero. So, system displays the message Message no. F5060 "Posting is only possible with a zero balance; correct document".
    What are the ways to correct this issue?
    Regards,
    Alex
    Edited by: Aliaksei Klimovich on Nov 4, 2011 10:06 PM

    Hi,
    I checked OBY6 and the check box was already set. I also want to add some details. In F-28 I use BTE 1020 in order to split amount in bseg-dmbtr field. Have a look please. We have to make an incoming payment 5500 USD - this is document currency. In our functionality we split this amount into 2 amounts: 4500USD and 1000 USD, then we convert 4500 USD and 1000 USD into EURO as euro is local currency. After those conversion I get 2 line items with 4500 USD and 1000 USD in euro in bseg-dmbtr field (4500\fursf eur and 1000\kursf eur, accordingly) instead of line item with 5500 USD (5500\kursf eur). At the end of BTE 1020 FM I get a table with line items some of them are splited as I wrote above. And because of currency conversion while splitting balance is not zero.
    The only idea is to spread those difference by open item positions.
    Regards,
    Alex.

  • Unable to clear GL due to Val difference between Local and group currency.

    hi,
    We have an open item managed Revaluation G/L account in our company code which has a local currency USD.There are some documents posted to this account in both USD and CAD. But when we analyze the docs posted in CAD we found a valuation difference in the local currency(USD) and the Group currency(again USD). I am not sure of the reason for this. But due to this difference we are unable to clear this account. Please let me know if anyone can think of how to clear this particular GL account.
    Rgds,
    Raj/
    Edited by: raj3875 on Oct 8, 2009 11:37 PM

    We have an issue even with document currency in USD. there is a valuation difference between Local currency (USD) and Group currency (USD).
    For example:
    Doc currency = 0 USD
    Local Currrency = 171,000 USD
    Group currency  = 0 USD
    Because of this I am not able to clear the account. Not sure why there is a difference inspite of the same currency. I try to clear it in F-04 but I get the below error:
    Posting is only possible with a zero balance; correct document
    Message no. F5060
    Regards,
    Raj

  • Portion to enter currency conversion manually in FB60

    Dear Guru's,
    Can you help me on this.
    a. First I am not able to see the option to enter the currency conversion rate manually when I use FB 60
    Eg:- When I want to book an invoice in USD 150 it takes the rate automatically  from the currency table. But I would like to give the rate manually.
    Please help
    Thanks
    Deepak

    Dear Deepak,
    In fb60 you can go to Local currency tab(which is last one in the same level of basic tab) and change manually the exchange rate.
    Please assign points if it useful.
    Regards
    Ravinagh Boni

  • Currency conversion - CO differences

    Hi Guys,
    We are doing technical currency conversion at data base tableu2019s level from SGD to USD for our company code (EURO solution). During this conversion, FI reconciliation is able to achieve. On the other hand where CO data also changed balances form SGD to USD on fixed rate (exchange rate) conversion base, it will lead some small rounding differences either +/-. Is there any way to adjust these small differences in CO module alone with out impacting to other modules (Running EURO CO reconciliation programs i have idea apart from this any solution Plz)!
    Thanks for your valuable inputs.
    Vyas
    Edited by: vyas on Mar 3, 2009 10:18 AM

    Thanks Guys.
    We decided to use conversion cost center and element or internal order to write off the differences during currency conversion occured. Once go-live went will block for postings and for reporting management need to omit this.
    Thanks...Vyas

  • Asset adjustment bcoz of currency conversion differences

    Hi Good morning,
    Have situation in Asset management, while we purchasing assets on month end and some other time, small amounts (3$, or 5$) are capitalizing to the assets account becoz of currency conversions differences rather than gain or loss currency differences account, coming soon we have to avoid this with config changes.
    I'm wondering how to reverse or deduct those small amounts from assets to gain or loss exchange account and what configuration has to be carried to avoid permanent.
    Could any body help on this to over come..
    Thanks in advance and points are available.

    Hi Good morning,
    Have situation in Asset management, while we purchasing assets on month end and some other time, small amounts (3$, or 5$) are capitalizing to the assets account becoz of currency conversions differences rather than gain or loss currency differences account, coming soon we have to avoid this with config changes.
    I'm wondering how to reverse or deduct those small amounts from assets to gain or loss exchange account and what configuration has to be carried to avoid permanent.
    Could any body help on this to over come..
    Thanks in advance and points are available.

  • Currency Conversion - difference in behaviour of NW compared to Microsoft

    Hi Everyone,
    When migrating from BPC Microsoft 7.0 to Netweaver 7.5NW SP01 we setup the same reporting currency conversion as we had before. A simple conversion of reporting currency from LC into EUR and USD.
    We noticed:
    - the currency conversion of accounts that had no RATETYPE used to convert at a factor of 1. In NW the system ignores these accounts and does not convert them...USD and EUR are blank
    SAP help states this should be possible...
    [http://help.sap.com/saphelp_bpc75_nw/helpdata/en/7b/4479fd9b394314a257d92d9be6a71f/content.htm]
    - EUR and USD in Microsoft version are considered calculated members and do not allow direct entry into them in the input schedules (the CALC property is Y). In NW version, we can enter directly numbers in these reporting currencies, which makes it confusing for users and may lead to errors
    Did anyone experience any of these behaviours?
    thanks for sharing,
    best regards,
    Luis

    Hi Luis,
    This is off the top of my head, but my experience matches yours. I think you will have to add a new rate type to all your accounts that you want to convert with the multiplier of 1, and set up a business rule with
    [COPYLC]
    in the formula. Maybe I'm missing something, but it looks to me like the documentation is simply incorrect on this point in the Netweaver version.
    As far as EUR and USD, are you using the STORED_CALC property in your MS system? In my brief tests of this functionality I've never been able to get this property to have the desired effect (setting CALC=Y for a base member) in the NW version. You may want to open a message for the issue if this is what you were using on the MS side and it's not working for you. It would be nice to have it working.
    Ethan

  • Unable to create shopping cart due to currency conversion error.

    Hi,
    We are currently working in a extended classic scenario. We have about 8 users connected under a common entity ( dept). Out of which for one user (user1) we are able to create the shopping cart and able to run the entire procurement cycle the entire cycle.
    When we are trying to create a SHC with any other user ( user2 to 8)  its giving the errors like
    1) Currency Conversion Error ( to GBP). Please inform help desk.
    2) Error in account assignment for item 0.
    Attributes for all the users ( user1 to user8) are same and we are not getting any error in the attribute check as well.
    Please suggest.

    Look up note 419423 + related notes to repair incorrect SRM users. What you report sounds a bit strange. A debugging session might be helpful too. Especially the 2nd error looks like something 'home-made'...

  • Local Currency conversion in PO

    Hi
    Iam facing problem in wrong Local currency conversion while doing GR reversal for foriegn currency Subcontract PO.
    Local Currency : EUR
    PO Currency     : HUF
    User has entered wrong Exchange rate in OB08. (Indirect Quotation : HUF -> EUR) & did Goods Receipt with reference to PO. After that Exchange
    rate has been corrected immediately, but some GR documents posted with wrong exchange rate.
    To correct the wrong entries, Again Wrong exchange rate has been updated in OB08 & reversed those material document in MBST. But the strange issue is system calculating different local currency for those reversed documents. The Local currency Amount of Goods receipt document & reversed document local currency amount is not matching,Ideally both should match.
    Following observations on this,
    1. Exchange rate are same in both doucments. I have checked in document Header.
    2. GR Qty & Reversed Qty are same.
    3. PO currency (HUF) amount are same in both doucments.
    4. Finished Material & Raw material are managed in standard Price.
    5. Document date & Posting date are same in both doucments.
    Anybody can explain why the system updates wrong local currency ?
    Thanks in Advance.
    Regards,
    RRS

    I do not remember the Tcode, however it is under SPRO>>General setitings>> currency .. guess it is OB90
    And if the difference is large. check the following:
    Check the exchange rate type you use, next go to OB08 and see if the inverse translation is maintained for your currencies  EUR- HUF and HUF- EUR
    and then check OB07 and see what settings you have for the ex. rate type you have i.e Inv, fixed ...
    You might hit upon something here

  • Inputs on Currency Conversion

    Hi Experts,
    I need some help in the Currency conversion variable that I am using in my report.
    I have few caluculated key figures that are caluculated on the basis of difference between current date and the Net Due date. Currency conversion is used in these variables.
    I also have few Restricted keyfigures that are restricted on the Fiscal Period. Same currency conversion variables are used in these key figures also. The currency conversion variable is at a Fiscal period level.
    However, the currency conversion is not happening on the Caluculated keyfigures but it works for Restricted keyfigures.
    Please provide your valuable inputs.
    Thanks in advance.

    Hello,
    Please give us some more information on the calculated key figure. How is it defined? I assume the calculations is based on amounts and not on dates as you've written?
    Best regards,
    Christoffer Owe

  • Currency Conversion Error from KRW to EUR in for March 2011

    Hi,
    We are facing problem in Currency conversion from KRW to EUR in BW Production.
    The report shows proper value for JAN, FEB 2011, but when we execute the report for March2011 it shows wrong value.
    Month               |   BW Production Value    |           BW TEST Value     
    Jan2011 u2013        |   102,459                         |              102,459                                          
    Feb2011 u2013        |   120,008                         |              120,008                                      
    March2011 u2013    |   12,056,385                    |              120,564
    As we can see the value for BW Production for the month of March is 2 decimals higher than the value in BW test.
    Regards,
    Nix
    Edited by: nix_mania on Apr 18, 2011 4:20 PM

    Hi,
    My problem here is that the values for JAN and FEB are correct with their decimal values but only for March it is 2 decimals higher.
    Hence the TCURX table wonu2019t come into picture, since if TCURX entry was incorrect then it should show wrong values for JAN and FEB also.
    When I checked the data in cubes for BW Test and Production the values for March are same still in the report I am getting the difference.
    Report Output:-
    March2011:-
    BW Test                    12,056,385
    BW Production          120,564
    Feb 2011:-
    BW Test                    120,008
    BW Production          120,008
    Jan2011:-
    BW Test                    102,459
    BW Production          102,459
    Regards,
    Nix

  • (Strange) Currency Conversion on YTD Application

    Hi experts
    I found a wrong currency conversion on YTD Application and my customer also has the same problem.
    Here is the example:
    Rate Application
    2008.JAN 1 EUR = 1.2 USD
    2008.FEB 1 EUR  = 1.2 USD
    2008.MAR 1 EUR  = 1.4 USD
    Finance Application (a YTD application)
    CV Time: YTD
    2008.JAN 10 EUR
    2008.FEB 20 EUR
    2008.MAR 30 EUR
    CV Time: Periodic
    2008.JAN 10 EUR
    2008.FEB 10 EUR
    2008.MAR 10 EUR
    For the correct currency conversion (to USD), I should get
    2008.JAN 12 USD (10x1.2)
    2008.FEB 12 USD (10x1.2)
    2008.MAR 14 USD (10x1.4)
    2008.Q1  38 USD
    But the result is
    2008.JAN 12 USD (10x1.2)
    2008.FEB 12 USD (10x1.2)
    2008.MAR <wrong> USD (10x???)
    Is it a bug or my wrong configuration ?
    ps. you can try it
    Regards,
    Halomoan
    Edited by: Halomoan Zhou on Jun 20, 2008 8:54 AM

    What you see is normal behaviour:
    when you do a ytd currency conversion, the YTD LC amount will be translated against the entered rates.
    If you then look to periodic data, the ytd previous period amount will be deducted from the ytd current perid amount by OLAP.
    This then means that you cannot calculate the periodic LC amounts against the entered rates.
    If this wasn't the case, the calculation below will not work on converted numbers:
    YTD februari + periodic march = YTD march
    I think that the calculation above must always work. BUT I know of one customer that didn't wanted this behaviour, they wanted that the periodic values AND the ytd values calculated against the same entered rate. There are several ways to achieve this; we added a member in the subtables dimensions to store the difference and then adjusted the measures calculation so that this difference was picked up by OLAP when selecting the periodic measure.
    AGAIN: I didn't like this because the calculation of "YTD februari + periodic march = YTD march" is in my opinion a holy one.... But the customer is always right
    Hope this helps,
    Alwin

  • Currency conversion error in SAP HANA

    Hi,
    I am new to SAP HANA and learning to create information views in HANA studio (SAP HANA SP6 on Cloudshare, HANA studio 1.0.68). I am trying to create a simple analytic view (on purchaseOrderItem table in SAP_HANA_EPM_DEMO sample database) to have GrossAmount converted to EUR.
    I added a calculated column as follows:
    When i click on "OK", i get error -
    The check box “Calculate before aggregation” has been unchecked, because the definition of the calculated column contains measures with currency conversion, restricted measures or operands with input parameters. For such a calculated column the calculation is always done after the aggregation."
    and checkbox "calculate before aggregation" get unchecked. See screenshot below:
    Please suggest what could be reason? Thanks in advance.
    Regards,
    Amit

    Hi Amit,
    If you uncheck the "Calculate before aggregation" checkbox and activate the view, you will see in the generated log that a Calc scenario is created. (a view with /olap wrapper). Due to the calc scenario, the aggregation is defined as the default behavior for the KFs and hence the calculation cannot be done before aggregation.
    By the way, I did not understand why do you need calculate before aggregation for a KF which is just a copy of another KF. If you need Gross amount in Local currency and EUR, then just perform the currency conversion without "Calculate before aggregation" checkbox. It will work.
    Regards,
    Ravi

Maybe you are looking for

  • How to count number in the query?

    Hi all; I have four key figure in the row,the values for the key figure  may be zero or null or  availability values,I want count the number for zero and availability values.How to do ? Thanks.

  • Error in WLS 7.0

    I have in my WLS 7.0 cluster enviroment error like this:           java.lang.ClassCastException: weblogic.servlet.internal.session.MemorySessionContext Start server side stack trace: java.lang.ClassCastException: weblogic.servlet.internal.session.Mem

  • How do I count the unique value pairs in two columns of a table?

    I have a table (Table 2) that is populated with data from an imported .csv file. On table 1 I need to count the unique value pairs in two columns of Table 2. Here's what I have: Date                                        Person 7/10/2011            

  • HELP! "Error: The underlying task reported failure on exit"

    Hello, I run the disk untility earlier today, and after I have done "verify disk permission, repair disk permissions and verify disk", the following message came up, however, the last option "repair disk" is shaded, I can't choose to repair the disk.

  • What is the latest version of Photoshop CC On mac

    The title says it all. OS X 10.10.3