<?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: Creating a table at runtime from a parameter(Work area) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-a-table-at-runtime-from-a-parameter-work-area/m-p/9280647#M1723960</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Adam,&lt;/P&gt;&lt;P&gt;It's working according to my requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Ajeet Pratap Singh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Mar 2013 03:37:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-03-06T03:37:13Z</dc:date>
    <item>
      <title>Creating a table at runtime from a parameter(Work area)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-a-table-at-runtime-from-a-parameter-work-area/m-p/9280643#M1723956</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;In a global class method i have a parameter cs_data type ref to data. At the run time I am getting some value in this work area.&lt;/P&gt;&lt;P&gt;Now my requirement is to call another method which will receive this cs_data in one internal table. &lt;/P&gt;&lt;P&gt;So how to make that internal table from cs_data? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Ajeet&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Mar 2013 05:33:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-a-table-at-runtime-from-a-parameter-work-area/m-p/9280643#M1723956</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-03-05T05:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a table at runtime from a parameter(Work area)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-a-table-at-runtime-from-a-parameter-work-area/m-p/9280644#M1723957</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;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;DATA lt_data LIKE TABLE OF cs_data.&lt;/P&gt;&lt;P&gt;APPEND cs_data TO lt_data.&lt;/P&gt;&lt;P&gt;method_that_need_table( it_table = lt_data ).&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; " call your method here &lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1245/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Adam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Mar 2013 07:34:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-a-table-at-runtime-from-a-parameter-work-area/m-p/9280644#M1723957</guid>
      <dc:creator>adam_krawczyk1</dc:creator>
      <dc:date>2013-03-05T07:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a table at runtime from a parameter(Work area)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-a-table-at-runtime-from-a-parameter-work-area/m-p/9280645#M1723958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Adam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting below error while doing so.&lt;/P&gt;&lt;P&gt;The field "CS_DATA" specified under LIKE either has no type or a generic type. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In parameter list cs_data has been declared as &lt;STRONG&gt;CS_DATA Changing Type DATA.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ajeet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Mar 2013 07:41:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-a-table-at-runtime-from-a-parameter-work-area/m-p/9280645#M1723958</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-03-05T07:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a table at runtime from a parameter(Work area)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-a-table-at-runtime-from-a-parameter-work-area/m-p/9280646#M1723959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ajeet,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ok I thought you are just saying about data example. In case of generic data type, solution is more complicated. Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;FIELD-symbols &amp;lt;&lt;SPAN style="font-size: 10pt;"&gt;fs_table&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;&amp;gt; type standard table.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;DATA l_&lt;SPAN style="font-size: 10pt;"&gt;ref&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt; TYPE REF TO &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;data&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;CREATE DATA l_&lt;SPAN style="font-size: 10pt;"&gt;ref&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt; like table of &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;cs_data&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;ASSIGN l_&lt;SPAN style="font-size: 10pt;"&gt;ref&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;-&amp;gt;* to &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;fs_table&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;&amp;gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;APPEND &lt;SPAN style="font-size: 10pt;"&gt;cs_data&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt; TO &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;fs_table&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;&amp;gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then your &amp;lt;fs_table&amp;gt; is a table that contains single row.&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1245/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Adam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Mar 2013 13:25:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-a-table-at-runtime-from-a-parameter-work-area/m-p/9280646#M1723959</guid>
      <dc:creator>adam_krawczyk1</dc:creator>
      <dc:date>2013-03-05T13:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a table at runtime from a parameter(Work area)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-a-table-at-runtime-from-a-parameter-work-area/m-p/9280647#M1723960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Adam,&lt;/P&gt;&lt;P&gt;It's working according to my requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Ajeet Pratap Singh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Mar 2013 03:37:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-a-table-at-runtime-from-a-parameter-work-area/m-p/9280647#M1723960</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-03-06T03:37:13Z</dc:date>
    </item>
  </channel>
</rss>

