ABAP MIR7预制凭证BAPI

正文部分

做预制凭证有两个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报错,不知道如何处理。

现在只能做收货的发票。

我总结的预制凭证bapi的使用

点击进入:ABAP MIR7预制凭证BAPI

你可能感兴趣的:(ABAP技术,MIR7)