<?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 STATEMENT in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/3173465#M755121</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sirish,&lt;/P&gt;&lt;P&gt;   Not getting ur req...&lt;/P&gt;&lt;P&gt;if u want  vl_awkey field in tg_report internal table..then add this field to its structure..&lt;/P&gt;&lt;P&gt;loop at tg_report where vbeln = vl_vbeln..&lt;/P&gt;&lt;P&gt;tg_report-awkey = vl_awkey.&lt;/P&gt;&lt;P&gt;modify tg_report transporting awkey where vbeln = vl_vbeln.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaveri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Dec 2007 09:02:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-13T09:02:52Z</dc:date>
    <item>
      <title>SELECT STATEMENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/3173463#M755119</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;&lt;/P&gt;&lt;P&gt;              im working on alv reports.in this i hav 2 select statements .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM vbrk AS a INNER JOIN vbrp AS b ON a&lt;SUB&gt;vbeln = b&lt;/SUB&gt;vbeln&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;    INTO CORRESPONDING FIELDS OF TABLE tg_report&lt;/P&gt;&lt;P&gt;   WHERE a~vbeln    IN s_vbeln&lt;/P&gt;&lt;P&gt;     AND a~vkorg    IN s_vkorg&lt;/P&gt;&lt;P&gt;     AND a~vtweg    IN s_vtweg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT SINGLE awkey FROM bkpf INTO vl_awkey WHERE belnr = vl_vbeln.&lt;/P&gt;&lt;P&gt;  CONCATENATE '00' vl_awkey INTO vl_awkey.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to keep this &amp;lt;b&amp;gt;vl_awkey&amp;lt;/b&amp;gt; field in this select statement &amp;amp; output in tg_report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz help me in this Gurus.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;correct answers will be rewarded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sirish.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2007 08:53:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/3173463#M755119</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-13T08:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT STATEMENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/3173464#M755120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u need add thisvl_awkey to the internal table tg_report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for that after second select statement u need to modify the table tg_report by transporting vl_awkey only&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2007 08:56:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/3173464#M755120</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-13T08:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT STATEMENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/3173465#M755121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sirish,&lt;/P&gt;&lt;P&gt;   Not getting ur req...&lt;/P&gt;&lt;P&gt;if u want  vl_awkey field in tg_report internal table..then add this field to its structure..&lt;/P&gt;&lt;P&gt;loop at tg_report where vbeln = vl_vbeln..&lt;/P&gt;&lt;P&gt;tg_report-awkey = vl_awkey.&lt;/P&gt;&lt;P&gt;modify tg_report transporting awkey where vbeln = vl_vbeln.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaveri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2007 09:02:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/3173465#M755121</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-13T09:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT STATEMENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/3173466#M755122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi  kaveri,&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;         My tg_report is a has no header line. so hw to add vl_awkey in tg_report.?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;sirish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2007 09:18:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/3173466#M755122</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-13T09:18:59Z</dc:date>
    </item>
  </channel>
</rss>

