SAP Classification(物料特性)
物料特性的特性值存儲在AUSP表中,字段OBJEK的值等于物料編號,通過這個關系可以找到物料相對于的特性值。
或者可以通過函數
CALL FUNCTION 'CLAF_CLASSIFICATION_OF_OBJECTS'
? ?? ?? ?EXPORTING
? ?? ?? ?? ???class? ?? ?? ?? ???= l_class
? ?? ?? ?? ???classtext? ?? ?? ? = 'X'
? ?? ?? ?? ???classtype? ?? ?? ? = l_classtype
? ?? ?? ?? ???clint? ?? ?? ?? ???= 0
? ?? ?? ?? ???features? ?? ?? ???= 'X'
? ?? ?? ?? ???language? ?? ?? ???= sy-langu
? ?? ?? ?? ???object? ?? ?? ?? ? = l_objek
? ?? ?? ?? ???key_date? ?? ?? ???= sy-datum
? ?? ?? ?? ???initial_charact? ? = 'X'
? ?? ?? ?? ???change_service_clf = 'X'
? ?? ?? ?TABLES
? ?? ?? ?? ???t_class? ?? ?? ?? ?= t_class
? ?? ?? ?? ???t_objectdata? ?? ? = t_objectdata
? ?? ?? ?EXCEPTIONS
? ?? ?? ?? ???no_classification??= 1
? ?? ?? ?? ???no_classtypes? ?? ?= 2
? ?? ?? ?? ???invalid_class_type = 3
? ?? ?? ?? ???OTHERS? ?? ?? ?? ? = 4.
來獲得特性值
SAP Classification 為了方便查詢定義的一套技術體系。其實是建立了一個大樹(根節點在上面),大致層次 Class Type>Class>characteristics .參見下圖:
一 、Purpose
The classification system allows you to use characteristics to describe all types of objects, and to group similar objects in classes –?to classify objects, in other words, so that you can find them more easily later.
You then use the classes to help you to find objects more easily,?using the characteristics defined in them as search criteria.?This ensures that you can find objects with similar or identical characteristics as quickly as possible.
?
?
二 、Features
Before you can use classification functions, you need to set up your classification system.
The there are three steps to?setting up a classification system:
...
?????????1、?Defining the Properties of Objects
You use characteristics to describe the properties of objects. You create characteristics centrally in the system.
See the SAP Library,?Characteristics (CA-CL-CHR).
??????????2、?Creating Classes
You need classes to classify objects. These classes must be set up. During set up you must assign characteristics to the classes.
?????????3、?Assigning Objects
Once you have created the classes you require for classification, you can assign objects to these classes. You use the characteristics of the class to describe the objects you classify.
三、示例
通過分類中的自定義特征(Characteristics)來對物料、客戶、供應商、文檔、批次、檢驗特性等進行自定義分類,系統通過類類型Class Type來區分不同的應用,譬如類類型001為物料分類,類類型010為供應商分類,類類型022/023為批次分類。
Characteristic是sap用來描述物料特性的,這里所說的物料包含原材料,機械設備等。
對于一個原材料,它的密度,比熱,存儲溫度等都是它的特性。可以根據這個原材料的特性來判斷它生產出來的產品的等級。
對于一臺機械設備,它的功耗,一次最長使用時間,以及生產的產品規格等都是它的屬性。可以根據它的特性來制定生產計劃,工藝流程等。
這就是Characteristic存在的意義。
?
通常的過程是 創建一個或多個Characteristics(CT04),把它組合成一個Class(即分配給一個或多個Class)(CL01/CL02),然后將這個包含多個特性的class分配給Material。即維護的MM01 Create Material時的Classification View.
Table: CABN – Characteristic
KLAH – Class Header Data
KSSK – Allocation Table: Object to Class
T-cd: CT04 – Create/change the characteristics
CL01/ CL02/ CL03 – Create/change/display the class
四 、其它參考
官方介紹:?http://help.sap.com/saphelp_erp60_sp/helpdata/en/24/47633a416711d189ec0000e81ddfac/frameset.htm
應用介紹:?http://mfg.kingdee.com/pages/frankyue2001/blog/archive/2011/05/10/546231.aspx
總結
以上是生活随笔為你收集整理的SAP Classification(物料特性)的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: IT人员健康信号之颈椎病自疗
- 下一篇: SAP启用检查双重Invoice功能