Enterprise Resource Planning Blogs by SAP
Get insights and updates about cloud ERP and RISE with SAP, SAP S/4HANA and SAP S/4HANA Cloud, and more enterprise management capabilities with SAP blog posts.
cancel
Showing results for 
Search instead for 
Did you mean: 
feng_dong
Contributor

在使用会计凭证按月编号功能的过程中,由于会计凭证的产生过相对复杂,
MM,SD,AA等模块也会产生会计凭证,处理、控制相对较复杂,偶尔会产生断号的问题。
之前也有一些相关的note修复此问题,但是偶尔仍会出现。
为此,SAP也提供了标准的调整程序来修复断号。请参照之前的文章会计凭证按月编号会计凭证按月编号Ⅱ-编号的取值逻辑

在实际使用过程中,对于此类凭证,一般情况下用户均需要将其打印出来。
因此,现在有另外一种解决方案,即使用IDCNDOC打印PDF凭证时,
按月凭证号才会产生并更新凭证头。从而有效解决了断号问题。

设定:
SPRO->Cross-Application Components
       ->General Application Functions
       ->Cross-Application Document Numbering
       ->China
       ->Automatic Document Numbering
       ->Activate Document Numbering for Company Code

在此路径下,增加了一列Post-Generate.

在针对某个公司代码激活该功能时,如果

1, Activate和Post-Generate同时选中
   创建凭证时,编号不产生。只有使用IDCNDOC打印凭证时,才会产生编号。
2,Activate选中,Post-Generate未选中
    编号会在凭证过账时产生(传统功能)
3,Activate不选中,Post-Generate选中
    系统报错

注:使用该功能首先需要安装note
2114439 --- CN ODN: Enable ODN generation with accounting document printing

1 Comment