目录
在一个新配置的S4系统做FI凭证出现了如下报错:
点开后,报错显示如下:
更正统一日记账分类账的定制设置
消息号 FINS_ACDOC_CUST201
诊断
通用日记账的分类账定制设置中存在不一致。
系统响应
为防止数据库不匹配,在定制设置不一致的情况下系统不允许执行过账。
过程
使用事务 FINS_CUST_CONS_CHK 检查定制设置。
如果此消息在过账活动期间显示,则使用事务 FINS_CUST_CONS_CHK_P 检查相关公司代码和分类账的具体定制设置。
处理过程
按照 报错的提示运行事务代码: FINS_CUST_CONS_CHK_P 精确结果显示如下:
在上面报错显示3个红灯,其实真实报错是两条:
(1)“已在公司代码ABS1中激活凭证拆分;请在CO范围ABS1中激活利润中心会计核算” 这个问的是处理,在本人的另一笔文章有介绍,请参阅SAP S4 如果何激活CO范围的利润中心会计核算。
(2)“成本控制范围 ABS1 的版本 0 未分配至任何分类账”
尝试用中文搜索 “成本控制范围 ABS1 的版本 0 未分配至任何分类账”,找不到有有用的答案。于是切换到英文模式继续查。英文版本的描述如下:
FINS_ACDOC_CUST201
Correct the Customizing settings for ledgers for the universal journal
Message no. FINS_ACDOC_CUST201
Diagnosis
There are inconsistencies in the Customizing settings for ledgers for the universal journal.
System Response
To prevent database mismatches, postings are not allowed as long as the customizing settings are not consistent.
Procedure
Check the Customizing settings using transaction FINS_CUST_CONS_CHK.
If this message was displayed during a posting activity, use transaction FINS_CUST_CONS_CHK_P to check the specific Customizing settings for the relevant company codes and ledgers.
最终找到了问题的答案所在。其实就是定义一下配置,在事务代码: S_ER9_11000156
上配置一条记录:
找IMG路径也可以:
SPRO > Financial Accounting > Financial Accounting Global Settings > Ledgers > Ledger > Integration of Controlling with Financial Accounting > Define Ledger for CO Version.
最终问题解决。
********************************************************************************************
参考网页:
Define Ledger for CO Version in SAP Hana - SAP Tutorial
Doc. splitting is active in CoCode ABS1; activate PrCtr Acctng in COAr ABS1
The version 0 of CO area ABS1 is not assigned to any ledger
FINS_ACDOC_CUST416
Doc. splitting is active in CoCode ABS1; activate PrCtr Acctng in COAr ABS1
Message no. FINS_ACDOC_CUST416
Diagnosis
Document Splitting is active in company code ABS1 for field PRCTR, but Profit Center Accounting is not active in controlling area ABS1.
Procedure
To ensure that the system performs all necessary checks and derivations of the profit center and/or segment field, you need to adjust the following setting:
For controlling area ABS1, activate Profit Center Accounting in the fiscal year-dependent settings.
You can activate Profit Center Accounting for all fiscal years.
Note that activating Profit Center Accounting does not automatically activate the "old" profit center ledger 8A. Activating profit center ledger 8A is not mandatory.
How to Define Ledger for CO Version
In this SAP Tutorial, you will learn how to define ledger for CO version. In this step, you will assign General ledger Accounts to Controlling Versions. It enables the controlling to the read the actual date (postings) from the G/L ledger that you specified here.
You need to assign actual version of the controlling area to G/L ledger.
Scenario: When you are posting G/L Account Document using FB50 transaction code, you are getting the error as “Correct the Customizing settings for ledgers for the universal journal”
Solution
Step 1: Navigate to SAP IMG Menu or execute transaction code: S_ER9_11000156
SPRO > Financial Accounting > Financial Accounting Global Settings > Ledgers > Ledger > Integration of Controlling with Financial Accounting > Define Ledger for CO Version.
Step 2: On change view “Ledger From which CO reads actual data” overview screen, you can maintain new entries or copy from the existing standard data.
Note: It is recommended to copy from the standard data to your CO area and it helps not to miss any configuration.
Step 3: On CO area, update the Controlling Area key and press enter and click on save icon to save the details.
Step 4: Ignore the warning the messages and press enter to continue. Now successfully we have assigned the CO area to ledger in SAP Hana.