<?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: From deep structured to flat in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/from-deep-structured-to-flat/m-p/2463374#M552894</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP at itab.&lt;/P&gt;&lt;P&gt;IF &amp;lt;condition&amp;gt;.&lt;/P&gt;&lt;P&gt;MOVE itab-field to itab2-field&lt;/P&gt;&lt;P&gt;endif.&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;Use IF to copy only your 2 columns.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Jun 2007 14:00:45 GMT</pubDate>
    <dc:creator>rodrigo_paisante3</dc:creator>
    <dc:date>2007-06-27T14:00:45Z</dc:date>
    <item>
      <title>From deep structured to flat</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/from-deep-structured-to-flat/m-p/2463371#M552891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus!&lt;/P&gt;&lt;P&gt;I could do with some help.&lt;/P&gt;&lt;P&gt;I have a complex nested itab( itab_upload ). Now I need to copy entries which do not match our restrictions to another itab to display them in an alv-report. &lt;/P&gt;&lt;P&gt;Can you explain how I copy these entries (a maximum of the 2 columns out of 5) into a flat itab?&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;Johann&lt;/P&gt;&lt;P&gt;(Points will  be rewarded for useful answers!)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2007 13:45:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/from-deep-structured-to-flat/m-p/2463371#M552891</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-27T13:45:04Z</dc:date>
    </item>
    <item>
      <title>Re: From deep structured to flat</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/from-deep-structured-to-flat/m-p/2463372#M552892</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;in a loop, you can use MOVE itab-field to itab2-field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2007 13:56:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/from-deep-structured-to-flat/m-p/2463372#M552892</guid>
      <dc:creator>rodrigo_paisante3</dc:creator>
      <dc:date>2007-06-27T13:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: From deep structured to flat</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/from-deep-structured-to-flat/m-p/2463373#M552893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you nested itab is something like...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MY_TAB (Main Table)&lt;/P&gt;&lt;P&gt;MY_DEEP_TAB (Deep Table)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will need to create an Internal Table with the structure of MY_DEEP_TAB and do this....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
LOOP AT MY_TAB ASSIGNING &amp;lt;TAB&amp;gt;.
MOVE &amp;lt;TAB&amp;gt;-MY_DEEP_TAB TO NEW_TAB.
APPEND NEW_TAB.
ENDLOOP.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Blag.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2007 13:57:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/from-deep-structured-to-flat/m-p/2463373#M552893</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-27T13:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: From deep structured to flat</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/from-deep-structured-to-flat/m-p/2463374#M552894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP at itab.&lt;/P&gt;&lt;P&gt;IF &amp;lt;condition&amp;gt;.&lt;/P&gt;&lt;P&gt;MOVE itab-field to itab2-field&lt;/P&gt;&lt;P&gt;endif.&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;Use IF to copy only your 2 columns.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2007 14:00:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/from-deep-structured-to-flat/m-p/2463374#M552894</guid>
      <dc:creator>rodrigo_paisante3</dc:creator>
      <dc:date>2007-06-27T14:00:45Z</dc:date>
    </item>
  </channel>
</rss>

