日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

ABAP代码静态分析工具SQF - Support Query Framework

發布時間:2023/12/19 编程问答 29 豆豆
生活随笔 收集整理的這篇文章主要介紹了 ABAP代码静态分析工具SQF - Support Query Framework 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

如果系統里沒有SQF這個tcode,可以參考note 1814328: SQF: Plug-In for Source Code Scans進行安裝。

ABAP static analysis tool SQF is a static code analysis tool developed in package SUPPORT_QUERY_FRAMEWORK in software component SAP_BASIS.

It contains lots of handy tool or short cut to other system utility tools. The most attractive function which is worthy to put it into my toolset is the static code analysis.

  • use tcode SQF, double click on “Source code Analysis”
  • Maintain the ABAP object which you would like to do static analysis.
  • In this example it is function module CRM_PRODUCT_GETLIST2. Specify the object type as well, which could be found in table TADIR.
    The Analysis Depth 6 means: for example in the implementation of the FM, it calls another FM or subroutine, these delegated calls will also be analyzed by the tool. Say FM calls A and A calls B, B calls C, C calls D, D calls E, E calls F and F calls G, depth = 6 means any further calls starting from F calls G will be ignored.

  • Click save button and it is automatically navigated back to SQF main view. Click F8 to execute.
  • The progress will be displayed in the bottom, the bigger size of depth specified, the more time the analysis will take.

    After execution, the color of icon changes from white to blue, which means the analysis result is available.

  • The analysis results are categorized into four groups:
  • a. Call hierarchy, something like the one in SAT.

    b. the table read access in static call. Those table read access done via dynamic coding will be listed in group d.

    Compare with DB access list analyzed by runtime trace SAT, there are far more entries than the static one. This is not surprising, as in CRM product, the set type access is implemented in a highly dynamic way.

    c. interface call:

    d. Dynamic coding

    要獲取更多Jerry的原創文章,請關注公眾號"汪子熙":

    總結

    以上是生活随笔為你收集整理的ABAP代码静态分析工具SQF - Support Query Framework的全部內容,希望文章能夠幫你解決所遇到的問題。

    如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。