<?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 endselect  with append statment in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-and-endselect-with-append-statment/m-p/12559905#M2007583</link>
    <description>&lt;P&gt;code is:::&lt;/P&gt;&lt;P&gt;select  field from table into wa where......&lt;/P&gt;&lt;P&gt;select field2 from table2 into wa where......&lt;/P&gt;&lt;P&gt;append wa to it.&lt;/P&gt;&lt;P&gt;endselect.&lt;/P&gt;&lt;P&gt;endselect.&lt;/P&gt;&lt;P&gt;first it complete iteration of nearest select query and then it move to second select query &lt;/P&gt;&lt;P&gt;output shoould be:::&lt;/P&gt;&lt;P&gt;1   2    3&lt;/P&gt;&lt;P&gt;     4    5      (  2 and 4)  from first select query data and (3 and 5 )is output of second select query&lt;/P&gt;&lt;P&gt;but it display output is 4 lines.  there we cannot apply join please suggest any solution &lt;/P&gt;</description>
    <pubDate>Wed, 29 Dec 2021 11:40:51 GMT</pubDate>
    <dc:creator>former_member770121</dc:creator>
    <dc:date>2021-12-29T11:40:51Z</dc:date>
    <item>
      <title>select and endselect  with append statment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-and-endselect-with-append-statment/m-p/12559901#M2007579</link>
      <description>&lt;P&gt;first select query ..............&lt;/P&gt;
  &lt;P&gt;second select query ................&lt;/P&gt;
  &lt;P&gt;append wa to it.&lt;/P&gt;
  &lt;P&gt;endselect.&lt;/P&gt;
  &lt;P&gt;endselect.&lt;/P&gt;
  &lt;P&gt;bascially first iteration get write data and appned but in second iteration it complete fetch the data of second select query and appned and then after it go to first select query then fetch data from data base table and then append it show output of 4 lines but i want the output of just 2 lines &lt;/P&gt;
  &lt;P&gt;mean fetch data from first and second select query at same time and append same iteration then second iteration fetch data from both select queries then append at same time please suggest any solution for ALV&lt;/P&gt;</description>
      <pubDate>Wed, 29 Dec 2021 10:47:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-and-endselect-with-append-statment/m-p/12559901#M2007579</guid>
      <dc:creator>former_member770121</dc:creator>
      <dc:date>2021-12-29T10:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: select and endselect  with append statment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-and-endselect-with-append-statment/m-p/12559902#M2007580</link>
      <description>&lt;P&gt;Are you trying to rebuild the INNER JOIN ?&lt;/P&gt;</description>
      <pubDate>Wed, 29 Dec 2021 10:56:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-and-endselect-with-append-statment/m-p/12559902#M2007580</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2021-12-29T10:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: select and endselect  with append statment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-and-endselect-with-append-statment/m-p/12559903#M2007581</link>
      <description>&lt;P&gt;Your problem is not about ALV (the final goal), it's about how to fill the internal table from database tables.&lt;/P&gt;&lt;P&gt;I don't understand your question, please share the code you have tried.&lt;/P&gt;&lt;P&gt;Moreover please edit your question, select your code and press the button [CODE], which makes the code appear colored/indented, it will be easier for people to look at it. Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 29 Dec 2021 10:57:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-and-endselect-with-append-statment/m-p/12559903#M2007581</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2021-12-29T10:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: select and endselect  with append statment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-and-endselect-with-append-statment/m-p/12559904#M2007582</link>
      <description>&lt;P&gt;there is no field we can apply join so join is not possible&lt;/P&gt;</description>
      <pubDate>Wed, 29 Dec 2021 11:32:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-and-endselect-with-append-statment/m-p/12559904#M2007582</guid>
      <dc:creator>former_member770121</dc:creator>
      <dc:date>2021-12-29T11:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: select and endselect  with append statment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-and-endselect-with-append-statment/m-p/12559905#M2007583</link>
      <description>&lt;P&gt;code is:::&lt;/P&gt;&lt;P&gt;select  field from table into wa where......&lt;/P&gt;&lt;P&gt;select field2 from table2 into wa where......&lt;/P&gt;&lt;P&gt;append wa to it.&lt;/P&gt;&lt;P&gt;endselect.&lt;/P&gt;&lt;P&gt;endselect.&lt;/P&gt;&lt;P&gt;first it complete iteration of nearest select query and then it move to second select query &lt;/P&gt;&lt;P&gt;output shoould be:::&lt;/P&gt;&lt;P&gt;1   2    3&lt;/P&gt;&lt;P&gt;     4    5      (  2 and 4)  from first select query data and (3 and 5 )is output of second select query&lt;/P&gt;&lt;P&gt;but it display output is 4 lines.  there we cannot apply join please suggest any solution &lt;/P&gt;</description>
      <pubDate>Wed, 29 Dec 2021 11:40:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-and-endselect-with-append-statment/m-p/12559905#M2007583</guid>
      <dc:creator>former_member770121</dc:creator>
      <dc:date>2021-12-29T11:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: select and endselect  with append statment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-and-endselect-with-append-statment/m-p/12559906#M2007584</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;instead of&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;select ...&lt;BR /&gt;  append wa to lt_table&lt;BR /&gt;endselect &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;try to use&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; select *&lt;BR /&gt;   from ..&lt;BR /&gt;  appending table lt_table.&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 29 Dec 2021 11:41:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-and-endselect-with-append-statment/m-p/12559906#M2007584</guid>
      <dc:creator>ThorstenHoefer</dc:creator>
      <dc:date>2021-12-29T11:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: select and endselect  with append statment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-and-endselect-with-append-statment/m-p/12559907#M2007585</link>
      <description>&lt;P&gt;it is not working&lt;/P&gt;</description>
      <pubDate>Wed, 29 Dec 2021 11:49:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-and-endselect-with-append-statment/m-p/12559907#M2007585</guid>
      <dc:creator>former_member770121</dc:creator>
      <dc:date>2021-12-29T11:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: select and endselect  with append statment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-and-endselect-with-append-statment/m-p/12559908#M2007586</link>
      <description>&lt;P&gt;Please use CODE button to format your text.&lt;/P&gt;&lt;P&gt;See how I do it:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;select field from table into wa where......
  select field2 from table2 into wa where......
    append wa to it.
  endselect.
