在S/4HANA裏建立生產訂單時,有一個加強點WORKORDER_UPDATE:git
這個CAUFVDB裏存放的是生產訂單擡頭級別的數據:github
咱們來觀察下運行時這個結構裏存放的數據。app
請你們用我github上這個簡單的報表建立一個生產訂單:ui
斷點觸發後,結構體CAUFVDB裏的字段,咱們一個一個分析:code
AUFNR: 這個字段表明生產訂單的ID,所以此時尚未保存,因此是臨時ID。blog
WERKS 工廠ID plant ID,2800。ci
DISPO MRP controller for the order:001rem
PVERW: 1get
在表T411裏發現1表明Production:
PLNBEZ:待生產的物料主數據ID
PLNAW: Application of the task list
P的含義,在表TCA09裏找到表明Routings for production
PLNTY:Task list type: N
在表TCA01裏表明routing
PLNNR:Key for Task List Group
50000023
PLNAL: Group counter
PDATV: valid from date
AUFLD: Date of BOM Explosion/Routing Transfer
AUFPL: Routing number of operations in the order
RSNUM: Number of reservation/dependent requirements
GAMNG: Total Order Quantity 要生產的產品個數
GMEIN: 生產的產品的單位
TERKZ: 2 - scheduling type
2在表T482裏的類型是backwards scheduling
AUART: 生產訂單類型 PP04
AUTYP:生產訂單category:10 PP Production Order
BUKRS: company code
KAPPL:application code KA
條件技術表裏KA表明Orders
KALSM:PP-PC1 costing sheet
ZAEHL和MZAEHL都是內部計數器
KLVARP:Costing Variant for Planned Costs
KLVARI:Costing Variant For Actual Costs
SFCPF:Production Scheduling Profile 這個SIA是我本身配的。
AVOUEB:布爾值,Indicator: Display operation overview
FLG_TERM: 布爾值,Indicator: Scheduling must take data changes into account
TYPKZ: 1 Category of object causing the load (order category)
表明Work orders (detailed scheduling / routing...)
AUKBED:Indicator: Calculate capacity requirements 布爾值
要獲取更多Jerry的原創文章,請關注公衆號"汪子熙":