10-28-2010 11:02 AM
Hi All,
Here is the business scenario:
We are performing invoice verification against PO and there will not be any GR.
This is done in two steps:
--- Parking the Document using BAPI_INCOMINGINVOICE_PARK
--- Posting the Parked Invoice using MRM_PARKED_INVOICE_POST.
Parking works fine, posting the parked invoice via MIR7 also works fine. We only get a warning message stating 'Quantity invoiced is smaller than the ordered quantity (no GR)'.
However when we are trying to do the same via MRM_PARKED_INVOICE_POST.....we are receiving an error message which states that 'Quantity invoiced is smaller than the ordered quantity (no GR)' [Message M8 195]
Any idea of how to avoid this?
10-28-2010 2:01 PM
Hi Vin,
This looks like an error coming from Tolerance Limit. ask your functional consultant. How much tolerance he has put?
Thanks & Regards,
Faheem.
10-28-2010 1:34 PM
10-28-2010 2:01 PM
Hi Vin,
This looks like an error coming from Tolerance Limit. ask your functional consultant. How much tolerance he has put?
Thanks & Regards,
Faheem.
10-28-2010 2:09 PM
That is a configurable message in MM. You can check the difference in handling for the transaction and the BAPI by stopping at the function CUSTOMIZED_MESSAGE. The BAPI will be calling MRM_QUANTITY_CHECK and propagating the result (exception).
10-28-2010 10:35 PM
Brad:
Thanks for the reply. We have already checked this......Here is the difference between transaction and BAPI...
For transaction: It appears as a warning message and it is not displayed but collected in the Message log internal table....passed in MRM_DRSEG_CHECK function module
For BAPI: It displays the warning message and does not allow us to proceed further.
********************************************************************************************************************************************************
Faheem,
Yes it is the problem with the tolerance limit and it does resolve when we either set it to 'No Check' in the configuration or set it to 100% tolerance. We can also suppress the particular message in CONFIG......it also works fine
However, is there any way that this can be avoided i.e. the Tolerance limit should not change.....and the Fm should post the parked Invoice successfully.
May be another function module which could solve it.....
12-12-2010 8:43 PM
Hi,
We have a similar issue BUT we are using GR and the PO is a service PO with multiple invoices. The problem we have is that the second and subsequent PO's have a unit of 1 for the invoice and the MRM_QUANTITY_CHECK complains that the current invoice is now invoicing for an quantity greater than the PO quantity. As follows
PO order is 1 lot of training at $70,000.00 (UOM is each)
Invoice 1 is for 1 quantity but amount $10,000 and posts just fine
Invoice 2 is for the next lot of training so
quantity 1 amount $10,000 this will not post through the BAPI but will post manually!!!
This second invoice will fail the BAPI post because the quantity exceeds the PO quantity, probabaly because the is already an invoice for quantity 1 posted. Can find no solution to this so far.
Any ideas VERY much appreciated.
Ross