Skip to Content
avatar image
Former Member

Search ABAP programs, Functions, Tables

Hi ,

I need your help, I am trying to find out the best ways to search inside ABAP programs, Functions and Tables.

for the ABAP programs:

Scan across multiple programs:

I am using RS_ABAP_SOURCE_SCAN but it is very slow and actually crashes when you want to search the entire system.

Scan inside Single Program :

SE38 -> Utilities Menu -> Find in source code

for Functions:

I am using SE37, Utilities Menu ->Find . I can only search inside function names or descriptions , but not for the actual code of the function.

I need your suggestions regarding the best ways to search inside ABAP programs, Functions and Tables.

I am reading about TREX but I am not sure if TREX can be used to search for the ABAP programs, Functions or tables !?

is TREX separate product that I need to install ?

I am using Netweaver 7.01 ABAP and it has the TREX admin tool, but I am not sure if this is enough !

Thanks

Misbah

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Best Answer
    avatar image
    Former Member
    Aug 08, 2009 at 08:30 AM

    go through SE84

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 07, 2009 at 08:30 PM

    Why don't you try RS_ABAP_SOURCE_SCAN in background mode ?

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 08, 2009 at 04:51 PM

    Hello Misbah

    A nice function module which extract all tables "touched" by a program is RS_PRGRAM_TABLES.

    Example:
    TYPE = 'TRAN' (= transaction)
    PROG = 'VA01'

    Regards

    Uwe

    Add comment
    10|10000 characters needed characters exceeded

    • Hi,

      to use the sap code inspector go to TCode SCI.

      You start by defining a check variant. Give it a name and choose create. if you want to search for a special word choose search functions -> search for ababp tokens from the tree and add the word you are searching for. Then save the variant.

      Next create an object set. Enter the objects you want to search in. Easiest is entering Z* for package. If you have the save selections only the object set will be increased if you create new development objects matching your selection.

      Last create an inspection. choose your object set and search variant and run it. In the resukt screen you will find the search result and can directly navigate into the object.

      I sometimes use that to find the place where i wrote "ToDo" as a requirement was not clear and after 2 weeks I forgot where it was ;o) works quite well.

      Best regards

      Roman

  • Aug 08, 2009 at 10:20 PM

    please, could you tell us what you are looking for exactly ? (because there can be many solutions)

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Then try transaction SECR on a "real" system (however it has been obsolete for some time now, so might even have been deleted) or in PFCG look for SAPAUDITOR roles for "System Audit" to see whether they are still there in your IDES system.

      Cheers,

      Julius

  • avatar image
    Former Member
    Aug 18, 2009 at 05:51 AM

    Hi Misbah ,

    Check the standard report RSDEMO_EVENT_ON_FIELD

    using this report u can select more then one category like

    u can find out FM,Report,Package,Class,Local object etc

    Edited by: krupa jani on Aug 18, 2009 7:52 AM

    Add comment
    10|10000 characters needed characters exceeded