endselect.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Input from "table":&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;2
4&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Input from "table2":&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;3
5&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Actual output:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;3
5
3
5&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;output shoould be:::&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;2   4
3   5&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I guess you want to &lt;A href="https://support.microsoft.com/en-us/office/transpose-function-ed039415-ed8a-4a81-93e9-4b6dfac76027"&gt;transpose&lt;/A&gt;, right?&lt;/P&gt;</description>
      <pubDate>Wed, 29 Dec 2021 12:06:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-and-endselect-with-append-statment/m-p/12559908#M2007586</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2021-12-29T12:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: select and endselect  with append statment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-and-endselect-with-append-statment/m-p/12559909#M2007587</link>
      <description>&lt;P&gt;I also put the same code as u write but this logic is not wright???&lt;/P&gt;</description>
      <pubDate>Wed, 29 Dec 2021 12:21:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-and-endselect-with-append-statment/m-p/12559909#M2007587</guid>
      <dc:creator>former_member770121</dc:creator>
      <dc:date>2021-12-29T12:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: select and endselect  with append statment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-and-endselect-with-append-statment/m-p/12559910#M2007588</link>
      <description>&lt;P&gt;You didn't understand. I have just rewritten your own code, I'm just asking you to pay attention to formatting of your question and comments. You missed the important thing of what I said. Never mind.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Dec 2021 13:23:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-and-endselect-with-append-statment/m-p/12559910#M2007588</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2021-12-29T13:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: select and endselect  with append statment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-and-endselect-with-append-statment/m-p/12559911#M2007589</link>
      <description>&lt;P&gt;output of first internal table is::&lt;/P&gt;&lt;P&gt;1             2           3&lt;/P&gt;&lt;P&gt;               4            5&lt;/P&gt;&lt;P&gt;in second internal table we also get two values like :&lt;/P&gt;&lt;P&gt;  1             6&lt;/P&gt;&lt;P&gt;                  7&lt;/P&gt;&lt;P&gt;HOW I CAN APPEND THE VALUE OF SECOND INTERNAL TABLE IN FIRST INTERNAL TABLE  WITH EXISTING DATA + WITH CURRENT LINE&lt;/P&gt;&lt;P&gt;MY DESIRED  OUTPUT IS :::::&lt;/P&gt;&lt;P&gt;1      2            3             6&lt;/P&gt;&lt;P&gt;       4            5               7&lt;/P&gt;&lt;P&gt;IN ALV&lt;/P&gt;&lt;P&gt;PLWASE SUGGEST SOLUTION NOW &lt;/P&gt;&lt;P&gt;How can move data from one internal table to another internal table with existing  data.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Dec 2021 05:15:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-and-endselect-with-append-statment/m-p/12559911#M2007589</guid>
      <dc:creator>former_member770121</dc:creator>
      <dc:date>2021-12-30T05:15:47Z</dc:date>
    </item>
  </channel>
</rss>

