<?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: Passing Variable in READ_TEXT in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-variable-in-read-text/m-p/6317005#M1393718</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;You want to display the values in Sapscript or Smartforms or report ???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Nov 2009 09:59:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-11-04T09:59:29Z</dc:date>
    <item>
      <title>Passing Variable in READ_TEXT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-variable-in-read-text/m-p/6317003#M1393716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can we pass Variable used in TEXT created by TCODE "so10" in executable Program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for e.g.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Text created using so10 as :&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Your account &lt;EM&gt;&amp;amp;knvp-kunnr&amp;amp;&lt;/EM&gt; has been exceeded the limit.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I pass &lt;STRONG&gt;&amp;amp;knvp-kunnr&amp;amp;&lt;/STRONG&gt; value ? if yes then how?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the &lt;STRONG&gt;FM READ_TEXT&lt;/STRONG&gt; in my &lt;STRONG&gt;Executable report&lt;/STRONG&gt; and getting &lt;STRONG&gt;output&lt;/STRONG&gt;  as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                      &lt;EM&gt;&lt;STRONG&gt;Your account &amp;amp;knvp-kunnr&amp;amp; has been exceeded the limit.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need &lt;U&gt;&lt;EM&gt;knvp-kunnr&lt;/EM&gt;&lt;/U&gt; values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help ASAP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Nov 2009 09:52:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-variable-in-read-text/m-p/6317003#M1393716</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-04T09:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: Passing Variable in READ_TEXT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-variable-in-read-text/m-p/6317004#M1393717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure why you are using READ_TEXT for this purpose?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just use &lt;STRONG&gt;Message&lt;/STRONG&gt; with &lt;STRONG&gt;place holders&lt;/STRONG&gt; would do this job for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Please help ASAP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please resist yourself to write down these words into your post.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Nov 2009 09:57:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-variable-in-read-text/m-p/6317004#M1393717</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-04T09:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: Passing Variable in READ_TEXT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-variable-in-read-text/m-p/6317005#M1393718</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;You want to display the values in Sapscript or Smartforms or report ???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Nov 2009 09:59:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-variable-in-read-text/m-p/6317005#M1393718</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-04T09:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: Passing Variable in READ_TEXT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-variable-in-read-text/m-p/6317006#M1393719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in Report I will be using this which will be used in sending emails.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Nov 2009 10:15:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-variable-in-read-text/m-p/6317006#M1393719</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-04T10:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: Passing Variable in READ_TEXT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-variable-in-read-text/m-p/6317007#M1393720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for making correction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then what should i use instead of read_text?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Nov 2009 10:18:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-variable-in-read-text/m-p/6317007#M1393720</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-04T10:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: Passing Variable in READ_TEXT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-variable-in-read-text/m-p/6317008#M1393721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://www.google.co.in/search?hl=en&amp;amp;q=message" target="test_blank"&gt;http://www.google.co.in/search?hl=en&amp;amp;q=message&lt;/A&gt;&lt;EM&gt;with&lt;/EM&gt;placeholders&lt;EM&gt;%2B&lt;/EM&gt;SAP&amp;amp;meta=&amp;amp;aq=f&amp;amp;oq=&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Nov 2009 10:37:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-variable-in-read-text/m-p/6317008#M1393721</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-04T10:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: Passing Variable in READ_TEXT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-variable-in-read-text/m-p/6317009#M1393722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;they are neither messages nor text elements..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to use those Text to send emails.&lt;/P&gt;&lt;P&gt;Having 5 different types of email.&lt;/P&gt;&lt;P&gt;so will be creating 5 different text in so10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;using READ_TEXT, making that text available for email in text. but want to replace the variables.&lt;/P&gt;&lt;P&gt;as there are many variables needs to be used in mail. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For e.g.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your Account number &lt;STRONG&gt;[Variable1]&lt;/STRONG&gt; has been exceeded to &lt;STRONG&gt;[variable2].&lt;/STRONG&gt; Please contact your &lt;STRONG&gt;[variable 3&lt;/STRONG&gt;]..... and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this clears the requirment.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Nov 2009 10:58:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-variable-in-read-text/m-p/6317009#M1393722</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-04T10:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: Passing Variable in READ_TEXT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-variable-in-read-text/m-p/6317010#M1393723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Neha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can save the text as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'Your Account number &lt;STRONG&gt;&amp;amp;1&lt;/STRONG&gt; has been exceeded to &lt;STRONG&gt;&amp;amp;2&lt;/STRONG&gt;. Please contact your &lt;STRONG&gt;&amp;amp;3&lt;/STRONG&gt;..... and so on.'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in the code, &lt;STRONG&gt;search for &amp;amp;1 and replace it with desired value (value1).&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Search for &amp;amp;2, and replace it with value2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use any word which you are sure will not be present in your message.&lt;/P&gt;&lt;P&gt;For eg : &amp;amp;1/&amp;amp;2 , or, AAAA/BBBB/CCCCC, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample code below:&lt;/P&gt;&lt;P&gt;    LOOP AT itab INTO wa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      l_codeword_1 = '&amp;amp;1'.&lt;/P&gt;&lt;P&gt;      SEARCH wa-line FOR l_codeword_1.&lt;/P&gt;&lt;P&gt;      IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;        l_value_1 =   &amp;lt;pass knvp-kunnr value&amp;gt;&lt;/P&gt;&lt;P&gt;        REPLACE l_codeword_1 WITH l_value_1 INTO wa-line.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      SEARCH wa-line FOR l_codeword_2.&lt;/P&gt;&lt;P&gt;      IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;        l_value_2 =   &amp;lt;pass second variable value&amp;gt;&lt;/P&gt;&lt;P&gt;        REPLACE l_codeword_2 WITH l_value_2 INTO wa-line.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      wa2-line = wa-line.&lt;/P&gt;&lt;P&gt;      APPEND  wa2 TO itab2.&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;This will solve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nisha Vengal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Nov 2009 11:43:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-variable-in-read-text/m-p/6317010#M1393723</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-04T11:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: Passing Variable in READ_TEXT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-variable-in-read-text/m-p/6317011#M1393724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks nisha...&lt;/P&gt;&lt;P&gt;but is there any method so that instead of searching and replacing....in READ_TEXT FM only the value of variable gets replaced ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Nov 2009 12:09:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-variable-in-read-text/m-p/6317011#M1393724</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-04T12:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: Passing Variable in READ_TEXT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-variable-in-read-text/m-p/6317012#M1393725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Neha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure if there is any better solution for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should not modify the original text, unless requirement is like that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just modify the itab with the variable values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nisha Vengal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2009 09:46:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-variable-in-read-text/m-p/6317012#M1393725</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-05T09:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: Passing Variable in READ_TEXT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-variable-in-read-text/m-p/6317013#M1393726</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 create a document in SE61 with your variable &amp;amp;KUNNR&amp;amp; embedded within the text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        Use FM 'DOCU_GET' to read the document in program. Then call FM 'TEXT_SYMBOL_REPLACE' to replace the variable with the value of KUNNR, which is already populated in your program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        SAP standard program RSWUWFML2 for extended notifications uses this logic. You can refer this program for more information.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Nov 2009 12:03:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-variable-in-read-text/m-p/6317013#M1393726</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-10T12:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: Passing Variable in READ_TEXT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-variable-in-read-text/m-p/6317014#M1393727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, I am closing this thread, as the same kinda reply I am getting.&lt;/P&gt;&lt;P&gt;I got the solution by own.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks all.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Nov 2009 03:56:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-variable-in-read-text/m-p/6317014#M1393727</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-11T03:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: Passing Variable in READ_TEXT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-variable-in-read-text/m-p/6317015#M1393728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Neha, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you share your solution? TQVM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;CN&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2010 15:02:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-variable-in-read-text/m-p/6317015#M1393728</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-20T15:02:21Z</dc:date>
    </item>
  </channel>
</rss>

