Coder Social home page Coder Social logo

abap-code-search-tools's Introduction

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/*

abap-code-search-tools's People

Contributors

mbtools avatar reichr-dev avatar stockbal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

abap-code-search-tools's Issues

Internal error during ABAP Code Search Query

Hi Ludwig,

it´s me again. Since i updated the Backend for the Code Search Plugin yesterday, the Code Search do not work anymore. The popup appears as usual but, when searching anything this error occurs.

image

May you help here?

Best regards
Julian

Support for MSSQL Databases

Hi Ludwig,
in the newer releases, only HANA and Oracle are supported - I'm not too familiar with "ADBC" so my first question: is it technically possible to get support for MSSQL Databases?

If yes: could you provide a short guideline on what needs to be done to achieve that?
Thanks!

Syntax error in R3 System

Hi Ludwig,

first: thanks for the great plugins and the effort you put in.
I have an issue regarding the abap code search plugin. After installing the backend and the plugin the following error occured:
image
image

I think using offset is not possible in R3.

Maybe you can fix this or provide one branch for R3 and one for S4?

Thank in advance
Julian

Option: use search queries from previous search

Hi Ludwig,
first of all - thanks for the tool, it's a great help.

What would you think about an option to keep the input from the previous search?
A similar option exists for the standard ADT Object search (CTRL+SHIFT+A), the option is called "Use Pattern from Previous Search":

image

Specifically, I'm talking about the search pattern, object name and filters.

I'm not sure how difficult this would be to achieve and it's not super important, just a nice quality of life feature (If you have any pointers, I could even take a look myself ).

Thanks.

Search Includes in Program

Hi Ludwig,

its me again :) is it currently planned from your side to explore includes when searching a string within a program.
This would be very helpful for e.g. SAPMV45A.

Thanks and BR
Julian

Search Objects by Transport Request/Task

Note

As table E071 (Object List of Request/Task) is not easily joinable with TADIR and contains the concrete source already (e.g. conrete changed method) it would perhaps be best to create a specific Object Scope implementation (and/or Query) to realize this feature.

Required Steps

  • Provide Value Help Provider for Transport Request/Task
  • New Scope Implementation to accomodate for new source table E071

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.