Revoked SES with account assignment distributed by quantity cannot be modified or deleted

Hi All
I have users who are posting service entry sheet with the account assignment distributed
on a quantity basis across multiple maintenance orders.  The acceptance works perfectly but we are having problems if a correction or cancellation is required.
The service acceptance can be revoked successfully but afterwards it is not possible to change the service quantity or to delete the service entry sheet.  When we try we receive an ABAP runtime error:
Runtime Errors         COMPUTE_BCD_OVERFLOW
Exception              CX_SY_ARITHMETIC_OVERFLOW
Date and Time          08.07.2014 14:25:12
Short text
     Overflow during the arithmetical operation (type P) in program
What happened?
     Error in the ABAP Application Program
     The current ABAP program "CL_EX_MMSRV_ACC_DIST_SAP======CP" had to be
      terminated because it has
     come across a statement that unfortunately cannot be executed.
What can you do?
     Note down which actions and inputs caused the error.
     To process the problem further, contact you SAP system
     administrator.
     Using Transaction ST22 for ABAP Dump Analysis, you can look
     at and manage termination messages, and you can also
     keep them for a long time.
Error analysis
     An exception occurred that is explained in detail below.
     The exception, which is assigned to class 'CX_SY_ARITHMETIC_OVERFLOW', was not
      caught in
     procedure "IF_EX_MMSRV_ACC_DIST_SAP~DISTRIBUTE_ACC_ASSIGNMENTS" "(METHOD)", nor
      was it propagated by a RAISING clause.
     Since the caller of the procedure could not have anticipated that the
     exception would occur, the current program is terminated.
     The reason for the exception is:
     An overflow was discovered in an ongoing arithmetical operation with
     operands of type P. Possible causes are:
     1. The result field of type P is too small for the result.
     2. The result or a intermediate result has more than 31 decimal places.
This problem does not occur if I run the same scenario any of the following variations so I'm confident the problem is related to the account assignment distribution by quantity:
Single account assignment
Distributed account assignment via percentage
No service acceptance/revoke has been posted
There are ways to get around the problem but I'm trying to find a SAP Note that may be relevant.  I haven't had any luck yet.  Does this problem ring a bell with anybody who might be able to point me towards an appropriate note?
Thanks
Robyn

Hi,
Kindly refer the below OSS Note, which explains the reason and correction for the error which you are facing.
1715475 - MAA2: ML81N/MIRO: false postings for Service PO

