<?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 Create Dynamic internal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-dynamic-internal-table/m-p/4235733#M1011269</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an requirement to list out the quantity sold to customers.....but i need to list out the columns dynamically ie the column should contain customer only if sale done to him for the given period.for example - if sale is done for 15 customer for the given period then i need to have 15 +1(column for material) columns...if sale done for 30 customer then i need to have 30 + 1 columns in my report..&lt;/P&gt;&lt;P&gt;i ve tried this call method cl_alv_table_create=&amp;gt;create_dynamic_table and&lt;/P&gt;&lt;P&gt;created dynamic table but i cant move datas into the dynamic table as per my requirement..how is it possible? plz help me.............&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Aug 2008 11:31:34 GMT</pubDate>
    <dc:creator>praveen_kumar132</dc:creator>
    <dc:date>2008-08-11T11:31:34Z</dc:date>
    <item>
      <title>Create Dynamic internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-dynamic-internal-table/m-p/4235733#M1011269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an requirement to list out the quantity sold to customers.....but i need to list out the columns dynamically ie the column should contain customer only if sale done to him for the given period.for example - if sale is done for 15 customer for the given period then i need to have 15 +1(column for material) columns...if sale done for 30 customer then i need to have 30 + 1 columns in my report..&lt;/P&gt;&lt;P&gt;i ve tried this call method cl_alv_table_create=&amp;gt;create_dynamic_table and&lt;/P&gt;&lt;P&gt;created dynamic table but i cant move datas into the dynamic table as per my requirement..how is it possible? plz help me.............&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2008 11:31:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-dynamic-internal-table/m-p/4235733#M1011269</guid>
      <dc:creator>praveen_kumar132</dc:creator>
      <dc:date>2008-08-11T11:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: Create Dynamic internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-dynamic-internal-table/m-p/4235734#M1011270</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;check below links..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="5349953"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="5523393"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="5601597"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="5480362"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="5444302"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="5444302"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="5465435"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="5709950"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope , this may help U&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Warm Regards.&lt;/P&gt;&lt;P&gt;Always Learner&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2008 11:35:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-dynamic-internal-table/m-p/4235734#M1011270</guid>
      <dc:creator>Mohamed_Mukhtar</dc:creator>
      <dc:date>2008-08-11T11:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: Create Dynamic internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-dynamic-internal-table/m-p/4235735#M1011271</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;this is indeed a strange requirement. That means that material1 in line 1 has been sold to 5 clients, material2 in line2 was sold to 25 clients, material3 in line 3 was sold to 1 client ......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First you must understand that you don´t need a dynamic table for reading and storing temporarily the information. You just need 2 fields:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of mytable occurs 0,&lt;/P&gt;&lt;P&gt;        material type mara-matnr,&lt;/P&gt;&lt;P&gt;        client     type vbpa-kunnr,&lt;/P&gt;&lt;P&gt;        end of mytable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select information from somewhere&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sort table mytable by material client.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at mytable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   at new material.                 "&amp;lt;-- every time there´s a new material&lt;/P&gt;&lt;P&gt;      uline /10.&lt;/P&gt;&lt;P&gt;      pos = 10.&lt;/P&gt;&lt;P&gt;   endat&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;   write at pos mytable-client.     "&amp;lt;-- print all clients with 15 chars space inbetween&lt;/P&gt;&lt;P&gt;   pos = pos + 15.                     "&amp;lt;-- KUNNR is 10 chars long, so 15 is Ok&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I didn´t check the code at runtime but this will give you an idea on how to handle this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark points if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2008 11:50:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-dynamic-internal-table/m-p/4235735#M1011271</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-11T11:50:56Z</dc:date>
    </item>
  </channel>
</rss>

