天天看點

[原]SAP批次管理由物料級别轉換到工廠級别的方法

集團級别。SAP提供的出廠狀态應該是工廠級别,如果想轉為物料級别,很容易做到,但需要慎重考慮,因為再想調回來就比較難了。這裡提供的方法就是由物料級别向工廠級别轉換的方法,測試環境為IDES ECC6,Client 800預設為物料級别。方法來自SAP Notes:

<a href="https://service.sap.com/sap/support/notes/41715">Note 41715 - Resetting batch level from material to plant level</a>

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 -&gt; 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

繼續閱讀