Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Search for a string in all ABAP source

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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

13 REPLIES 13

Former Member
0 Kudos

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

0 Kudos

Hi ,

->As said RS_ABAP_SOURCE_SCAN will work.


->Check this T-code also EWK1.

Regards,

E.Ananthachari.

0 Kudos

RS_ABAP_SOURCE_SCAN runs in a time out: Im getting a TIME_OUT exception from SAPLSEDA, so doesnt work for me.

EWS1 simple doesnt exists -> so on BW 7.40 SP13

Thank you anyway,

cheers

horst_keller
Product and Topic Expert
Product and Topic Expert
0 Kudos

To circumvent the TIME_OUT, run it in background (batch processing) ...

0 Kudos

Thank you for your friendly support Horst. Cant find such an option within the program, need the SM37 to do that, right?

cheers

horst_keller
Product and Topic Expert
Product and Topic Expert
0 Kudos

No, you select Background processing when executing the program from SA38 or SE38.

Before, execute normally, enter your parameters in the selection screen and save them as variant with the save button. Use this variant for the Background processing.

0 Kudos

works (press F9), thank you. The circumstance I need compelling to spool the output is a bit strange, but at then end it does the trick

cheers

horst_keller
Product and Topic Expert
Product and Topic Expert

I've written a demo for that you can adapt (after getting the names, -> READ REPORT, FIND IN TABLE IGNORING CASE)

0 Kudos

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

Krzysztof
Explorer
0 Kudos

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

Former Member
0 Kudos

Sorry, cant find this within the transaction. Did I missed something?

thanks,

cheers

Attila
Active Participant
0 Kudos

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

Former Member
0 Kudos

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