<?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: Smartforms - Include text with variable parameter(s) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-include-text-with-variable-parameter-s/m-p/10039182#M1808792</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN class="L0S55"&gt;Andréa,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;When entering these variable names in the Text Key you do not need the &amp;amp; prefix and suffix, only the variable name.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;Nick&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;Edit: Looking at this in more detail this might not be accurate, although my recollection is it was the case.&amp;nbsp; Maybe worth a try anyway.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Nick Young&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Jan 2014 16:40:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-01-08T16:40:53Z</dc:date>
    <item>
      <title>Smartforms - Include text with variable parameter(s)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-include-text-with-variable-parameter-s/m-p/10039180#M1808790</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;I've trying to include texts on Smartforms using the functionality to texts (text node - Include text).&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/359218" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this text will change for each item on the form and need to be&amp;nbsp; variable. I already made a search on the forum and I found some discussion with the same problem and the answer is always to use the variable as a smartform variable (&amp;amp;variable_name&amp;amp;). The point is that when I do that the function generates this code &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/359237" height="161" width="635" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;It's using my variable as a text and that's why it's not working.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;So, I do like to know if I'm missing something in here.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;Andréa&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jan 2014 14:35:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-include-text-with-variable-parameter-s/m-p/10039180#M1808790</guid>
      <dc:creator>deiamolina</dc:creator>
      <dc:date>2014-01-08T14:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: Smartforms - Include text with variable parameter(s)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-include-text-with-variable-parameter-s/m-p/10039181#M1808791</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;Please put a breakpoint at where you are filling v_name field. Secondly check the checkbox no error if no text exist. Is the text maintained for every line..? Please put a screen shot of text maintained along with text id in AT language&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;nabheet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jan 2014 16:25:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-include-text-with-variable-parameter-s/m-p/10039181#M1808791</guid>
      <dc:creator>nabheetscn</dc:creator>
      <dc:date>2014-01-08T16:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: Smartforms - Include text with variable parameter(s)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-include-text-with-variable-parameter-s/m-p/10039182#M1808792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN class="L0S55"&gt;Andréa,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;When entering these variable names in the Text Key you do not need the &amp;amp; prefix and suffix, only the variable name.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;Nick&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;Edit: Looking at this in more detail this might not be accurate, although my recollection is it was the case.&amp;nbsp; Maybe worth a try anyway.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Nick Young&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jan 2014 16:40:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-include-text-with-variable-parameter-s/m-p/10039182#M1808792</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-01-08T16:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: Smartforms - Include text with variable parameter(s)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-include-text-with-variable-parameter-s/m-p/10039183#M1808793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This will almost works like READ_TEXT function module.&lt;/P&gt;&lt;P&gt;What is the value you are passing in V_NAME ?&amp;nbsp; Please try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Execute the FM READ_TEXT with same values which you are passing in smartform at run time and check whether you are getting correct values. If there is some input change require in this FM execution similar require in your smart form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Prakash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jan 2014 16:45:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-include-text-with-variable-parameter-s/m-p/10039183#M1808793</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-01-08T16:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: Smartforms - Include text with variable parameter(s)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-include-text-with-variable-parameter-s/m-p/10039184#M1808794</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;&lt;BR /&gt;The transaction in which you have maintained the text before going to text put a break-point in READ_TEXT to check what parameters are passed their. Are you passing correct language?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nabheet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jan 2014 16:53:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-include-text-with-variable-parameter-s/m-p/10039184#M1808794</guid>
      <dc:creator>nabheetscn</dc:creator>
      <dc:date>2014-01-08T16:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: Smartforms - Include text with variable parameter(s)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-include-text-with-variable-parameter-s/m-p/10039185#M1808795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A __default_attr="8592" __jive_macro_name="user" class="jive_macro_user jive_macro" data-orig-content="Nick Young" href="https://community.sap.com/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I tried to remove &amp;amp;&amp;amp; and still not working. I tried it before but I double checked.. The code treats the variable as string. See image below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="774453" __jive_macro_name="user" class="jive_macro_user jive_macro" data-orig-content="Prakash Jha" href="https://community.sap.com/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I can create a code using Read_text and print it out. I've been doing it for a long time. But I'd like to understand how to use Include text on Smartforms. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="268173" __jive_macro_name="user" class="jive_macro_user jive_macro" data-orig-content="nabheet madan" href="https://community.sap.com/" modifiedtitle="true" title="nabheet madan"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Follow the screen. All variable are proper filled but as I wrote to Nick Young the code is treating it as string and this is my problem.&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/359961" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/359967" width="450" /&gt;&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/359968" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Results in SE37 - Read_text&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/359962" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/359966" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jan 2014 12:48:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-include-text-with-variable-parameter-s/m-p/10039185#M1808795</guid>
      <dc:creator>deiamolina</dc:creator>
      <dc:date>2014-01-09T12:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: Smartforms - Include text with variable parameter(s)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-include-text-with-variable-parameter-s/m-p/10039186#M1808796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please debug what exactly is happening in&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM %MOVE USING %TEXTKEY-NAME '&amp;amp;GV_NAME&amp;amp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jan 2014 13:40:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-include-text-with-variable-parameter-s/m-p/10039186#M1808796</guid>
      <dc:creator>nabheetscn</dc:creator>
      <dc:date>2014-01-09T13:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: Smartforms - Include text with variable parameter(s)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-include-text-with-variable-parameter-s/m-p/10039187#M1808797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure why it wasn't working before but I debugged the code and it's working now. Crazy codes! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did the same logic for more 4 include texts and it's working properly!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for all answers.&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/363140" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2014 12:10:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-include-text-with-variable-parameter-s/m-p/10039187#M1808797</guid>
      <dc:creator>deiamolina</dc:creator>
      <dc:date>2014-01-14T12:10:54Z</dc:date>
    </item>
  </channel>
</rss>

