<?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 Dynamic type of variable in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-type-of-variable/m-p/11764808#M1951582</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i would like to create a dynamic type of variable but I am not really sure how to do it. I already know that the type is char but the length is going to be variable, depends on the execution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: lv_number(lv_variable_length) TYPE c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I made that but it does not work &lt;SPAN __jive_emoticon_name="blush" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/108/images/emoticons/blush.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone can help me please? Thanks in advanced!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;Moderator message: Please search in SCN before posting, there are lot of threads available regarding this topic. ( search for "Dynamic variable creation" ) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Kesavadas Thekkillath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Jul 2016 09:45:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2016-07-15T09:45:44Z</dc:date>
    <item>
      <title>Dynamic type of variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-type-of-variable/m-p/11764808#M1951582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i would like to create a dynamic type of variable but I am not really sure how to do it. I already know that the type is char but the length is going to be variable, depends on the execution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: lv_number(lv_variable_length) TYPE c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I made that but it does not work &lt;SPAN __jive_emoticon_name="blush" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/108/images/emoticons/blush.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone can help me please? Thanks in advanced!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;Moderator message: Please search in SCN before posting, there are lot of threads available regarding this topic. ( search for "Dynamic variable creation" ) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Kesavadas Thekkillath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jul 2016 09:45:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-type-of-variable/m-p/11764808#M1951582</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-07-15T09:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic type of variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-type-of-variable/m-p/11764809#M1951583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Borja Huerta,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't you try to use Field symbol ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; field-symbols: &amp;lt;fs_matnr&amp;gt; type any.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ASSIGN : lwa-matnr TO &amp;lt;fs_matnr&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jul 2016 10:00:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-type-of-variable/m-p/11764809#M1951583</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-07-15T10:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic type of variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-type-of-variable/m-p/11764810#M1951584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yance, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It a really good answer but i am not going to know the type never. I only know that the type it's gonna be always char but the problem is the length.... sometime i would like to create a variable &lt;SPAN style="color: #333333; font-size: 12px;"&gt;DATA: lv_number(20) TYPE c.&lt;/SPAN&gt; another times i have to create a variable &lt;SPAN style="color: #333333; font-size: 12px;"&gt;DATA: lv_number(4) TYPE c.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_emoticon_name="confused" __jive_macro_name="emoticon" class="jive_macro_emoticon jive_macro jive_emote" src="https://community.sap.com/108/images/emoticons/confused.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jul 2016 10:04:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-type-of-variable/m-p/11764810#M1951584</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-07-15T10:04:55Z</dc:date>
    </item>
  </channel>
</rss>

