SAP MM PR中的Fixed ID字段与MD04里PR单据号后的星号

如下图是我手工使用ME51N 创建的一个采购申请单据,

MD04去看这个PR,

这个PR号码后面有一个*号,代表它是一个被firm了的采购申请。这样看起来PR中的Fixed ID标记与MD04结果中是否在PR后跟一个*没有关系?那MD04中的PR,在什么情况下会后跟一个*号呢? 经笔者查询,得知,手工创建的采购申请,MD04结果里采购申请号后必然跟着一个*号,当然还有其它场景会导致MD04里PR号后带上*的结果。下面文字来源于互联网:

======================================

The * (firmed indicator checked) that you see next to the purchase requisition in MD04 is not actually stored in any table. This is a structure field (MDPS-FIX01) and is updated when the MD04 (stock requirements list) program is called.  MD04结果中PR号码之后跟的*号,并不保存在某个表里。它是一个结构字段,当MD04程序被调用的时候,该字段被更新。

The * next to the purchase requisition (or planned order for that matter) indicates that the purchase requisition is firmed as far as MRP is concerned (meaning that MRP CANNOT change this requisition, the 'firming' functionality is built to prevent undesired deletion of your purchase requisitions/planned orders by MRP).  采购申请后的*号,表明该PR被固定了,在MRP 运行时候不能被修改与删除。

Now, the interesting question is how the firmed indicator (*) is actually set in MD04 next to the purchase requisition and what is its relation to the 'fixed indicator' in the purchase requisition (EBAN-FIXKZ). The 'firmed indicator' flag in MD04 is automatically set in the following cases – 如下是解释MD04结果中如何在PR单据号后设置星号,以及什么是与PR里的 Fixed ID (fixed indicator)有关联的。如下场景下,MD04中PR号码后被打上*:

- When you create a purchase requisition manually (EBAN-ESTKZ = 'R') using ME51N, it is treated as firmed as far as MRP is concerned. Note that in this case even if you have NOT flagged the 'fixed indicator' (EBAN-FIXKZ) in the requisition, the 'firmed indicator' is flagged in MD04. This may very well be the reason why we are seeing purchase requisitions with a * next to them in MD04 but we don't find these in EBAN with the 'fixed indicator' set. I don't think we retrieve this information by querying any table. We can have an Abaper debug how this 'firmed indicator' flag is actually set in MD04 but I would think the EBAN-ESTKZ drives it in this case. As a side note, I would suggest you a take a look at function module MD_STOCK_REQUIREMENTS_LIST_API.

- The 'fixed indicator' (EBAN-FIXKZ) in the purchase requisition is manually flagged by users in ME52N or programmatically flagged which will in turn trigger the 'firmed indicator' flag in the MD04 program.

- The purchase requisition is manually changed in ME52N or programmatically changed (say you change the qty, delivery date, p.org, sloc etc).

- You have converted the purchase requisition into an RFQ or a PO either for the full or partial quantity.

- The 'fixed for MRP' or the 'firmed for req. planning' indicator has been set in the release indicator for your purchase requisition release strategy. This way, you prevent MRP from accidentally deleting purchase requisitions that have already been released by someone.

The 'fixed indicator' (EBAN-FIXKZ) is automatically set in the above 4 cases which in turn will trigger the 'firmed indicator' to be set in the MD04 program.

======================================

2018-07-23 写于杭州市

最新文章

  1. Java IO工作机制分析
  2. Linux - Tips
  3. 自动编译和提交脚本(结合svn和visual studio)
  4. LNMP编译安装教程
  5. AX Query
  6. Elipse安装Spring Tool Suite
  7. 关于Ext.NET Demo程序在IIS7.5部署出现"Ext未定义"的解决方案
  8. JQuery Dialog 禁用X按钮关闭对话框,-摘自网络
  9. 单片机IO口驱动能力
  10. unity3d由于Camera.main.transform报空引用错误的解决方案
  11. 使用hql当异常查询:Xxx is not mapped[from Xxx where ...]
  12. Just for 面试
  13. aps.net core mvc中使用session
  14. HDFS(一) 高级特性
  15. 腾讯地图api 地址解析 js版
  16. python基本语法汇总
  17. BZOJ.4515.[SDOI2016]游戏(树链剖分 李超线段树)
  18. JQEUERY案例
  19. NHibernate中的API
  20. easyUI的combotree的树的懒加载。

热门文章

  1. 移动端点击事件300ms延迟问题解决方案——fastclick.js
  2. QMQ去哪儿网-mq中间件(启动失败)
  3. MySql事务的隔离级别及作用
  4. [部署]CentOS安装MariaDB
  5. HBase之HRegionServer启动(含与HMaster交互)
  6. 工欲善其事,必先利其器-Python编辑器选择(2)
  7. 如何开会——高效会议八项原则
  8. Java核心技术及面试指南面试题,基本数据类型、封装类和运算操作的面试题
  9. Java IO API记录
  10. Spring系列之IOC的原理及手动实现