使用ST05 研究product extension field deletion

98 阅读1分钟

Created by Jerry Wang, last modified on Apr 29, 2014

在使用AET 创建product search structure上的extension field之后,能够在SE11里查看extension field对应的technical name ( column Component ) 和data type 

( Component Type ).

clipboard1

 

component type会作为attribute assign 到settype CRM_EXT_MAT里: 

clipboard2

 

Extension field name 和data type的relationship在如下的customizing activity里能查看和调整:

clipboard3

 

clipboard4

 

 

我们发现每当删除一个extension field,上述table crmc_prsea_attr的对应entry也会自动被删除。下面是如何使用ST05找到AET 框架里删除table entry的代码:

  

1. 使用AET 点"Deletion" button 删除一个extension field:

clipboard5

 

在点Save and Generate 之前,使用ST05 进入trace mode:

clipboard6

 

2. field 删除成功之后使用ST05关闭trace,在显示trace时加上CRMC* 限制条件:

clipboard7

 

显示两条entry,点击F5即能navigate到删除table entry的ABAP code: 

clipboard8

 

clipboard9

 

3. 设断点,再到UI上重复操作一次即可看到删除table entry的上下文:

clipboard10