<?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: Get text from READ_TEXT in SAPScript in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-text-from-read-text-in-sapscript/m-p/11178927#M1908775</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;not every field in the ABAP print program can be retrieved and output in SAPscript. Only GLOBAL variables can be accessed by SAPscript. Are you sure your field is a global variable in your print program (e.g compare its location in the program to some other, working, variables in the form)?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Jul 2015 10:33:51 GMT</pubDate>
    <dc:creator>alexander_bolloni</dc:creator>
    <dc:date>2015-07-17T10:33:51Z</dc:date>
    <item>
      <title>Get text from READ_TEXT in SAPScript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-text-from-read-text-in-sapscript/m-p/11178918#M1908766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to include a dynamic text element in a SAPScript.&lt;/P&gt;&lt;P&gt;But by one or more reasons this text is not showed..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my implementation to show the text element in the editor (SE71):&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/749353" width="450" /&gt;&lt;/P&gt;&lt;P&gt;In the other editor it's like this&lt;/P&gt;&lt;P&gt; &lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/749383" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is how it's showed now&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/749379" /&gt;&lt;/P&gt;&lt;P&gt;Normally under 'Executive Summary the text elements must be displayed..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've check the value of VIQMEL-BAUTL in he debugger:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/749381" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And yes there is some text:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/749382" width="450" /&gt;&lt;/P&gt;&lt;P&gt;The given Text name seems correct..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know what the problem is and why the text doesn't appear on the SAPScript?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Pieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2015 13:53:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-text-from-read-text-in-sapscript/m-p/11178918#M1908766</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-07-16T13:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: Get text from READ_TEXT in SAPScript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-text-from-read-text-in-sapscript/m-p/11178919#M1908767</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;What happens in Sapscript debugger? Does it show the text?&lt;/P&gt;&lt;P&gt;Maybe you could try with LANGUAGE 'E' .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2015 15:02:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-text-from-read-text-in-sapscript/m-p/11178919#M1908767</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-07-16T15:02:46Z</dc:date>
    </item>
    <item>
      <title>Re: Get text from READ_TEXT in SAPScript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-text-from-read-text-in-sapscript/m-p/11178920#M1908768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Piru,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the SAPScript debugger for the INLUDE line:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/749888" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The next message is displayed:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/749889" /&gt;&lt;/P&gt;&lt;P&gt;And the value of WQMMA-STTXT is empty..&lt;/P&gt;&lt;P&gt;But in the ABAP code this field recieved a value (like I showed in my question).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why is this field empty again?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Pieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 07:26:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-text-from-read-text-in-sapscript/m-p/11178920#M1908768</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-07-17T07:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: Get text from READ_TEXT in SAPScript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-text-from-read-text-in-sapscript/m-p/11178921#M1908769</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;Are you using &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;global&lt;/STRONG&gt;&lt;/SPAN&gt; variables ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 07:58:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-text-from-read-text-in-sapscript/m-p/11178921#M1908769</guid>
      <dc:creator>rosenberg_eitan</dc:creator>
      <dc:date>2015-07-17T07:58:01Z</dc:date>
    </item>
    <item>
      <title>Re: Get text from READ_TEXT in SAPScript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-text-from-read-text-in-sapscript/m-p/11178922#M1908770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pieter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It might be worth checking the variable you want to use is available from the print program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you go into the old version of the text editor (the second screen shot in your question) there will be a menu option something like Goto -&amp;gt; Print Program -&amp;gt; Define Print Program (the wording has changed over the releases, but it's something like that).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From there you can navigate into the variables from the print program that are available in the form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 07:59:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-text-from-read-text-in-sapscript/m-p/11178922#M1908770</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-07-17T07:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: Get text from READ_TEXT in SAPScript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-text-from-read-text-in-sapscript/m-p/11178923#M1908771</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;usually in order to call that text you would need a text element within the corresponding window:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;/E&amp;nbsp;&amp;nbsp;&amp;nbsp; LAST&lt;/P&gt;
&lt;P&gt;/:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INCLUDE &amp;amp;VIQMEL-BAUTL&amp;amp;&amp;nbsp; OBJECT QMFE ID LTQM LANGUAGE EN&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This element should be called within the print program:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;&lt;SPAN lang="EN-GB" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CALL FUNCTION 'WRITE_FORM'&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN lang="EN-GB" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXPORTING&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN lang="EN-GB" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; element = 'LAST'&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN lang="EN-GB" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; window&amp;nbsp; = 'MAIN'.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN lang="EN-GB" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 10pt; font-family: 'Courier New';"&gt;Make sure you have both of them.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-GB" style="font-size: 10pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-GB" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Best regards.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 07:59:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-text-from-read-text-in-sapscript/m-p/11178923#M1908771</guid>
      <dc:creator>former_member182371</dc:creator>
      <dc:date>2015-07-17T07:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: Get text from READ_TEXT in SAPScript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-text-from-read-text-in-sapscript/m-p/11178924#M1908772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pablo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created like you said, now &lt;SPAN style="color: #000000; font-family: helvetica, arial; font-size: 12px; background-color: #f8f8f8;"&gt;VIQMEL-BAUTL has the correct value but still the same message underneath the screen is displayed with the value..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: helvetica, arial; font-size: 12px; background-color: #f8f8f8;"&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/750009" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/750010" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Pieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 08:45:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-text-from-read-text-in-sapscript/m-p/11178924#M1908772</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-07-17T08:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: Get text from READ_TEXT in SAPScript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-text-from-read-text-in-sapscript/m-p/11178925#M1908773</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;even the WRITE_FORM in the print program?.&lt;/P&gt;&lt;P&gt;Put a break-point there and see what is going on.&lt;/P&gt;&lt;P&gt;(generate and activate frequently, sometimes its tricky)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 08:55:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-text-from-read-text-in-sapscript/m-p/11178925#M1908773</guid>
      <dc:creator>former_member182371</dc:creator>
      <dc:date>2015-07-17T08:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: Get text from READ_TEXT in SAPScript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-text-from-read-text-in-sapscript/m-p/11178926#M1908774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Pieter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you write the command by yourself or used the below insert option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There might be chances that you have missed one space or added while writing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just try to add it by the provision available as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to the line editor of the window then in menu Insert --&amp;gt; Text --&amp;gt; Standard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Specify the text name, ID and language.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/750113" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;TP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 09:50:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-text-from-read-text-in-sapscript/m-p/11178926#M1908774</guid>
      <dc:creator>ThangaPrakash</dc:creator>
      <dc:date>2015-07-17T09:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: Get text from READ_TEXT in SAPScript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-text-from-read-text-in-sapscript/m-p/11178927#M1908775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;not every field in the ABAP print program can be retrieved and output in SAPscript. Only GLOBAL variables can be accessed by SAPscript. Are you sure your field is a global variable in your print program (e.g compare its location in the program to some other, working, variables in the form)?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 10:33:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-text-from-read-text-in-sapscript/m-p/11178927#M1908775</guid>
      <dc:creator>alexander_bolloni</dc:creator>
      <dc:date>2015-07-17T10:33:51Z</dc:date>
    </item>
  </channel>
</rss>

