<?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: Create instances to same instance class within report in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-instances-to-same-instance-class-within-report/m-p/569364#M22154</link>
    <description>&lt;P&gt;Hello Mike,&lt;/P&gt;
  &lt;P&gt;only one static attribute, other are instance attributes..&lt;/P&gt;</description>
    <pubDate>Mon, 23 Oct 2017 05:52:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2017-10-23T05:52:05Z</dc:date>
    <item>
      <title>Create instances to same instance class within report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-instances-to-same-instance-class-within-report/m-p/569362#M22152</link>
      <description>&lt;P&gt;Hello experts,&lt;/P&gt;
  &lt;P&gt;i'm just facing a big problem. I must call directly by button a big editor as instance class created in SE24 depending on attributes that is located in ALV table in source report. The problem is when i created instances, the instances looks like there aren't separeted in memory, because the containers and editors (cl_gui_textedit) contains data from first called instance, here is sample code with creation of references&lt;/P&gt;
  &lt;P&gt;data&lt;STRONG&gt; gt_editor_inst&lt;/STRONG&gt; type table of ref to zcl_zom_editor.&lt;BR /&gt; data &lt;STRONG&gt;gs_editor_inst&lt;/STRONG&gt; type ref to zcl_zom_editor.&lt;/P&gt;
  &lt;P&gt;loop at gt_zomt_texts assigning field-symbol(&amp;lt;tex&amp;gt;).&lt;BR /&gt; &lt;BR /&gt; gs_editor_inst = new zcl_zom_editor( iv_id_text_html = &amp;lt;tex&amp;gt;-text_name&lt;BR /&gt; iv_id_css_html = &amp;lt;tex&amp;gt;-text_css&lt;BR /&gt; iv_css_type = &amp;lt;tex&amp;gt;-default_css ).&lt;BR /&gt; &lt;BR /&gt; append gs_editor_inst to gt_editor_inst.&lt;BR /&gt; &lt;BR /&gt; endloop.&lt;/P&gt;
  &lt;P&gt;All table attributes are affected by previous instances when creating new, so for example: &lt;/P&gt;
  &lt;P&gt;dropdownlist with 2 rows were appended by 2 new rows when i create another instance...&lt;/P&gt;
  &lt;P&gt; I simply tried CLEAR, FREE and "homemade" free method within class, but nothing work or working worse...&lt;/P&gt;
  &lt;P&gt;Thanks for reply!&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2017 15:32:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-instances-to-same-instance-class-within-report/m-p/569362#M22152</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-10-20T15:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: Create instances to same instance class within report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-instances-to-same-instance-class-within-report/m-p/569363#M22153</link>
      <description>&lt;P&gt;Are you using static attributes in your class?&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2017 15:54:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-instances-to-same-instance-class-within-report/m-p/569363#M22153</guid>
      <dc:creator>pokrakam</dc:creator>
      <dc:date>2017-10-20T15:54:53Z</dc:date>
    </item>
    <item>
      <title>Re: Create instances to same instance class within report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-instances-to-same-instance-class-within-report/m-p/569364#M22154</link>
      <description>&lt;P&gt;Hello Mike,&lt;/P&gt;
  &lt;P&gt;only one static attribute, other are instance attributes..&lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2017 05:52:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-instances-to-same-instance-class-within-report/m-p/569364#M22154</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-10-23T05:52:05Z</dc:date>
    </item>
  </channel>
</rss>

