<?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: in the read_text function module,  how to find the  lines in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/in-the-read-text-function-module-how-to-find-the-lines/m-p/1069024#M94237</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Find TDID,TDNAME from STXH(header),STXL(item) tables &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and you can get the text corresponding...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop that itab and write the text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Dec 2005 09:49:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-12-09T09:49:57Z</dc:date>
    <item>
      <title>in the read_text function module,  how to find the  lines</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/in-the-read-text-function-module-how-to-find-the-lines/m-p/1069018#M94231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The coding follows like this,&lt;/P&gt;&lt;P&gt;call function 'READ_TEXT'&lt;/P&gt;&lt;P&gt;       exporting&lt;/P&gt;&lt;P&gt;            client                  = sy-mandt&lt;/P&gt;&lt;P&gt;            id                      = id&lt;/P&gt;&lt;P&gt;            language                = sy-langu&lt;/P&gt;&lt;P&gt;            name                    = name&lt;/P&gt;&lt;P&gt;            object                  = object&lt;/P&gt;&lt;P&gt;       importing&lt;/P&gt;&lt;P&gt;            header                  = header&lt;/P&gt;&lt;P&gt;       tables&lt;/P&gt;&lt;P&gt;            lines                   = tab&lt;/P&gt;&lt;P&gt;       exceptions&lt;/P&gt;&lt;P&gt;            id                      = 1&lt;/P&gt;&lt;P&gt;            language                = 2&lt;/P&gt;&lt;P&gt;            name                    = 3&lt;/P&gt;&lt;P&gt;            not_found               = 4&lt;/P&gt;&lt;P&gt;            object                  = 5&lt;/P&gt;&lt;P&gt;            reference_check         = 6&lt;/P&gt;&lt;P&gt;            wrong_access_to_archive = 7&lt;/P&gt;&lt;P&gt;            others                  = 8.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can u provide me with the correct data form which i can read the lines.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2005 09:36:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/in-the-read-text-function-module-how-to-find-the-lines/m-p/1069018#M94231</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-09T09:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: in the read_text function module,  how to find the  lines</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/in-the-read-text-function-module-how-to-find-the-lines/m-p/1069019#M94232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The internal table 'tab' will have the text.&lt;/P&gt;&lt;P&gt;You can read the lines from the 'tab' internal table.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2005 09:40:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/in-the-read-text-function-module-how-to-find-the-lines/m-p/1069019#M94232</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-09T09:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: in the read_text function module,  how to find the  lines</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/in-the-read-text-function-module-how-to-find-the-lines/m-p/1069020#M94233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;DATA: it_lines LIKE tline OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ID = ST(Standard Text)&lt;/P&gt;&lt;P&gt;NAME = Standard text name which you want to read&lt;/P&gt;&lt;P&gt;OBJECT = TEXT&lt;/P&gt;&lt;P&gt;LINES  = &lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'READ_TEXT'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      id                      = 'ST'&lt;/P&gt;&lt;P&gt;      language                = sy-langu&lt;/P&gt;&lt;P&gt;      name                    = 'ZSAMPLETEXT'&lt;/P&gt;&lt;P&gt;      object                  = 'TEXT'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      lines                   = it_lines&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      id                      = 1&lt;/P&gt;&lt;P&gt;      language                = 2&lt;/P&gt;&lt;P&gt;      name                    = 3&lt;/P&gt;&lt;P&gt;      not_found               = 4&lt;/P&gt;&lt;P&gt;      object                  = 5&lt;/P&gt;&lt;P&gt;      reference_check         = 6&lt;/P&gt;&lt;P&gt;      wrong_access_to_archive = 7&lt;/P&gt;&lt;P&gt;      OTHERS                  = 8.&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if it helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sudhakar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2005 09:41:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/in-the-read-text-function-module-how-to-find-the-lines/m-p/1069020#M94233</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-09T09:41:24Z</dc:date>
    </item>
    <item>
      <title>Re: in the read_text function module,  how to find the  lines</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/in-the-read-text-function-module-how-to-find-the-lines/m-p/1069021#M94234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think this code will help you to read the lines&lt;/P&gt;&lt;P&gt;*--LOCAL VARIABLES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA : LV_NAME TYPE THEAD-TDNAME,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         LV_TEMP(128) TYPE C      ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--Structure to Hold the Header Data for Func Modules&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--Read_text &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         X_HEADER TYPE THEAD      .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CLEAR  : LV_NAME     ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;           LV_TEMP     ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;           V_IND_FG    ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;           X_HEADER    ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;           IT_TLINES   ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;           IT_TLINES[] .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LV_NAME  = P_DELV_NO .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  X_HEADER-TDOBJECT = 'VBBK'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  X_HEADER-TDNAME   = LV_NAME . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  X_HEADER-TDID     = 'ZMAN'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  X_HEADER-TDSPRAS  = 'E'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'READ_TEXT'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            CLIENT                  = SY-MANDT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            ID                      = X_HEADER-TDID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            LANGUAGE                = X_HEADER-TDSPRAS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            NAME                    = X_HEADER-TDNAME&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            OBJECT                  = X_HEADER-TDOBJECT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            LINES                   = IT_TLINES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            ID                      = 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            LANGUAGE                = 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            NAME                    = 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            NOT_FOUND               = 4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            OBJECT                  = 5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            REFERENCE_CHECK         = 6&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            WRONG_ACCESS_TO_ARCHIVE = 7&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            OTHERS                  = 8.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     ERROR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CLEAR :IT_TEXT,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;           IT_TEXT[] .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    V_IND_FG = 'X' .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    EXIT .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT IT_TEXT . &lt;/P&gt;&lt;P&gt;    IT_TLINES-TDFORMAT = '*'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IT_TLINES-TDLINE = IT_TEXT-LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    APPEND IT_TLINES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CLEAR  IT_TLINES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Koshal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2005 09:46:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/in-the-read-text-function-module-how-to-find-the-lines/m-p/1069021#M94234</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-09T09:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: in the read_text function module,  how to find the  lines</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/in-the-read-text-function-module-how-to-find-the-lines/m-p/1069022#M94235</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;After that IT_LINES will have the text which is in Standard Text.  If you want to write that text:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at IT_LINES.&lt;/P&gt;&lt;P&gt;WRITE &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; IT_LINES.&lt;/P&gt;&lt;P&gt;Endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sudhakar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2005 09:46:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/in-the-read-text-function-module-how-to-find-the-lines/m-p/1069022#M94235</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-09T09:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: in the read_text function module,  how to find the  lines</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/in-the-read-text-function-module-how-to-find-the-lines/m-p/1069023#M94236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi you need to provide Object ID, NAme properly....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for Object ID's you can refer these STXH,STXl tables &lt;/P&gt;&lt;P&gt;and find the ID's.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then pass them to FM, read the lines(&amp;lt;b&amp;gt;tab&amp;lt;/b&amp;gt;) (lines will have text for that id).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2005 09:47:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/in-the-read-text-function-module-how-to-find-the-lines/m-p/1069023#M94236</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-09T09:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: in the read_text function module,  how to find the  lines</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/in-the-read-text-function-module-how-to-find-the-lines/m-p/1069024#M94237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Find TDID,TDNAME from STXH(header),STXL(item) tables &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and you can get the text corresponding...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop that itab and write the text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2005 09:49:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/in-the-read-text-function-module-how-to-find-the-lines/m-p/1069024#M94237</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-09T09:49:57Z</dc:date>
    </item>
  </channel>
</rss>

