<?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: ABAP WEB DYNPRO -QUERY in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-web-dynpro-query/m-p/7709909#M1578982</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well right now you are doing an append so of course you are getting double the number of rows.  Are the number of rows in ls_input always the same as the number of rows in lt_phase ?  If so as you loop through lt_phase, instead of appending a record to lt_proposal use a read with index.  Give the command the same index as the current record in the loop of lt_phase.  That way you will be reading the corresponding record to the same position in ls_input. Without keys in common, the record position in the table is about the only way to match up any data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That said, this isn't a Web Dynpro ABAP specific question.  Please only post questions in this forum directly related to aspects of Web Dynpro ABAP.  I am moving this question to the ABAP General Forum.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Mar 2011 12:46:19 GMT</pubDate>
    <dc:creator>thomas_jung</dc:creator>
    <dc:date>2011-03-09T12:46:19Z</dc:date>
    <item>
      <title>ABAP WEB DYNPRO -QUERY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-web-dynpro-query/m-p/7709907#M1578980</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;BELOW IS THE CODE WRITTEN TO MOVE THE VALUES FROM  ONE INTERNAL TABLE TO ANOTHER. BUT WHEN I MOVE, THE VALUE IN THE SECOND LOOP GETS APPENDS IN THE 2 ND ROW. CAN YOU PLEASE HELP ME TO STORE THE VALUES IN THE SAME ROW. BOTH THE TABLES DONT HAVE ANY FIELDS IN COMMON.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THAT IS THE LS_INPUT HAS A AND B FIELDS, LT_PHASE HAS C AND D FIELDS. WANT THE VALUES OF ALL THE FIELDS IN THE SAME ROW IF LT_PROPOSAL. PLEASE HELP OUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at ls_input into wa_input.&lt;/P&gt;&lt;P&gt;   clear wa_input_pro.&lt;/P&gt;&lt;P&gt;    move-corresponding wa_input to wa_input_pro.&lt;/P&gt;&lt;P&gt;    append wa_input_pro to lt_proposal.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  loop at lt_phase into wa_phase.&lt;/P&gt;&lt;P&gt;    clear wa_phase_pro.&lt;/P&gt;&lt;P&gt;    move-corresponding wa_phase to wa_phase_pro.&lt;/P&gt;&lt;P&gt;    append wa_phase_pro to lt_proposal.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2011 12:16:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-web-dynpro-query/m-p/7709907#M1578980</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-09T12:16:15Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP WEB DYNPRO -QUERY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-web-dynpro-query/m-p/7709908#M1578981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vadiv,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you need to use KEY FIELD reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Kris.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2011 12:27:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-web-dynpro-query/m-p/7709908#M1578981</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-09T12:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP WEB DYNPRO -QUERY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-web-dynpro-query/m-p/7709909#M1578982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well right now you are doing an append so of course you are getting double the number of rows.  Are the number of rows in ls_input always the same as the number of rows in lt_phase ?  If so as you loop through lt_phase, instead of appending a record to lt_proposal use a read with index.  Give the command the same index as the current record in the loop of lt_phase.  That way you will be reading the corresponding record to the same position in ls_input. Without keys in common, the record position in the table is about the only way to match up any data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That said, this isn't a Web Dynpro ABAP specific question.  Please only post questions in this forum directly related to aspects of Web Dynpro ABAP.  I am moving this question to the ABAP General Forum.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2011 12:46:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-web-dynpro-query/m-p/7709909#M1578982</guid>
      <dc:creator>thomas_jung</dc:creator>
      <dc:date>2011-03-09T12:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP WEB DYNPRO -QUERY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-web-dynpro-query/m-p/7709910#M1578983</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;As mentioned..&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt; BOTH THE TABLES DONT HAVE ANY FIELDS IN COMMON &lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the 2nd loop instead of using append use Modify statement and check in debug mode.&lt;/P&gt;&lt;P&gt;Try it once.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Arbind&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2011 14:02:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-web-dynpro-query/m-p/7709910#M1578983</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-09T14:02:16Z</dc:date>
    </item>
  </channel>
</rss>

