Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/devepos/abap-code-search-tools
ABAP Code Search
https://github.com/devepos/abap-code-search-tools
abap adt code-search tools
Last synced: 2 months ago
JSON representation
ABAP Code Search
- Host: GitHub
- URL: https://github.com/devepos/abap-code-search-tools
- Owner: DevEpos
- License: mit
- Created: 2021-03-09T13:39:59.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-05-30T20:45:18.000Z (7 months ago)
- Last Synced: 2024-09-27T13:21:13.185Z (3 months ago)
- Topics: abap, adt, code-search, tools
- Language: ABAP
- Homepage:
- Size: 436 KB
- Stars: 22
- Watchers: 4
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: changelog.txt
- License: LICENSE
Awesome Lists containing this project
README
![](https://img.shields.io/badge/ABAP-v7.40+-green)
[![abap package version](https://img.shields.io/endpoint?url=https://shield.abap.space/version-shield-json/github/DevEpos/abap-code-search-tools/src/zif_adcoset_version.intf.abap/version&label=version)](https://github.com/DevEpos/abap-code-search-tools/blob/main/src/zif_adcoset_version.intf.abap)# abap-code-search
ABAP Advanced Code Search Tools
## Description
Searches Code in ABAP sources like
- [X] Classes (CLAS)
- [X] Interfaces (INTF)
- [X] Programs (PROG)
- [X] Type Groups (TYPE)
- [X] Function Groups (FUGR)
- [X] Data Definitions (DDLS)
- [X] Metadata Extensions (DDLX)
- [X] Access Controls (DCLS)
- [X] Behavior Definitions (BDEV)
- [X] Simple Transformations (XSLT)
- [X] Structures (STRU) --> ABAP 7.50
- [X] Database Tables (DTAB) --> ABAP 7.52The 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](https://github.com/DevEpos/eclipse-adt-plugins/tree/main/features/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](https://github.com/abapGit/abapGit#abapgit).
### Choosing the correct branch for your System
| NW version | Branch name |
| ------------ | ----------------------------------------------------------------------- |
| ≥ 7.51 | **main** |
| 7.50 | [nw-740](https://github.com/DevEpos/abap-code-search-tools/tree/nw-740) |
| 7.40 | [nw-740](https://github.com/DevEpos/abap-code-search-tools/tree/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/* |