PackagePackagetypeA library you install and call yourself.See every one →What this type is →independently maintainedindependently maintainedoriginPublished by one person or a small company outside SAP. Says nothing about quality; the readings say that.See every one →

abap-code-search-tools

A backend that searches ABAP source objects for a string or regular expression entirely in ABAP, instead of through the ADT source search, used from an Eclipse plugin or the report ZADCOSET_SEARCH.

Searches ABAP source from inside the system, entirely in ABAP and not through the ADT source search: classes, interfaces, programs, type groups, function groups, CDS data definitions, metadata extensions, access controls, behaviour definitions and simple transformations, plus structures from ABAP 7.50 and database tables from 7.52. A search runs as a plain string match or a regular expression, with PCRE where the system supports it, and there is an option to run it in parallel. The report ZADCOSET_SEARCH carries most of the same options, though the README says the main focus of the UI will be ADT, through the separate ABAP Code Search Eclipse plugin. It installs with abapGit, and reaching the backend from ADT needs the authorization object S_ADT_RES scoped to the URI prefix /devepos/adt/cst/*.

Facts

Last pushLicenceMIT

Where it sits

Lives in
Provides
Searching code in a systemABAPSearching code in a systemcapabilityFinding where a string, pattern or name occurs across source code and development objects held in a system. Raising findings against rules is [static analysis](capability:abap-static-analysis); reading an individual change is [code review](capability:abap-code-review).
Requires
abapGitabapGitartifactInstalls the repository into the ABAP system; the README gives abapGit as the install method.

Who is behind it

DevEposDevEposOrganisationMaintains this
In the atlas: maintains 11
@DevEpos
maintainerMarc BernardPersonContributes to this
In the atlas: contributes to 26
@mbtools
reichr-devPersonContributes to this
In the atlas: contributes to 3
@reichr-dev
Ludwig Stockbauer-MuhrPersonContributes to this
In the atlas: maintains 5, contributes to 21
@stockbal
3 contributors

What it declares

Every artifact

Type
Package
Origin
Independently maintained

As a package

Where it runs
Inside its host
Distributed through
abapGit

Connections4

abap-code-search-tools connectionsabap-code-search-toolsPROVIDES→ provides1provides stated Searches ABAP source objects: classes, interfaces, programs, type groups, function groups, CDS data definitions, metadata extensions, access controls, behaviour definitions and simple transformations, plus structures from ABAP 7.50 and database tables from 7.52, for a string or a regular expression, entirely in ABAP and with an option to run in parallel. DevEpos/abap-code-search-tools — README: https://github.com/DevEpos/abap-code-search-tools DevEpos/abap-code-search-tools — README, Description: https://github.com/DevEpos/abap-code-search-toolsSearching code in a systemUSED BY← connected from1connected from derived If: the server-based search mode is used Runs the search inside the ABAP system, so that only the search results travel back to Eclipse. Through: inverted from its connects edge ABAP Code Search | DevEpos — Server-Based: https://devepos.com/projects/adt-plugins/abap-code-search/ABAP Code Searchif← optionally used by1optionally used by derived If: the server-based search mode is used The ADT backend that runs the search inside the system; the documentation states its installation is required for the server-based mode, and that the client-based mode needs only the plugin. Through: inverted from its requires edge ABAP Code Search | DevEpos — Installation, Backend (ABAP): https://devepos.com/projects/adt-plugins/abap-code-search/ ABAP Code Search | DevEpos — Client-Based: https://devepos.com/projects/adt-plugins/abap-code-search/ABAP Code SearchifNEEDS→ needs1needs stated Installs the repository into the ABAP system; the README gives [abapGit](artifact:abapgit-abapgit) as the install method. DevEpos/abap-code-search-tools — README, Installation: https://github.com/DevEpos/abap-code-search-toolsabapGit

README

quoted from DevEpos/abap-code-search-tools under MIT, read
DevEpos/abap-code-search-tools/README.mdOn GitHub

abap package version

ABAP Advanced Code Search Tools

Description

Searches Code in ABAP sources like

  • Classes (CLAS)
  • Interfaces (INTF)
  • Programs (PROG)
  • Type Groups (TYPE)
  • Function Groups (FUGR)
  • Data Definitions (DDLS)
  • Metadata Extensions (DDLX)
  • Access Controls (DCLS)
  • Behavior Definitions (BDEV)
  • Simple Transformations (XSLT)
  • Structures (STRU) --> ABAP 7.50
  • Database Tables (DTAB) --> ABAP 7.52

The search is done entirely via ABAP (as opposed to the ADT Source Search). There is an option to run the search in parallel for better performance

Search features

Search can be done via normal String search or with Regular Expressions. If supported by the system it is also possible to activate PCRE (Perl Compatible Regular Expressions)

UI

You can execute the search via report ZADCOSET_SEARCH, where most of the options are available as well, but the main focus of the UI will be ADT (see ABAP Code Search).

Package overview
  • /src
    Root package which currently also holds the search API
    Important Objects in package:

    Object NamePurpose
    ZCL_ADCOSET_SEARCH_ENGINEAccess point to code search
    ZADCOSET_SEARCHABAP Report for executing the code search
  • /src/adt
    Implementation of the ADT backend

  • /src/parl
    Implementation of parallel processing - needed for the code search

Installation

Install this repository using abapGit.

Choosing the correct branch for your System
NW versionBranch name
≥ 7.51main
7.50nw-740
7.40nw-740
< 7.40Not officially supported

Supported Databases at branch nw-740

A certain part of the implementation for the ABAP releases 7.40 and 7.50 uses ADBC (ABAP Database Connectivity).
Only the following databases are supported at the moment:

  • Oracle
  • SAP HANA
  • Microsoft SQL Server

Necessary Authorizations

To access the backend from ADT a user must have the following authorizations

Authorization ObjectAuthorization FieldValue
S_ADT_RESURI/devepos/adt/cst/*
MIT, read

History

Latest

v1.7.0

Features 3

Notes
  • New source code object type SRVD
  • New search filter 'comp' (Software Component)
  • New search filter 'api' (API State)
  1. v1.6.0

    Features 1

    Notes
    • New source code object types: STRU, DTAB (#23,#24)
  2. v1.5.0

    Features 1

    Notes
    • Search in objects assigned to a chosen Transport Request/Task (#19)
  3. v1.3.1

    Fixes 1

    Notes
    • Fixes error in sequential search
  4. v1.3.0

    Features 2

    Notes
    • DDLS: raw name of entity (STOB) is returned to ADT
    • BDEF: raw name of DDLS (STOB) is returned to ADT
  5. v1.2.1

    Changed 1

    Notes

    ! Adjusted ABAP Tags extension usage due to DDIC changes

  6. v1.2.0

    Features 1

    Notes
    • PROG: add option to expand includes in programs and search them as well
  7. v1.1.0

    Features 2

    Notes
    • The complete snippet of a match is returned if multi-line mode is active
    • The result contains the lines of codes that were searched
  8. v1.0.0

    Features 1

    Notes
    • Initial release
Searching code in a system
  1. sapguiThirty classic transactions rebuilt as abap2UI5 apps
  2. alwinvandeput/zscv_search_cds_viewsIn-system search tool for CDS views
  3. abapwuluRefreshes the where-used list for objects in one package
  4. boy0korea/ZWD_CODE_SCANNERCode scanner for Web Dynpro ABAP
  5. bryanmcain/zcode_scannerEnhancement extending ECC's code scanner to more object types
  6. coreline/ZDDIC_FINDERFinder for ABAP Dictionary objects
  7. ABAP Code SearchEclipse plugin searching ABAP sources from the search dialog
  8. ABAP Search and Analysis ToolsEclipse plugin for ABAP object search and CDS view analysis
  9. abap-search-toolsADT backend for the ABAP Search and Analysis Tools plugin
  10. ABAP remote filesystemVS Code extension editing ABAP systems over ADT as a filesystem
  11. Source Code FinderReport searching ABAP source in methods, enhancements, DTPs and more
  12. sap-russia/ZRS_ABAP_SOURCE_SCANA report that searches code inside modifications and enhancements without depending on SAP HANA.
  13. striezl/VariScanSearch over ABAP program variants for a value or pattern

Details

Sources3
Added by handdiscovered herechecked
github.com/DevEpos/abap-code-search-toolstree, pushes, contributors, CIchecked
README.mdquoted, and what the entry declareschecked

Sources are graph entities: the same page may back several entries, and an unreachable source flags every row that rests on it.

Compatibility and provenance
discovered viaAdded by hand
first seen in the atlas
ecosystem and domainabap, developer-experience
abaplint
issues under its own abaplint configuration2,024
lines10,143
statements5,562
objects100
files180
analysed, main
abaplint version2.120.84
Flavors1
Standard ABAP
“![](https://img.shields.io/badge/ABAP-v7.40+-green)” — DevEpos/abap-code-search-tools — README, badgeschecked
Contributors3

From the repository’s contributor list, .

History in the atlas1
  1. First seen.
For your agent
Ref
artifact:devepos-abap-code-search-tools
JSON
/artifacts/devepos-abap-code-search-tools.json
MCP
Connecting an agent