Searching code in a system

Finding where a string, pattern or name occurs across source code and development objects held in a system. Raising findings against rules is static analysis; reading an individual change is code review.

Overview

Finding where a string, a pattern or a name occurs across what an ABAP system holds: source in programs, classes, enhancements and CDS definitions, and also program variants and dictionary objects, searched inside the system and not in files on disk. Raising findings against a rule is static analysis; reading one change is code review.

SAP SHIPS

The ABAP Source Search in ADT finds text in source-based repository objects and message classes once the SRIS_SOURCE_SEARCH business function is active, and the report RS_ABAP_SOURCE_SCAN searches ABAP source from SAP GUI.

Not covered: At source text. The ADT page names no search over program variants or dictionary objects, and its index needs the business function and at least 10 GB of free database memory before it runs.

The community adds source search by string or regular expression over further object types, in Eclipse with ABAP Code Search and in Visual Studio Code with ABAP remote filesystem; a search for repository objects by type with ABAP Search and Analysis Tools; scanners that run as reports in SAP GUI; a search over program variants with VariScan; and a rebuild of a package's where-used list with abapwulu. RS_ABAP_SOURCE_SCAN is sourced from a community README that names it, not from SAP documentation. How the community tools relate to either SAP search has not been assessed.

Artifacts14

14 of 14 artifacts
ArtifactSignals
Apps6
alwinvandeput/zscv_search_cds_viewsIn-system search tool for CDS views
Signals
Quiet
boy0korea/ZWD_CODE_SCANNERCode scanner for Web Dynpro ABAP
Signals
Quiet
coreline/ZDDIC_FINDERFinder for ABAP Dictionary objects
Signals
Quiet
sap-russia/ZRS_ABAP_SOURCE_SCANA report that searches code inside modifications and enhancements without depending on SAP HANA.
Signals
Quiet
sapguiThirty classic transactions rebuilt as abap2UI5 apps
Signals
Functional boundary
Source Code FinderReport searching ABAP source in methods, enhancements, DTPs and more
Signals
Quiet
CLI tools2
abapwuluRefreshes the where-used list for objects in one package
Signals
none
striezl/VariScanSearch over ABAP program variants for a value or pattern
Signals
Quiet
IDE extensions3
ABAP Code SearchEclipse plugin searching ABAP sources from the search dialog
Signals
Functional boundary
ABAP remote filesystemVS Code extension editing ABAP systems over ADT as a filesystem
Signals
none
ABAP Search and Analysis ToolsEclipse plugin for ABAP object search and CDS view analysis
Signals
Functional boundary
Packages3
abap-code-search-toolsIn-system ABAP source search by string or regular expression
Signals
none
abap-search-toolsADT backend for the ABAP Search and Analysis Tools plugin
Signals
none
bryanmcain/zcode_scannerEnhancement extending ECC's code scanner to more object types
Signals
none

Content1

Group by
Piece, what it offers
A Handy Custom Report to Scan SAP CDS Views for Usage of Search Strings
SAP Community, shasankgupta024, Blog

Details

Coverage
statecore and community, ABAP
assessed
relationshipunassessed
For your agent