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

finding literals

Former Member
0 Likes
760

Hi,

I have to find all the text literals in a given code.Should i use Search or Find.

Is there any other solution.

Thanks.

5 REPLIES 5
Read only

Former Member
0 Likes
737

ctr+F give text

RPR_ABAP_SOURCE_SCAN which will help you to implement this search programatically

reward if helpfull

Just enter into the Program through Transaction Code SE38 and choose Goto->Text Elements->Text Symbols.

I hope this might help you to find out the Word assigned to a text symbol.

Message was edited by:

sunil kumar

Read only

rahulkavuri
Active Contributor
0 Likes
737

check this thread which addresses similar issue

reward points if found helpful

https://forums.sdn.sap.com/click.jspa?searchID=1826476&messageID=1204305

Read only

Former Member
0 Likes
737

hi,

In the SE38, go to menu: UTILITIES --> FIND IN SOURCE CODE.

in the field "in program" you have to put Z*, and search your string.

or

Can use this program : RPINCL10

Rgds

Reshma

Read only

Former Member
0 Likes
737

Hi..,

parameter: p_report type SY-REPID .

data :

t_sourcetab type standard table of D022S,

wa_line(72) type c,

w_char type c '''.

READ REPORT p_report INTO t_sourcetab.

Loop at t_sourcetab into wa_line.

search wa_line for w_char.

if sy-subrc eq 0.

write : 'Column:', sy-fdpos, 'Line.no:' , sy-tabix.

endif.

endloop.

regards,

sai ramesh

Read only

0 Likes
737

hi ,

i also want those text literals to be displayed in seperate internal table as a list.

Any sugstions?

thanks