Application Development and Automation 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: 
Read only

scan keyword

Former Member
0 Likes
593

Hi,

Can anybody explain....

Using scan keyword how can we find a keyword like "Select * "

of any program?

my program works for single keyword.

Thanx.

Hi,

Can anybody explain....

Using scan keyword how can we find a keyword like "Select * "

of any program?

my program works for single keyword.

Thanx.

4 REPLIES 4
Read only

Former Member
0 Likes
575

I don't know the details, but you should read the documentation of the code inspector (tcode SCI), there is also a scan function implemented. Which can be used.

Siegfried

Read only

Former Member
0 Likes
575

Hi,

SCAN statement is for internal use only - try using search or find.

Read only

Former Member
0 Likes
575

hi,

Try executing this program RPR_ABAP_SOURCE_SCAN give the program name on which you would like to know the key words used and then give the key word to where and all the key word is being used in the program...

About Scan Keyword ... Check

http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/scan.htm

Regards,

Santosh

Read only

Former Member
0 Likes
575

SCAN statement identifies only keywords. But you are trying to find out a pattern ,i.e., 'SELECT' .So, SCAN statement will only identify SELECT keyword wherever it is present in your program .If you want to find out SELECT then you can use 'CP' (Contain Pattern) or FIND command.