更改销售订单出错for reasons of cost management item cannot be deleted

[复制链接]
查看11 | 回复1 | 2008-10-19 10:08:33 | 显示全部楼层 |阅读模式
各位好:
我用函数BAPI_SALESORDER_CHANGE 删除带WBS Element的SO行项目时出现如下错误
ORDER_HEADER_IN has been processed successfully
For reasons of cost management, item 001001 cannot be deleted
Error in ITEM_IN 001001
KONVKOM has been processed successfully
KONVKOM has been processed successfully
KONVKOM has been processed successfully
KONVKOM has been processed successfully
KONVKOM has been processed successfully
The sales document is not yet complete: Edit data
Sales document 0002012766 was not changed
通过查阅帮助说可以设置退回原因就可以解决了,可是我设置了ORDER_ITEM_IN-REASON_REJ = 'Z1' and ORDER_ITEM_INX-REASON_REJ = 'X',还是无法解决这个问题的。('Z1'-WBS has been cancelled)
从网上看需要参照文件SAP note 14097,各位大侠谁有这个文件共享一下吧,谢谢了。
请问各位大侠如何解决呀。
回复

使用道具 举报

千问 | 2008-10-19 10:08:33 | 显示全部楼层
Note 14097 - Order item cannot be deleted/overwritten
Summary
Symptom
1. An item from make-to-order production cannot be deleted from a sales order. A dialog box appears with message V1128: "For reasons of cost management, item & cannot be deleted".
2. It is not possible to overwrite the material number, item category or plant of an order item.
Additional key words
VA02, item exchange, make-to-order production, E128
Cause and prerequisites
There are several reasons why an order item can no longer be deleted or the material number, item category and plant of an item may no longer be overwritten.
a) Subsequent documents already exist for an order item.
b) It is a make-to-order production, i.e. costs for the item may have already accrued.
c) It is an item with account assignment to a project, i.e. costs for the project may have already accrued.
d) It is an item with BOM explosion.
Solution
1.)
Assign a reason for rejection to the item. This reason for rejection is equivalent to a logical deletion of the item. As of Release 3.0, fine tuning for the reason for rejection is possible. This fine tuning allows you, for example, to control whether the item is printed. Please see also note 9678.
Corrections in 3.0E and 3.0F (see appendix)
You can install these corrections only as of 3.0C at the earliest.
In case b), which does not allow a deletion because of the cost management, a check is made whether costs have already been accrued. The deletion is allowed if no costs have been accrued yet. If costs have been accrued, message V1128 will still be displayed.
In this case, also install note 74083. Note that, by installing note 74083, parts of the source code changes in this note are changed again.
If you want to delete order items with configurable materials,you will always have to implement note 61265.
During deletion, if order items with assembly orders or prodution orders are affected also apply note 86797 and if necessary Note 93627 too.
Case c) is not solved by the corrections. The only way to deactivate the item is to set a reason for rejection.
Header Data

Release Status: Released for Customer
Released on: 1998-08-1622:00:00
Master Language: German
Priority: Correction with medium priority
Category: Upgrade information
Primary Component: SD-SLS-SO Sales Orders
Secondary Components: SD-SLS Sales
Affected Releases
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行