Skip to Content
avatar image
Former Member

Unable to Post new invoices as MIRO quantity shows in negative, Payment also done

Hi Team,

User is unable to post invoices for open purchase order as well as unable to view the invoice documents posted already for the Purchase Order 9097208658. While doing system giving program terminated error.

For PO: 9097208658, the IR done was 7600282333 and 7600548620. However for this IR document there seems to be two reversal documents i.e. 7640005473 & 7640005474.
As a result the overall quantity value went into negative. (-10). Hence the issue. Hows it become possible?

For solving this i have also tried to post subsquent debit as suggested in

but here also getting the same error. As in this case payment aslo been made so tried following these steps to but due to payment document and clearing document exist unable to reverse invoice document. Steps are "

Please proceed as follows:

1) Run report ZREP_2CANCEL from note1119285.

Please run it in display mode at first and then use X in f_update and SAPOSS in f_name to run this report in update mode.

2) In update mode report will change one document and then display this document number.

3) You need to cancel directly in MR8M document updated by report ZREP_2CANCEL (its number is displayed in step 2).

It is very important to check whether the documents contain cleared item. Please note that you have to reset the clearing documents before executing transaction MR8M. Otherwise the system will issue error message. Please use transaction FBRA to reset the clearing documents.


Please help.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Sep 06, 2017 at 07:44 PM

    If you get a termination then you have actually a pretty long list of text where the first 50 lines have a lot hints to solve the issue.

    Just rushing into some other workarounds without caring about the dump itself is from my point of view meaningless and a step into the wrong direction.

    A dump occurs because the program gets to an unexpected situation. Of course this is possible because of wrong customizing or some data manipulation, but very often it is caused as a side effect from another bug. And as long it is SAP original coding only SAP can correct this for you and all others.

    The information from the dump helps you to find OSS notes with fixes, and if nothing is found you may open an incident yourself.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 11, 2017 at 10:13 AM

    Thank You Jürgen L for your reply.

    Experts for reference i am also attaching the PO Hispory screen, MIRO error after entering PO press enter.

    Is there any work around to post new invoices received from the vendpr against the Open PO, as user is also unable to post new invoice , while performing MIRO for any line item of the PO getting the same error as Program Terminated.

    PFA for errors.cusersadu108desktoposs-error.jpgcusersadu108desktopmiro-error.jpgcusersadu108desktoprun-time-error-po-hispory-invoi.jpg

    Add comment
    10|10000 characters needed characters exceeded