Skip to Content
0
Apr 28, 2009 at 09:10 AM

How to capture First Statement

34 Views

Hi All

I want to search some key words like Search and condense used in programs, all programs i am reading in internal table one by one (itab).

example

loop at itab.

itab-text CS 'SEARCH '.

i am looking for the text which starts with Search means

Search a in b.

.......... search a in b.

..................... search a in b.

cosider dots as a spaces (blanks, take it like it is written after some offset)

any format in particular line where it should starts with search.

and i want to avoid text like

loop at itab " for search a in b.

or any thing which is not satrts with search key word as well when its present after some letters also i want to avoid.

i mean to say that in particular line of program which should starts with Search first character should be search may be it is after some spaces.

pls suggest how to achieve this

thanks in advance.