注册 登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

XINBO'S SAP BLOG

你所浪费的今天,是昨天死去的人奢望的明天。你所厌恶的现在,是未来的你回不去的曾经

 
 
 

日志

 
 

MESSAGE KE396 FOR FUNCTION:BAPI_ACC_DOCUMENT_POST  

2012-06-19 11:20:32|  分类: FUCTIONS |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |
根本原因:会计凭证字段信息和获利能力段信息不一致,特别注意字段名和字段值

KE396 - Inconsistency between a document field and the prof. segment number

Added by Lucas Michel, last edited by Vanessa Barth on May 14, 2011  (view change)
 

Overview 
Message KE396 results from a consistency check that is indispensable for the integrity of profitability analisys. It is important to mention that the error is, in almost all cases, correct, and has it's source in customizing and/or user_exit usage.

An example of the error:
--------------------------------
Inconsistency between a document field and the prof. segment number
Message no. KE396
Diagnosis
A line item was assigned to a profitability segment (number 1234567891) which has the value  for characteristic Plant. The original document (FI document, sales order, internal order, etc.), however, contains XXXX in this field. It is therefore inconsistent with the profitability segment found.

System Response
The characteristics in Profitability Analysis (CO-PA) must have the same characteristic values as the original document. For example, you cannot
assign a sales order to a different customer or product than the one contained in the original sales order. If you wish to fill the characteristics with different contents, you must change the original fields.

Procedure
Enter the correct characteristic values on the CO-PA assignment screen.
The system will automatically assign a corresponding profitability segment number. If it is not possible to enter values in some of these fields, delete the entire assignment to a profitability segment number and then enter it again.
As a rule, you should first enter the fields in the original sender document and then make the assignment to a profitability segment.
-------------------------------------

The example above show a difference in characteristic 'Plant', which indeed existed. 



What can be done in this case?
First, set a watchpoint on sy_msgno 396 and check where the error is triggered. If derivations are being used in KEDR, it's important to check the conditions. Sometimes "overwrite when new value is found" is set, which can produce a difference in the field. If a characteristic is not required, you can turn it off in KEQ3.

It is also known that customers who have used note 638097 to change characteristics, can receive, as mentioned by the note, error KE396:
----------------------------------
Consider: After the implementation of the attached correction error
message KE396 can be issued with regard to the affected characteristics.
---------------------------------- 

The consistency check can be considered, in some cases, too strict. There are a few notes that can help in this case.

1493363    Error message KE396 occurs after changing item category
528495     KE 396 with multiple account assignment or add profit center
376863     Error message KE 396 when you settle freight costs
321725     KE396 f. charact. 'Customer' in third-party transactions
175782     KE396 for MM documents with collective processing
129975     KE396 for characteristic 'business area' (GSBER)
92803      RFBIBL00: KE396 for Direct input -> (for 4.6C and below)
  评论这张
 
阅读(1579)| 评论(0)
推荐 转载

历史上的今天

在LOFTER的更多文章

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2017