Using READ_TEXT to read SO10 (standard texts)

Hi,
When we use READ_TEXT F.M for SO10 texts what are the parameters to pass.
ID - ST
LANGUAGE - EN
NAME - Z_TEL (SO10 text id)
OBJECT - ?
What i should pass to OBJECT & what else i need to input!
Thanks in advance.
Thanks,
Deep.

If u r reading text from Purchase Order text then Object ID will be EKKO.It depends what r u reading for.Look at the following code :
    CALL FUNCTION 'READ_TEXT'
      EXPORTING
        CLIENT                  = SY-MANDT
        ID                      = 'F01'
        LANGUAGE                = 'E'
        NAME                    = W_TDNAME
        OBJECT                  = 'EKKO'
      TABLES
        LINES                   = IT_F01
      EXCEPTIONS
        ID                      = 1
        LANGUAGE                = 2
        NAME                    = 3
        NOT_FOUND               = 4
        OBJECT                  = 5
        REFERENCE_CHECK         = 6
        WRONG_ACCESS_TO_ARCHIVE = 7
        OTHERS                  = 8.
Thanks & Regards,
Rock.

Similar Messages

  • Using text elements in so10 standard texts

    How to use text elements in so10 standard texts.

    HI,
    In DDIC we have two structures :
    1. THEAD  - Text Header
    2. TLINE    - Text Lines
    SO10 is the tcode..for standard text...
    We have a FM to read the text ... read_text...
    and save_text is for create text..
    this text is are used in SAP scripts...
    the standard text is identified by three parameters :
    1. Text Name
    2. Text ID ( ST  for standard text )
    3. Language
    hope helpfull
    Raghunath.S

  • To read a SO10 Standard text

    Hi,
    I have created an SO10 Standard text (ZTEXT), now from a report program i have to Read it's text and use further.
    How can I read an SO10 Text from a report Program?
    Pls provide some sample code.
    Thanks in advance,
    Pankaj.

    To whom?
    please close your thread without showing any consolations(Thanks a lot!) towards people if you don't want to assign the poitns.These points are not giving us food but surly these would be enough feed for needed person.
    just read below link carefully specially step 4
    [Forum Rules of Engagement|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement]

  • Problem in using FM READ_TEXT to read Material Sales Text.

    Hi Guys,
    I am developing a Customer Outstanding report in which I display all the invoices of a particular customer.
    I need  to read "Material Sales Text" which comes under "Item Text" tab in transaction FBL5N.
    I have used READ_TEXT in my program. I have identified the Object, and ID but I am stuck up with the Name. I dont know what Name to pass. I have tried passing the Invoice Number in "Name" but couldnt get the text.
    Request you to please help me out. Please check the below code.
    CALL FUNCTION 'READ_TEXT'
      EXPORTING
      CLIENT                        = SY-MANDT
        id                            =    '0001'
        language                      =  SY-LANGU
        name                          =  -
        object                        =  'VBBP'
      ARCHIVE_HANDLE                = 0
      LOCAL_CAT                     = ' '
    IMPORTING
      HEADER                        =
      tables
        lines                         =  tl001
    EXCEPTIONS
       ID                            = 1
       LANGUAGE                      = 2
       NAME                          = 3
       OTHERS                        = 8
    Thanks.

    *&      Form  READ_TEXT
    FORM read_text  USING    p_tdid  p_tdname
                    CHANGING p_tdline.
      DATA: it_line  TYPE STANDARD TABLE OF tline,
            wa_line  TYPE tline                  ,
            l_tdid   TYPE thead-tdid,
            l_tdname TYPE thead-tdname.
      l_tdid   = p_tdid.
      l_tdname = p_tdname.
      CALL FUNCTION 'READ_TEXT'
        EXPORTING
          id       = l_tdid
          language = 'E'
          name     = l_tdname
          object   = 'VBBP'
        TABLES
          lines    = it_line
        EXCEPTIONS
          OTHERS   = 8.
      LOOP AT it_line INTO wa_line.
        IF NOT wa_line-tdline IS INITIAL.
          p_tdline = wa_line-tdline.
        ENDIF.
      ENDLOOP.
    ENDFORM.                    " READ_TEXT

  • Printing text in text area in so10(standard text)

    Dear all,
    I need to print a text in text area.i mean i need a box in which i can fill text in standard text (tcode-so10).Using box command we will be doing in script.
    But is there any possibility that i can solve the issue in so10 itself as i am generating offer letter in pb60 it takes my standard text there itself.So is there any solution for this issue?
    This issue is very urgent.
    Thank you,
    bhavani.

    Hi
    KEEP a BREAK-POINT and debug the internal table lines how it is coming
    some overlap must be happening ..check.
    Also check the code where you are getting this text into internal table.
    1) One way to debug smartform is to debug the Function Module of that smartforms.
    If you want to debug particular smartform node that the solution would be,
    insert a "Program Line" just above the node you want to debug and this program line write a normal abap breakpoint.
    So whenever you call the smartforms, it will stop at this breakpoint and you can debug onwards.
    2) SFTRACE can be used for debugging SMARTFORMS.
    Read More here.
    http://help.sap.com/saphelp_erp2004/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
    Reward points for useful Answers
    Regards
    Anji

  • How to search a SO10 - Standard text by Content

    Hi experts,
    I have a standard text content. need to know how to identify the standard text object it is contained in.
    Example: I have a form output which has Terms and Condition printed. The content has a word like URL:
    texst.test.com. There are lot of standard text objects available in that form and many other forms. We are not able to find the corresponding standard text object.
    So like to know whether it is possibel to search and find a standard text object by contect say URL:
    texst.test.com?
    Let me know whether this is possible to do in SAP?
    thx
    Ganu

    It is not possible to get the standard text header by searching the contents. The tables for standard texts are STXH and STXL. Data is stored in raw clustered format.
    As Raveesh metioned, manually looking into the smartform (Windows/Templates) and then using FM READ_TEXT to confirm the contents.
    Thats the best possible way to get the standard text details from the contents.

  • Import R/3 SO10 Standard Text to BW Documents

    Hi
    Please let me know
    1. How can Import the Standard Text (SO10) from R/3 to BW Documents?
    2. Is there any Function Module to extract the text?
    Please let me know since it has become priortized task. Thanks!!
    ~ Vaishnav

    Ok this is easy and not that tough as expected...
    I'll write a program that calls the function module READ_TEXT and export the output to the application server and then I'll retrieve the data into BW documents  after changing the respective InfoObject as Characteristic is Document Attribute.
    ~ Vaishnav

  • How do I use serial port read and show text, but not have it scroll off screen?

    I am new-ish/returning amateur user of Labview and I am trying to edit the example VI "Advanced serial write and read VI" that is part of dev suite 2012.  I need to use the string box to show ALL text received from serial port, always appending and only rolls off screen when more real data arrives at serial port. 
    What is actually happening is as more bytes (or no bytes AT ALL!) arrive during read time, current text rolls off the string box.  Even when 0 bytes are received, screen is blanked out.  I am not very familiar with functions locations and even worse at understanding obscure references to functions, so please keep replies very basic so I can follow.
    Just to be clear, I need the string window to behave like hyperterm does-always shows data and it is not pushed out of window arbitrarily.
    Thanks,
    Steve  
    Solved!
    Go to Solution.

    OK- lets start back at the beginning.  I have a few questions...
    WHy does incoming txt get placed at top of txt box and then scroll up?  why would it make more sense to input at the bottom and scroll toward the top.  I have created this huge txt box that appears to be impossible to use.
    I have attached example of txt boxes I have tried, and pic of VI I have edited.  Bad marks for uglyness....
    Attachments:
    Capture_VI.JPG ‏117 KB
    Capture_VI2.JPG ‏133 KB

  • Using Read_text want to print continuous text

    Hi,
    My requirement is to print continuous text using read_text.
    Here we are not supposed to use include text to print continuosly.
    For ex:The text in script is like as below
    *Firstline
    Secondline
    Reqirement is to ptint as Firstline Secondline by using read_text only.
    Please help.
    Thanks & Regards,
    Shirisha Kandula

    Hi Hari,
    If the text is as below the concatenate will not work because for the newline also it will print in the sameline.
    Ex:
    Firstline
    Secondline
    *Thirdline
    O/P if we concatenate is: Firstline Secondline Thirdline
    But my requirement is to print like
    Firstline Secondline
    Thirdline
    Hope u got my point.
    Thanks,
    Shirisha

  • SO10 Standard text  unable to create std text

    I am trying to create std text through SO10, once i have cretaed its not saving , plz help me
    Edited by: vishwas shastri on Jun 16, 2011 11:05 AM

    vishwas shastri wrote:
    > those are not reflecting .(saving) .help me plz..
    Hello Vishwas,
    Are the changes not reflecting or are they not getting updated? Please be specific.
    On more question, do you have separate dev & testing clients? And you're changing the ST in dev client & when checking in testing client the changes are not reflected!
    BR,
    Suhas

  • Attaching same style in Standard text as well as adobe form

    Hi Experts,
    I have created 2 styles. One in se72 and second one in smatstyles.
    But when i use 1st one in standard text, i can't see this style in adobe form to attach.
    And 2nd one i can see it in adobe form but i can't see in standard text.
    I want only 1 style to be used in both places.
    Please help.
    Thanks in advance.

    Hello,
    You can achive this in two ways.
    First - Go to the form interface and right click on the node create a text field in the form context.
    In the properties tab on the right hand side of your form context you can specify Text Type.
    Following Text type can be selected.
    Include Text
    Text Module
    Dynamic Text.
    As per your requirement select Include Text and then specify the NAME, LANG & TEXT ID for the text.
    Once this is specified you can add this text field on the form layout.
    NOTE: This normally works only if you maintain this text in the header or footer on the form but not at the line item level.
    There are few issues when you try to print this text at the line item level.
    To overcome this if your requirement is at the line item level follow second method mentioned below.
    User READ_TEXT to read the standard text in your driver program. Then Pass the internal table returned with the text from this FM to another FM FORMAT_TEXTLINES.
    This table is then used to map it on the adobe form. The second function module takes care of formatting.
    Thanks

  • 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.

  • How to get the standard texts available in a smartforms

    Hi Experts,
        How can we find out the standard texts that are exist in a particular smartform . is there any table/function module available to get those standard texts? I am finding the table STXFTXT, from that I am getting only textline. But I need the standard text names that are used in a smartform.
    Thanks & Regards,
    Suresh

    hi,
    1,Use SO10 Tcode to write standard text in Smartform.
    2.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
    3.
    1. take function module name of the smartform.
    2. goto se37 and type that fm name.
    3. goto attributes tab
    4. double click on either program or include .
    5. There u can find all the subroutines used inside smartform.
    6. search for "perform %move using %textkey-name".
    4.Standard Texts are created in SO10 Tcode and stored in STXH table with OBject ,ID and NAME parameters. We can use Read_Text FM to read the text.
    check the tables STXH & STXL.
    5.
    How to CAll Standard Text in Smart Forms
    In SFs you can insert the standard tests using the TEXT node. Create a TEXT NODE. Then in the GENERAL ATTRIBUTES of this TEXT node select INCLUDE TEXT in the TYPE option. Then you have to enter the text name, object , ID and language in the provided fields. Then if you dont want any error if there is no text in the corresponding text then CHECK the check box "No errors if no text available.

  • How to Change behavior of standard text object&text ID (SE75)?

    Hello there!!
    I'm struggling with this:
    For standard text object C_SHES_ACH & ID 0001 (EHS: IHS Safety Measures) wichs is used as a description for safety measures (CBIH82/CBIH02..) need that when the user create or edit the text, already appears a "Fill in the blanks"  form.
    For example, in CBIH82, editing an accident log, I go to Safety measures Button, then create a safety meassure, and when i click for long text description something like this should appear:
    TEXT 1 (1st Title)
    user line
    user line
    user line
    user line
    (free amount of user lines)
    TEXT 2 (2nd Title)
    user line
    user line
    user line
    user line
    (free amount of user lines)
    Thanks a lot for your feedback!
    Rgds!!

    Hii,
    I am unable to understand exactly wat you want.
    But for free amount of lines : Keep that text under LOOP. Right click on template or window and create a loop and under that loop keep the text ,you can get many lines. or the given below point plzz follow.
    1,Use SO10 Tcode to write standard text in Smartform.
    2.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
    3.
    1. take function module name of the smartform.
    2. goto se37 and type that fm name.
    3. goto attributes tab
    4. double click on either program or include .
    5. There u can find all the subroutines used inside smartform.
    6. search for "perform %move using %textkey-name".
    4.Standard Texts are created in SO10 Tcode and stored in STXH table with OBject ,ID and NAME parameters. We can use Read_Text FM to read the text.
    check the tables STXH & STXL.
    5.
    How to CAll Standard Text in Smart Forms
    In SFs you can insert the standard tests using the TEXT node. Create a TEXT NODE. Then in the GENERAL ATTRIBUTES of this TEXT node select INCLUDE TEXT in the TYPE option. Then you have to enter the text name, object , ID and language in the provided fields. Then if you dont want any error if there is no text in the corresponding text then CHECK the check box "No errors if no text available.

  • How to make a 2-column text in sapscript via standard text?

    Hello ABAP Gurus! I'm having a hard time thinking on how I'm going to display a two-column text in the MAIN window of the form Using Form Painter(se71) and Standard Text (SO10). Let's put it this way, the scenario is like you are formatting a paragraph on MS word in to two columns by Format > Columns > Two. What am I going to do  with this similar situation in SAP? Any help will be highly appreciated. Thanks

    This is nothing with standard text.
    Call READ_TEXT FM and here use two variables ,read first line and move to first variable ,again read second line and move to second variable.
    Thanks
    Seshu

Maybe you are looking for

  • Re-read disk size in Solaris 10 x86 / VMware

    Hi Using # uname -a SunOS host1 5.10 Generic_142910-17 i86pc i386 i86pc We have a 30G virtual disk, on top of which a UFS filesystem is living, mounted, and used. The Virtual disk has been resized to 40G. I know I need to change the fdisk partition s

  • Toggling between single and multiple selection in a table

    I am working on ADF faces. I need to switch between single and multiple selection in <af:table based on a button I select. I cannot use switcher or rendered property inside <af:table. Only the first one is rendering the second one is not rendering ba

  • N8 - Ovi Maps & Routing Speech through Bluetooth

    Is there any way to route the voice directions from Ovi Maps to bluetooth headphones? I tried the other day, with music playing from my N8 through my bluetooth headphones the voice directions were still only coming out of the handset itself! Not much

  • Is there any truth to the rumor that there is a virus attacking iphones in the form of an iOS update?

    Is there any truth to the rumor that there is a virus attacking iphones in the form of an IOS update?

  • I-pod screen wont respond

    I was tanning and at first i thought it was the sunscreen that made it not respond but i remembered using it to change the volume and song. I put the i-pod behind my head when i was laying on the long chair and it could be that my sweat got on it and