Similar Messages

  • Multiple Account Assignment - distribute sequentially

    Users create a po item with multiple account assignments, distribute on a quantity basis(distribution), and distribute sequentially (partial invoices).  Goods Receipt Indicator, GR-Non-val, and gr based IV are off.
    when using miro to post an invoice, the first suggested account distribution is for the entire amount.  on the account distribution subscreen, the amount is modified to reflect the partial invoicing, the amount/quantity are recalculated, but the distribution remains proportional . 
    Po 1, Item 1 qty=1000, unit price=$1. account assignment=distribute on a quantity basis, partial invoice= distiribute in sequence, account assignment #1 qty=900, account assignment #2 qty=100.
    attempt to create a partial invoice via MIRO ($100).
    MIRO proposes $1000 and on the account assignment subscreen shows account assignment #1=900/$900 and account assignment#2=100/$100.  obviously attempting to invoice the full amount of the po.
    If you change the quantity/amount on the subscreen to 100/$100, you would expect all to go to account assignment#1 since partial invoice is 'distribute sequentially'.  However, the subscreen 'checks' with 90/$90 and 10/$10.
    Any ideas?

    Hi,
    The valuation of the purchase order item will  take place at the time of invoice verification.
    During goods reciept thr r no accounting documents gets generated, at the time of invoice receipt u can specify cost center and GL accounts for posting.
    If partial delivery is done for the PO, then during GR the system cant estimate the qty to be posted to individual cost centres, so only GR is non valuated and during invoice reciept u can split the qty among individual cost centers.

  • PO with Account Assignment P and NON Valuated Material

    Hi ,
    As per my undersatnding if I create a PO with Account Assignment "P" , system consumes it immediately and stock doesn;t get updated in any storage location.
    But
    If I use Account Assignment "P" with "NON valuated" stock , system is asking for Slocation at the time of MIGO and also updates Qtys in Storage location , although cost is being booked to consumption account.
    Could u pls help to understand the logic for this ?
    Regards
    Shrey

    Hi,
    PLease read this para from SAP help .. it is useful to undestand your scenarion
    Goods Receipt of Non-Valuated Materials  
    Use
    If the stock of a given material is only managed on a quantity basis, an account assignment must be defined in the purchase order. However, this account assignment does not result in the goods receipt being posted to consumption/usage. Instead, it results in the costs being debited to the account assignment object.
    The goods receipt is posted to the warehouse stock, thus increasing the unrestricted-use stock of the material.
    *It is not possible to post goods receipts of non-valuated materials directly into consumption/usage. You have to post the goods receipt into the warehouse first and then enter a goods issue.*
    Regards
    Krishna

  • Error with Account Assignment Category

    Hi,
    While Creating the PO I am getting this error. I just copied the Material type of ROH into Consumables..
    In OMS2 alos I ticked Qty and Value based Updating..
    The Error Msg is...
    Account assignment mandatory for material RH1001 (enter acc. ***. cat.) Message no. ME062
    Diagnosis
         There is no provision for value-based inventory management for this  material type in this plant. Account assignment is thus necessary.
    Procedure
         Please enter an account assignment category.
    Rgs,
    Priya.

    Sorry for my earlier Post.....
    Actually for Consumable Material Quantity and Value Updations Should not be Active since they consume Once it is Goods Receipted.
    Regarding your Issue Purchase Order for Consumable Material will be always Created with an Account assignment Category Such as Cost center Etc.
    So Please go to OMS2 Trxn Code and Select your Consumable Material type and in Quantity / Value Update Field Put tick mark against In No Valuation areas and save.
    Now Create a Purchase Order in ME21N with Account assignment Category and Proceed.

  • Procurment of Raw Materials against MTO with account assignment category "E

    Dear Champions,
    Looking for your guindance in the following matter:-
    While creating PO with account assignment category E for MTO senario , its asking for consumption account.
    Is it possible that during PO creation it should not ask for GL account , and while doingGR ....the goods should be inventories both on quantity and value basis updates and acts as a special stock against sales Order.
    What setting are necessary ? Please advise
    Thanks In Advance
    Ashwin

    Hi,
    In a purchase order item you mension account assignment category means that it is for consumption.The stock and value are directly posted to the account assignment you mentionedat the time GR.
    And when you are assigning a account assignment catagory you need to mension which account(GL account) of the account assignment.We canot avoid assigning a GL account and maintain the material in stock and value using account assignment category.
    Regards,
    Rambhupal reddy

  • Error while creating  a PO with Account assignment

    HI MM Gurus
    In our case, we need to create the STO for account assignment cat `Unknown`.
    In SPRO I maintained combination of account assign cat and item cat.
    Now, while creating  a PO with Account assign U we get Error message -  ME069 :Unknown account assignment not defined for use here.
    Please advise how to resolve this issue.

    Hi
    When you are posting actuals, you need to give true account assignment object. With U (unknown), system cannot identify which account to be posted. Change account assignment in PO to another.
    In standard SAP Unknown account assignment is not allowed in PO's. Only exception is Blanket PO.
    Unknown is allowed only in PR and Blanket PO.
    The reason is logically you are releasing the PO to the external vendor or Plant in this case you must know the account assignment.
    Regards,
    Ninad Kshirsagar

  • Exchange rate problem between GR&IR for PO with account assignment category

    ear SAP experts.
    We have used expense puchase order through account assignment category.
    the cost object include cost center,sale order,order.because we don’t use Fixed assets module in SAP,when purchase fixed assets,we also use account assignment category but no need to fill assets number(Not use account assignment category A).
    the processing in current system when there is exchange rate difference between GR&IR  as follows.
    purchase order Currency :USD  company code currency:HKD
    example 1-- when something purchased into expense account,
    Good receipt  (1USD=7.75HKD)
    Dr :expense account  100USD    775HKD
      Cr: GR/IR        100USD    775HKD
    Invoice receipt
    Dr : GR/IR         100USD    775HKD
        Expense account            25HKD
    CR: Vendor        100USD    800HKD
    Example 2-- when something purchased into Fixed assets account,
    purchase order :USD  company code currency:HKD
    Good receipt on Oct .01. 2007  (1USD=7.75HKD)
    Dr :Fixed assets account  100USD    775HKD
      Cr: GR/IR           100USD    775HKD
    Invoice receipt on Dec.01.2007  (1USD= 8HKD)
    Dr: GR/IR              100USD     775HKD
       Fixed assets account                25HKD
      Cr: Vendor            100USD     780HKD     
    The fixed assets is depreciated from Nov,2007.
    There is one problem that after the fixed assets is depreciated, the value for the fixed assets is added , the finance clerk have to adjust the added value from fixed assets account to Exchange Difference-Gain/Loss account by manual.
    Our problem is
    How to configure in order to make  the exchage rate difference into Exchange Difference-Gain/Loss account for purchase order with account assignment category,not the original assigned account in purchase order item.
    Many thanks
    Fanny

    Hi Fanny
    Even though the question is bit unclear, I guess you are looking for the T-Code OBYC. Use transaction key KDM for configuring the exchange gain/loss
    S Jayaram

  • PO with account assignment category F

    Hi Gurus,
    For PO with account assignment category F, the system is creating aaccounting documents during GRN for some POs & for some pOs it is not . What could be the reason.
    Regards,
    Kumar

    Hi SAPMM6,
    Check details of account category refernce 'F' whether tick is there for GR Valuated.
    Also when you are creating PO with multi-account assignment then also GR is non-valuated as per SAP standerds.
    Also check the both POs for material code and there valuation classes.
    Hope your problem gets resoled.
    Regards,
    Gitesh

  • Po with account assignment cost centre

    dear friends,
    When creating PO with account assignment cost centre, system should default GL account (i.e G/L will be picked automatically instead of entering manually.
    How this can be customized?
    regards, thanks

    The following configs are required.
    1. SPRO -> MM -> Purchase -> Material Master -> Entry aids -> here you maintain all relevant material groups, corresponding valuation class and Purchasing valuation key
    2. Then in OKB9, you will maintain company code, cost element, and cost center
    3. THen in OBYC, Valuation group code, valuation class and GL account.
    With the above settings, the system will automatically detemine the GL account.
    Thanks and warm regards,
    Jagadeesh

  • PO with account assignment Category M

    Hi Friends,
    In an intercompany stock transer scenario for a PO with account assignment category M, can the receiving plant receive the goods before the supplyig plant issues it? In my case it's happening only for POs with account assignment category M, so I wanted to consult you all if this is possible per standard SAP functionality.
    Thanks for your help.
    Rana

    Hi
    Yes this is  standard functionality only. and this is not an intercompany procurement.
    This is something like a Individual purchase order process. Using Item category TAB in the sales order.
    In this process Goods receipt is done before you perform the goods issue to the customer.
    In an inter compnay PO process the process starts with creation of a PO and not SO. where as you are creating a SO beofre the PO, and using the SO as an account assignment object.
    Thanks & Regards
    Kishore

  • PO with account assignment category K and use two cost center

    Dear Experts
    When I create a PO with account assignment category K and use two cost center in the account assigment tab of PO with the same GL or with different GL in the both line item, The FI document does not get posted.
    Any input on this please.
    Regards
    Paul

    Hi,
    Check in the PO document - Item level - Delivery tab
    There are two indicators
    1. Good receipt
    2. GR non-valuated.
    If you are giving only one cost centre, only GR check box active and  GR non-valuated check box is in-active. That's why System creating FI document during GR.
    If you are giving two cost centres, Both GR check box and  GR non-valuated check box are active. That's why System is not creating any FI documents during GR.
    Regards
    Ravi

  • How to remove a PO with account assignment K from MD04

    Hi guys
    I have create a Purchase Order in ME21N with account assignment K and removed the Goods receipt mark in delivery tab.
    Will this PO be removed from MD04 and when?

    Hi
    My requirement is the following: My company have some suppliers which holds inventory for us. My company controlled that with contracts in SAP.
    Som parts of this inventory must be scrapped if demand changes. Therefore we need to create a PO, where my compagny buy the materiels. We will never use these materials so the supplier can just scappe them at his site and there we unmark the Goods receipt mark and use account asignment K.
    But the buyer will see the PO in MD04 and this create confusion, so I would like to be able to remove this from MD04.
    Thanks!
    Sune

  • Error while creating purchase order with account assignment category "A"

    Dear All,
                      At the time of creating purchase order with account assignment category A - Asset its throwing error as " GL Account 123400 can not be used"
    how to resolve this  issue"
    Edited by: Matt on Sep 16, 2010 10:09 AM - removed bold tags

    HI,
    Assign all assets GL to Asset Class
    spro --> financial accounting new -->assets accounting --> assets accounting (lean Implementation) --> organization structures --> Assign GL
    Hope Help U !
    Regards,
    Pardeep Malik

  • Creation of PO with account assignment:Q

    Hi,
    During creation of purchase order with account assignment category: Q, consumption GL account is getting triggered instead of Project Stock GL Account. What could be the reason for this?
    Regards,
    Srinivas.

    Check what account modification key is assigned to account assignment category 'Q'.
    T-code: OLME
    Purchasing --> Account Assignment --> Maintain Account Assignment Category
    Select the Account Assignment Category 'Q' and click on the details button.
    Check the Consumption Posting (P) , Account Modification key (VBR)  and the Special Stock field (Q).
    Depending upon the Account Modification Key, System picks the G/L from the OBYC (GBB) Setting (Tcode - OBYC).
    Regards,
    S Anand

  • Default a gl account in account in a purchase order with account assignment

    Hi all
    I need default a gl account in account in a purchase order with account assignment P. can somebody help me. They have used a gl account which is not correct.
    Thanks

    Hi,
    Please refer posted tread in the forum
    default G/L account for purchasing documents
    Regards,
    Santosh

Maybe you are looking for