公众号:SAP Technical
本文作者:matinal
前言部分
大家可以关注我的公众号,公众号里的排版更好,阅读更舒适。
正文部分
做预制凭证有两个BAPI:
BAPI_INCOMINGINVOICE_PARK 和 BAPI_INCOMINGINVOICE_CREATE
连个的区别是:第一个只做发票预制,第二个是发票和过账一块做。
下面简单说说BAPI_INCOMINGINVOICE_PARK发票预制
做发票有四种业务
1. Park as Invoice (HEADERDATA-INVOICE_IND = X, ITEMDATA-DE-CRE_IND = SPACE)
2. Park as Credit Memo (HEADERDATA-INVOICE_IND = SPACE, ITEMDATA-DE-CRE_IND = SPACE)
3. Park as Subsequent Debit (HEADERDATA-INVOICE_IND = X, ITEMDATA-DE-CRE_IND = X)
4. Park as Subsequent Credit (HEADERDATA-INVOICE_IND = SPACE, ITEMDATA-DE-CRE_IND = X)
然后现在遇到一个问题
退货的凭证,做发票传BAPI报错,不知道如何处理。
现在只能做收货的发票。