<?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 Delivery ticket in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/delivery-ticket/m-p/2569043#M586467</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt; This is my requirement,&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Issue 1...Min Days&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;*********************************************************************************&lt;/P&gt;&lt;P&gt;1)Select KNUMV from VBAK where VBELN = Rental Order&lt;/P&gt;&lt;P&gt;2)Select KNUMH from KONV where KNUMV = Pricing Condition Record from Sales Document and KSCHL = &amp;#147;ZREN&amp;#148;&lt;/P&gt;&lt;P&gt;3)Select KSTBM from KONM where KNUMH = Condition Record from Condition Table where the Pricing Condition Record was selected from &amp;#150; Consider first record from the resulting selection&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could understand the 1st &amp;amp; 2nd statements,But i could not understand the 3rd condition.&lt;/P&gt;&lt;P&gt;I dono what to pass in the where condition.&lt;/P&gt;&lt;P&gt;*********************************************************************************&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Issue2...Min Charge&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Minimum daily rental amount to be charged for the Minimum number of days a Tool / Equipment is rented&lt;/P&gt;&lt;P&gt;Min Charge &amp;#150; KONM-KBETR&lt;/P&gt;&lt;P&gt;Refer to Min Days access and select KONM-KBETR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to get min charge ????&lt;/P&gt;&lt;P&gt;********************************************************************&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Issue3 ...Add&amp;#146;l Day Charges&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Daily Rental Amount to be charged for each additional day if Tool / Equipment rented over the minimum number of days&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add&amp;#146;l Day Charges &amp;#150; KONM-KBETR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Consider second record when selecting from KONM&lt;/P&gt;&lt;P&gt;Refer to Min Days access and select KONM-KBETR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to select second record from KONH???????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you guide me on that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ashok...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Jul 2007 16:36:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-23T16:36:58Z</dc:date>
    <item>
      <title>Delivery ticket</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delivery-ticket/m-p/2569043#M586467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt; This is my requirement,&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Issue 1...Min Days&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;*********************************************************************************&lt;/P&gt;&lt;P&gt;1)Select KNUMV from VBAK where VBELN = Rental Order&lt;/P&gt;&lt;P&gt;2)Select KNUMH from KONV where KNUMV = Pricing Condition Record from Sales Document and KSCHL = &amp;#147;ZREN&amp;#148;&lt;/P&gt;&lt;P&gt;3)Select KSTBM from KONM where KNUMH = Condition Record from Condition Table where the Pricing Condition Record was selected from &amp;#150; Consider first record from the resulting selection&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could understand the 1st &amp;amp; 2nd statements,But i could not understand the 3rd condition.&lt;/P&gt;&lt;P&gt;I dono what to pass in the where condition.&lt;/P&gt;&lt;P&gt;*********************************************************************************&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Issue2...Min Charge&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Minimum daily rental amount to be charged for the Minimum number of days a Tool / Equipment is rented&lt;/P&gt;&lt;P&gt;Min Charge &amp;#150; KONM-KBETR&lt;/P&gt;&lt;P&gt;Refer to Min Days access and select KONM-KBETR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to get min charge ????&lt;/P&gt;&lt;P&gt;********************************************************************&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Issue3 ...Add&amp;#146;l Day Charges&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Daily Rental Amount to be charged for each additional day if Tool / Equipment rented over the minimum number of days&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add&amp;#146;l Day Charges &amp;#150; KONM-KBETR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Consider second record when selecting from KONM&lt;/P&gt;&lt;P&gt;Refer to Min Days access and select KONM-KBETR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to select second record from KONH???????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you guide me on that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ashok...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2007 16:36:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delivery-ticket/m-p/2569043#M586467</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-23T16:36:58Z</dc:date>
    </item>
    <item>
      <title>Re: Delivery ticket</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delivery-ticket/m-p/2569044#M586468</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;fetch the data as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select vbeln knumv from vbak into table itab where vbeln = p_vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not itab[] is initial.&lt;/P&gt;&lt;P&gt;  select knumv kposn kbetr kwert knumh from konv into table itab1&lt;/P&gt;&lt;P&gt;               for all entries in itab&lt;/P&gt;&lt;P&gt;              where knumv = itab-knumv.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not itab1[] is initial.&lt;/P&gt;&lt;P&gt;  select knumh kbetr kwert from konm into table itab2&lt;/P&gt;&lt;P&gt;               for all entries in itab1&lt;/P&gt;&lt;P&gt;              &amp;lt;b&amp;gt;where knumh = itab1-knumh.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;take the records from konm and sort the table entries by kbetr.&lt;/P&gt;&lt;P&gt;so take the record where the rate KBETR is less among all entries&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points for useful Answers&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2007 17:03:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delivery-ticket/m-p/2569044#M586468</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-23T17:03:45Z</dc:date>
    </item>
  </channel>
</rss>

