Skip to content

DevEpos/abap-code-search-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

abap package version

abap-code-search

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)

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 Name Purpose
    ZCL_ADCOSET_SEARCH_ENGINE Access point to code search
    ZADCOSET_SEARCH ABAP 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 version Branch name
≥ 7.51 main
7.50 nw-740
7.40 nw-740
< 7.40 Not 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 Object Authorization Field Value
S_ADT_RES URI /devepos/adt/cst/*