Skip to Content
0
Oct 08, 2020 at 11:28 AM

BAPI_INCOMINGINVOICE_CREATE - You cannot process conditions for delivery costs

84 Views

Hi,

I am trying to post an invoice with delivery costs related to a planned condition on the PO through BAPI_INCOMINGINVOICE_CREATE.

These are the delivery costs the invoice is related to:

This is how I populated the BAPI item for this condition:

<item>
<INVOICE_DOC_ITEM>1</INVOICE_DOC_ITEM>
<PO_NUMBER>0003220177</PO_NUMBER>
<PO_ITEM>000010</PO_ITEM>
<REF_DOC></REF_DOC>
<REF_DOC_YEAR></REF_DOC_YEAR>
<REF_DOC_IT></REF_DOC_IT>
<DE_CRE_IND></DE_CRE_IND>
<TAX_CODE>1C</TAX_CODE>
<TAXJURCODE></TAXJURCODE>
<ITEM_AMOUNT>10</ITEM_AMOUNT>
<QUANTITY>1</QUANTITY>
<PO_UNIT>EA</PO_UNIT>
<PO_UNIT_ISO></PO_UNIT_ISO>
<PO_PR_QNT>0</PO_PR_QNT>
<PO_PR_UOM>EA</PO_PR_UOM>
<PO_PR_UOM_ISO></PO_PR_UOM_ISO>
<COND_TYPE></COND_TYPE>
<COND_ST_NO>55</COND_ST_NO>
<COND_COUNT>11</COND_COUNT>
<SHEET_NO></SHEET_NO>
<ITEM_TEXT></ITEM_TEXT>
<FINAL_INV></FINAL_INV>
<SHEET_ITEM>0</SHEET_ITEM>
<GRIR_CLEAR_SRV></GRIR_CLEAR_SRV>
<FREIGHT_VEN></FREIGHT_VEN>
<CSHDIS_IND></CSHDIS_IND>
<RETENTION_DOCU_CURRENCY>0</RETENTION_DOCU_CURRENCY>
<RETENTION_PERCENTAGE>0</RETENTION_PERCENTAGE>
<RETENTION_DUE_DATE></RETENTION_DUE_DATE>
<NO_RETENTION></NO_RETENTION>
</item>

I keep getting the message:

You cannot process conditions for delivery costs.

Does anyone know what I'm missing?

Attachments

vu1hv.png (15.3 kB)