SAP S/4HANA key user tool extensibility原理

Reasons of different behavior in “UI and Reports” list

The problem is that different systems UIs and Reports in the display logic is not the same. On GRE210 even XT9 / 715, which will only show OData out, I debug the front and back, Usage data is returned in the background, explain this to do in business context PRODUCT of the extension field can be added to the view I_PRODUCTWD, because it is AvailablityCode Y

And all I CDS and related usageTypeCode are - so were all filter out. To take another system QJ3 / 500, where all can show the field usage, not just the U. This QJ3 / 500 is a sandbox system, today hung up, I can not go look at the code, I would like to ask in the end, what is the working behavior as designed in

In system A, you can only get 5 entries in UI and Reports list:

In system B, there are much more entries:

how to debug this difference:搞懂了哈, 从代码推断只有这里 UI,Report 里为 X 的 CDS view 才会出现在 Fiori UI 的 tab 里。在 XT9/715( S4 on premise )所有和 product 相关的 CDS view 都是 false,所以看不到。而另外一个 S4 on cloud 系统里,和 product 相关的 CDS view 都是 true。 所以结论是两个系统的 behavior 都是正确的,只是因为 reigstry 里设置 不一样,所以最后在 UI list 里显示的东西也不一样。

系统1:

系统2:

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

发布了6389 篇原创文章 · 获赞 621 · 访问量 101万+

Guess you like

Origin blog.csdn.net/i042416/article/details/104056482