CRM WebClient UI里标准configuration和custom configuration区别

89 阅读1分钟

猜想: q system上创建的configuration 一定是customer configuration。

下面是我证实这个猜想的思路:

在QDD上找一个已经有customer configuration的UI component。用ST05找出是哪个表存的configuration的信息。

clipboard1

找到这个table:

clipboard2

对table 选where use list,观察method 名字,设断点

在这里插入图片描述

再次打开UI component configuration, 断点触发。看下面的代码应该猜到了。

在这里插入图片描述

在这里插入图片描述

这里再次体现了 “首先访问C table,再访问S table”的设计思路 – 广泛用在CRM里。
这里能发现,sap configuration 和customer configuration是存在不同的table 里的。

Debug了这么多,实际上都在为一件事情做准备 – 我想找到create configuration的入口。
Step3的12行有一个重要的method。在上面设个断点,然后在workbench 里面选 copy configuration, 断点果然触发了!

clipboard6

clipboard7

clipboard8

clipboard9

[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-F5aMdW2x-1611321838408)(user-images.githubusercontent.com/5669954/588…)]

要获取更多Jerry的原创文章,请关注公众号"汪子熙":