https://github.com/furkancosgun/abap-sniffer
ABAP Sniffer is an ABAP-based tool for scanning various SAP program objects (such as reports, function groups, classes, interfaces, enhancements, etc.) to find occurrences of specific patterns in the code.
https://github.com/furkancosgun/abap-sniffer
abap abapgit code codescanner search
Last synced: 26 days ago
JSON representation
ABAP Sniffer is an ABAP-based tool for scanning various SAP program objects (such as reports, function groups, classes, interfaces, enhancements, etc.) to find occurrences of specific patterns in the code.
- Host: GitHub
- URL: https://github.com/furkancosgun/abap-sniffer
- Owner: furkancosgun
- License: mit
- Created: 2024-12-01T10:29:20.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-12-09T18:17:48.000Z (4 months ago)
- Last Synced: 2025-03-26T04:17:11.653Z (26 days ago)
- Topics: abap, abapgit, code, codescanner, search
- Language: ABAP
- Homepage:
- Size: 26.4 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ABAP Sniffer (Code Scanner)
**ABAP Sniffer** is an ABAP-based tool for scanning various SAP program objects (such as reports, function groups, classes, interfaces, enhancements, etc.) to find occurrences of specific patterns in the code.
## Features
- **Search Across Multiple Object Types:** The tool can search through reports, function groups, classes, interfaces, enhancements, and more.
- **Pattern Matching:** Supports both plain text and regular expression search.## Usage
To use **ABAP Sniffer**, follow these steps:
1. **Run the Program**
- Execute the program **ZABAP_P_SNIFFER** from transaction `SE38`.2. **Configure Search Parameters**
- Specify the required search parameters in the selection screen:
- **Pattern:** Enter the text or regular expression to search for in the source code.
- **Program Type & Name:** Filter the search by report type or name.
- **Package:** Restrict the search to specific SAP packages.
- **Function/Function Group:** Limit the search to specific function groups or function names.
- **Class/Interface:** Search within specific classes or interfaces.
- **Enhancement:** Include specific enhancement points in the search.
- **With Modifications:** Optionally include modifications made to standard objects.3. **Execute the Search**
- Press the **Execute** button to start the scanning process.4. **View Results**
- The results will be displayed in a hierarchical ALV table. Use the links to navigate directly to the relevant source code lines.## Installation
You can install ABAP Sniffer using one of the following methods:
### 1. Using ABAPGit
- Install **ABAPGit** in your SAP system if it's not already installed.
- Open the **ABAPGit** application in your system.
- Clone the repository URL of this project into **ABAPGit**.
- Pull the code into your system. **ABAPGit** will automatically create the necessary objects in your package.### 2. Manual Installation
- Copy the main program **[ZABAP_P_SNIFFER](src/zabap_p_sniffer.prog.abap)** and its associated objects.
- Go to transaction **SE38** in your SAP system.
- Create a new program named **ZABAP_P_SNIFFER**.
- Paste the code into the editor and activate it.## License
This tool is released under the **MIT License**. See the [LICENSE](LICENSE) file for more details.