<?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: READ_TEXT parallel cursor in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-parallel-cursor/m-p/12248681#M1985901</link>
    <description>&lt;P&gt;I guess you don't give the same meaning of "parallel cursor" as the one used frequently in this forum.&lt;/P&gt;&lt;P&gt;If your question is about how to concatenate all lines of the text into a STRING variable, it has been already asked in the forum: search CONVERT_ITF_TO_STREAM_TEXT.&lt;/P&gt;</description>
    <pubDate>Fri, 30 Oct 2020 07:10:18 GMT</pubDate>
    <dc:creator>Sandra_Rossi</dc:creator>
    <dc:date>2020-10-30T07:10:18Z</dc:date>
    <item>
      <title>READ_TEXT parallel cursor</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-parallel-cursor/m-p/12248680#M1985900</link>
      <description>&lt;P&gt;Hi Experts,&lt;/P&gt;
  &lt;P&gt;I'm currently working on a simple report that will use READ_TEXT function module. Unfortunately the the parameters used returns more than one text for each document (TDLINE), I'm looping through the FM to process all my documents stored in select-options. Is there a way to avoid loop within a loop in reading the output table since TDLINE doesn't have unique key to use parallel cursor?&lt;/P&gt;
  &lt;P&gt;Thank you,&lt;/P&gt;
  &lt;P&gt;Jeffrey&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2020 20:58:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-parallel-cursor/m-p/12248680#M1985900</guid>
      <dc:creator>jeff_broodwar</dc:creator>
      <dc:date>2020-10-29T20:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: READ_TEXT parallel cursor</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-parallel-cursor/m-p/12248681#M1985901</link>
      <description>&lt;P&gt;I guess you don't give the same meaning of "parallel cursor" as the one used frequently in this forum.&lt;/P&gt;&lt;P&gt;If your question is about how to concatenate all lines of the text into a STRING variable, it has been already asked in the forum: search CONVERT_ITF_TO_STREAM_TEXT.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Oct 2020 07:10:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-parallel-cursor/m-p/12248681#M1985901</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2020-10-30T07:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: READ_TEXT parallel cursor</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-parallel-cursor/m-p/12248682#M1985902</link>
      <description>&lt;P&gt;Hi Jeff,&lt;/P&gt;&lt;P&gt;please see my comment in your related thread:&lt;/P&gt;&lt;P&gt;&lt;A href="https://answers.sap.com/comments/13178269/view.html" target="test_blank"&gt;https://answers.sap.com/comments/13178269/view.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Bottom line: you'll always end up with an internal table when retrieving the long texts via one of the available FMs like READ_TEXT. But looping through the provided TDLINE internal table is not an issue performance wise (and it's not considered "parallel cursor"). &lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Bärbel&lt;/P&gt;</description>
      <pubDate>Fri, 30 Oct 2020 08:02:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-parallel-cursor/m-p/12248682#M1985902</guid>
      <dc:creator>BaerbelWinkler</dc:creator>
      <dc:date>2020-10-30T08:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: READ_TEXT parallel cursor</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-parallel-cursor/m-p/12248683#M1985903</link>
      <description>&lt;P&gt;I propose to continue the discussion in your previous question: &lt;A href="https://answers.sap.com/questions/13175145/using-read-text-with-range-for-name-without-table.html" target="test_blank"&gt;https://answers.sap.com/questions/13175145/using-read-text-with-range-for-name-without-table.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;NB: to be discussed in the other thread: what is impossible for me to understand is your fear of calling READ_TEXT several times, and even more why fearing the concatenation of lines (matter of microseconds). You should base your decisions on measured facts: performance measure and target maximum and average data volume. And if you have an old SAP without READ_MULTIPLE_TEXTS and you expect to read hundreds or say thousands of texts, Raymond proposed a blog post with code inside equivalent to READ_MULTIPLE_TEXTS (and I also extended the solution with my own gist code at github, as you can see in the comments).&lt;/P&gt;</description>
      <pubDate>Fri, 30 Oct 2020 09:51:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-parallel-cursor/m-p/12248683#M1985903</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2020-10-30T09:51:46Z</dc:date>
    </item>
    <item>
      <title>Re: READ_TEXT parallel cursor</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-parallel-cursor/m-p/12248684#M1985904</link>
      <description>&lt;P&gt;Hi Barbel,&lt;/P&gt;&lt;P&gt;Read text FM is encapsulated inside a loop because of select-options containing the documents that need to be read, inside this loop is the loop for getting the records inside table TDLINE so therefore its gonna have loop inside a loop, since tdline doesn't have a key then I suppose getting the FMs as proposed earlier is the best case scenario or using Raymond's solution of not calling read_text at all and decompressing table.&lt;/P&gt;&lt;P&gt;Thanks for the inputs.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Jeffrey&lt;/P&gt;</description>
      <pubDate>Fri, 30 Oct 2020 15:31:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-parallel-cursor/m-p/12248684#M1985904</guid>
      <dc:creator>jeff_broodwar</dc:creator>
      <dc:date>2020-10-30T15:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: READ_TEXT parallel cursor</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-parallel-cursor/m-p/12248685#M1985905</link>
      <description>&lt;P&gt;Hi Sandra,&lt;/P&gt;&lt;P&gt;2 points:&lt;/P&gt;&lt;P&gt;Parallel cursor - the design is looping through read_text since the documents are inside select-options. then getting tdline records will need another loop. since no key is present inside tdline then there's no way to read and use parallel cursor on this, my bad as I didn't explain fully the context.&lt;/P&gt;&lt;P&gt;Text to string - nope, but I agree with Raymond's solution. Furthermore, nothing to fear in read_text it's just the scenario provided where the output of tdline may contain several rows which will require loop while inside select-options loop. Its just standards that we're looking after, in terms of performance, it's just several records I don't think it will cause any issues.&lt;/P&gt;&lt;P&gt;Thanks for your time.&lt;/P&gt;&lt;P&gt;Jeffrey&lt;/P&gt;</description>
      <pubDate>Fri, 30 Oct 2020 15:36:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-parallel-cursor/m-p/12248685#M1985905</guid>
      <dc:creator>jeff_broodwar</dc:creator>
      <dc:date>2020-10-30T15:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: READ_TEXT parallel cursor</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-parallel-cursor/m-p/12248686#M1985906</link>
      <description>&lt;P&gt; &lt;SPAN class="mention-scrubbed"&gt;jeff.broodwar&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;Hi Jeff,&lt;/P&gt;&lt;P&gt;Raymond suggests using one of the alternative FMs I also already mentioned (which you'd have to get into your 7.40 system via the OSS-Note mentioned in the other thread). There is no way to directly read the text lines from an SAP-table, you always need to use one of the FMs provided by SAP and regardless of which of these you use, you'll always have the text lines in an internal table which doesn't have a key.&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Bärbel&lt;/P&gt;</description>
      <pubDate>Fri, 30 Oct 2020 15:45:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-parallel-cursor/m-p/12248686#M1985906</guid>
      <dc:creator>BaerbelWinkler</dc:creator>
      <dc:date>2020-10-30T15:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: READ_TEXT parallel cursor</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-parallel-cursor/m-p/12248687#M1985907</link>
      <description>&lt;P&gt;Agree with the use of 2 new FMs or using decompress and processing STXL discussed in this thread:&lt;/P&gt;&lt;P&gt;&lt;A href="https://answers.sap.com/questions/8178100/mass-reading-standard-texts-stxh-stxl.html" target="test_blank"&gt;https://answers.sap.com/questions/8178100/mass-reading-standard-texts-stxh-stxl.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks everyone for sharing.&lt;/P&gt;&lt;P&gt;Jeffrey&lt;/P&gt;</description>
      <pubDate>Fri, 30 Oct 2020 15:47:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-parallel-cursor/m-p/12248687#M1985907</guid>
      <dc:creator>jeff_broodwar</dc:creator>
      <dc:date>2020-10-30T15:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: READ_TEXT parallel cursor</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-parallel-cursor/m-p/12248688#M1985908</link>
      <description>&lt;P&gt;As other community members have already tried to help you on your other question: &lt;A href="https://answers.sap.com/questions/13175145/using-read-text-with-range-for-name-without-table.html" target="test_blank"&gt;https://answers.sap.com/questions/13175145/using-read-text-with-range-for-name-without-table.html&lt;/A&gt; we will close this question as it is a duplicate question. However, if you found the solution yourself, please let other community members know in the question linked above. &lt;/P&gt;</description>
      <pubDate>Fri, 30 Oct 2020 16:27:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-parallel-cursor/m-p/12248688#M1985908</guid>
      <dc:creator>former_member34</dc:creator>
      <dc:date>2020-10-30T16:27:45Z</dc:date>
    </item>
  </channel>
</rss>

