在S/4HANA里创建生产订单时,有一个增强点WORKORDER_UPDATE:

这个CAUFVDB里存放的是生产订单抬头级别的数据:

我们来观察下运行时这个结构里存放的数据。

请大家用我github上这个简单的报表创建一个生产订单:

https://github.com/i042416/KnowlegeRepository/blob/master/ABAP/SmallApp/209_create_S4_SalesOrder.abap

断点触发后,结构体CAUFVDB里的字段,我们一个一个分析:

AUFNR: 这个字段代表生产订单的ID,因此此时还没有保存,所以是临时ID。

WERKS 工厂ID plant ID,2800。

DISPO MRP controller for the order:001

PVERW: 1

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

最新文章

  1. 在ubuntu/deepin/mint等系统中使用命令删除文件或文件夹
  2. C#获取北京时间与设置系统时间
  3. github的初次体验及管理代码的心得
  4. C# Xml文件操作,解释见注释
  5. Swift学习(二)
  6. String的几种初始化方法的区别
  7. JavaBean之属性必须遵循命名规范
  8. Memory Architecture-SGA-Database Buffer Cache
  9. Dropbox + Farbox高速创建免费博客小站
  10. Struts1和Struts2对照
  11. Android——apk反编译
  12. 在sqlserver2005/2008中备份数据库,收缩日志文件
  13. [NOIP2014][DP]飞扬的小鸟
  14. C++11 标准新特性: 右值引用与转移语义
  15. POJ 1849 Two(树的直径--树形DP)(好题)
  16. Linux转发性能评估与优化(转发瓶颈分析与解决方式)
  17. vue---由nextTick原理引出的js执行机制
  18. 【原创】大数据基础之CM5(Cloudera Manager)+CDH5离线安装
  19. oo 第一次博客作业
  20. 【模板】Tarjan scc缩点

热门文章

  1. org.dbunit.dataset.NoSuchTableException: t_group
  2. C 标准库 - string.h之strpbrk使用
  3. 持续集成:TeamCity 的安装和使用
  4. 在打印窗口,打印视图View的子视图结构图
  5. 架构实战项目心得(五):mysql安装
  6. PostgreSQL On Windows Process Connection Performance
  7. 兼容IE和Firefox获得keyBoardEvent对象
  8. Nginx通关攻略
  9. show_space
  10. Node.js学习笔记(六) --- Nodejs 的非阻塞 I/O、 异步、 事件驱动