<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Program:To read the text by entering the textid, text object in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-to-read-the-text-by-entering-the-textid-text-object/m-p/5820702#M1314858</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes , i tried doing that with a suggetsion code as below but it dosent seem to be working .&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data:  it_stxh type table of stxh,

       wa_stxh type stxh.
select-options: p_id for stxh-tdid,
                p_object for stxh-tdobject,
                p_name for stxh-tdname,
                p_lang for stxh-tdspras.
loop at l_stxh into wa_stxh.
  select single  * from stxh into  corresponding fields of wa_stxh where
    tdid = p_id and
    tdobject = p_object and
    tdname = p_name and
    tdspras = p_name.

  if sy-subrc = 0.
    append wa_stxh to l_stxh.
  endif.
  write:/ wa_stxh.
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Jun 2009 19:48:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-06-24T19:48:37Z</dc:date>
    <item>
      <title>Program:To read the text by entering the textid, text object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-to-read-the-text-by-entering-the-textid-text-object/m-p/5820692#M1314848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im looking to create a program to read texts for all of a particular objevt and id . I mean if I have a an object called 'material' and the ID 'SPUR' . I want the ability to be there on the selection screen to enter the text ID and text object name and after entering that on selection screen and running the program I should get all the texts associated with that object in my output , similary I should be able to  enter any textid and object name and run teh program and get all teh texts associated withn it. If anyone has done this before could you please help out.In the output when run it will give the entire list of texts with for eg:&lt;/P&gt;&lt;P&gt;material number and texts against it in teh desired langugae.&lt;/P&gt;&lt;P&gt; Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2009 16:52:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-to-read-the-text-by-entering-the-textid-text-object/m-p/5820692#M1314848</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-19T16:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: Program:To read the text by entering the textid, text object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-to-read-the-text-by-entering-the-textid-text-object/m-p/5820693#M1314849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u will be using Read_text Fm and declare corresponding selection elements which can drive Read_text&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[ABAP READ_TEXT functions to read the SAP Long Text|http://www.sap-basis-abap.com/sapac002.htm]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2009 16:56:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-to-read-the-text-by-entering-the-textid-text-object/m-p/5820693#M1314849</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2009-06-19T16:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: Program:To read the text by entering the textid, text object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-to-read-the-text-by-entering-the-textid-text-object/m-p/5820694#M1314850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can call function module READ_TEXT and pass respective parameters. You can find the values in STXH table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KR Jaideep,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2009 16:57:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-to-read-the-text-by-entering-the-textid-text-object/m-p/5820694#M1314850</guid>
      <dc:creator>jaideepsharma</dc:creator>
      <dc:date>2009-06-19T16:57:30Z</dc:date>
    </item>
    <item>
      <title>Re: Program:To read the text by entering the textid, text object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-to-read-the-text-by-entering-the-textid-text-object/m-p/5820695#M1314851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use Read_text with following entries:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                                                   &lt;/P&gt;&lt;P&gt; CLIENT                          700             &lt;/P&gt;&lt;P&gt; ID                                  SPUR            &lt;/P&gt;&lt;P&gt; LANGUAGE                   EN              &lt;/P&gt;&lt;P&gt; NAME                                            &lt;/P&gt;&lt;P&gt; OBJECT                         MATERIAL        &lt;/P&gt;&lt;P&gt;           &lt;/P&gt;&lt;P&gt;Give Material Number in selection screen and pass that number in NAME parameter above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will get all the text in LINES internal table of FM read_text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2009 17:01:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-to-read-the-text-by-entering-the-textid-text-object/m-p/5820695#M1314851</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-19T17:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: Program:To read the text by entering the textid, text object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-to-read-the-text-by-entering-the-textid-text-object/m-p/5820696#M1314852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thats right , I already have created a program like that but as I said that will only read the text of a specoific ID and object , what I want is like an ability to enter the text id and object and name in the selection screen rather than only the object name which will give me textb to a specific text object only .For eg: In my slection screen I should ahve option:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TEXid: obligatory&lt;/P&gt;&lt;P&gt;Text object: Obligatory&lt;/P&gt;&lt;P&gt;Text name : can be enterd if want for specific one.&lt;/P&gt;&lt;P&gt;So in this selection screen I can enter and object Id like VBBP, VBBK, Material, ect and in Id : 001, z001, spur ect , so that I can ready any text .&lt;/P&gt;&lt;P&gt;In the programs we usually use read_text FM to read a specific object and id , say for materials , but if I would like to just ahve read_text in general which can read any objecta nd id through my selection , that si what I want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2009 17:18:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-to-read-the-text-by-entering-the-textid-text-object/m-p/5820696#M1314852</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-19T17:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: Program:To read the text by entering the textid, text object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-to-read-the-text-by-entering-the-textid-text-object/m-p/5820697#M1314853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you use the FM &lt;/P&gt;&lt;P&gt;ID&lt;/P&gt;&lt;P&gt;LANGUAGE&lt;/P&gt;&lt;P&gt;NAME&lt;/P&gt;&lt;P&gt;OBJECT are mandatory..if you dont want to use all of these..FM is not a correct choice...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can use a select statement on STXH table and get the output..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2009 17:38:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-to-read-the-text-by-entering-the-textid-text-object/m-p/5820697#M1314853</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2009-06-19T17:38:54Z</dc:date>
    </item>
    <item>
      <title>Re: Program:To read the text by entering the textid, text object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-to-read-the-text-by-entering-the-textid-text-object/m-p/5820698#M1314854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes I would like to use all those in my selection screen ofcourse and would like to go through the FM only , but is it possible to what I want through the Fm and if so how do I go about doing that becauise I just want to enter it in the selection screen and get the output for any TEXTID and OBJECT rather than limiting it to just one .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2009 17:42:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-to-read-the-text-by-entering-the-textid-text-object/m-p/5820698#M1314854</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-19T17:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: Program:To read the text by entering the textid, text object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-to-read-the-text-by-entering-the-textid-text-object/m-p/5820699#M1314855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ID&lt;/P&gt;&lt;P&gt;LANGUAGE&lt;/P&gt;&lt;P&gt;NAME&lt;/P&gt;&lt;P&gt;OBJECT are mandatory, on call of the function all these need to be present to get the output. to get all some thing need to blank, which FM does not allow. I guess u might have to be a little considerate on ur requirement of using the FM... analyze the code of read_text and just replicate the same in ur code.... but its mere hit on table STXH which will get u all the data as per ur req.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2009 17:54:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-to-read-the-text-by-entering-the-textid-text-object/m-p/5820699#M1314855</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2009-06-19T17:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: Program:To read the text by entering the textid, text object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-to-read-the-text-by-entering-the-textid-text-object/m-p/5820700#M1314856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thats absolutely right I cant use FM as its mandatory , so the other way you suggested is through the STXH table , so how would I be able to get the texts from there with the selection screen as per my needs ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2009 19:03:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-to-read-the-text-by-entering-the-textid-text-object/m-p/5820700#M1314856</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-19T19:03:39Z</dc:date>
    </item>
    <item>
      <title>Re: Program:To read the text by entering the textid, text object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-to-read-the-text-by-entering-the-textid-text-object/m-p/5820701#M1314857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;select &lt;SUP&gt;&amp;amp;(*&lt;/SUP&gt;$@ from stxh&lt;/P&gt;&lt;P&gt;into &lt;/P&gt;&lt;P&gt;where id = p_id&lt;/P&gt;&lt;P&gt;object....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2009 20:56:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-to-read-the-text-by-entering-the-textid-text-object/m-p/5820701#M1314857</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2009-06-19T20:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: Program:To read the text by entering the textid, text object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-to-read-the-text-by-entering-the-textid-text-object/m-p/5820702#M1314858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes , i tried doing that with a suggetsion code as below but it dosent seem to be working .&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data:  it_stxh type table of stxh,

       wa_stxh type stxh.
