Other solution during stock shortage when posting several invoice item?

Hi Experts,
Referring to Note 362037, posting an invoice with price variance to a material with moving average price , the stock quantity coverage is less than the posting quantity.
The standard SAP system perform the stock shortage exam considering each posting item, not the whole quantity.
And, according to the note, no solution is provided in the SAP standard system.
In some cases, this may cause the material price extremely high and lead to misunderstandings.
So, is there any solution to this VARIANCE POSTING?
Example as follows:
The following FI postings are generated:
                            Debit Credit
Creditor                        2000
Stock account   960                        for item 0001
PRD account    40
Stock account   960                         for item 0002
PRD account    40
However, you expected the following:
                            Debit Credit
Creditor                         2000
Stock account     960                          for item 0001
PRD account      40
Stock account     0                            for item 0002
PRD account      1000

Hi,
Its not possible to post the 1000 to PRD account. You need to do GR for shortage quantity and balance the quantity. Thanking you.

Similar Messages

  • Error when posting AR Invoice with serial

    Hi experts, just want to ask what is the problem when posting AR Invoice with serial number. The error is "Internal error (-5002) occurred [الرسالة 131-183]"
    Here's my code :
                                If Not oSerial Is Nothing Then
                                    oSerial.DefaultView.RowFilter = "product_reference_code = '" & oDrView("product_reference_code") & "' " 'AND site_reference = '" & oDrView("site_reference") & "' "
                                    For Each oDrSerial As DataRowView In oSerial.DefaultView
                                        Try
                                            .Lines.SerialNumbers.Quantity = 1
                                            .Lines.SerialNumbers.InternalSerialNumber = oDrSerial("serial_no")
                                            .Lines.SerialNumbers.Add()
                                        Catch ex As Exception
                                        End Try
                                    Next
                                End If

    Hi Bryan,
    Have you try to debug it , which line is causing problem.
    With serial numbers you don't have to set the qty.
    other fields that need to be set are :
    for (int count = 0 ; count < totalcount; count ++)
         if (count > 0)
              .Lines.SerialNumbers.Add();
         .Lines.SerialNumbers.SystemSerialNumber = SysSerialNum;
         .Lines.SerialNumbers.ManufacturingSerialNumber = ManufacturingNum;
         .Lines.SerialNumbers.InternalSerialNumber = internalserialnumber;
         Count++ ;
    Hope it will help.
    Regards

  • Tax error when posting vendor invoice

    Dear Friends ,
    I am posting this 3rd time, I am geting this error when poatin vendor invoice , I am geting this error in production system before GOLIVE ,when we are doing live data entry test . All the seting related to taxes has been testing more than 10times , But we are unable to find the problem . We had checked with all past messages and best possible solution in SDN ......but problem is not solved . Said error is as follows ....
    Tax code V0 country IN does not exist in procedure TAXINN
    Message no. FF713
    Diagnosis
    You entered a tax code which is not defined for the country of the company code to be posted to in the tax calculation procedure.
    System Response
    Procedure
    Check and, if necessary, correct the entry.
    Procedure for System Administration
    If it is not an input error, check and possibly change the system settings.
    To do this, choose Maintain entries (F5).
    Check whether the company code is assigned to the correct country and whether the correct tax calculation procedure has been entered for the company code country.
    Create a new tax code if necessary.
    Caution:
    Since it is possible that the tables in question are being updated at a different time on another computer, it can take a certain amount of time for the tax code to be on all local machines in client server architectures after saving the new code.
    Raghu

    hi
    go to ftxp choose tax code v0
    here in first input field give 00
    then select that field and click on gl acct tab
    here mention a gl or go to ob40 and mention gl for the acct key of that field
    try finding
    Tax code country IN does not exist in procedure TAXINN
    on SDN u will get many threads
    Tax code XX country IN does not exist in procedure TAXINN (MIRO Error)
    conclusion is u must get acct for at least one condition in the tax code
    regrads
    kunal
    award if helpful

  • Error Message M8 534 when posting vendor invoice

    Hello Guru's!
    My client has a BSP application that the purchasers are using to approve and post vendor invoices.
    When the user is approving the invoice, we have a WF setup to automatically post the invoice to FI.
    We're using standard SAP functionality. BUS2081, method PreliminaryPost.
    First, this method is reading the preliminary invoice using method MRM_INVOIC_READ, then it goes on to try to post the invoice, using MRM_PARKED_INVOICE_POST.
    In about 50% of the approvals, the invoice is posted to FI but the other 50% kicks out with a message M8 534 - Balance not zero: &  debits: &  credits: &.
    Then the system is setup to generate a new WI in order to post the invoice manually.
    The issue, is that before the method PreliminaryPost is carried out, there is a check online to make sure the document ís OK.
    So, i know that there is no balance on the document, and it should be ok to post.
    This issue arised recently after my client went through an upgrade from ECC 5 to ECC 6.
    I have seearched OSS for notes, adn related notes are implemented.
    Any thoughts on this
    Thank you for sharing your wisdom.
    Lars

    The functions that i'm using are SAP developed functions and used by the bapi 'BAPI_INCOMING_INVOICE'
    However, i found out from SAP that these functions are only supported from SAP using 3 standard workflows.
    WS20000397 Release of invoice blocked due to price
    WS20001003 Parking: Complete invoice
    WS20001004 Parking: Release complete invoice documents
    They hinted that i should try the function MRM_DBTAB_REFRESH.
    Havent had time to try this yet, but will do, soon.
    Regards
    /lars

  • When posting an invoice,a line itemthat is already invoiced is still coming

    Hi,
    When I am trying to post an invoice against above PO, a line item that is already
    fully invoiced is still pulling through.
    Could you please let me know why this is happening?
    Thanks
    Venkat

    Hi
    Please check following settings:
    T code VTFA select your combination of SO type to Billing type.
    Left hand side double click on "Item", there check "Billing quantity" field, it should be 'A'
    and "Pos./neg quantity" field should be '+'.
    try and revert.

  • Default profit center when posting vendor invoices thru MIRO, FB60 and FB65

    Hi,
    My requirement is to default profit center at item level while posting vendor invoices using transactions MIRO, FB60 and FB65.
    can anyone please provide some inputs on this.
    Thanks for your help.
    Lucky

    Hi,you need to customize doc splitting.
    1.You need to clasify all accounts from future document in  Document Splitting-Classify G/L Accounts for Document Splitting(e.g. all accounts 2000) 03000-VENDOR.
    2.in IMG: Classify Document Types for Document Splitting    check for Document type  transaction and Variant (e.g. Doc=KR, Trans.=1010, Variant= 0001)
    3.In IMG:  Activate Document Splitting   check  assigned method(e.g. 000012)
    4. in IMG- Document Splitting-Extended Document Splitting-Define Document Splitting Rule
    For find your method and transaction(e.g. Method=00012, trans.=1010) and double click on Item categories(on left of the top of screen)
    There'd be record with category from first step (e.g. Cat.=0300), select one and double click on Base item cat. - there'd be Category 0300 and with check box Automatically split.
    I hope it'd be helpful

  • Populate Custom Table when Posting an Invoice

    Hi All,
    I need to populate a custom table when an invoice is posted, the custom table needs to hold the actual FI document number. We post invocies via a variety of means, manually through the transactions FB60 and MIRO and in the background via BAPI's.
    Does anyone know a user exist/BTE or BADI that can be used to populate a custom table at the time the SAP FI document is posted for an invoice?
    Regards
    Chris

    Hi
    You can use BADI AC_DOC_POST.. Pardon me, i dont remember the name exactly.. You can search the badis in SE18 based on this name
    Ask your abaper to write the code  so that when the COMMIT happens, it also updates the Z table
    Other Options: BTE 1120
    br, Ajay M

  • Error when posting invoice for Asset purchase order

    Hi,
    we are getting the errore message account determination for asset posting with keys not defined in chart of accounts,when posting an invoice for asset purchase order.
    Can any one see why this error is coming and what will be the solution.
    Nagesh

    Hi Prabhakar,
    Here is the reply,
    we have 10 line items,in which 3 items are freight related and other 7 items are related to goods reciept.
    i am trying to enter invoice for 3 line items at a time with two relevant to goods reciept and other related to non goods receipt(freight related).
    accounting entries generated after the GR are as follows,
    asset under construction account,and GR/IR account.
    Let me know the details is sufficient or not.

  • MIRO creates a duplicate document itself during posting an invoice

    Hi all,
    have you ever experienced that SAP created a financial posting by itself during posting of invoice? I've found out that on certain circumstances its possible. In AP process when posting an invoice(S1 entry type) in Miro AP click on "Save-post button. They should be routed to their "inbox" however it happens that they are routed to first Miro screen. This is the moment when we know the O1entry type(entry posted outside workflow) is created by the system. Is it possible to solve it here? Or should I be more specific?
    Thanks a lot for help.
    regards
    Jakub

    Hi
    You can use BADI AC_DOC_POST.. Pardon me, i dont remember the name exactly.. You can search the badis in SE18 based on this name
    Ask your abaper to write the code  so that when the COMMIT happens, it also updates the Z table
    Other Options: BTE 1120
    br, Ajay M

  • Error message when posting invoice : Day-end closing not defined

    Hi,
    In our training environment we migrated from FAGLFLEXT to FMGLFLEXT and activated fund management.
    Now when posting an invoice the system provides an error message: "FQ252 Day end closing not defined".
    There is no configuration related to F845 but we are prevented from posting the document due to this error message.
    Any idea of where this could come from and of what need to be done to prevent this from happening?
    Rgds
    Sophie

    Hi Sophie,
    Can you check if you have entries in either PSO43 or PSO43USER tables (can be accessed via F8O2 transaction)?
    Regards,
    Eli

  • Modifying the cost center when posting an MM invoice

    Hi All,
    my client wants to change the Cost Center assignment field when posting an invoice coming from MM process (PR>PO>SES).   I'm now using transaction MIRO to make some test and I see the field is 'not modifiable'. I tried to see if i could sort it out from trx.OME9 but i am not really sure how and if i am in the right way. Somebody can please give any clear advices for this requirment?      Thanks so much in advance,
    regards
    Livio

    HI,
    Just to make sure that there is no confusion here, the changeable indicators DO work if you have a valuated receipt, you CAN change  the assignment, but the postings have already been made and will not be affected by the change (it will simply affect further receipts after the change) and so Shoaib is right in some respects because it is not changing the posting, but the fields can be changed to affect future receipts, even after a valuated GR. (I have done this many times).
    But I think that the problem with this query is the fact that it is a service PO with the item category D. There is additional validation involved due to the complex data of a service PO.
    So I would suggest that you try to change it in the service entry sheet or PO (you may have to reverse the SES first.
    Steve B

  • Display Accounting Doc when posting MIRO

    Dear SAP GURUS,
    Please teach me how to display the accounting document number when posting an invoice (MIRO).
    Invoice document no generated when saving the invoice : 520014152.
    I needs to go to MIR4, and click on "Follow-on documents" in order to know the Accounting Document no:5100000416 and the Special purpose ledger no 1002455422.
    Can I display the invoice no and the accounting no together at the same time?
    Please help.
    Thanks.

    yes i can at the time of MIRO u can see both
    go in SU01 for and user
    in Parameters enter IVFIDISPLAY in Parameter ID and X in Paramater Value
    thus for that user u will be able to c Invoice number and accounting number after saving MIRo
    u will get message like
    Invoice document 5105608893 was posted ( Accountng Documnt: 5100000000 )
    hope this helps

  • Why is vendor negative when posting invoice in MIRO

    Hi all,
    I have a very basic question.
    When posting an invoice in MIRO, why is the vendor GL account negative? I assume this is vendor A/P, so shouldn't it increase in an invoice?
    ie.. vendor   5.00-
    GR/IR  5.00 +
    If you have a website to redirect me on this topic so I can learn more about it, it would be most helpful.
    Thanks,

    Pistal,
    Must say nice name
    When posting an invoice in MIRO, why is the vendor GL account negative? I assume this is vendor A/P, so shouldn't it increase in an invoice?
    ie.. vendor 5.00-
    GR/IR 5.00 +
    Thease is because The vendor is your Crediator , You have to pay him the amount
    It Is like u went to hotel have sum  food, then  wheather you will pay to hotel or hotel will pay to you? and from  whhoes wallet will losse money  urs or hoteler?
    I guess that was the easiest ex any 1 can gave

  • Posting date line items

    Hello All,
    Is there any way to findout in MM to check out on particular  date which stock entries  are  posted into a which gl account.
    Helpful answers will be rewarded.
    Thanks,
    Vibha

    Thnks for the help Kiran,
    Let me tel u what problem im facing.
    When i m running mb5l tcode , valuation of stock on posting date amount is differing from amount which is made in balance sheet.
    Now from fbl3n code im getting all the entries made in a particular gl account.
    now i want to compare this amount with the amount of stock valuated when posting was made by mm guy.
    So is there any way i can compare these two entries.
    Thanks,
    Vibha

  • Tolerance/verificat. of price entering several invoices against the same PO

    Hi!
    I'm having some troubles when trying to check the price verification at the MIRO.
    I'd like to be able to check the price verification when doing several invoices against the same PO;
    not allowing the total amount entered in all the invoices to be greater than the PO they refer to.
    I give you an example:
    I have a PO of only one line of 100eur. and a tolerance of 5%.
    Also a Invoice against this PO of 50eur.
    If i try to do another Invoice against the same PO, the maximum price allowed should be 55eur.
    Could anyone help me?
    Thanks in advance!

    Thanks for your answer Prabu,
    But my problem is still unsolved.
    I've checked the tolerance limits in the SPRO, and if I have one Invoice against one PO, all works properly.
    The issue is when having several Invoices against the same PO.
    The system checks the limits against the price of the PO, not taking account of the previous invoices that PO has.
    In the example above:
    - PO: 100eur. Tolerance of 5%.
    - 1st Invoice. 50eur against the PO.
    - 2nd Invoice. The maximun price allowed is 105eur (100eur from the PO + 5eur of tolerance).
    But the price of the 1st Invoice should be subtracted ( 100eur from the PO + 5eur of tolerance - 50eur from the 1st Invoice) , that is the maximum price allowed should be 55eur.
    Thanks anyway!

Maybe you are looking for