控制工单状态的几个TCODE
JSTO:Status object information(可输入order type的status profile查询)
JEST:Individual Object Status(输入OR00000+工单号可查询工单的所有状态Number)
TJ01:user status(自定义status)
JJ01T:user status text(自定义status文本)
TJ02:System status
TJ02T:System status text(系统状态文本)
从JEST关联到TJ02查看Order status 。
相关Tcode(有兴趣的可研究研究这些Tcode):
BS02/BS03:建立/显示 status profile
BS22/BS23:系统status维护/显示
BS32/BS33:维护transaction和status关系.
BS42/BS43:建立显示Status selection schema
BS52/BS53:建立Status对应的授权Key
Tell the difference between TECHO and CLOSED.
TECO means Technically completed order, means with out full completion of order. That production order stopped because of some reasons. CLOSED means after completion of confirmation and settlement the order is fully closed for further processing.
How to delete released production orders?
In the prodcution order, select Functions --> Deletion flag -->Active to delete production order. This method can be used for production orders having CRTD (ie created) and REL (released) status. However, it is not possible to delete a production order with REL and GMPS (ie. after the withdrawl of materials for the order) status.
You can TECO the production orders with REL and GMPS status.
CO13 is used to cancel the confirmation of a production order.
Once Final Goods Receipt is post & Order is completed n it is Technically Completed it should not allow any goods movement against that order but this is not happening & one can issue goods even if the order is TECO.
When order status is Teco, system allow us to do the posting against the order. Once order status is closed, then only order treated as closed for execution.
In TECO status you can post the remaining activity/goods movement. Like if you have one order that contains the 5 operation and out of 5, 3 you are confirming in the current period and suppose, rest you are doing in the next period. So at the time of settlement for current period, order status should be Teco cause you will do some operation is the next period and cost for next period should be settle on next period. after that you have to close the order.
So TECO allows the postings.
If the requirement is not allowing any goods movement while system status TECO is active, pls try this approach in the config:
1. go to tcode BS22 (Maintain: System Status)
2. look for the system status TECO.
3. Double click the field "TECO".
4. in the transaction control tab look for the business transaction "RMWA" or goods movement (you can type it in the lower left corner buttom box).
5. select the radio button from "Allowed" to Disallowed".
6. save your changes.
不允许工单在已发料后再删除该物料
Tcode: OPJB 修改750的Category.
控制工作单的需求数不能小于已发料数
方法一:
修改原程序:LCOMKF5H
MESSAGE I752(CN) WITH RESBD-MATNR AFELD_1 AFELD2.
方法二:
出口PPC00023
INCLUDE ZXCO1U23.
if IS_COMPONENT-BDMNG < IS_COMPONENT-enmng.
* message 'xxxx' type 'E'.
raise NO_CHANGES_ALLOWED.
endif.
工单cost balance不为0的处理方法
该订单以前结算了在产品。你需要检查:
1.该订单是否已完成-订单状态是否DLV?
2.如果是DLV,你需要重新运行KGI2(overhead), KKAX(wip),KKS2(variance)and KO88
(settlement)。
3.如果不是DLV,但你仍然要关闭订单,你要将订单设为TECO(technical complete技术性关闭)。
同样运行上述tcode.
不能收货或不能建BOM
不能收货或不能建BOM时提示
Material type ROH cannot be used with item category L
原因是OMS2中物料类型的Quantity/Value updating下对应的PLANT没有选中这两项