MIRO Balance is not equal to zero

Hi
The scenario is that the PO was in (foreign currecy) USD. GR in local currency AED. Now the vendor has sent invoice in local currency AED which is fine since we can post MIRO in local curreny. But while posting MIRO when we do unplanned delivery cost in Details tab and try to post it throws us following msg even though the traffic light is green and balance shows zero.
Balance in transaction currency
Message no. F5702
Diagnosis
A balance has occurred in transaction currency 'AED' with the following details:
Exchange rate '00', amount '200.00' and currency key 'AED'.
The data in the transaction currency were transferred from the calling application.
System Response
Your data cannot be processed in FI.
Procedure
The error is probably in the calling application.
Edited by: SafiAkhtar on Dec 30, 2010 11:13 AM
Edited by: SafiAkhtar on Dec 30, 2010 11:14 AM
Edited by: SafiAkhtar on Dec 30, 2010 11:15 AM

The Exchange rate in OB08 for AED to USD and USD to AED is already there.
The procurement dept did not know that the vendor could invoice in local currency. The GRIR for PO is partially done and it is not allowing to change currency in PO anymore.
The problem does not come for normal IRin local currency as it gets exchange rate from TCURR and works fine, its only that when we try to put in value in unplanned delivery cost then it throws us above error.
Edited by: SafiAkhtar on Jan 2, 2011 7:22 AM

