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

推荐订阅源

Google DeepMind News
Google DeepMind News
F
Fortinet All Blogs
量子位
G
Google Developers Blog
J
Java Code Geeks
N
Netflix TechBlog - Medium
博客园 - 聂微东
宝玉的分享
宝玉的分享
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
月光博客
月光博客
The Cloudflare Blog
Apple Machine Learning Research
Apple Machine Learning Research
爱范儿
爱范儿
雷峰网
雷峰网
M
MIT News - Artificial intelligence
T
Tailwind CSS Blog
V
Visual Studio Blog
阮一峰的网络日志
阮一峰的网络日志
博客园 - 三生石上(FineUI控件)
Microsoft Azure Blog
Microsoft Azure Blog
aimingoo的专栏
aimingoo的专栏
Martin Fowler
Martin Fowler
有赞技术团队
有赞技术团队
T
The Blog of Author Tim Ferriss

博客园 - 在天空滑翔

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
        .