BAPI_ACC_DOCUMENT_POST-FB03中的基础金额不正确

2020-08-14 05:52发布

点击此处---> 群内免费提供SAP练习系统(在群公告中)加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)我正在使用BAPI_ACC_DO...

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


我正在使用BAPI_ACC_DOCUMENT_POST批量创建AP发票。 但是我发现创建的发票的基本金额和税额是错误的。 它将汇总所有基本金额,将忽略它是Currencyamount表中的借方还是贷方分录(+/-)。

任何人都可以帮忙吗? 我无法从互联网上找到确切的解决方案。 以下是我在Bapi中的值,总共只有两项。 但是它仅在fb03的税收数据中显示贷方基础金额或借方基础金额。 缺少任何字段吗?

ACCOUNTGL-ITEMNO_ACC = 2/5//相同的值

ACCOUNTGL-GL_ACCOUNT = 75140060

ACCOUNTGL-ITEMTEXT =测试

ACCOUNTGL-COMP-CODE = 12

ACCOUNTGL--VALUE_DATE = 2020204

ACCOUNTGL-TAX_CODE = V1

ACCOUNTPAYABLE-ITEMNO_ACC = 1/4/相同的值

ACCOUNTPAYABLE-VENDOR_NO = VEND123

ACCOUNTPAYABLE-COMP_CODE = 12

ACCOUNTPAYABLE-BLINE_DATE-20200617

ACCOUNTPAYABLE-DSCT_DAYS1 = 3

ACCOUNTTAX-ITEMNO_ACC = 3/6//相同的值

ACCOUNTTAX -COND_KEY = MWVS

ACCOUNTTAX -ACCT_KEY = ZVP

ACCOUNTTAX -TAX_CODE = V1

ACCOUNTTAX -TAX_RATE = 19

CURRENCYAMOUNT- ITEMNO_ACC = 1

CURRENCYAMOUNT-CURRENCY = EUR

CURRENCYAMOUNT-AMTDOCCUR = 83.09-

CURRENCYAMOUNT- AMTBASE = 0

CURRENCYAMOUNT- ITEMNO_ACC = 2

CURRENCYAMOUNT-CURRENCY = EUR

CURRENCYAMOUNT-AMTDOCCUR = 69.82

CURRENCYAMOUNT- AMTBASE = 0

CURRENCYAMOUNT- ITEMNO_ACC = 3

CURRENCYAMOUNT-CURRENCY = EUR

CURRENCYAMOUNT-AMTDOCCUR = CURRENCYAMOUNT- ITEMNO_ACC = 1

CURRENCYAMOUNT-CURRENCY = EUR

CURRENCYAMOUNT-AMTDOCCUR = 13.27

CURRENCYAMOUNT- AMTBASE = 69.82

CURRENCYAMOUNT- ITEMNO_ACC = 4

CURRENCYAMOUNT-CURRENCY = EUR

CURRENCYAMOUNT-AMTDOCCUR = CURRENCYAMOUNT- ITEMNO_ACC = 1

CURRENCYAMOUNT-CURRENCY = EUR

CURRENCYAMOUNT-AMTDOCCUR = 85.97

CURRENCYAMOUNT- AMTBASE = 0

CURRENCYAMOUNT- ITEMNO_ACC = 5

CURRENCYAMOUNT-CURRENCY = EUR

CURRENCYAMOUNT-AMTDOCCUR = CURRENCYAMOUNT- ITEMNO_ACC = 1

CURRENCYAMOUNT-CURRENCY = EUR

CURRENCYAMOUNT-AMTDOCCUR = 72.24-

CURRENCYAMOUNT- AMTBASE = 0

CURRENCYAMOUNT- ITEMNO_ACC = 6

CURRENCYAMOUNT-CURRENCY = EUR

CURRENCYAMOUNT-AMTDOCCUR = CURRENCYAMOUNT- ITEMNO_ACC = 1

CURRENCYAMOUNT-CURRENCY = EUR

CURRENCYAMOUNT-AMTDOCCUR = 13.73-

CURRENCYAMOUNT- AMTBASE = 72.24-

4条回答
大道至简
2020-08-14 06:21

第8项应该有一个借方基准金额,但是我不能从税收数据中找到它。

如果我通过f-02手动发布以上条目,则g/l 18004301将合并为一个订单项,而不是三个订单项。 有人可以帮忙吗?

一周热门 更多>