Skip to Content
author's profile photo Former Member
Former Member

Search for a string in all ABAP source

Dear colleagues,

seems to be an elementary question, but after an hour of struggeling Im not wiser: how to search for a string in ALL available ABAP source (SAP and custom, all kinds of application's BSP's, WDA's, FPM, reports etc)? At the end Im looking for a pendant to Eclipse search (Ctrl + H).... Thank you,

cheers

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 11, 2016 at 09:13 AM

    Program RS_ABAP_SOURCE_SCAN would be my first choice, but maybe it's not a complete search

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 11, 2016 at 09:21 AM

    I've written a demo for ABAP News for Release 7.50 - SELECT UNION that you can adapt (after getting the names, -> READ REPORT, FIND IN TABLE IGNORING CASE) 😉

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      This looks rather like a working solution. Indeed, do I really need programming work every time I need to do a search? Almost cant belive it, comprehensive search in source is a very basic functionality imho... This will work for me, but I guess its not practicable for daily business. Thank you,

      cheers

  • Posted on Aug 11, 2016 at 11:09 AM

    Try Search for ABAP Tokens in Search Functions of Code Inspector (Tcode SCI).

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 11, 2016 at 12:38 PM

    Dear Lawrence,

    you can try transaction CODE_SCANNER. It is renamed to ABAP search in newer releases. This searches in ABAP Sources only. Probably in generated WD interfaces/classes also. The WD and FPM configurations are however XML files as far as I know,so I do not think, there is any program, which does such kind of search. Regarding BSP, where the controllers are ABAP classes, so you'll find probably what you want. The pages and scripts I do not know, maybe these are stored in MIME repository somewhere.

    Regards

    Attila

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      cant search in WDA e.g., doesnt help. As I mentioned I need to search all kinds of applications. Will also run in time out exception by regular use, seems needs also background processing. Thank you anyway

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.