`
JerryWang_SAP
  • 浏览: 1061751 次
  • 性别: Icon_minigender_1
  • 来自: 成都
文章分类
社区版块
存档分类
最新评论

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.

  1. use tcode SQF, double click on “Source code Analysis”

 

  1. 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.

  1. 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.

  1. 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的原创文章,请关注公众号"汪子熙":

0
0
分享到:
评论

相关推荐

    -----ABAP FAQs--------------------------------------------

    -----ABAP FAQs--------------------------------------------

    SAP ABAP 实例13-19章-2

    SAP ABAP 实例13-19章-2,由于太大,只能分两个文件传

    CD260-ABAP-in-Eclipse-开发-CN

    CD260-ABAP-in-Eclipse-开发-CN CD260-ABAP-in-Eclipse-开发-CNCD260-ABAP-in-Eclipse-开发-CNCD260-ABAP-in-Eclipse-开发-CN

    sap abap query高级功能

    SAP ABAP Query 是 SAP 系统中一种用于创建自定义报表的强大工具,尤其适合那些对 SQL 不太熟悉或者没有数据库直接访问权限的用户。它提供了丰富的功能,使得开发人员可以构建复杂的数据查询,而无需编写大量的 ABAP...

    CD262-CN-CD262-调准你的定制化ABAP代码-–-为SAP-HANA做准备.pdf

    这些工具可以进行静态代码检查,以及监控和调试SQL性能,从而帮助开发者修正问题并优化代码。 6. SAP的声明:文档中声明了该演示文稿只是概述了SAP的一般产品方向,不应依赖此进行购买决策。文档提供的信息没有获得...

    ABAP751 ABAP - Keyword Documentation

    ABAP - Keyword Documentation This documentation describes the syntax and meaning of the keywords of the ABAP language and its object-oriented part ABAP Objects. Alongside this, language frameworks ...

    《ABAP开发要点---PP模块》

    ### ABAP开发要点——PP模块 #### 概述 在SAP系统中,PP(Production Planning)模块主要用于处理企业的生产规划与控制业务。对于从事ABAP(Advanced Business Application Programming)开发的技术人员而言,掌握...

    HANA STUDIO ABAP DEVELOPMENT TOOL本地插件下载-ADT

    标题中的“HANA STUDIO ABAP DEVELOPMENT TOOL”是指SAP HANA Studio中的一个特定模块,专门用于ABAP(Advanced Business Application Programming)开发。SAP HANA Studio是SAP HANA平台的一个集成开发环境(IDE)...

    ABAP开发从入门到精通-高清自学版 SAP+ABAP开发从入门到精通 SAP开发自学必读 SAP SAP开发自学入门到精通

    此外,还需要掌握ABAP工作区的概念,这是在ABAP程序中进行数据处理的主要工具。 随着学习的深入,会涉及ABAP的数据存储,如数据库表(内部表和透明表)的创建和操作,以及如何使用ABAP的数据访问语法来与数据库交互...

    ABAP4培训手册-SAP-ABAP开发顾问专用手册

    【ABAP4培训手册-SAP ABAP开发顾问专用手册】是专为SAP ABAP开发顾问设计的学习资源,旨在帮助学员全面掌握ABAP/4编程语言。本手册详细介绍了ABAP/4的基础语法、SQL使用、对话编程以及高级概念,为6天的培训课程提供...

    abap代码检查规范

    abap代码规范,高效abap、modern abap

    SAP ABAP ZALSM-EXCEL-TO-INTERNAL-TABLE 完整实施附件(源代码、说明)

    4. **源代码分析**: 深入分析 ZALSM_EXCEL_TO_INTERNAL_TABLE 的源代码,可以了解其具体实现细节,如如何处理头行、如何映射列到 SAP 内部表字段、如何处理错误等。源代码中可能会包含错误检查和异常处理机制,...

    ABAP官方教程---BC400_EN_46D_FV

    3. ABAP Workbench: ABAP工作台是SAP ABAP开发的核心环境,提供了开发、测试、调试ABAP程序的各种工具和功能。 4. Foundations and Concepts: 这部分强调了基础和概念的重要性,表明教程可能主要集中在基础知识点和...

    ABAP FIELD-SYMBOLS 学习资料

    总结来说,ABAP中的FIELD-SYMBOLS是一个强大的工具,它可以动态地适应各种数据类型和结构,提高了程序的灵活性。但是,使用时需要注意类型匹配、数据长度和结构兼容性等问题,以避免潜在的运行时错误。熟练掌握FIELD...

    SAP ABAP 代码备份下载到本地程序代码

    SAP ABAP 代码备份下载到本地程序代码

    SAP-ABAP-OO-实现-CL-SALV-TABLE

    ### SAP-ABAP-OO 实现 CL-SALV-TABLE 的关键知识点 #### 1. ABAP 面向对象的 ALV 显示方法 在 SAP 的 ABAP 环境中,ALV (Application List Viewer) 是一种非常常用的技术,用于在屏幕上以表格的形式展示数据。传统...

    SAP ABAP 开发环境和开发工具介绍

    * 编译器:提供了一个编译工具,开发者可以使用它来编译 ABAP 代码。 * 其他工具:提供了其他工具,例如代码检查工具、性能优化工具等。 ADT 介绍 ADT(ABAP Development Tools)是 SAP 系统中的一款开发工具,...

    ABAP运行时间分析工具_SE30.docx

    使用ABAP运行时间分析工具SE30优化程序,通过二八分析原理,进行程序的优化,做到以最快的时间,获得最大的效果

    eclipse-abap-keywordcolors-master.rar

    eclipse-abap-keywordcolors eclipse-abap-关键字颜色

Global site tag (gtag.js) - Google Analytics