<?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 table as class (instance) attribute in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-table-as-class-instance-attribute/m-p/11154920#M1907152</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently developing a component class that should be able to accept elements of an arbitrary type (all the same) and store them in a dynamic table (instance attribute).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's say I want the following&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;DATA my_list TYPE REF TO ZCL_MY_LIST.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;CREATE OBJECT my_list.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;my_list-&amp;gt;add(&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXPORTING&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; element = 'hello'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;my_list-&amp;gt;add(&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXPORTING&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; element = 'blub'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;).&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The class &lt;CODE&gt;ZCL_MY_LIST&lt;/CODE&gt; has an attribute &lt;CODE&gt;list&lt;/CODE&gt; of &lt;CODE&gt;TYPE REF TO DATA&lt;/CODE&gt; and is initialized by the first call to &lt;CODE&gt;add&lt;/CODE&gt; based on the type of the parameter. Unfortunately I am not able to add further elements to the table, since I cannot call &lt;CODE&gt;APPEND&lt;/CODE&gt; on &lt;CODE&gt;me-&amp;gt;list&lt;/CODE&gt; (because it is of &lt;CODE&gt;TYPE REF TO DATA&lt;/CODE&gt;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since I cannot use field symbols in the class instance context, does anyone have an idea on how to store this dynamic table as an attribute of the class while keeping it editable?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Jul 2015 09:43:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2015-07-24T09:43:04Z</dc:date>
    <item>
      <title>Dynamic table as class (instance) attribute</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-table-as-class-instance-attribute/m-p/11154920#M1907152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently developing a component class that should be able to accept elements of an arbitrary type (all the same) and store them in a dynamic table (instance attribute).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's say I want the following&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;DATA my_list TYPE REF TO ZCL_MY_LIST.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;CREATE OBJECT my_list.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;my_list-&amp;gt;add(&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXPORTING&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; element = 'hello'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;my_list-&amp;gt;add(&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXPORTING&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; element = 'blub'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;).&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The class &lt;CODE&gt;ZCL_MY_LIST&lt;/CODE&gt; has an attribute &lt;CODE&gt;list&lt;/CODE&gt; of &lt;CODE&gt;TYPE REF TO DATA&lt;/CODE&gt; and is initialized by the first call to &lt;CODE&gt;add&lt;/CODE&gt; based on the type of the parameter. Unfortunately I am not able to add further elements to the table, since I cannot call &lt;CODE&gt;APPEND&lt;/CODE&gt; on &lt;CODE&gt;me-&amp;gt;list&lt;/CODE&gt; (because it is of &lt;CODE&gt;TYPE REF TO DATA&lt;/CODE&gt;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since I cannot use field symbols in the class instance context, does anyone have an idea on how to store this dynamic table as an attribute of the class while keeping it editable?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jul 2015 09:43:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-table-as-class-instance-attribute/m-p/11154920#M1907152</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-07-24T09:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic table as class (instance) attribute</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-table-as-class-instance-attribute/m-p/11154921#M1907153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of using the APPEND statement inside the method.&lt;/P&gt;&lt;P&gt;Try the below code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field-Symbols: &amp;lt;FS_TAB&amp;gt; TYPE standard table,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;FS_T_LIST&amp;gt; TYPE standard table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CREATE DATA list LIKE &amp;lt;FS_TAB&amp;gt; --&amp;gt; Use this statement the first time only&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ASSIGN list-&amp;gt;* TO &amp;lt;FS_T_LIST&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do the regular append based on the types to the table &amp;lt;FS_T_LIST&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jul 2015 10:18:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-table-as-class-instance-attribute/m-p/11154921#M1907153</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-07-24T10:18:02Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic table as class (instance) attribute</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-table-as-class-instance-attribute/m-p/11154922#M1907154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use field symbols - you just can't define them as global (which in my opinion is a good thing....)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jul 2015 10:29:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-table-as-class-instance-attribute/m-p/11154922#M1907154</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-07-24T10:29:29Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic table as class (instance) attribute</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-table-as-class-instance-attribute/m-p/11154923#M1907155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks that worked out nicely! &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro_emoticon jive_macro jive_emote" src="https://community.sap.com/1322/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jul 2015 10:49:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-table-as-class-instance-attribute/m-p/11154923#M1907155</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-07-24T10:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic table as class (instance) attribute</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-table-as-class-instance-attribute/m-p/11154924#M1907156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When using type ref to data, you have to assign this object to field-symbol.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Definition part.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;&lt;SPAN class="L0S52"&gt;PUBLIC &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;SECTION&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;METHODS &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;constructor&lt;SPAN class="L0S55"&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;add&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;IMPORTING&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; element &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;any&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;PRIVATE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;SECTION&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;DATA &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;list &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;REF &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TO &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;data&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;implementation part.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;&lt;SPAN class="L0S52"&gt;METHOD &lt;/SPAN&gt;constructor&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;CREATE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;DATA &lt;/SPAN&gt;me&lt;SPAN class="L0S70"&gt;-&amp;gt;&lt;/SPAN&gt;list &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;STANDARD &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TABLE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;OF &lt;/SPAN&gt;string&lt;SPAN class="L0S55"&gt;. " Created only one time&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;ENDMETHOD&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="L0S31"&gt;"constructor&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;METHOD &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;add&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;FIELD-SYMBOLS &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;&amp;lt;list&amp;gt; &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;STANDARD &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TABLE&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;ASSIGN &lt;/SPAN&gt;me&lt;SPAN class="L0S70"&gt;-&amp;gt;&lt;/SPAN&gt;list&lt;SPAN class="L0S70"&gt;-&amp;gt;&lt;/SPAN&gt;* &lt;SPAN class="L0S52"&gt;TO &lt;/SPAN&gt;&amp;lt;list&amp;gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;CHECK &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;subrc &lt;SPAN class="L0S52"&gt;EQ &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;0&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;APPEND &lt;/SPAN&gt;element&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;TO &lt;/SPAN&gt;&amp;lt;list&amp;gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;ENDMETHOD&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="L0S31"&gt;"add&lt;/SPAN&gt;&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;You can use something like this, but you cant use generic type for me-&amp;gt;list.&lt;/P&gt;&lt;P&gt;If you dont use type standart table of syntax, you cant create table type.&lt;/P&gt;&lt;P&gt;READ TABLE or LOOP AT ... WHERE is problematic with this kind of table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards.&lt;/P&gt;&lt;P&gt;Tolga&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jul 2015 10:51:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-table-as-class-instance-attribute/m-p/11154924#M1907156</guid>
      <dc:creator>tolga_polat</dc:creator>
      <dc:date>2015-07-24T10:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic table as class (instance) attribute</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-table-as-class-instance-attribute/m-p/11154925#M1907157</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 would like to add some info with image if it is allowed, maybe for others who look for an answer, which could help them.,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="l0s521" style="font-family: 'Courier New'; color: blue; font-size: 14.6666669845581px; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;REPORT&lt;SPAN class="GramE"&gt;&amp;nbsp; &lt;SPAN style="color: black;"&gt;zibo&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-size: 10pt; font-family: 'Courier New'; background: white;"&gt;_test1&lt;/SPAN&gt;&lt;SPAN class="l0s551" style="font-family: 'Courier New'; color: purple; font-size: 14.6666669845581px; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-size: 10pt; font-family: 'Courier New'; background: white;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="GramE" style="color: #000000; font-family: Calibri, sans-serif; font-size: 14.6666669845581px;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'Courier New'; background: white;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s521" style="font-family: 'Courier New'; color: blue; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;CLASS &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="SpellE"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'Courier New'; background: white;"&gt;lcl_test&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'Courier New'; background: white;"&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s521" style="font-family: 'Courier New'; color: blue; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;DEFINITION&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s551" style="font-family: 'Courier New'; color: purple; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-size: 10pt; font-family: 'Courier New'; background: white;"&gt;&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="GramE" style="color: #000000; font-family: Calibri, sans-serif; font-size: 14.6666669845581px;"&gt;&lt;SPAN class="l0s521" style="font-family: 'Courier New'; color: blue; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;PUBLIC SECTION&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s551" style="font-family: 'Courier New'; color: purple; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-size: 10pt; font-family: 'Courier New'; background: white;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521" style="font-family: 'Courier New'; color: blue; font-size: 14.6666669845581px; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;DATA &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="SpellE" style="color: #000000; font-family: Calibri, sans-serif; font-size: 14.6666669845581px;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'Courier New'; background: white;"&gt;mr_data&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-size: 10pt; font-family: 'Courier New'; background: white;"&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s521" style="font-family: 'Courier New'; color: blue; font-size: 14.6666669845581px; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;TYPE REF TO &lt;SPAN class="GramE"&gt;data &lt;SPAN class="l0s551" style="color: purple; background-position: initial;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-size: 10pt; font-family: 'Courier New'; background: white;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521" style="font-family: 'Courier New'; color: blue; font-size: 14.6666669845581px; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;METHODS add&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-size: 10pt; font-family: 'Courier New'; background: white;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521" style="font-family: 'Courier New'; color: blue; font-size: 14.6666669845581px; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;IMPORTING&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-size: 10pt; font-family: 'Courier New'; background: white;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="SpellE"&gt;iv_val&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s521" style="font-family: 'Courier New'; color: blue; font-size: 14.6666669845581px; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;TYPE &lt;SPAN class="GramE"&gt;any &lt;SPAN class="l0s551" style="color: purple; background-position: initial;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-size: 10pt; font-family: 'Courier New'; background: white;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521" style="font-family: 'Courier New'; color: blue; font-size: 14.6666669845581px; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;METHODS &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="GramE" style="color: #000000; font-family: Calibri, sans-serif; font-size: 14.6666669845581px;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'Courier New'; background: white;"&gt;constructor &lt;/SPAN&gt;&lt;SPAN class="l0s551" style="font-family: 'Courier New'; color: purple; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-size: 10pt; font-family: 'Courier New'; background: white;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="GramE" style="color: #000000; font-family: Calibri, sans-serif; font-size: 14.6666669845581px;"&gt;&lt;SPAN class="l0s521" style="font-family: 'Courier New'; color: blue; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;ENDCLASS&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s551" style="font-family: 'Courier New'; color: purple; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s551" style="font-family: 'Courier New'; color: purple; font-size: 14.6666669845581px; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-size: 10pt; font-family: 'Courier New'; background: white;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-size: 10pt; font-family: 'Courier New'; background: white;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s521" style="font-family: 'Courier New'; color: blue; font-size: 14.6666669845581px; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;CLASS &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="SpellE" style="color: #000000; font-family: Calibri, sans-serif; font-size: 14.6666669845581px;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'Courier New'; background: white;"&gt;lcl_test&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-size: 10pt; font-family: 'Courier New'; background: white;"&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s521" style="font-family: 'Courier New'; color: blue; font-size: 14.6666669845581px; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;IMPLEMENTATION&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s551" style="font-family: 'Courier New'; color: purple; font-size: 14.6666669845581px; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-size: 10pt; font-family: 'Courier New'; background: white;"&gt;&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521" style="font-family: 'Courier New'; color: blue; font-size: 14.6666669845581px; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;METHOD &lt;SPAN class="GramE"&gt;add&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s551" style="font-family: 'Courier New'; color: purple; font-size: 14.6666669845581px; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-size: 10pt; font-family: 'Courier New'; background: white;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521" style="font-family: 'Courier New'; color: blue; font-size: 14.6666669845581px; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;FIELD-SYMBOLS&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s551" style="font-family: 'Courier New'; color: purple; font-size: 14.6666669845581px; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;: &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-size: 10pt; font-family: 'Courier New'; background: white;"&gt;&amp;lt;&lt;SPAN class="SpellE"&gt;lt_data&lt;/SPAN&gt;&amp;gt; &lt;/SPAN&gt;&lt;SPAN class="l0s521" style="font-family: 'Courier New'; color: blue; font-size: 14.6666669845581px; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;TYPE STANDARD &lt;SPAN class="GramE"&gt;TABLE &lt;SPAN class="l0s551" style="color: purple; background-position: initial;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-size: 10pt; font-family: 'Courier New'; background: white;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="GramE" style="color: #000000; font-family: Calibri, sans-serif; font-size: 14.6666669845581px;"&gt;&lt;SPAN class="l0s521" style="font-family: 'Courier New'; color: blue; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;ASSIGN &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="SpellE"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'Courier New'; background: white;"&gt;mr_data&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s701" style="font-family: 'Courier New'; color: gray; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;-&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'Courier New'; background: white;"&gt;* &lt;/SPAN&gt;&lt;SPAN class="l0s521" style="font-family: 'Courier New'; color: blue; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;TO &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'Courier New'; background: white;"&gt;&amp;lt;&lt;SPAN class="SpellE"&gt;lt_data&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="l0s551" style="font-family: 'Courier New'; color: purple; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-size: 10pt; font-family: 'Courier New'; background: white;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521" style="font-family: 'Courier New'; color: blue; font-size: 14.6666669845581px; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;APPEND &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="SpellE" style="color: #000000; font-family: Calibri, sans-serif; font-size: 14.6666669845581px;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'Courier New'; background: white;"&gt;iv_val&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-size: 10pt; font-family: 'Courier New'; background: white;"&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s521" style="font-family: 'Courier New'; color: blue; font-size: 14.6666669845581px; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;TO &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-size: 10pt; font-family: 'Courier New'; background: white;"&gt;&amp;lt;&lt;SPAN class="SpellE"&gt;lt_data&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="l0s551" style="font-family: 'Courier New'; color: purple; font-size: 14.6666669845581px; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-size: 10pt; font-family: 'Courier New'; background: white;"&gt;&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="GramE" style="color: #000000; font-family: Calibri, sans-serif; font-size: 14.6666669845581px;"&gt;&lt;SPAN class="l0s521" style="font-family: 'Courier New'; color: blue; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;ENDMETHOD&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s551" style="font-family: 'Courier New'; color: purple; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s551" style="font-family: 'Courier New'; color: purple; font-size: 14.6666669845581px; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s311" style="font-family: 'Courier New'; color: gray; font-style: italic; font-size: 14.6666669845581px; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;"&lt;SPAN class="GramE"&gt;add&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-size: 10pt; font-family: 'Courier New'; background: white;"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521" style="font-family: 'Courier New'; color: blue; font-size: 14.6666669845581px; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;METHOD &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-size: 10pt; font-family: 'Courier New'; background: white;"&gt;constructor&lt;/SPAN&gt;&lt;SPAN class="l0s551" style="font-family: 'Courier New'; color: purple; font-size: 14.6666669845581px; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-size: 10pt; font-family: 'Courier New'; background: white;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="GramE" style="color: #000000; font-family: Calibri, sans-serif; font-size: 14.6666669845581px;"&gt;&lt;SPAN class="l0s521" style="font-family: 'Courier New'; color: blue; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;CREATE DATA &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="SpellE"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'Courier New'; background: white;"&gt;mr_data&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'Courier New'; background: white;"&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s521" style="font-family: 'Courier New'; color: blue; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;TYPE STANDARD TABLE OF &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'Courier New'; background: white;"&gt;string&lt;/SPAN&gt;&lt;SPAN class="l0s551" style="font-family: 'Courier New'; color: purple; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-size: 10pt; font-family: 'Courier New'; background: white;"&gt;&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="GramE" style="color: #000000; font-family: Calibri, sans-serif; font-size: 14.6666669845581px;"&gt;&lt;SPAN class="l0s521" style="font-family: 'Courier New'; color: blue; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;ENDMETHOD&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s551" style="font-family: 'Courier New'; color: purple; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s551" style="font-family: 'Courier New'; color: purple; font-size: 14.6666669845581px; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s311" style="font-family: 'Courier New'; color: gray; font-style: italic; font-size: 14.6666669845581px; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;"&lt;SPAN class="GramE"&gt;constructor&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-size: 10pt; font-family: 'Courier New'; background: white;"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s521" style="font-family: 'Courier New'; color: blue; font-size: 14.6666669845581px; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;ENDCLASS&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s551" style="font-family: 'Courier New'; color: purple; font-size: 14.6666669845581px; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s311" style="font-family: 'Courier New'; color: gray; font-style: italic; font-size: 14.6666669845581px; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;"&lt;SPAN class="SpellE"&gt;&lt;SPAN class="GramE"&gt;lcl_test&lt;/SPAN&gt;&lt;/SPAN&gt; IMPLEMENTATION&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-size: 10pt; font-family: 'Courier New'; background: white;"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s521" style="font-family: 'Courier New'; color: blue; font-size: 14.6666669845581px; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;DATA &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="SpellE" style="color: #000000; font-family: Calibri, sans-serif; font-size: 14.6666669845581px;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'Courier New'; background: white;"&gt;lr_test&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-size: 10pt; font-family: 'Courier New'; background: white;"&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s521" style="font-family: 'Courier New'; color: blue; font-size: 14.6666669845581px; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;TYPE REF TO &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="SpellE" style="color: #000000; font-family: Calibri, sans-serif; font-size: 14.6666669845581px;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'Courier New'; background: white;"&gt;lcl_test&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s551" style="font-family: 'Courier New'; color: purple; font-size: 14.6666669845581px; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-size: 10pt; font-family: 'Courier New'; background: white;"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="GramE" style="color: #000000; font-family: Calibri, sans-serif; font-size: 14.6666669845581px;"&gt;&lt;SPAN class="l0s521" style="font-family: 'Courier New'; color: blue; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;START-OF-SELECTION&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s551" style="font-family: 'Courier New'; color: purple; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-size: 10pt; font-family: 'Courier New'; background: white;"&gt;&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="GramE" style="color: #000000; font-family: Calibri, sans-serif; font-size: 14.6666669845581px;"&gt;&lt;SPAN class="l0s521" style="font-family: 'Courier New'; color: blue; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;CREATE &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'Courier New'; background: white;"&gt;OBJECT &lt;SPAN class="SpellE"&gt;lr_test&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s551" style="font-family: 'Courier New'; color: purple; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-size: 10pt; font-family: 'Courier New'; background: white;"&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="SpellE"&gt;lr_test&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s701" style="font-family: 'Courier New'; color: gray; font-size: 14.6666669845581px; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;-&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="GramE" style="color: #000000; font-family: Calibri, sans-serif; font-size: 14.6666669845581px;"&gt;&lt;SPAN class="l0s521" style="font-family: 'Courier New'; color: blue; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;add&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s551" style="font-family: 'Courier New'; color: purple; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s551" style="font-family: 'Courier New'; color: purple; font-size: 14.6666669845581px; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="SpellE" style="color: #000000; font-family: Calibri, sans-serif; font-size: 14.6666669845581px;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'Courier New'; background: white;"&gt;iv_val&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-size: 10pt; font-family: 'Courier New'; background: white;"&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s551" style="font-family: 'Courier New'; color: purple; font-size: 14.6666669845581px; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;= &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s331" style="font-family: 'Courier New'; color: #4da619; font-size: 14.6666669845581px; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;'1' &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s551" style="font-family: 'Courier New'; color: purple; font-size: 14.6666669845581px; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-size: 10pt; font-family: 'Courier New'; background: white;"&gt;&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="SpellE"&gt;lr_test&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s701" style="font-family: 'Courier New'; color: gray; font-size: 14.6666669845581px; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;-&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="GramE" style="color: #000000; font-family: Calibri, sans-serif; font-size: 14.6666669845581px;"&gt;&lt;SPAN class="l0s521" style="font-family: 'Courier New'; color: blue; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;add&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s551" style="font-family: 'Courier New'; color: purple; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s551" style="font-family: 'Courier New'; color: purple; font-size: 14.6666669845581px; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="SpellE" style="color: #000000; font-family: Calibri, sans-serif; font-size: 14.6666669845581px;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'Courier New'; background: white;"&gt;iv_val&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-size: 10pt; font-family: 'Courier New'; background: white;"&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s551" style="font-family: 'Courier New'; color: purple; font-size: 14.6666669845581px; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;= &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s331" style="font-family: 'Courier New'; color: #4da619; font-size: 14.6666669845581px; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;'2' &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s551" style="font-family: 'Courier New'; color: purple; font-size: 14.6666669845581px; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-size: 10pt; font-family: 'Courier New'; background: white;"&gt;&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="SpellE"&gt;lr_test&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s701" style="font-family: 'Courier New'; color: gray; font-size: 14.6666669845581px; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;-&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="GramE" style="color: #000000; font-family: Calibri, sans-serif; font-size: 14.6666669845581px;"&gt;&lt;SPAN class="l0s521" style="font-family: 'Courier New'; color: blue; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;add&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s551" style="font-family: 'Courier New'; color: purple; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s551" style="font-family: 'Courier New'; color: purple; font-size: 14.6666669845581px; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="SpellE" style="color: #000000; font-family: Calibri, sans-serif; font-size: 14.6666669845581px;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: 'Courier New'; background: white;"&gt;iv_val&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-size: 10pt; font-family: 'Courier New'; background: white;"&gt; &lt;/SPAN&gt;&lt;SPAN class="l0s551" style="font-family: 'Courier New'; color: purple; font-size: 14.6666669845581px; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;= &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s331" style="font-family: 'Courier New'; color: #4da619; font-size: 14.6666669845581px; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;'2' &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s551" style="font-family: 'Courier New'; color: purple; font-size: 14.6666669845581px; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="l0s551" style="font-family: 'Courier New'; color: purple; font-size: 14.6666669845581px; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/755391" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ibrahim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jul 2015 15:57:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-table-as-class-instance-attribute/m-p/11154925#M1907157</guid>
      <dc:creator>former_member184158</dc:creator>
      <dc:date>2015-07-24T15:57:52Z</dc:date>
    </item>
  </channel>
</rss>

