‎2007 Aug 23 11:24 AM
Hello experts,
how do i find the perticular string in program.
e.g. i want to find string 'tables' in all 'y' n 'z' programs.
how do i do that???
‎2007 Aug 23 11:28 AM
go to se38 give the std prog name RPR_ABAP_SOURCE_SCAN and run that now in selection screen program name select-option click on the arrow and give
Y*
z*
in single value
in find string parameters give table and execute
regards
shiba dutta
‎2007 Aug 23 11:25 AM
Hi!
Use TRDIR table for the program names.
Then use in your ABAP program, the READ REPORT statement.
OR you can search for given string using the editors search function...
SE38 - TOOLS -Search in source - Select global in programs, click on the more selection and give Z*
Then start searching for your string.
OR you can use the program RPR_ABAP_SOURCE_SCAN for it.
Regards
Tamá
‎2007 Aug 23 11:26 AM
Hi,
Check this through SE38,
RPR_ABAP_SOURCE_SCAN
Reward if useful!
‎2007 Aug 23 11:27 AM
there is a standard SAP report to find string RPR_ABAP_SOURCE_SCAN,
execute it in se38
Reward points if useful, get back in case of query...
Cheers!!!
‎2007 Aug 23 11:28 AM
go to se38 give the std prog name RPR_ABAP_SOURCE_SCAN and run that now in selection screen program name select-option click on the arrow and give
Y*
z*
in single value
in find string parameters give table and execute
regards
shiba dutta
‎2007 Aug 23 11:28 AM
Hi,
Look at the below programs
RKCTSEAR --> Search source code of various programs for up to two strings.
RPR_ABAP_SOURCE_SCAN --> Search ABAP code for a string. Much more flexible than RSRSCAN1 or RKCTSEAR
RSRSCAN1 --> Search a string
Regards
Sudheer
‎2007 Aug 23 1:00 PM
‎2007 Aug 23 1:14 PM
Open transaction SE38 & type RPR_ABAP_SOURCE_SCAN & execute
‎2007 Aug 23 1:14 PM
Hi,
Try This.
Execute RPR_ABAP_SOURCE_SCAN in SE38.
Give Program name and Find string..
Reward if Useful.
‎2007 Aug 23 1:41 PM
Hi,
this program is working...
but my requirement is the output should be as shown below...
final count is my 'tables' string.
program name | final count |
zmara | 1 |
any sample code???