<?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: table population in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-population/m-p/11313737#M1918602</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you have misunderstood the problem. I want to fill entries into an internal table of the type mentioned by the user during the execution itself. For eg. if the table entered is 'spfli' then the program should generate an internal table for 'spfli' and fill random details into it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Sep 2015 09:51:13 GMT</pubDate>
    <dc:creator>former_member407221</dc:creator>
    <dc:date>2015-09-23T09:51:13Z</dc:date>
    <item>
      <title>table population</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-population/m-p/11313735#M1918600</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;How is it can I populate the table on the fly?. The only input available for me is the table name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2015 08:02:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-population/m-p/11313735#M1918600</guid>
      <dc:creator>former_member407221</dc:creator>
      <dc:date>2015-09-23T08:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: table population</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-population/m-p/11313736#M1918601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Chirag,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use program: &lt;STRONG&gt;RSTABLESIZE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A href="http://sapbasisinfo.com/blog/2014/10/17/determine-sap-table-size-via-program-rstablesize/" title="http://sapbasisinfo.com/blog/2014/10/17/determine-sap-table-size-via-program-rstablesize/"&gt;Determine SAP Table Size via Program RSTABLESIZE | SAPBASISINFO&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Hitesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2015 08:13:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-population/m-p/11313736#M1918601</guid>
      <dc:creator>former_member183519</dc:creator>
      <dc:date>2015-09-23T08:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: table population</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-population/m-p/11313737#M1918602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you have misunderstood the problem. I want to fill entries into an internal table of the type mentioned by the user during the execution itself. For eg. if the table entered is 'spfli' then the program should generate an internal table for 'spfli' and fill random details into it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2015 09:51:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-population/m-p/11313737#M1918602</guid>
      <dc:creator>former_member407221</dc:creator>
      <dc:date>2015-09-23T09:51:13Z</dc:date>
    </item>
    <item>
      <title>Re: table population</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-population/m-p/11313738#M1918603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Some classic code as&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;DATA&lt;/SPAN&gt;: itab &lt;SPAN style="color: #0000ff;"&gt;TYPE&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;REF&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;TO&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;data&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;FIELD-SYMBOLS&lt;/SPAN&gt;: &lt;SPAN style="color: #800097;"&gt;&amp;lt;&lt;/SPAN&gt;itab&lt;SPAN style="color: #800097;"&gt;&amp;gt;&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;TYPE&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;STANDARD&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;TABLE&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;CREATE&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;DATA&lt;/SPAN&gt; itab&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;TYPE&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;TABLE&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;OF&lt;/SPAN&gt; &lt;SPAN style="color: #800097;"&gt;(&lt;/SPAN&gt;tablename&lt;SPAN style="color: #800097;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;ASSIGN&lt;/SPAN&gt;&amp;nbsp; itab-&lt;SPAN style="color: #800097;"&gt;&amp;gt;&lt;/SPAN&gt;* &lt;SPAN style="color: #0000ff;"&gt;TO&lt;/SPAN&gt; &lt;SPAN style="color: #800097;"&gt;&amp;lt;&lt;/SPAN&gt;itab&lt;SPAN style="color: #800097;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;



&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;But for "random detail" in the itab, be creative &lt;SPAN __jive_emoticon_name="cool" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1336/images/emoticons/cool.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Hint: for SPLFI, SFLIGHT, and the like, look at report SAPBC_DATA_GENERATOR&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2015 10:01:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-population/m-p/11313738#M1918603</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2015-09-23T10:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: table population</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-population/m-p/11313739#M1918604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chirag,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ok... &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1336/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;you can make use of field symbls as dynamic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use link:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdev.co.uk/tips/dynamic-structure.htm" title="http://www.sapdev.co.uk/tips/dynamic-structure.htm"&gt;Create table structure dynamically&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="53788" __jive_macro_name="document" class="jive_macro_document jive_macro" data-orig-content="Create Dynamic Table using RTTS and display in ALV" href="https://community.sap.com/" modifiedtitle="true" title="Create Dynamic Table using RTTS and display in ALV"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Hitesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2015 10:14:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-population/m-p/11313739#M1918604</guid>
      <dc:creator>former_member183519</dc:creator>
      <dc:date>2015-09-23T10:14:26Z</dc:date>
    </item>
    <item>
      <title>Re: table population</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-population/m-p/11313740#M1918605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Chiraz,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;For generating the ALV for any table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameter table_name type char30.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data lr_Data type ref to data.&lt;/P&gt;&lt;P&gt;field-symbol &amp;lt;fs&amp;gt; type standard table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create data lr_data type ref to (table_name)&amp;nbsp; .&amp;nbsp;&amp;nbsp; " this is the input table name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;assign lr_data-&amp;gt;* to &amp;lt;fs&amp;gt;. " This will create your internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from (table_name) into table &amp;lt;fs&amp;gt; up to 20 rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you can call the FM GRID_DISPLAY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;BR /&gt;Nishant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2015 10:28:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-population/m-p/11313740#M1918605</guid>
      <dc:creator>nishantbansal91</dc:creator>
      <dc:date>2015-09-23T10:28:23Z</dc:date>
    </item>
  </channel>
</rss>

