1. 程式人生 > >如何改變物料的評估型別和評估類?

如何改變物料的評估型別和評估類?

Changing the Material Valuation Types

Assuming you have defined split valuation types in the sap img, you must remove all stock for the current period and one previous period before you can create the material with different valuation types.

The best method is to wait until the last day of a period, and then perform a physical inventory adjustment to remove the stock.

Then on the first day of the next period you can set up the material accounting views for each split valuation type.

After the material valuation types are set up for the material, you can do an inventory adjustment to put the stock back in.

Make sure you notify your accounting inventory control departments as to the quantities and values you are taking out at the end of the period.

http://sapdocs.info/2008/10/20/changing-the-material-valuation-types/

 
更改物料評估型別

假如你已經在SAP IMG中定義了【分開評估型別】,那麼在你給這個物料建立不同的評估型別之前,你必須先清除當前期和前一期的所有庫存。

最好的方法就是等到某一期的最後一天,執行一個盤點調整把這個(物料的)庫存清除掉。

然後在下一期的第一天,你可以給每個分開評估型別建立物料會計檢視。

在給這個物料建立物料評估型別之後,你可以做一個庫存調整把(先前清除的)庫存放回來。

務必通知你的會計控制部門,告訴它們你在期末取走物料的數量和價值。

如何更改評估類  

User將一個物料Valuation class搞錯了,這個料兩個plant都有,valuation class設成了一個.

SAP標準推薦是這樣更改valuation class的.
1.建立中間account(中間物料),然後將stock轉過去.隨便用一個移動型別都行...
T-code : MM01 to create
         MMBE(MB52) Check Stock on each storage location.
         MB1B Mvtype 309 transfer material  to tempory data.
2.將Purchase order , Production order, Schedule line make flage deleted,
  ME2L: to search Purchase Order
  COOIS:To search Production Order
  很多呀,大佬吃不消.  可設定訊息switch off,tcode不知道...
3.修改後再將stock value轉回來,轉庫存到很容易,有此material都不行.昏菜..

我想走捷徑. 當然第一步驟轉移庫存和轉回來是節省不了的,因為庫存物料相當於明細,而庫存科目相當於總帳科目,轉來轉去的,總帳科目balance就對了,要不你根據物料查庫存金額之total up就不等於根據mat G/L acount查出來的..哎..但是2可節省.
方法如下:
(1)檢查MBEW表
MBEW:BKLAS(valuation class)
     EKLAS(Valuation class for sales order)
     VMBKL(valuation class for Previous period)客戶特殊庫存
     VJBKL(Valuation class for pervious fiscalyear)
     QKLAS(Valuation class for project stock)專案庫存
     OKLAS(Valuation class for vendor Special stock)供應商特殊庫存

(2)跳過SAP邏輯Check.
非常簡單.  
SE37找到Function MBEW_BKLAS找到此子函式BEWERTUNGSKLASSE(Include程式LMG11F01)
PerFORM BEWERTUNGSKLASSE USING BEW_BKLAS BEW_OBKLAS BEW_SALK3(三次呼叫它在第一個
perform那裡設定)
                            BEW_RBKLAS.
在此設定斷點,將BEW_BKLAS,BEW_OBKLAS,BEW_RBKLAS一致成你想輸入的New valuation class就可.
可能要兩到三次,一次檢查,一次儲存.OK.
***注意設定斷點後要重新進MM02.

現在可通過設定訊息 如有PO是SHA啥tcode來switch off,Ok,老人家記憶力就是不好..,有production order..算了還是欺騙SAP..

我覺得更改Purchase order和production order沒必要,此material交易的歷史資料就是按SAP提出的方案也
沒辦法改過來,還不如這樣簡單.