<?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: where in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/where/m-p/5614796#M1279256</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SELECT a&lt;SUB&gt;vbeln b&lt;/SUB&gt;posnr&lt;/P&gt;&lt;P&gt;INTO CORRESPONDING FIELDS OF TABLE lt_pspabrech&lt;/P&gt;&lt;P&gt;FROM vbak AS a&lt;/P&gt;&lt;P&gt;INNER JOIN vbap AS b&lt;/P&gt;&lt;P&gt;ON a&lt;SUB&gt;vbeln = b&lt;/SUB&gt;vbeln&lt;/P&gt;&lt;P&gt;WHERE b~pstyv IN ('ZTKE' , 'ZTOE')&lt;/P&gt;&lt;P&gt;AND a~auart = 'YBTA'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try the above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just added space between the two item cats and removed space between single quote and bracket.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 May 2009 14:37:32 GMT</pubDate>
    <dc:creator>Azeemquadri</dc:creator>
    <dc:date>2009-05-07T14:37:32Z</dc:date>
    <item>
      <title>where</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/where/m-p/5614795#M1279255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hallo &lt;/P&gt;&lt;P&gt;I want to select with condition 'ZTKE'  'ZTOE' can somebody tell where is my mistake&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT a&lt;SUB&gt;vbeln b&lt;/SUB&gt;posnr&lt;/P&gt;&lt;P&gt;      INTO CORRESPONDING FIELDS OF TABLE lt_pspabrech&lt;/P&gt;&lt;P&gt;      FROM       vbak AS a&lt;/P&gt;&lt;P&gt;      INNER JOIN vbap AS b&lt;/P&gt;&lt;P&gt;      ON         a&lt;SUB&gt;vbeln = b&lt;/SUB&gt;vbeln&lt;/P&gt;&lt;P&gt;      WHERE b~pstyv IN ( 'ZTKE','ZTOE' )&lt;/P&gt;&lt;P&gt;      AND a~auart = 'YBTA'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2009 14:34:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/where/m-p/5614795#M1279255</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-07T14:34:33Z</dc:date>
    </item>
    <item>
      <title>Re: where</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/where/m-p/5614796#M1279256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SELECT a&lt;SUB&gt;vbeln b&lt;/SUB&gt;posnr&lt;/P&gt;&lt;P&gt;INTO CORRESPONDING FIELDS OF TABLE lt_pspabrech&lt;/P&gt;&lt;P&gt;FROM vbak AS a&lt;/P&gt;&lt;P&gt;INNER JOIN vbap AS b&lt;/P&gt;&lt;P&gt;ON a&lt;SUB&gt;vbeln = b&lt;/SUB&gt;vbeln&lt;/P&gt;&lt;P&gt;WHERE b~pstyv IN ('ZTKE' , 'ZTOE')&lt;/P&gt;&lt;P&gt;AND a~auart = 'YBTA'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try the above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just added space between the two item cats and removed space between single quote and bracket.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2009 14:37:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/where/m-p/5614796#M1279256</guid>
      <dc:creator>Azeemquadri</dc:creator>
      <dc:date>2009-05-07T14:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: where</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/where/m-p/5614797#M1279257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very useful answer Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2009 14:40:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/where/m-p/5614797#M1279257</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-07T14:40:33Z</dc:date>
    </item>
  </channel>
</rss>

