How to find Standard Text

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

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

Similar Messages

  • How to change standard text in(me33k)?

    How to change standard text in me33k (under Reference data : Dept/Proj Manager) field. I tried it changing in CMOD - under Goto in Text enhancements in Keywords then Change . I did this change and in table ekko-verkf I can see the change, but in me33k I cannot . Appreciate if anybody can  reply back soon and help me solve this issue? points awarded for sure.

    If u are talking about the text  related to a Contract by (Trx ME33K --> Header --> Texts --> Text Overview).
    Then u need to use the FM create_text and then put the import parameters as
    Text Name     =  (contract number)
    Language       = EN
    Text ID        = K00  Release order header  text put K01 for first item text K02 for second item text so on
    Text object    = EKKO       Purchasing doc. header texts
    and then call bapi_transaction_commit
    u ll be a ble to find the changes
    thnks
    kanishak

  • How to add standard text in smartforms?

    Hi friends,
    How to add standard text in smartforms ?
    points rewarded soon
    Regards
    RH

    Creating the Standard Text:
    Go to SO10
    1. Enter Text Name.  For example, ZABC
    2. Text ID ST
    3. Language EN
    Click on Create.
    And enter the Required Information and save.
    To include a Standard text in SmartForm.
    Follow the steps below:
    1. Create a text node in the window.
    2. Under general attributes select "Include text" as Type.
    3. Specify the fields under Text.
    Text Name ZABC
    Text Object TEXT
    Text ID ST
    Language EN.
    Hope it helps.
    Regards.

  • How to use standard texts in smartforms

    Hi Friends,
          How to use standard texts in smartforms, ie in scripts we are using standard texts using tr so10.
    thanks in advance,
    regards,
    sharma.

    For long text
    method1
    Create TEXT node- general attributes change text type to include text
    then you can input text name/text object/text id/language
    method2
    create PROGRAM LINE node - use FM READ_TEXT to read it to a internal table
    then use LOOP or TABLE node to display it
    For TEXT module(For foreign language)
    Tr-code:smartforms -- choose Text module(not choose form)--create a text module object
    then enter smartform Create TEXT node- general attributes change text type to text module
    input the text module name which created by above
    btw SO10 is just for Scriptform, in smartforms we use text module to replace SO10

  • Tcode FV50: How to find long text in FI Document line item Before Saving.

    Hi,
    How to find long text in FI Document line item.
    During Parking of the FI document through Tcode FV50 i m giving the some text in the long text not in the text field.
    I would like to validate the Long Text Before Saving in user exit "U300" under  the  "Sunstitution" .
    Please anybody can be help me out where exactly this long text is going to be stored or in which internal table or memory id.
    Please give me the answer as soon as possible .
    Note:- Read_Text function module is not useful. Because Read_text useful after saving document.

    Hi Amit,
    In application area FINANCIAL ACCOUNTING , go for node LINE ITEM. Here create a step & maintain the prerequisite as per your requirement & in the check you can mention the code or you can direct it to a custom program like ZFI_RGGBR000.
    Here while maintaining the check you will get structures BKPF & BSEG in which you will get the desired field you are looking for.
    Just try to explore in your system how the other validations are maintained.
    After you are done with all your code, you have to run the regeneration program RGUGBR00.
    Here utmost care should be taken while running regeneration program, you should select all the checkboxes in the selection screen except  GENERATE SETS, GEN SUBSTN ROUTNS IN ALL CLNTS  & TRACE PROG. GENERATE CALLS .
    Hope this make your doubt clear.
    Regards
    Abhii

  • How to find the text id for the text in the sales order

    Hi all,
    How to find the text id for the item-text in the sales order?
    There are different Text available in  the sales order under item like Warehouse instruction, CSR instruction...
    I want to know the corresponding Text id for the text ELECTRONIC ORDER COMMENT.
    Table TTXID contains the validation of the Text id.
    Please help me in knowing the way to identify the text-id from the text list..
    Thanks foryour help
    Suresh Kumar

    U can fetch the texts for the items using
    Read_text.
    Example:
        g_f_tdname = xvttp-vbeln.
        g_f_obj = p_obj.
        g_f_langu = 'DE'.
        REFRESH g_t_lines.
        CLEAR g_t_lines.
        CALL FUNCTION 'READ_TEXT'
             EXPORTING
                  id                      = p_var
                  language                = g_f_langu
                  name                    = g_f_tdname
                  object                  = g_f_obj
             TABLES
                  lines                   = g_t_lines
             EXCEPTIONS
                  id                      = 1
                  language                = 2
                  name                    = 3
                  not_found               = 4
                  object                  = 5
                  reference_check         = 6
                  wrong_access_to_archive = 7
                  OTHERS                  = 8.
        IF sy-subrc <> 0.
         MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                 WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    The Required fields are,
    Text-id ,language,name,object.
    Let me know if you further require help.
    Regards

  • How to use Standard Text in ALV

    How to use Standard Text in ALV header part? Can you please help me by giving the answer?

    Hi ,
           You can read the Standard text using read_text function module and then print in LV header part.

  • Pls explain how to add standard text in sapscript & smartforms

    Dear friends,
    pls explain how to implement standard text into sap script and smartforms.
    in how many we can do.
    and what is diff between include text & text modules in smartforms.
    how we can translate into multiple languages.
    Regards
    Jagadeeshwar.B

    hi,
    for the include text goto tcode so10.
    for changing the smartform and scripts use there methods..
    1. goto se63>translation->abap objects->other long texts->FS Forms and Styles---> for scripts use Forms
                                           for smartforsm use SAPSmart form
                                           for styles use Styles
    2. goto se71->utilities->original language.---> source lang
    (for scripts)                                                     target lang
    to include the include text created in the tcode so10 in the smartforms go to general attributes of the text element--text type> include text...
    regards,
    venkat.
    Edited by: venkat  appikonda on Mar 22, 2008 11:56 AM

  • How to add standard text in PO and how it is maintained ?

    How to add standard text (paragraph) in PO and how it is maintained ?

    Hi
    Please go through this document.which has a step by step
    Working with Frequently Used Texts
    Use
    You can copy texts from various sources to create PO texts:
    Standard texts
    Certain standard texts are supplied with the system and can be assigned to a purchasing document in Customizing.
    The content of some standard texts is predefined by your system administrator.
    You can also create standard texts yourself and copy them into purchasing documents.
    Master records
    Database fields
    Activities
    Creating Standard Texts
    You can create your own standard texts via Tools ® SAPscript ® Standard text.
    Inserting Standard Texts
    You can insert your standard text on the long text screen via Insert ® Text ® Standard.
    For more information, refer to the Basis documentation under BC Word Processing with the SAPscript Editor:  Including Texts.
    You can display the print preview via Text ® Print ® Print preview.
    Inserting Texts from the Master Record
    There are three ways of linking texts from a master record with a purchasing document. The relevant settings are made for each text type in Customizing for Purchasing. The indicator in the status column shows the nature of the linkage.
    Option                                              Indicator in status column
    The text is copied:               
    It is then independent of the text                 None
    in the master record. Changes to
    the text in the material master record
    have no influence on the text in the document.
    The text is displayed only:
    It cannot be adopted.                                          N
    The text is offered for copying:
    It can be copied via Header or Item ® Texts ® Adopt text. (In requisitions: Goto ® Texts ® Adopt text.) Changes made in the master record will also be adopted in the document until such time as you copy the text.
    Inserting Texts from Database Fields
    You can include the content of a database field at any point in the text on the long text screen. A value specific to the relevant document is displayed in the printed document.
    Choose Insert ® Symbols ® Program symbols.
    Choose DDIC fields.
    Search for the relevant table/structure (in the case of PO items, this is EKPO) and then choose ENTER .
    Choose the relevant table field.
    Choose Text ® Print preview to see the print preview.
    Reward if useful
    Aasif

  • How to Transport standard text in scpits from 1 client to other

    HI I am veerendra,
    Can you please tell me,
    How to Transport standard text in scpits from 1 client to other
    THanks,
    Veerendra

    Hi veerendara,
    1. a little tricky
    2. goto se09 and create a new
    customizing rqeuest.
    3. after that
    in the object list,
    go in edit mode
    and a new window will come
    where u can add the objects(in table control)
    4. there u put
    program id = R3TR
    object type = TEXT
    object name = TEXT,YHRS_FNF_LTR,YHR1,E
    where
    TEXT = TEXT
    YHRS_FNF_LTR = name of standard text
    YHR1 = TEXT ID
    E = english language
    regards,
    amit m.

  • How to change standard text in portal

    How to change standard text in portal
    Pls reply

    Archana,
    Please post it in the relevant forum(Portal Implementation/development)
    What text do you want to change.
    Thanks
    Bala Duvvuri

  • How to impert standard text?

    hi,
    can anybody tell me how to import standard text?

    hi Sudheer
    every long text will be associated with a text id , text object, txt name
    even the program given in the above reply is also using these
    CALL FUNCTION 'SELECT_TEXT'     < from the above std prog
      EXPORTING DATABASE_ONLY = 'X'
                ID            = TEXTID
                LANGUAGE      = TEXTLANG
               NAME          = TEXTNAME
                OBJECT        = OBJECT
      IMPORTING ENTRIES       = ENTRIES
      TABLES    SELECTIONS    = SELECTIONS
                T_NAME        = TEXTNAME.
    so to pull long text of any object take the above mentioned parameters and hit the table STXH or use read_text FM

  • How to find standard Programs for perticular prog.

    Hi Abapers,
    How to find standard program is avalible or not in SAP to up load data for vendor master updataion ... through BDC or LSMW or BAPI ? .
    If standard program is avalible in SAP . we can use it to upload ?.

    hi  madhu
    yes we can upload the data , we can use the Direct input methods to upload the vendor master using LSMW tool . As goutham suggested use RFBIKR00 to upload the vendor master.
    ~linganna

  • How to find the text of a viwe

    How to find the text of a view?
    I tried all_views but it only types the partial text. What can be the problem and the possible solutions?
    Naveen

    We also found there was a "COL TEXT A80" in our glogin.sql. I don't know whether we put it there or whether it was installed by default. This resulted in some views which had been defined with longer lines having words chopped in half, which is no good for creating scripts. Therefore when selecting view text I also issue a
    COL TEXT A200 word_wrapped

  • HOw to  find the text for PERSK field in infotype 0001

    hi all
    HOw to  find the text for PERSK field in infotype 0001

    Hi
    T503T : contained the similar informative text for PERSK . read this for T503T-PTEXT.
    ..lakhan

Maybe you are looking for

  • Where is the Popup Menu in ACR 9?

    After installing ACR 9, I don't see the Popup Menu on top of the Firmstrip. All I see are the "Select All" and "Synchronize...". Right clicking on the firmstrip is not doing anything. Thank you.

  • Invalid characters found in PSA

    Hi Guru's, Can any one tell me the procedure how to resolve the invalid chars in the PSA.  I tried in RSKC and permitted the all the invalid chars.  But even then i got the same error.  How to edit the records?  This is a Customer Master data.  Your

  • Invoice Generated but pending for posting

    System is giving the "Missing Export Data" error while releasing Billing Docs 700510569 & 131909120 FOR another billing documunt another error is coming like as Foreign Trade data incomplete for the 131909120 billing document.

  • How to get jarEntry certificates?

    What is wrong JarInputStream jar = null;           try {                jar = new JarInputStream(new FileInputStream("e:/out/p1.jar"));                JarEntry je = null;                while ((je = jar.getNextJarEntry()) != null) {                  

  • The declared package does not match the expected package

    I was given some Java code that I need to get working and then make some improvements on, but I'm still in the process of learning Java and the IDE Eclipse as well. There is a package called MyGUI and most of the files in that package had the error "