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: 

How to find Standard Text

Former Member
0 Kudos

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

6 REPLIES 6

laxmanakumar_appana
Active Contributor
0 Kudos

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

Former Member
0 Kudos

hi aryan,

check the transaction <b>SO10</b> and click on F4 of Text Name .

0 Kudos

hi,

or trx <b>SE61</b> or fm read_text

A.

sridhar_k1
Active Contributor
0 Kudos

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

Former Member
0 Kudos

I know the name of the standard Text but I need to know in which all sapscripts it is used

Aryan

Former Member
0 Kudos

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