10-17-2007 9:19 AM
<u>Selection-Screen:</u>
Parameter: String field to enter a text
Select-option: to enter program names (value help shall be available)
<u>Program:</u>
The user shall enter a text and select one or several program names. (Search help for the pro-gram names.)
The coding of the selected programs than are searched for the entered string (text).
(Nice to have, but not necessary: if the user makes a double click on a line of the result list (see below) it is jump into the ABAP editor and the coding is displayed in display mode).
<u>Output:</u>
Display in a ABAP list OR in a ALV list the program name, the line number and the coding / text auf the line, where the search term as found.
Please take notice of the ABC naming convention (find in ABC Wiki, when you enter Namenskonventionen in the search field) for the program name and try to use the recommen-dation for the naming of program coding (GV_ for global variable, GT_ for global table etc.).
The following ABAP key words will help you, read the ABAP Key word help for more informa-tion.
READ REPORT
FIND or SEARCH
EDITOR-CALL
Search help: Function module REPOSITORY_INFO_SYSTEM_F4
or Table TADIR or view TRDIR
Anyone can please write code for this program
Message was edited by:
RaghuRaj Tammaly
10-17-2007 9:46 AM
Hi,
here a simple tool:
<MODIFIED BY MODERATOR - RESPECT THE 2,500 CHARS LIMIT>
Try it.
Regards, Dieter
Edited by: Alvaro Tejada Galindo on Jan 14, 2010 5:45 PM
10-18-2007 9:48 AM
Hello Dieter Gröhn,
Iam new to all this, presently Iam learning abap
Can u please help tell me how it works....like its features, use etc
10-17-2007 12:23 PM
TABLES : trdir.
SELECT-OPTIONS : so_name FOR trdir-name.
DATA : itab LIKE trdir OCCURS 0 WITH HEADER LINE.
DATA : fval type trdir-name.
SELECT * FROM trdir INTO TABLE itab WHERE name IN so_name.
LOOP AT itab.
WRITE : / itab-name.
ENDLOOP.
AT LINE-SELECTION.
get cursor value fval.
EDITOR-CALL FOR REPORT fval DISPLAY-MODE.
01-14-2010 10:04 PM
01-14-2010 10:47 PM
RaghuRaj:
This is a professional forum...you just can't drop by and ask for a complete source code...you must try yourself and if you can't, come here with specific doubts...sorry, but rules are rules...
Closing thread and un-assigning points...
Greetings,
Blag.
01-14-2010 10:48 PM