select-options: p_id for stxh-tdid,
                p_object for stxh-tdobject,
                p_name for stxh-tdname,
                p_lang for stxh-tdspras.
loop at l_stxh into wa_stxh.
  select single  * from stxh into  corresponding fields of wa_stxh where
    tdid = p_id and
    tdobject = p_object and
    tdname = p_name and
    tdspras = p_name.

  if sy-subrc = 0.
    append wa_stxh to l_stxh.
  endif.
  write:/ wa_stxh.
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2009 19:48:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-to-read-the-text-by-entering-the-textid-text-object/m-p/5820702#M1314858</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-24T19:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: Program:To read the text by entering the textid, text object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-to-read-the-text-by-entering-the-textid-text-object/m-p/5820703#M1314859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Yes , i tried doing that with a suggetsion code as below but it dosent seem to be working .&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Please - this is the way a user might describe a problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What isn't working? what is happening - dump, error message, return code, incorrect results???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2009 19:54:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-to-read-the-text-by-entering-the-textid-text-object/m-p/5820703#M1314859</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-24T19:54:55Z</dc:date>
    </item>
    <item>
      <title>Re: Program:To read the text by entering the textid, text object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-to-read-the-text-by-entering-the-textid-text-object/m-p/5820704#M1314860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The selection is not taking place and either entring nay value in the selection screen or running without entering any selection it dosent go anywhere , nor does it give nay error, it just stays there as if there is no values associated with the selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2009 20:04:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-to-read-the-text-by-entering-the-textid-text-object/m-p/5820704#M1314860</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-24T20:04:04Z</dc:date>
    </item>
    <item>
      <title>Re: Program:To read the text by entering the textid, text object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-to-read-the-text-by-entering-the-textid-text-object/m-p/5820705#M1314861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, what is l_stxh? It isn't defined in your program snippet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And you are looping at it into a work area then selecting into the same work area and finally appending that same work area to the table your are looping through. Is this what you mean to do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And this won't read any texts - just the header from the text table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And you've confused PARAMETERS and SELECT-OPTIONS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;tdname = p_name and
tdspras = p_name.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please do &lt;U&gt;some&lt;/U&gt; desk checking before posting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rob Burbank on Jun 24, 2009 4:53 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rob Burbank on Jun 24, 2009 5:22 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2009 20:30:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-to-read-the-text-by-entering-the-textid-text-object/m-p/5820705#M1314861</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-24T20:30:24Z</dc:date>
    </item>
  </channel>
</rss>

