且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

[原]SAP批次管理由物料级别转换到工厂级别的方法

更新时间:2022-08-22 09:15:13

集团级别。SAP提供的出厂状态应该是工厂级别,如果想转为物料级别,很容易做到,但需要慎重考虑,因为再想调回来就比较难了。这里提供的方法就是由物料级别向工厂级别转换的方法,测试环境为IDES ECC6,Client 800默认为物料级别。方法来自SAP Notes:

Note 41715 - Resetting batch level from material to plant level

This type of conversion can only be made as of Release 3.1I(3.1I及以上版本可用). Proceed as follows:

1. For all releases lower than Release 4.5B, implement the corrections and the modification in the report RM07CHDX as described in the correction instructions.

2. Create the report ZCHTCUCH, which is specified in the attachment.

3. Run this report in the clients for which you want to reset batch level to plant level.

4. Call transaction OMCT.

5. Check whether the batch level for "Batch unique at plant level" is set.

6. Implement Notes 821891, 944278, 950540 and 1091613 if you have not already done so (or you have not imported the corresponding Support Package).

7. Execute the function "Batch Level -> Conversion".

8. Define a plant for a plant view that may be missing.

9. Always execute the report in the test mode first. Analyze the error log.

10. If no errors occur,  you can execute the report in production mode.

11. If you are working with batch long texts, first execute the report ZM07CHDX_TEXT in test mode.

附:

ZCHTCUCH源代码:

REPORT ZCHTCUCH.
TABLES: TCUCH.

SELECT * FROM TCUCH.
  IF TCUCH-KZDCH NE '0'.
      TCUCH-KZDCH = '0'.
      UPDATE TCUCH.
      WRITE:/ 'TCUCH changed to plant-level'.
  ELSE.
      WRITE:/ 'TCUCH already changed to plant-level'. 
  ENDIF.
ENDSELECT.

相关程序:
RM07CHDX
RM07CHZX

作者:baiboyd 发表于2010-12-19 12:27:00 原文链接
阅读:840 评论:0 查看评论


Link URL: http://blog.csdn.net/baiboyd/article/details/6085013