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 string exactly(urgent)

Former Member
0 Kudos
81

LOOP AT itab_report. -


contains list of reports

CLEAR: progline, tb_report.

READ REPORT itab_report-master INTO tb_report.

DESCRIBE TABLE tb_report LINES progline.

LOOP AT itab_x031l.

{ find search terms }--


MOVE itab_x031l-fieldname TO searchstring.

LOOP AT tb_report.

IF tb_report IS INITIAL.

CONTINUE.

ENDIF.

MOVE tb_report TO progdata.

SEARCH progdata FOR searchstring.

the problem here is the exact match for the field is not obtained .....

eg if the field name is mandt......sy-mandt is also shown,which i dont want

can neone help me with this......can neone help me with scan abap source ,i thnk tat cod solve ma problem cos

2 REPLIES 2

Former Member
0 Kudos
50

Hi,

Use program <b>RPR_ABAP_SOURCE_SCAN</b>

Regards,

Padmam.

Former Member
0 Kudos
50

thank you