<?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: select and append in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-and-append/m-p/3759274#M904469</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sanjana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you have to type like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at i_marc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select aennr aetyp objkt revlv aedat ccsto from aeoi &lt;/P&gt;&lt;P&gt;into CORRESPONDING FIELDS OF TABLE lt_aeoi &lt;/P&gt;&lt;P&gt;where matnr in i_marc.&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;you must not use appending.its not the syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rewards points if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Apr 2008 14:54:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-24T14:54:33Z</dc:date>
    <item>
      <title>select and append</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-and-append/m-p/3759271#M904466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello friends,&lt;/P&gt;&lt;P&gt;i tried the below code,&lt;/P&gt;&lt;P&gt;it was giving sytax error appending,&lt;/P&gt;&lt;P&gt;can some one correct it.&lt;/P&gt;&lt;P&gt;      &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      loop at i_marc.&lt;/P&gt;&lt;P&gt;      &lt;/P&gt;&lt;P&gt;      select aennr aetyp objkt revlv aedat ccsto from aeoi &lt;/P&gt;&lt;P&gt;         into APPENDING CORRESPONDING FIELDS OF TABLE lt_aeoi &lt;/P&gt;&lt;P&gt;            where matnr in i_marc.&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;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2008 14:52:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-and-append/m-p/3759271#M904466</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-24T14:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: select and append</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-and-append/m-p/3759272#M904467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;remove into before appending .. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at i_marc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select aennr aetyp objkt revlv aedat ccsto from aeoi &lt;/P&gt;&lt;P&gt; APPENDING CORRESPONDING FIELDS OF TABLE lt_aeoi &lt;/P&gt;&lt;P&gt;where matnr in i_marc.&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;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2008 14:53:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-and-append/m-p/3759272#M904467</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-24T14:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: select and append</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-and-append/m-p/3759273#M904468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;delete APPENDING in your code&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2008 14:53:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-and-append/m-p/3759273#M904468</guid>
      <dc:creator>b_deterd2</dc:creator>
      <dc:date>2008-04-24T14:53:35Z</dc:date>
    </item>
    <item>
      <title>Re: select and append</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-and-append/m-p/3759274#M904469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sanjana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you have to type like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at i_marc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select aennr aetyp objkt revlv aedat ccsto from aeoi &lt;/P&gt;&lt;P&gt;into CORRESPONDING FIELDS OF TABLE lt_aeoi &lt;/P&gt;&lt;P&gt;where matnr in i_marc.&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;you must not use appending.its not the syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rewards points if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2008 14:54:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-and-append/m-p/3759274#M904469</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-24T14:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: select and append</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-and-append/m-p/3759275#M904470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sanjana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;loop at i_marc.

select aennr aetyp objkt revlv aedat ccsto from aeoi
APPENDING CORRESPONDING FIELDS OF TABLE lt_aeoi
where matnr in i_marc.
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sunil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2008 14:54:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-and-append/m-p/3759275#M904470</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-24T14:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: select and append</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-and-append/m-p/3759276#M904471</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;Take out 'into' from the select statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
loop at i_marc.

select aennr aetyp objkt revlv aedat ccsto from aeoi 
APPENDING CORRESPONDING FIELDS OF TABLE lt_aeoi 
where matnr in i_marc.

endloop.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have u used delete adjacent duplicates for i_marc internal table before looping, otherwise you have duplicate entries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sriram Ponna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2008 15:20:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-and-append/m-p/3759276#M904471</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-24T15:20:36Z</dc:date>
    </item>
  </channel>
</rss>

