SAP物料批次管理的级别共分为三个不同且不能并存的级别,由高至低分别为:client level/集团级别、material level/物料级别、plant level/工厂级别。在SAP提供的标准功能下,批次级别的调整只能由低向高转换:工厂级别–>物料级别–>集团级别。SAP提供的出厂状态应该是工厂级别,如果想转为物料级别,很容易做到,但需要慎重考虑,因为再想调回来就比较难了。这里提供的方法就是由物料级别向工厂级别转换的方法,方法来自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:
For all releases lower than Release 4.5B, implement the corrections and the modification in the report RM07CHDX as described in the correction instructions.
Create the report ZCHTCUCH, which is specified in the attachment.
Run this report in the clients for which you want to reset batch level to plant level.
Call transaction OMCT.
Check whether the batch level for “Batch unique at plant level” is set.
Implement Notes 821891, 944278, 950540 and 1091613 if you have not already done so (or you have not imported the corresponding Support Package).
Execute the function “Batch Level -> Conversion”.
Define a plant for a plant view that may be missing.
Always execute the report in the test mode first. Analyze the error log.
If no errors occur, you can execute the report in production mode.
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