<?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: How to create structure from formal parameter TABLE TYPE ANY TABLE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-structure-from-formal-parameter-table-type-any-table/m-p/3347358#M802711</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;data: begin of ls_struct.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;include structure &amp;lt;fs&amp;gt;.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;data: end of ls_struct.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case &amp;lt;fs&amp;gt; has no structure at complie time.&lt;/P&gt;&lt;P&gt;anyways u have not assigned &amp;lt;fs&amp;gt; to any data type which has structure, hence the error.&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;Vaibhav Modi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Jan 2008 09:09:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-29T09:09:00Z</dc:date>
    <item>
      <title>How to create structure from formal parameter TABLE TYPE ANY TABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-structure-from-formal-parameter-table-type-any-table/m-p/3347357#M802710</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 have a FM where TABLES data_tab TYPE ANY TABLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inside the FM I would like to create structure typed as line of this table. I know that generic type can't be used to create other types but maybe there is other way to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried this way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELDS-SYMBOLS: &amp;lt;fs&amp;gt; type any.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at data_tab.&lt;/P&gt;&lt;P&gt;assign data_tab to &amp;lt;fs&amp;gt;.     "now &amp;lt;fs&amp;gt; contains line of data_tab...&lt;/P&gt;&lt;P&gt;exit.&lt;/P&gt;&lt;P&gt;Endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"..but...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of ls_struct.&lt;/P&gt;&lt;P&gt;   include structure &amp;lt;fs&amp;gt;.      "...here I receive  'The included type has no type'&lt;/P&gt;&lt;P&gt;data: end of ls_struct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;Thx in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2008 09:03:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-structure-from-formal-parameter-table-type-any-table/m-p/3347357#M802710</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2008-01-29T09:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to create structure from formal parameter TABLE TYPE ANY TABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-structure-from-formal-parameter-table-type-any-table/m-p/3347358#M802711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;data: begin of ls_struct.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;include structure &amp;lt;fs&amp;gt;.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;data: end of ls_struct.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case &amp;lt;fs&amp;gt; has no structure at complie time.&lt;/P&gt;&lt;P&gt;anyways u have not assigned &amp;lt;fs&amp;gt; to any data type which has structure, hence the error.&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;Vaibhav Modi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2008 09:09:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-structure-from-formal-parameter-table-type-any-table/m-p/3347358#M802711</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-29T09:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to create structure from formal parameter TABLE TYPE ANY TABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-structure-from-formal-parameter-table-type-any-table/m-p/3347359#M802712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So is there any other way to create such structure?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2008 09:19:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-structure-from-formal-parameter-table-type-any-table/m-p/3347359#M802712</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2008-01-29T09:19:40Z</dc:date>
    </item>
  </channel>
</rss>

