Skip to Content
0
Jun 28, 2016 at 01:02 PM

Bapi_incominginvoice_create error

362 Views

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