SAP MM批次级别

批次级别

SAP MM批次级别 图1

每个物料主数据都通过一个由数字、或字母、或数字字母混合的编码进行标识,即物料编码,物料编码在集团级别唯一。

批次主数据与物料主数据一样,也需要一个编码来标识,即批次编码(或编号),批次编码有三个级别(level):集团级别、物料级别、工厂级别,你可以决定批次编码在哪个级别唯一。

在IMG路径 SPRO->后勤-常规->批次管理->指定批级别并激活状态管理 下配置批次级别,

下面是对各个批次级别的介绍:

若批次级别是集团级别和物料级别,批次分类类别都是023,批次数据主要存储在表MCH1;若批次级别是工厂级别,批次分类类别都是022,批次数据主要存储在表MCHA。后面批次的分类和特性中会用到。

SAP系统批次默认的级别是工厂级别,批次级别可以由较低级别向较高级别转换,若向较低级别转换,只能由集团级别转换为物料级别(是因为集团级别和物料级别的批次数据表都是MCH1,关键字段一样),批次级别存入表TCUCH中,

批次级别之间的转换如下图所示:

如果不小心把批次级别设成了物料级别,或需求有变,就真的不能转换成工厂级别吗?当然不是,不过方法比较麻烦,方法来自SAP Notes:

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

相关新闻

联系我们

联系我们

130-0752-1773

在线咨询:点击这里给我发消息

邮件:info@sapzx.com

工作时间:周一至周五9:00-18:00,节假日正常休息

关注微信
关注微信
分享本页
返回顶部