关于SD开票凭证冲销时未自动清账的问题

具体请参考:https://me.sap.com/notes/1259505/E

Q1. What is the new cancellation procedure ?(什么是新的冲销程序?)
The old cancellation procedure (the only possible before release 4.6A) is made transferring to accounting a "reversed" billing document. Technically speaking the system performs the function module AC_DOCUMENT_CREATE (the same that is used when a normal invoice - not a cancellation -  is transferred to accounting).
In the new cancellation procedure there is a 'real' reversal of the original accounting document directly in accounting.
The most evident effect of the new cancellation procedure is the automatic clearing of the accounting documents.
Technically speaking the system performs the function module AC_DOCUMENT_REVERSE.

简而言之,旧的冲销程序执行的功能模块是AC_DOCUMENT_CREATE,而新的冲销程序执行的功能模块是AC_DOCUMENT_REVERSE。

Q2. Which cancellation procedure does the system perform ?(系统执行哪个冲销程序?)
Starting with release 46A, the system tries to perform at first the new cancellation.
If it fails, then the system gives message VF208 or VF216 and afterwards it performs the old cancellation procedure.
See note 339928 for further details.
This note gives a workaround to change this standard behaviour.

简而言之,系统会优先执行新的冲销程序,如果新的冲销程序失败了,才会执行旧的冲销程序。

Q3. Why is the new cancellation procedure not performed ?(为什么系统没有执行新的冲销程序?)
From SD side the new cancellation procedure cannot be performed for the following reasons:
1. the cancellation is an item cancellation (see note 400000).(行项目冲销
2. the billing document has one or more items relevant for revenue recognition (field VBRP-RRREL not blank)(开票凭证有一个或多个行项目与收入确认有关系,即VBRP-RRREL不为空
3. the billing document is a down payment request(开票凭证是一个预收款申请
4. the field RULE_NEW_CANCEL is set to 'A' (see note 339928).(字段RULE_NEW_CANCEL被设为了“A”)
If at least one these conditions occurs, the system performs the old cancellation procedure (in this case it does not give message VF208 or VF216 as the new cancellation procedure will not be tried at all).

If none of these conditions occurs, then the system executes the function AC_DOCUMENT_REVERSE for the new cancellation procedure.
If this function module returns an exception (SY-SUBRC <> 0) then the new cancellation is forbidden by any functionality in FI, CO, EC (example: the accounting document to be reversed is already cleared).
The note 309208 reports a list of possible causes.(309208罗列了一些可能的原因

https://me.sap.com/notes/309208/E

FI:

  • The FI follow-on document of the SD document to be cancelled already contains cleared document items.(待冲销的SD开票凭证的FI后续凭证包含已清项目)
     
  • There is no FI follow-on document for the SD document to be cancelled. The FI document has already been cancelled.(无FI后续凭证可以被冲销,FI凭证已经被冲销掉了。)
     
  • The cancellation date is before the posting date of the FI document to be cancelled.(冲销日期早于原FI凭证的过账日期。)
     
  • The reason for cancellation allows no difference between cancellation date and posting date.(冲销原因不允许冲销日期与过账日期不一致。)
  • 24
    点赞
  • 20
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值