<?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 select querry in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-querry/m-p/2017214#M412336</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have to determine deliveries(LIKP-VBELN) for the posting date(BUDAT) that is being entered in selection screen. but BUDAT is not there in LIKP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from this list of deliveries, determine the deliveries(LIKP-VBELN) for which a shipment has been created, but with no completed shipment cost document(VFKK-FKNUM). the field status of Account Assignment(VFKK-STFRE) and status of transfer(VFKK-STABR) on the shipment cost document(VFKK-FKNUM) needs to be used to determine the shipments to be reported. If both these fields are NOT in the status "c", then the documents MUST be included.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Mar 2007 13:11:45 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-14T13:11:45Z</dc:date>
    <item>
      <title>select querry</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-querry/m-p/2017214#M412336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have to determine deliveries(LIKP-VBELN) for the posting date(BUDAT) that is being entered in selection screen. but BUDAT is not there in LIKP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from this list of deliveries, determine the deliveries(LIKP-VBELN) for which a shipment has been created, but with no completed shipment cost document(VFKK-FKNUM). the field status of Account Assignment(VFKK-STFRE) and status of transfer(VFKK-STABR) on the shipment cost document(VFKK-FKNUM) needs to be used to determine the shipments to be reported. If both these fields are NOT in the status "c", then the documents MUST be included.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2007 13:11:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-querry/m-p/2017214#M412336</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-14T13:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: select querry</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-querry/m-p/2017215#M412337</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;  Have a look at this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select  FKNUM from VFKK  into ITAB1 where BUDAT in S_BUDAT and STFRE&amp;lt;&amp;gt;'c' and STABR&amp;lt;&amp;gt;'C'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select VBELN FKNUM from VFKN into ITAB2 for all entries in ITAB1 where &lt;/P&gt;&lt;P&gt;FKNUM = ITAB1-FKNUM. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from LIKP into OUTTAB for all entries in ITAB2 where VBELN = ITAB2-VBELN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this will fetch u required data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if found helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2007 14:05:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-querry/m-p/2017215#M412337</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-14T14:05:21Z</dc:date>
    </item>
  </channel>
</rss>

