二维码

MARA-VPSTA/PSTAT维护全部物料状态,标记物料启用哪些视图

Twilight发表于 2019-07-31 14:50有好感 最后回复于 2021-02-16 03:01 [复制链接] 2610 1

场景:需要查询启用采购视图的物料,参与采购流程

物料视图有15种维护状态,可用使用MM50扩充物料视图查看
MM50_VIEW.jpg
这些维护状态拼成字符串存储在MARA-PSTAT/PSTAT中,表示物料启用了哪些视图,具体如下:
  • MARA-VPSTA- tells you all the views that have been created for the material. and Plant Stock and Storage Location stock views get created automatically.
  • MARA-PSTAT - tells you the views that have been created manually.
  • MARC-PSTAT - tells you the view created manually, relevant to Plant
  • MARD-PSTAT - tells you the view created manually, relevant to Storage Location data (Storage)
  • MBEW-PSTAT - tells you the view created manually, relevant to Finance (Accounting and Costing)

程序判断方法:
  1. marc-pstat CA 'E'    "启用了采购视图的物料
  2. marc-pstat CA 'EV'   "启用了采购视图或销售视图的物料
复制代码
回复

使用道具 举报

有好感
看禁闻http://git.io/gzzzz 点击访问
回复

使用道具 举报

快速回帖

本版积分规则
您需要登录后才可以回帖 登录 | 注册有礼

快速回复 返回顶部 返回列表