惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Google DeepMind News
Google DeepMind News
N
Netflix TechBlog - Medium
The Register - Security
The Register - Security
C
Cybersecurity and Infrastructure Security Agency CISA
H
Hackread – Cybersecurity News, Data Breaches, AI and More
The Hacker News
The Hacker News
P
Proofpoint News Feed
Project Zero
Project Zero
The GitHub Blog
The GitHub Blog
The Last Watchdog
The Last Watchdog
F
Fortinet All Blogs
S
Schneier on Security
Help Net Security
Help Net Security
Security Archives - TechRepublic
Security Archives - TechRepublic
C
Check Point Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
P
Proofpoint News Feed
I
InfoQ
T
The Blog of Author Tim Ferriss
Cisco Talos Blog
Cisco Talos Blog
Stack Overflow Blog
Stack Overflow Blog
T
Troy Hunt's Blog
人人都是产品经理
人人都是产品经理
T
Threatpost
www.infosecurity-magazine.com
www.infosecurity-magazine.com
C
Cyber Attacks, Cyber Crime and Cyber Security
雷峰网
雷峰网
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
爱范儿
爱范儿
Forbes - Security
Forbes - Security
Vercel News
Vercel News
S
Security Affairs
美团技术团队
P
Privacy & Cybersecurity Law Blog
N
News and Events Feed by Topic
Cyberwarzone
Cyberwarzone
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Jina AI
Jina AI
Spread Privacy
Spread Privacy
Attack and Defense Labs
Attack and Defense Labs
IT之家
IT之家
U
Unit 42
Recorded Future
Recorded Future
W
WeLiveSecurity
PCI Perspectives
PCI Perspectives
P
Palo Alto Networks Blog
H
Hacker News: Front Page
S
Security @ Cisco Blogs
博客园 - 【当耐特】

博客园 - 知秋一叶

透视ERP增强 SAP ABAP 点滴记录 BADI查找方法 PP几个表关系 SAP/SD - 做SD你要知道的透明表 内表转WORD一法, 可以调用WORD做报表了 SD--va01的屏幕增强 关于SmartForm和ScriptForm的输出格式设置说明 ABAP常用系统变量 ABAP日期函数 sap库存相关表 IDOC实例, Outbound IDOC Aix命令:列出使用内存和Cpu前几位的进程 Provider 错误 '80004005' 未指定的错误 的最终解决方法 SAP取消的凭证信息表 sap转换成基本订单单位 - 知秋一叶 - 博客园 sqlserver实现网络备份 js常用资料 经典正则表达式 (收藏整理)
计算BOM函数
知秋一叶 · 2010-10-15 · via 博客园 - 知秋一叶

 call function 'CS_BOM_EXPL_MAT_V2'
    exporting
      capid                 = 'PP01'           " BOM应用
      cuobj                 = '000000000000000000'
      datuv                 = '20101013'          "有效起始日
      emeng                 = '1'    "需求数量
      mktls                 = 'X'
      mehrs                 = 'X'               "多层展开
      mtnrv                 = '12345678-1'         "wa_vbeln-matnr "展开物料号
      stlal                 = '1'               "BOM用途
      stlan                 = '1'               "BOM用途
      stpst                 = '0'               "BOM用途
      svwvo                 = 'X'
      werks                 = '2217'         "物料所在工厂
    tables
      stb                   = it_bom
      matcat                = it_matcat
    exceptions
      alt_not_found         = 1
      material_not_found    = 3
      missing_authorization = 4
      no_bom_found          = 5
      others                = 9.
  loop at it_bom into wa_bom.
  endloop.
  if sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  endif.

posted @ 2010-10-15 14:17  知秋一叶  阅读(538)  评论()    收藏  举报

Tags





<%--先添加两个div用作标签的容器和临时容器--%>