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

推荐订阅源

Martin Fowler
Martin Fowler
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
IT之家
IT之家
美团技术团队
酷 壳 – CoolShell
酷 壳 – CoolShell
Y
Y Combinator Blog
T
Tailwind CSS Blog
D
Docker
博客园 - Franky
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Google DeepMind News
Google DeepMind News
腾讯CDC
Vercel News
Vercel News
Engineering at Meta
Engineering at Meta
U
Unit 42
The Cloudflare Blog
S
SegmentFault 最新的问题
WordPress大学
WordPress大学
爱范儿
爱范儿
Recent Announcements
Recent Announcements
博客园 - 聂微东
博客园 - 叶小钗
H
Help Net Security
MyScale Blog
MyScale Blog

博客园 - 在天空滑翔

Material X does not have packaging material type and is therefore not a pack.mat. - 在天空滑翔 Why do people stay in a company PDF To Excel Converter - 在天空滑翔 备份文件,并且保留权限 SRM 一点笔记 HUM [ZT]如何实现打印输出到Adobe PDF格式文件 TCode: SGEN 物料主数据中Valuation Class的确定过程 几个常用的MM报表T-Code scc4查看系统安装了多少个client variant configuration 被搁浅 最近学习 variant configuration Storage bin Plant相关的几个概念 SAP Best Practices 简要介绍 MMAM to change the material type for an existing material. [SAP]业务区域的帐确定 SD中几种特殊的财务处理概念
LSMW one tip - 字段定义
在天空滑翔 · 2008-07-17 · via 博客园 - 在天空滑翔

在用lsmw导销售订单的时候,Header和Item都有INCO term的字段,本来定义成一样的名称了。
发现总是读不到Item 的数据,就去读了一下读程序的代码,

发现,寻找的时候,是按照如下三个字段匹配,这个不是我们所希望看到的。

总结出一个原则:父子节点的字段名字最好不要重复,除非需要重复的,例如下边的HeadID就是为了指定哪些子节点和哪个夫节点对应。
 
Generate Read Program

loop at ORDER_ITEM
      where HEADID =
          ORDER_HEADER-HEADID
        and INCO1 =
          ORDER_HEADER-INCO1
        and INCO2 =
          ORDER_HEADER-INCO2
        .