<?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: Re: read_text in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-read-text/m-p/1473119#M222184</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;Another alternative for read_text is to use include text directly in smartforms. (Smartforms text types)&lt;/P&gt;&lt;P&gt;You can just pass the text object details to this, just what you pass to read_text and it gets the long text for output in smartforms. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, &lt;/P&gt;&lt;P&gt;Rashmi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Aug 2006 12:07:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-08-22T12:07:20Z</dc:date>
    <item>
      <title>Re: read_text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-read-text/m-p/1473115#M222180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi to all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; how to use read_text function module in smartforms&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i had a text i want it to print in the output column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help me in this regard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;sun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2006 11:32:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-read-text/m-p/1473115#M222180</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-22T11:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: Re: read_text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-read-text/m-p/1473116#M222181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;call the read_text function module from your print program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The variable is to be global which reads  teh text.&lt;/P&gt;&lt;P&gt;Use this variable directly in the form&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2006 11:34:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-read-text/m-p/1473116#M222181</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-22T11:34:25Z</dc:date>
    </item>
    <item>
      <title>Re: Re: read_text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-read-text/m-p/1473117#M222182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Add a program lines code and call the function there as you are using in reports.&lt;/P&gt;&lt;P&gt;But here you have to declare all variables or constants to use in Global Data tab and also to pass them in input parameter and output parameter of the Program Lines tab.&lt;/P&gt;&lt;P&gt;then use the variable in the Text node to display the value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2006 11:36:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-read-text/m-p/1473117#M222182</guid>
      <dc:creator>amit_khare</dc:creator>
      <dc:date>2006-08-22T11:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: Re: read_text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-read-text/m-p/1473118#M222183</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;All the long text can be retrieve using this method. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to used the READ_TEXT functions to read the SAP long text.  e.g. Sales Order, Purchase Order Item text etc. &lt;/P&gt;&lt;P&gt;To check your long text header, go into the long text.  Click Goto -&amp;gt; Header &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example of READ_TEXT functions reading tables PBIM - Independent requirements for material. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT ZTEXT . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES: PBIM. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;stxh, stxl, stxb - trans tables for text &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;ttxit - text on text-ids &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;ttxot - Short texts on text objects &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Transaction MD63 &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;SELECT-OPTIONS: S_MATNR FOR PBIM-MATNR, &lt;/P&gt;&lt;P&gt;                S_WERKS FOR PBIM-WERKS. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF HTEXT. &lt;/P&gt;&lt;P&gt;        INCLUDE STRUCTURE THEAD. &lt;/P&gt;&lt;P&gt;DATA: END OF HTEXT. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF LTEXT OCCURS 50. &lt;/P&gt;&lt;P&gt;        INCLUDE STRUCTURE TLINE. &lt;/P&gt;&lt;P&gt;DATA: END OF LTEXT. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF DTEXT OCCURS 50. &lt;/P&gt;&lt;P&gt;DATA:   MATNR LIKE PBIM-MATNR. &lt;/P&gt;&lt;P&gt;        INCLUDE STRUCTURE TLINE. &lt;/P&gt;&lt;P&gt;DATA: END OF DTEXT. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: TNAME LIKE THEAD-TDNAME. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM PBIM WHERE WERKS IN S_WERKS. &lt;/P&gt;&lt;P&gt;  MOVE PBIM-BDZEI TO TNAME. &lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'READ_TEXT' &lt;/P&gt;&lt;P&gt;       EXPORTING &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;          CLIENT                  = SY-MANDT &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          ID                      = 'PB' &lt;/P&gt;&lt;P&gt;          LANGUAGE                = 'E' &lt;/P&gt;&lt;P&gt;          NAME                    = TNAME &lt;/P&gt;&lt;P&gt;          OBJECT                  = 'PBPT' &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        ARCHIVE_HANDLE          = 0 &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;     IMPORTING &lt;/P&gt;&lt;P&gt;          HEADER                  = HTEXT &lt;/P&gt;&lt;P&gt;     TABLES &lt;/P&gt;&lt;P&gt;          LINES                   = LTEXT &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;  LOOP AT LTEXT. &lt;/P&gt;&lt;P&gt;    IF LTEXT-TDLINE NE ''. &lt;/P&gt;&lt;P&gt;      MOVE LTEXT-TDLINE TO DTEXT-TDLINE. &lt;/P&gt;&lt;P&gt;      MOVE PBIM-MATNR TO DTEXT-MATNR. &lt;/P&gt;&lt;P&gt;      APPEND DTEXT. &lt;/P&gt;&lt;P&gt;    ENDIF. &lt;/P&gt;&lt;P&gt;  ENDLOOP. &lt;/P&gt;&lt;P&gt;ENDSELECT. &lt;/P&gt;&lt;P&gt;LOOP AT DTEXT. &lt;/P&gt;&lt;P&gt;  WRITE:/ DTEXT-MATNR, DTEXT-TDLINE. &lt;/P&gt;&lt;P&gt;ENDLOOP. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;mrutyun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2006 11:54:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-read-text/m-p/1473118#M222183</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-22T11:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: Re: read_text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-read-text/m-p/1473119#M222184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;Another alternative for read_text is to use include text directly in smartforms. (Smartforms text types)&lt;/P&gt;&lt;P&gt;You can just pass the text object details to this, just what you pass to read_text and it gets the long text for output in smartforms. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, &lt;/P&gt;&lt;P&gt;Rashmi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2006 12:07:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-read-text/m-p/1473119#M222184</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-22T12:07:20Z</dc:date>
    </item>
  </channel>
</rss>

