一区二区三区日韩精品-日韩经典一区二区三区-五月激情综合丁香婷婷-欧美精品中文字幕专区

分享

SAP WebClient UI源代碼搜索工具

 汪子熙 2020-08-27

The source code scan report RS_ABAP_SOURCE_SCAN ( or transaction code CODE_SCANNER ) is a good tool for ABAPers.

In my Webclient UI development life, I would also expect that there is also a similar tool which enable the scan on html source code of ui component view, forexample I want to search by keyword “ActiveXObject” to get a list of ActiveX control used in Javascript code.

Why RS_ABAP_SOURCE_SCAN could not support html source code scan

In the beginning I plan to enhance RS_ABAP_SOURCE_SCAN instead of development a new tool. All the objects( class, report, function module) which supported by this tool could have their source code read out via keyword READ REPORT.

this is not the case for handler class of ui component view. Although you could still set breakpoint on the ABAP code in view handler class and debug them,

however they are stored in a difference way than normal ABAP class /report, thus it is not possible to fetch their source code from repository via READ REPORT. Besides that you can easily observe the page editor are quite different from normal ABAP Editor for class/report/function module, which means if I enhance RS_ABAP_SOURCE_SCAN, I also need to enhance the navigation logic after I double click on the result list to see the source code in ABAP editor. So finally I decide to develop a tool on my own.

Develop a tool to allow scan on UI component view source code

There are only two parameters for code scan: Search keyword and UI component whose BSP view’s html source you expect to scan.

You could specify multiple UI component via selection options:

The search result is displayed in ALV. Double click on result row,

and it will automatically navigate to the BSP view editor with the very line which contains the search keyword being highlighted as below:

This tool has simple input and output UI, but it has already 100% fulfilled my html source code scan requirement.

How to make this tool run on your laptop

create a new Z report and copy the source code from attached text file. This tool contains the following parts:

(1) an executable report zbsp_code_view (2) a global class ZCL_BSP_CODE_TOOL (3) a function module ZCALL_EDITOR. Of course you should also have a function group, in my case it is named as zbspeditor. (4) a new screen 0101 used in FM ZCALL_EDITOR. Flow logic:

Element list:

layout design:

Feel free to adapt this tool to meet your own requirement

    轉(zhuǎn)藏 分享 獻(xiàn)花(0

    0條評論

    發(fā)表

    請遵守用戶 評論公約

    類似文章

    欧美欧美欧美欧美一区| 亚洲国产色婷婷久久精品| 国产又粗又猛又爽又黄| 国产不卡在线免费观看视频| 麻豆看片麻豆免费视频| 欧美日韩国内一区二区| 夜夜嗨激情五月天精品| 一区二区不卡免费观看免费| 午夜福利黄片免费观看| 美女黄片大全在线观看| 91人妻人人精品人人爽| 亚洲欧美日韩综合在线成成| 色综合伊人天天综合网中文| 中文字幕区自拍偷拍区| 国产精品视频一区二区秋霞 | 日本不卡在线一区二区三区| 久热久热精品视频在线观看| 肥白女人日韩中文视频| 夫妻性生活真人动作视频 | 91天堂素人精品系列全集| 日韩专区欧美中文字幕| 国产a天堂一区二区专区| 亚洲熟妇中文字幕五十路| 日本女优一色一伦一区二区三区 | 国产中文字幕久久黄色片| 亚洲一区在线观看蜜桃| 91精品日本在线视频| 欧美日韩国产亚洲三级理论片| 蜜桃臀欧美日韩国产精品| 精品国产av一区二区三区不卡蜜| 激情丁香激情五月婷婷| 国产不卡视频一区在线| 男女午夜在线免费观看视频| 欧美小黄片在线一级观看| 九九热这里有精品20| 国产又粗又猛又爽又黄| 成年女人下边潮喷毛片免费| 在线视频免费看你懂的| 亚洲男女性生活免费视频| 日韩不卡一区二区视频| 午夜免费精品视频在线看|