<?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: While selecting vbep-ETENR in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/while-selecting-vbep-etenr/m-p/3003312#M709566</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;data:wf_etenr like vbep-etenr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after writing the select statment what you used.use the following statement to get the data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single max( etenr ) into wf_etenr from vbep where vbeln = xlips-vgbel and posnr = xlips-vgpos.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this answer satisfies your answer,please reward me the points.&lt;/P&gt;&lt;P&gt;if it is not fullfilled your requirement,reply me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Nov 2007 08:36:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-07T08:36:03Z</dc:date>
    <item>
      <title>While selecting vbep-ETENR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/while-selecting-vbep-etenr/m-p/3003310#M709564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I want to select data from vbep however what I need while selecting is this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The select sentence:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select single * from vbep where vbeln EQ xlips-vgbel and posnr EQ xlips-vgpos.....&lt;/P&gt;&lt;P&gt;and what I need after this is that vbep-etenr should be the max of data that comes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I do that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Nov 2007 08:14:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/while-selecting-vbep-etenr/m-p/3003310#M709564</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-07T08:14:04Z</dc:date>
    </item>
    <item>
      <title>Re: While selecting vbep-ETENR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/while-selecting-vbep-etenr/m-p/3003311#M709565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;First of all Always Give all the Primary Key while using Select Single..&lt;/P&gt;&lt;P&gt;In your case Etenr itself is missing ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In other case if you want to get Highest Etenr after select..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;take all the records in Internal Table using Order by Primary key in the select .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then read the first Index .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this is OK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Praveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Nov 2007 08:35:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/while-selecting-vbep-etenr/m-p/3003311#M709565</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-07T08:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: While selecting vbep-ETENR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/while-selecting-vbep-etenr/m-p/3003312#M709566</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;data:wf_etenr like vbep-etenr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after writing the select statment what you used.use the following statement to get the data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single max( etenr ) into wf_etenr from vbep where vbeln = xlips-vgbel and posnr = xlips-vgpos.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this answer satisfies your answer,please reward me the points.&lt;/P&gt;&lt;P&gt;if it is not fullfilled your requirement,reply me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Nov 2007 08:36:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/while-selecting-vbep-etenr/m-p/3003312#M709566</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-07T08:36:03Z</dc:date>
    </item>
  </channel>
</rss>

