# 自己实现一个SAP WebClient UI Repository Information System

+关注继续查看

For traditional ABAP artifact we have a handy tool Repository Information System in SE80 which can help us to efficiently locate the objects according to various search criteria.

For example, see my blog A small tip to find message id and number by repository information system.

However, for CRM WebUI Component, it is not supported by this information system. Several days ago I was asked by my colleague to provide him a list of all UI Component which have utilized the Genil model node “Product”.

Requirement: find all UI components which have context node bound to Genil model node “Product”.

Since there is no existing tool, so I write one.

Use this report, first I get a list of all UI component context node class from table vseoextend based on the assumption that a class could be considered as context node class as long as it inherits from super class CL_BSP_WD_CONTEXT_NODE.

The name of bound Genil model name is stored in attribute BASE_ENTITY_NAME of context node class.

So I finally store context node class name and bound Genil model node name to an Z table:

Now I run report and can simply query the Z table via BOL_NODE_NAME = Product:

And get to know that in my system there are totally 673 context node which are bound to Product Genil model node.

Since my colleague needs the UI component name, so I wrote another report to extract the UI component name based on context node class name:

Now the internal table lt_app contains the concrete information of UI component name and view name which the context node is in.

10020 0

26776 0

11588 0

13823 0
windows server 2008阿里云ECS服务器安全设置

9154 0

4653 0

22364 0
+关注
2628

0

+ 订阅

《2021云上架构与运维峰会演讲合集》

《零基础CSS入门教程》

《零基础HTML入门教程》