在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的原创文章,请关注公众号"汪子熙":