CRM WebClient UI里标准configuration和custom configuration区别
2023-09-14 09:03:06 时间
猜想: q system上创建的configuration 一定是customer configuration。
下面是我证实这个猜想的思路:
在QDD上找一个已经有customer configuration的UI component。用ST05找出是哪个表存的configuration的信息。
![](https://user-images.githubusercontent.com/5669954/58806350-91006400-8648-11e9-9739-6df6556f5711.png)
找到这个table:
![](https://user-images.githubusercontent.com/5669954/58806355-92319100-8648-11e9-91cf-eb534ae51656.png)
对table 选where use list,观察method 名字,设断点
![](https://user-images.githubusercontent.com/5669954/58806356-92ca2780-8648-11e9-80eb-ca6c7fe4e269.png)
再次打开UI component configuration, 断点触发。看下面的代码应该猜到了。
![](https://user-images.githubusercontent.com/5669954/58806357-9362be00-8648-11e9-80b7-1d1a8b21c24a.png)
![](https://user-images.githubusercontent.com/5669954/58806358-93fb5480-8648-11e9-8490-ea2da66cf621.png)
这里再次体现了 “首先访问C table,再访问S table”的设计思路 – 广泛用在CRM里。
这里能发现,sap configuration 和customer configuration是存在不同的table 里的。
Debug了这么多,实际上都在为一件事情做准备 – 我想找到create configuration的入口。
Step3的12行有一个重要的method。在上面设个断点,然后在workbench 里面选 copy configuration, 断点果然触发了!
![](https://user-images.githubusercontent.com/5669954/58806360-95c51800-8648-11e9-9aee-ed345fa479fc.png)
![](https://user-images.githubusercontent.com/5669954/58806361-965dae80-8648-11e9-958c-7d61f8e50dc7.png)
![](https://user-images.githubusercontent.com/5669954/58806363-978edb80-8648-11e9-8af6-88f20a0f9b6f.png)
![](https://user-images.githubusercontent.com/5669954/58806364-98277200-8648-11e9-8a56-e3739be70298.png)
![](https://user-images.githubusercontent.com/5669954/58806365-98c00880-8648-11e9-8c93-4de98766a4cf.png)
[外链图片转存失败(img-DZX6jjQn-1566608788664)(https://upload-images.jianshu.io/upload_images/2085791-dcc88e58a67cac8c.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)]要获取更多Jerry的原创文章,请关注公众号"汪子熙":