Skip to Content

Bapi_incominginvoice_create error

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Jun 28, 2016 at 02: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!

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.