<?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: Regarding select in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select/m-p/3009429#M711119</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonnakuti,&lt;/P&gt;&lt;P&gt;   Suppose you have a field t_field which you need to select form VBPA .Do like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select vbeln t_field form vbpa&lt;/P&gt;&lt;P&gt; into table itab1&lt;/P&gt;&lt;P&gt;for all entries in itab&lt;/P&gt;&lt;P&gt;where vbeln = i_tab-vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Now pass the values into itab.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at itab.&lt;/P&gt;&lt;P&gt;read table itab1 with key vbeln = itab-vbeln binary search.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;itab-t_field = itab1-t_field.&lt;/P&gt;&lt;P&gt;modify itab.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Sourabh Verma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Nov 2007 10:35:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-07T10:35:22Z</dc:date>
    <item>
      <title>Regarding select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select/m-p/3009426#M711116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have vbeln,erdat,netwr in itab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i have to get DATA from  vbpa table with refering itab-vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have to hold all the fields of itab and one field from vbpa table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can we write the code for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;srik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Nov 2007 10:21:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select/m-p/3009426#M711116</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-07T10:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select/m-p/3009427#M711117</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;  Loop at itab.&lt;/P&gt;&lt;P&gt;    select single fieldname from vbpa into itab-fieldname where vbeln eq itab-vbeln.&lt;/P&gt;&lt;P&gt;   modify itab index sy-tabix.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Nov 2007 10:23:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select/m-p/3009427#M711117</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-07T10:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select/m-p/3009428#M711118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;LOOP AT ITAB.&lt;/P&gt;&lt;P&gt;SELECT  &amp;lt;FIELD_NAME&amp;gt; FROM VBPA WHERE VBELN EQ ITAB-VBELN.&lt;/P&gt;&lt;P&gt;MODIFY ITAB TRANSPORTING &amp;lt;FIELD_NAME&amp;gt; INDEX SY-TABIX.&lt;/P&gt;&lt;P&gt;ENDSELECT.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Nov 2007 10:32:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select/m-p/3009428#M711118</guid>
      <dc:creator>former_member188827</dc:creator>
      <dc:date>2007-11-07T10:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select/m-p/3009429#M711119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonnakuti,&lt;/P&gt;&lt;P&gt;   Suppose you have a field t_field which you need to select form VBPA .Do like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select vbeln t_field form vbpa&lt;/P&gt;&lt;P&gt; into table itab1&lt;/P&gt;&lt;P&gt;for all entries in itab&lt;/P&gt;&lt;P&gt;where vbeln = i_tab-vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Now pass the values into itab.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at itab.&lt;/P&gt;&lt;P&gt;read table itab1 with key vbeln = itab-vbeln binary search.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;itab-t_field = itab1-t_field.&lt;/P&gt;&lt;P&gt;modify itab.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Sourabh Verma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Nov 2007 10:35:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select/m-p/3009429#M711119</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-07T10:35:22Z</dc:date>
    </item>
  </channel>
</rss>

