07-14-2006 1:29 PM
Hi Gurus,
I've a standard text now I need to find where and all it is used .. Is there a way oout ??
Points gauarnteed
Regards,
Aryan
Message was edited by: Aryan T
07-14-2006 2:05 PM
Hi,
If any symbols exist in your standard text , then use where-used-list from SO10 transaction after displaying the standard text ,then system will display all print program details where this symbol used(nothing but standard text).
Regards
Appana
07-14-2006 2:07 PM
hi aryan,
check the transaction <b>SO10</b> and click on F4 of Text Name .
07-14-2006 2:20 PM
07-14-2006 2:20 PM
Here's a QDAC (Quick & Dirty ABAP code) to search standard text name used in sapscripts.
parameters: p_sttxt like stxh-tdname.
data: begin of t_stxh occurs 0,
tdname like stxh-tdname,
tdspras like stxh-tdspras,
end of t_stxh.
data t_lines like tline occurs 0 with header line.
select tdobject tdspras from stxh into table t_stxh
where tdobject = 'FORM'
and tdid = 'TXT'
and tdspras = 'E'.
loop at t_stxh.
refresh t_lines.
call function 'READ_TEXT'
exporting
* CLIENT = SY-MANDT
id = 'TXT'
language = t_stxh-tdspras
name = t_stxh-tdname
object = 'FORM'
tables
lines = t_lines
exceptions
id = 0
language = 0
name = 0
not_found = 0
object = 0
reference_check = 0
wrong_access_to_archive = 0
others = 0 .
search t_lines for p_sttxt.
if sy-subrc eq 0.
write:/ t_stxh-tdname, t_stxh-tdspras.
endif.
endloop.
<b>This code searchs sapscripts for a string entered in the selection screen.</b>
if you know the standard text name, enter it in the sel screen and execute.
REgards
Sridhar
Message was edited by: Sridhar K
07-14-2006 2:27 PM
I know the name of the standard Text but I need to know in which all sapscripts it is used
Aryan
07-14-2006 2:38 PM
Hi,
Try to follow the following steps to find out the forms using the given standard text name.
1) goto transaction code SO10
2) enter the known text name
3) Press Ctrl+F then it will take you to the next screen
4) now press F8 then in the next screen you can see all the form names using the given text.
So, all these are nothing but using the where used list for the given text name.
Hope i am clear to the point, try to award some points if it is an helpful answer.
Regards,
Suman