Similar Messages

  • Bapi Fm BAPI_INCOMINGINVOICE_CREATE Giving error *Balance is not equal to .

    Dear All,
    Note: Cin as implemetned.
                   Get error from Fm BAPI_INCOMINGINVOICE_CREATE  is Balance is not equal to zero.
    Have passed the correct inputs to the Fm its Invoice is creting ,while the only case Cenvat comes based in the PO/Vendor that time  error is generating.
    Passing values : HEADER LEVEL : Grand total value (item + tax value + cenvat value).
                                item level : total value of item price.
                                tax account : bed,escess, bcs. cenvat value and taxcode. 
    For rest of the case which is not having in the Cenvat some value type passed invoice no is generating.
    Please Suggest me to come out from this issues. How to pass the value in case cenvat.
    Regards,
    Santosh
    Edited by: santosh jajur on Mar 10, 2010 10:43 AM
    Edited by: santosh jajur on Mar 10, 2010 10:44 AM

    Hi
    I encountered Same problem in different BAPI.
    It been solved by turning one of sums to negative.
    I don't familiar with this specific BAPI but mayby this will help to you to.
    Best Regards
    Yossi Rozenberg

  • Produciton order status TECO, but WIP is not equal to zero

    Dear Expert,
    In OKGC,
    1000     0     000002     REL     2     WIP Calculation on Basis of Actual Costs
    1000     0     000002     DLV     3     Cancel Data of WIP Calculation and Results Ana
    1000     0     000002     PREL     1     WIP Calculation on Basis of Actual Costs
    *1000     0     000002     TECO     4     Cancel Data of WIP Calculation and Results Ana
    We checked produciton order status TECO (CO03)
    but WIP is not equal to zero (KKAO)
    Also, we found production order status show "rel" status in KKAO.
    Why order status in CO03 is TECO, but show "REL" in KKAO?
    Thanks in advance.

    Hi,
    We also had similar issue that the WIP is not equal to zero even though the status of the Process Order is DLV/TECO. When we analyzed, we found that few of the operations/resources/activityeps are not yet confirmed in the same month for the order. These operations/resources/activityeps are confirmed in subsequent month, then WIP got automatically Zero.
    Also refer the SAP Note 530563 - WIP calculation: Status DLV and TECO. Which provide the details for how WIP will get calculated.
    Thanks & regards,
    ADI

  • Find com_id where sum(invoice_total) not equal to zero within a month

    How to find com_id where sum(invoice_total) not equal to zero within a month.
    SQL> select com_id from invoice group by com_id
    2 where sum(invoice_total) !=0
    3 and invoice_date between ADD_MONTHS(sysdate,-1) and sysdate
    SQL> desc invoice;
    TID NOT NULL NUMBER
    COM_ID NOT NULL NUMBER
    BRANCH_ID NUMBER
    INVOICE_OLD_NUM VARCHAR2(4000)
    INVOICE_DATE NOT NULL DATE
    INVOICE_PO_NUM VARCHAR2(4000)
    INVOICE_TOTAL NOT NULL NUMBER(12,2)
    TRANSPORT_ID NUMBER
    PAID NOT NULL VARCHAR2(4000)
    CHEQUE_CASH NOT NULL VARCHAR2(10)
    REMARK VARCHAR2(4000)
    Thanks
    Francis

    CREATE TABLE INVOICES(
    TID NUMBER NOT NULL,
    COM_ID NUMBER NOT NULL,
    BRANCH_ID NUMBER,
    INVOICE_OLD_NUM VARCHAR2(4000),
    INVOICE_DATE DATE NOT NULL,
    INVOICE_PO_NUM VARCHAR2(4000),
    INVOICE_TOTAL NUMBER(12,2) NOT NULL,
    TRANSPORT_ID NUMBER,
    PAID VARCHAR2(4000) NOT NULL,
    CHEQUE_CASH VARCHAR2(10) NOT NULL,
    REMARK VARCHAR2(4000)
    INSERT INTO INVOICES (
    TID ,
    COM_ID ,
    BRANCH_ID ,
    INVOICE_OLD_NUM ,
    INVOICE_DATE ,
    INVOICE_PO_NUM ,
    INVOICE_TOTAL ,
    TRANSPORT_ID ,
    PAID ,
    CHEQUE_CASH ,
    REMARK
    VALUES (
    1,
    1,
    1,
    'OLD_1',
    SYSDATE -40,
    'PO_1',
    100,
    1,
    'Y',
    'CASH',
    'REMARK_1');
    INSERT INTO INVOICES (
    TID ,
    COM_ID ,
    BRANCH_ID ,
    INVOICE_OLD_NUM ,
    INVOICE_DATE ,
    INVOICE_PO_NUM ,
    INVOICE_TOTAL ,
    TRANSPORT_ID ,
    PAID ,
    CHEQUE_CASH ,
    REMARK
    VALUES (
    2,
    2,
    1,
    'OLD_1',
    SYSDATE -20,
    'PO_1',
    100,
    1,
    'Y',
    'CASH',
    'REMARK_1');
    INSERT INTO INVOICES (
    TID ,
    COM_ID ,
    BRANCH_ID ,
    INVOICE_OLD_NUM ,
    INVOICE_DATE ,
    INVOICE_PO_NUM ,
    INVOICE_TOTAL ,
    TRANSPORT_ID ,
    PAID ,
    CHEQUE_CASH ,
    REMARK
    VALUES (
    3,
    3,
    1,
    'OLD_1',
    SYSDATE -10,
    'PO_1',
    0,
    1,
    'Y',
    'CASH',
    'REMARK_3');
    SELECT COM_ID,
                   SUM(INVOICE_TOTAL)
         FROM INVOICES
    WHERE INVOICE_DATE BETWEEN ADD_MONTHS(SYSDATE,
                                                                                                   -1) AND SYSDATE
    GROUP BY COM_ID
    HAVING SUM(INVOICE_TOTAL) != 0;

  • Balance not equal to Zero:0.01 usd

    hi frnds,
    i am getting this error while i try to post invoice in miro...
    could you guys temme what might be the exact issue here?
    Thanks in advance.....
    regards,
    venkatesh.v

    hi
    but in the balance field it is showing value as 0.00 with green  sign........but still getting the same error msg......
    plz help...
    Regards,
    Venkaetsh.V

  • Account total balance does not equal line item balance

    Hi,
    I find one account total balance diff with its line item balance? What could be the reason?
    Thanks

    I have seen this before in an account which was designated as a retained earnings account - prior year rolls into the account are not a posting in the conventional sense.
    Hope this helps!
    Regards
    Louise

  • GL balances are not matching with Fixed assets ledger

    Hi,
    Please suggest me regarding this...
    The issues is:when the legacy balances are uploaded in to sap there was the mistake.3 assets were entered twice(once in asset class 1250 & once in asset class 1300).It causes the GL balances are not matching with Fixed Asset balances(GL is less than FA).so now the client is asking to make manual entry by removing the recconcilation account settings and post manual entry then keep the reconcilation account as usual.They wanted to reverse the accumulated depreciation for the above 3 duplicated asssets for year 2007 & 2008.
    How can i achieve the below:
    1.GL balance was not equal (i.e lower) to FA ledger even at the time of go live(FI is lesser than FA)
    2.For this i need to post one manual entry in FI-GL with the GO-LIVE date.is it possible? suggest me how to post?
    3.After that i need to reverse the accumulated depreciation for the above 3 duplicated assets.how can i do this?
    4.After that i need to remove the above 3 duplicated assets,how can i?
    Please help me by giving your thoughts regarding this
    Thanks
    Sap Guru

    Hi,
    It is possible to post the adjustment entry from go live date provided you open the posting periods for the pervious year. (However this approach is not recommended for the following reasons - you have closed the books and must have published the results to local authorities. Adjustment now in the past year can cause some trouble from auditors etc. Secondly you are adjusting the GL balance for the last year, so you will have to complete the period end and year end closing for GL balances. So avoid kindly it)
    For your problem - Go to transaction code OASV and post adjustment entry for the current period. Also check if your field status of assets contain field for shutdown of assets. If not change your field status accordingly. Once adjustment is done you shutdown the asset so that it does not post depreciation in future depreciation runs. (this will cater to your need of eliminating the assets. If you retire the asset then you will have to deal with gain or loss on retirement of an asset. If you can accommodate this entry, then you can use this figure in the final adjustment entry.)
    Or Go to transaction code OAMK and set the recon account to post the adjustment entry.
    Reversal of depreciation is not possible in SAP. So the only way to reverse the accumulated depreciation is by changing the recon account or using OASV, and passing adjustment entry.
    regards
    Thomas

  • 12.3 - 12.3  is not equal to 0??

    I am trying to calculate the result of two Numbers
    ((Float)f).floatValue() - ((Double)d).doubleValue(), where f is equal to d.
    However the result is not equal to zero.
    I've tried to print out (12.3f - 12.3d) the result is not equal to zero too. I think it is a bug when Java do type promotion, right?
    How can I get around of it?
    Germen

    abs( a - b ) < delta,The problem with comparing numbers that way is that delta doesn't scale as a and b scale. The delta required when a and b are near 1e-10 is quite different form that when they are 1e10.
    A better way to write an inexact comparison is:
    a == b || abs(a - b) < max(a, b) * delta
    This improved code also handles infinities and zeroes correctly as well as scaling as a and b scale.
    Knuth gives a much more rigorous definition of inexact floating point comparison in The Art of Computer Programming.

  • Tax does not equal 0 when tax rate is Zero

    Hi,
    We have a problem when posting an invoice through MIRO. The end user gets the message 'Tax does not equal 0 when tax rate is Zero'. I checked the tax code and it looks fine.
    Can anyone throw some light on the error?
    We are using vertex for tax calculations.
    Regards,

    Hi Raj,
    Please chek OSS NOTE 681538 .
    Check for the applicable releases and support packages from the note.
    Check from your system on what support package you are into. Goto System -> Status -> click on the magnifying glass against Component version and see what is the support pack for SAP_APPL.
    You can ask your Basis colleagues also to check if it can be applied into the system. I guess they would check it through t-code SNOTE.
    Regards
    Surya

  • 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.

  • Ending balance of 2008 not equal to beginning balance of 2009

    Hi All,
    Would like to seek help in knowing the reason why the ending balance of 2008 is not equal to the beginning balance of 2009. I have checked the reports generated by FS10N, FS10, and s_alr_87012284 but same result/problem is displayed.
    Thanks.
    Regards,
    Arlis

    Hi BSR,
    I tried to transfer balance using F.16 but it didn't resolved the issue. Same figures were reflected.
    Thanks.
    Regards,
    Arlis

  • Select only records where column values are not all equal to zero

    Hi everyone, this seems so easy but it's got me stumped on finding a clean, easy way to accomplish this. I'm sure when someone responds, I'll kick myself. So, assume the following is what I've got:
    with mytable as (
    select 'Type 1' as itemtype, 'JAN' as monthname, 0 as theval from dual union all
    select 'Type 1' as itemtype, 'FEB' as monthname, 1 as theval from dual union all
    select 'Type 1' as itemtype, 'MAR' as monthname, 5 as theval from dual union all
    select 'Type 1' as itemtype, 'APR' as monthname, 1 as theval from dual union all
    select 'Type 1' as itemtype, 'MAY' as monthname, 4 as theval from dual union all
    select 'Type 1' as itemtype, 'JUL' as monthname, 0 as theval from dual union all
    select 'Type 1' as itemtype, 'AUG' as monthname, 0 as theval from dual union all
    select 'Type 1' as itemtype, 'SEP' as monthname, 1 as theval from dual union all
    select 'Type 1' as itemtype, 'OCT' as monthname, 7 as theval from dual union all
    select 'Type 1' as itemtype, 'NOV' as monthname, 1 as theval from dual union all
    select 'Type 1' as itemtype, 'DEC' as monthname, 2 as theval from dual union all
    select 'Type 2' as itemtype, 'JAN' as monthname, 0 as theval from dual union all
    select 'Type 2' as itemtype, 'FEB' as monthname, 0 as theval from dual union all
    select 'Type 2' as itemtype, 'MAR' as monthname, 0 as theval from dual union all
    select 'Type 2' as itemtype, 'APR' as monthname, 0 as theval from dual union all
    select 'Type 2' as itemtype, 'MAY' as monthname, 0 as theval from dual union all
    select 'Type 2' as itemtype, 'OCT' as monthname, 0 as theval from dual union all
    select 'Type 2' as itemtype, 'NOV' as monthname, 0 as theval from dual union all
    select 'Type 2' as itemtype, 'DEC' as monthname, 0 as theval from dual
    select
      itemtype,
      sum (case monthname when 'JAN' then theval else 0 end) as JAN,
      sum (case monthname when 'FEB' then theval else 0 end) as FEB,
      sum (case monthname when 'MAR' then theval else 0 end) as MAR,
      sum (case monthname when 'APR' then theval else 0 end) as APR,
      sum (case monthname when 'MAY' then theval else 0 end) as MAY,
      sum (case monthname when 'JUN' then theval else 0 end) as JUN,
      sum (case monthname when 'JUL' then theval else 0 end) as JUL,
      sum (case monthname when 'AUG' then theval else 0 end) as AUG,
      sum (case monthname when 'SEP' then theval else 0 end) as SEP,
      sum (case monthname when 'OCT' then theval else 0 end) as OCT,
      sum (case monthname when 'NOV' then theval else 0 end) as NOV,
      sum (case monthname when 'DEC' then theval else 0 end) as DEC
    from mytable
    group by itemtype
    order by itemtypeI need an outer query around this one or something that will only select "Type 1"... i.e., if all of the months are each equal to zero, don't include the record in the result set.
    Summing them to get a total of zero is not an option, as I could have -15 and +15 in different columns, in which case, that record would need to be displayed.
    Something as simple as... "where not (oct = 0 and nov = 0 and dec = 0...) at the end is all I seem to need. I've thought about adding a case clause for each column, but that doesn't seem very efficient. Ideas?
    Thanks in advance!
    Mark
    Edit... I know the following will work using the MINUS operator, but my real query is really huge, and I don't want to have to write it twice...
    {code}
    select
    itemtype,
    sum (case monthname when 'JAN' then theval else 0 end) as JAN,
    sum (case monthname when 'FEB' then theval else 0 end) as FEB,
    sum (case monthname when 'MAR' then theval else 0 end) as MAR,
    sum (case monthname when 'APR' then theval else 0 end) as APR,
    sum (case monthname when 'MAY' then theval else 0 end) as MAY,
    sum (case monthname when 'JUN' then theval else 0 end) as JUN,
    sum (case monthname when 'JUL' then theval else 0 end) as JUL,
    sum (case monthname when 'AUG' then theval else 0 end) as AUG,
    sum (case monthname when 'SEP' then theval else 0 end) as SEP,
    sum (case monthname when 'OCT' then theval else 0 end) as OCT,
    sum (case monthname when 'NOV' then theval else 0 end) as NOV,
    sum (case monthname when 'DEC' then theval else 0 end) as DEC
    from mytable
    group by itemtype
    minus
    select
    itemtype,
    jan,feb,mar,apr,may,jun,jul,aug,sep,oct,nov,dec
    from (
    select
    itemtype,
    sum (case monthname when 'JAN' then theval else 0 end) as JAN,
    sum (case monthname when 'FEB' then theval else 0 end) as FEB,
    sum (case monthname when 'MAR' then theval else 0 end) as MAR,
    sum (case monthname when 'APR' then theval else 0 end) as APR,
    sum (case monthname when 'MAY' then theval else 0 end) as MAY,
    sum (case monthname when 'JUN' then theval else 0 end) as JUN,
    sum (case monthname when 'JUL' then theval else 0 end) as JUL,
    sum (case monthname when 'AUG' then theval else 0 end) as AUG,
    sum (case monthname when 'SEP' then theval else 0 end) as SEP,
    sum (case monthname when 'OCT' then theval else 0 end) as OCT,
    sum (case monthname when 'NOV' then theval else 0 end) as NOV,
    sum (case monthname when 'DEC' then theval else 0 end) as DEC
    from mytable
    group by itemtype
    where ( oct = 0 and nov = 0 and dec = 0 and jan = 0 and feb = 0 and mar = 0
    and apr = 0 and may = 0 and jun = 0 and jul = 0 and aug = 0 and sep = 0
    order by itemtype
    {code}
    Edit again... Ok, I guess I'm answering my own question here, but I think using a WITH clause to write the main query once and then selecting * from it twice using the MINUS operator in between where the second query has where (oct = 0, etc.) is what I need. If anyone else has better suggestions, please do let me know! Here's the pseudo logic for what I've come up with so far...
    {code}
    WITH mainquery as (select everything)
    select * from mainquery
    minus
    select * from mainquery where (oct = 0, nov = 0, etc...)
    {code}
    Thanks again!
    Mark
    Edited by: user455268 on Mar 1, 2012 7:13 PM
    Edited by: user455268 on Mar 1, 2012 7:16 PM

    Hi,
    You can do that with a HAVING clause:
    select
      itemtype,
      sum (case monthname when 'JAN' then theval else 0 end) as JAN,
      sum (case monthname when 'FEB' then theval else 0 end) as FEB,
      sum (case monthname when 'MAR' then theval else 0 end) as MAR,
      sum (case monthname when 'APR' then theval else 0 end) as APR,
      sum (case monthname when 'MAY' then theval else 0 end) as MAY,
      sum (case monthname when 'JUN' then theval else 0 end) as JUN,
      sum (case monthname when 'JUL' then theval else 0 end) as JUL,
      sum (case monthname when 'AUG' then theval else 0 end) as AUG,
      sum (case monthname when 'SEP' then theval else 0 end) as SEP,
      sum (case monthname when 'OCT' then theval else 0 end) as OCT,
      sum (case monthname when 'NOV' then theval else 0 end) as NOV,
      sum (case monthname when 'DEC' then theval else 0 end) as DEC
    from mytable
    group by itemtype
    HAVING      MIN (theval)     != 0
    OR      MAX (theval)     != 0
    order by itemtype
    ;If the values are all 0, then the MIN and the MAX will both be 0.
    If either the MIN or the MAX is not 0, then the values are not all 0.
    This assumes that the combination (itemtype, monthname) is unique, as it is in your sample data.
    If that's not the case, start with a subquery that GROUPs BY itemtype, monthname, so that, when you get to the main query, that combination will be unique.

  • FI-PCA balances are not matching

    Dear Experts,
    I have an issue where FI and Profit center account balances are not matching for period 1 for 1company code.
    I have tried the T.codes first F.5D then 1KEK and i tried with T.Code KE5T where i found the differences for 3 accounts.
    Hence requesting you all to help me out to close this issue.
    We are not using the New GL and we are with Classic GL only.
    Thanks in advance for the help,
    Regards,
    KK

    Dear KK,
    it is hard to say what's wrong. According to the transactions mentioned, I assume that you have differences on vendor/customer reconcilation accounts. You have to check with report groups 8A98 and 8A99 if the value transfered to PCA with trx. 1KEK is equal to the one shown in the report. In case the value is equal, the root cause is in the FI area (most likely the wrong clearing date is set in the open items). In case the value between 1KEK and the report per account is not equal, you should check if you have the customer exit EXIT_SAPLPC61_001 (enhancement PCA00001) is implemented and active which prevents the update of postings in PCA.
    In case this does not help, you have to open a customer message with the SAP Support to investigate the issue in more detail.
    Best regards,
    Daniela

  • Manual accrual net value equal to zero

    Hi SD gurus,
    i'm creating manual accrual SD document strating from rebate agreement.
    The value of the document created is equal to zero and i found no way to correct this; the strange is that i'm able to invoice the document and to post it in FI and the values of Rebate are correctly updated.
    can anyone suggest any trick or oss notes?
    Thanks a lot and  regards
    C*

    well u can trouble shoot for ur self
    in sales order select the item double click on it choose conditions in this tab down there is analysis click on tht
    in analysis on left hand side  ur with ur pricing procedure ok
    select ur price cond ( pr00 ) then open the treee and slect the cond rec and read the message on right hand side...
    it says con rec missing or found or ignored depending on tht u can slove ur problem .

  • ORA-01476: divisor equal to zero

    When I try to run this query I get error 'ORA-01476: divisor equal to zero'. How can I write the query so it understand that it not should use Sum(SalesQuantity)=0 And Sum(Net_Sales)=0 in the Case?
    SELECT year_month, customer,
    (Sum(Case When record_type NOT IN ('B', 'E') And NET_SALES <> '0' Then NET_SALES Else Null End)/
    Sum(Case When record_type NOT IN ('R', 'P') And SALES_QUANTITY <> '0' Then SALES_QUANTITY Else Null End)) As Test
    Where Period_date Between to_date('2007-01-01','yyyy-mm-dd') And to_date('2007-09-30','yyyy-mm-dd')
    FROM tbltest
    Group By year_month, customer

    I generally use
    whatever / NULLIF(expression, 0)Message was edited by:
    William Robertson

Maybe you are looking for