‎2016 Jun 28 2:02 PM
Hi Experts,
I need to create a debit note for Vendor to GL i.e. Credit Note for Vendor to GL. For this I am using the BAPI_INCOMINGINVOICE_CREATE. Following are the parameters I have passed to it.
But can't get document posted.
Please suggest.
Header Data:
DOC_TYPE= 46
DOC_DATE= 28.06.2016
PSTNG_DATE= 28.06.2016
REF_DOC_NO = 5000206089 (MIGO NO)
COMP_CODE = 2000
CURRENCY= INR
GROSS_AMOUNT= 15
PMNTTRMS = V000
BLINE_DATE= 28.06.2016
HEADER_TXT= 242600074810
BUS_AREA = 2104
ITEM_DATA
INVOICE_DOC_ITEM = 000001
PO_NUMBER = 2426000748
PO_ITEM = 0010
REF_DOC = 5000206089 (MIGO)
REF_DOC_YEAR = 2016
REF_DOC_IT = 0001
DE_CRE_IND = S
TAX_CODE = V0
ITEM_AMOUNT = 15.0000
QUANTITY = 5.000
PO_UNIT = MT
ITEM_TEXT= HGHGH
MATERIALDATA
INVOICE_DOC_ITEM = 000002
MATERIAL = VD20001001
VAL_AREA = 2104
DB_CR_IND = H
ITEM_AMOUNT = 15.0000
QUANTITY = 5.000
BASE_UOM = MT
TAX_CODE = V0 (NO TAX)
On running this Bapi after filling up the above values, I get the following output in the return table:
E M8 080 Reversal quantity greater than quantity invoiced to date
Please suggest me to overcome this issue.
Thanks
Sanjeev
‎2016 Jun 28 3:46 PM
Hi,
Quantity of credit memo should be less than or equal to the invoiced quantity, if you will pass greater than invoice quantity it return error message.
thanks!
‎2016 Jun 28 3:46 PM
Hi,
Quantity of credit memo should be less than or equal to the invoiced quantity, if you will pass greater than invoice quantity it return error message.
thanks!
‎2016 Jun 29 4:38 AM
Thanks Chintu for your reply,
But in fact I need to bypass this error and to create Debit note anyhow while creating Usage Decision using Tcode QA11. That also using BADI. I am using MB_Document_Badi here.
So kindly suggest me to bypass this error.
Thanks.