<?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: How to fill variable in product basic text? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-fill-variable-in-product-basic-text/m-p/9236581#M1719242</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Steve,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this the standard way to fill such variables?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Jan 2013 17:30:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-01-23T17:30:33Z</dc:date>
    <item>
      <title>How to fill variable in product basic text?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-fill-variable-in-product-basic-text/m-p/9236579#M1719240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;in product master, for any product/service we have a set type: texts. under this,&amp;nbsp; we have text category basic text. &lt;/P&gt;&lt;P&gt;This text may have variables like: %product_end_date%.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to fill such variables in abap code when we read this text?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2013 17:10:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-fill-variable-in-product-basic-text/m-p/9236579#M1719240</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-23T17:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to fill variable in product basic text?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-fill-variable-in-product-basic-text/m-p/9236580#M1719241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use REPLACE statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; l_text TYPE string,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; l_product_end_date TYPE c&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; " Program Variable containing value&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPLACE ALL OCCURRENCES OF '&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;%product_end_date%&lt;/SPAN&gt;' IN l_text WITH l_product_end_date .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may need to do some explicit type conversions if the variable's data is in a type other then character.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2013 17:18:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-fill-variable-in-product-basic-text/m-p/9236580#M1719241</guid>
      <dc:creator>former_member16322</dc:creator>
      <dc:date>2013-01-23T17:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to fill variable in product basic text?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-fill-variable-in-product-basic-text/m-p/9236581#M1719242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Steve,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this the standard way to fill such variables?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2013 17:30:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-fill-variable-in-product-basic-text/m-p/9236581#M1719242</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-23T17:30:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to fill variable in product basic text?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-fill-variable-in-product-basic-text/m-p/9236582#M1719243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Replace is the standard way to replace one character string with another from with in a character string; if you want to view standard code that does something similar, look at &lt;SPAN style="color: #333333; font-size: 12px;"&gt;Function MESSAGE_TEXT_BUILD. It is slightly different because it does not use named variable place holders and instead just uses &amp;amp; symbols to indicate variables; however, it should illustrate replacing variables in a text string.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2013 18:25:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-fill-variable-in-product-basic-text/m-p/9236582#M1719243</guid>
      <dc:creator>former_member16322</dc:creator>
      <dc:date>2013-01-23T18:25:32Z</dc:date>
    </item>
  </channel>
</rss>

