KJ, thanks for replying but what you have replied is stuff that I have already seen on SDN for a similar problem. Unfortunately, it has nothing to do with internal vs external number range assignment, since it works for all other scenarios except when 1) Posting to previous period and 2) MIRO invoice price less than PO price and 3) existing stock currently less than Invoice qty, all happen at the same time. If any of the above 3 is NOT happening, it posts successfully without any error. I suspect this error is happening because in this scenario, SAP is trying to create another document other than an RZ document, maybe a revaluation document, and we are not set up for revaluation document type in OMR4 for MIRO. Can someone confirm this is the case,and please explain when a revaluation document gets created in MIRO, OR please tell me if this is caused by something else. FYI - We use Moving Average Price and is on SAP ECC6.
Dev Patra and Mallinath, I don't think it has anything to do with number ranges directly, as I have mentioned above.
Please, someone who has encountered this before, and/or if knowledgeable in revaluation scenarios in MIRO, do reply.
Thanks and regards,
Wayfarer