<?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: Using DATA statement for dynamic object creating in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-data-statement-for-dynamic-object-creating/m-p/10954208#M1893077</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DATA(variable) = ... is a newer syntax, that is not supported by older releases. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to declare the variable first with it's type and move the instance from the method afterwards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Feb 2015 15:20:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2015-02-13T15:20:56Z</dc:date>
    <item>
      <title>Using DATA statement for dynamic object creating</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-data-statement-for-dynamic-object-creating/m-p/10954206#M1893075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I copied from one to another system this code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;DATA&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;(&lt;/SPAN&gt;lc_var&lt;SPAN class="L0S55"&gt;) &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;lcl_class&lt;SPAN class="L0S70"&gt;=&amp;gt;&lt;/SPAN&gt;get_instance&lt;SPAN class="L0S55"&gt;( &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;)&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&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;In source system this works fine, and the DATA is blue, But in another system there is a problem. syntax check tell me that all is ok, but during activation I see an error, that this record is inccorect. &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;Maybe somebody know, what does this record mean? And why in one system there is an error and in anither there is not.&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 in advance!&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;Best Regards, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;Mikhail&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 13:48:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-data-statement-for-dynamic-object-creating/m-p/10954206#M1893075</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-02-13T13:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: Using DATA statement for dynamic object creating</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-data-statement-for-dynamic-object-creating/m-p/10954207#M1893076</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;Once check the System-&amp;gt;system Status -&amp;gt;Component version for both system&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think Both are system Diff component versions that way you getting Error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 15:14:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-data-statement-for-dynamic-object-creating/m-p/10954207#M1893076</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-02-13T15:14:25Z</dc:date>
    </item>
    <item>
      <title>Re: Using DATA statement for dynamic object creating</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-data-statement-for-dynamic-object-creating/m-p/10954208#M1893077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DATA(variable) = ... is a newer syntax, that is not supported by older releases. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to declare the variable first with it's type and move the instance from the method afterwards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 15:20:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-data-statement-for-dynamic-object-creating/m-p/10954208#M1893077</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-02-13T15:20:56Z</dc:date>
    </item>
  </channel>
</rss>

