<?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>Question Re: BOP sorting to confirmed date in Supply Chain Management Q&amp;A</title>
    <link>https://community.sap.com/t5/supply-chain-management-q-a/bop-sorting-to-confirmed-date/qaa-p/11296715#M152400</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Babu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also thought that the field "MBDAT" which is available as a standard sorting criteria would correspond to the material availability date of your confirmed schedule line. However, it corresponds to the material availability date of your requested schedule line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See screenshots for quotation 20062134/10:&lt;/P&gt;&lt;P&gt;- MAV date of requested schedule line = 27.10.2015&lt;/P&gt;&lt;P&gt;- MAV date of the confirmed schedule line = 16.11.2015&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/804607" height="198" width="546" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have a look at the value of the sorting criteria for MBDAT, it contains date 20151027.&lt;/P&gt;&lt;P&gt;The field USEREXIT which we use as our sorting field now is filled with the "last" confirmed date of the sales requirement.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/804668" height="168" width="685" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess it is not foreseen in the standard sort criteria to sort against the confirmed date as a sales requirement can have multiple confirmed dates?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know what you mean by using field "VALIDITY" as the sort criteria. I don't see this field as a sorting field?&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/804669" height="284" width="149" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alexander&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Oct 2015 07:53:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2015-10-07T07:53:35Z</dc:date>
    <item>
      <title>BOP sorting to confirmed date</title>
      <link>https://community.sap.com/t5/supply-chain-management-q-a/bop-sorting-to-confirmed-date/qaq-p/11296713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="text-align: justify;"&gt;Hello,&lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;In the past, our sales requirements in the BOP run were sorted based upon their requested date via the standard sort criteria field LFTMS.&lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;Now, we’d like to &lt;STRONG&gt;sort the sales requirements in the BOP run based upon their confirmed date&lt;/STRONG&gt;. &lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;For this, we use userexit EXIT_/SAPAPO/SAPLBOP_SORT_020 and fill the field USEREXIT with the confirmed date of the last schedule line of the sales order item. If the sales order item doesn’t have confirmed dates, we set the date to 99991231 (sales order items without confirmed date are sorted at the end of our sorted list). To read the confirmed dates of a sales order item, we use BAPI &lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;BAPI_SLSRVAPS_GETLIST2. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;Functionally everything is working properly, but we experience some performance issues: the BOP run takes double as long as what it takes when sorting to the requested date.&lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;Most of the time is “lost” in reading the sales order item data via BAPI &lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;BAPI_SLSRVAPS_GETLIST2.&lt;/SPAN&gt; &lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;STRONG&gt;Is there a faster way on APO to read the schedule line data for a sales order item, e.g. directly in a table.&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;/P&gt;&lt;P&gt;The table /SAPAPO/SCHEDLIN only contains the requested date (type O) and the “confirmation, first version” (type C), but not the actual “confirmed date”.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any advice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alexander&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Oct 2015 15:31:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/supply-chain-management-q-a/bop-sorting-to-confirmed-date/qaq-p/11296713</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-10-06T15:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: BOP sorting to confirmed date</title>
      <link>https://community.sap.com/t5/supply-chain-management-q-a/bop-sorting-to-confirmed-date/qaa-p/11296714#M152399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Alexander,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Confirmed date is nothing but the MBDAT of the order line. Did you try using the field VALIDITY as the sorting criteria ? &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Didn't that fulfill your requirement ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Best Regards,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Babu Kilari&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Oct 2015 17:36:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/supply-chain-management-q-a/bop-sorting-to-confirmed-date/qaa-p/11296714#M152399</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-10-06T17:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: BOP sorting to confirmed date</title>
      <link>https://community.sap.com/t5/supply-chain-management-q-a/bop-sorting-to-confirmed-date/qaa-p/11296715#M152400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Babu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also thought that the field "MBDAT" which is available as a standard sorting criteria would correspond to the material availability date of your confirmed schedule line. However, it corresponds to the material availability date of your requested schedule line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See screenshots for quotation 20062134/10:&lt;/P&gt;&lt;P&gt;- MAV date of requested schedule line = 27.10.2015&lt;/P&gt;&lt;P&gt;- MAV date of the confirmed schedule line = 16.11.2015&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/804607" height="198" width="546" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have a look at the value of the sorting criteria for MBDAT, it contains date 20151027.&lt;/P&gt;&lt;P&gt;The field USEREXIT which we use as our sorting field now is filled with the "last" confirmed date of the sales requirement.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/804668" height="168" width="685" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess it is not foreseen in the standard sort criteria to sort against the confirmed date as a sales requirement can have multiple confirmed dates?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know what you mean by using field "VALIDITY" as the sort criteria. I don't see this field as a sorting field?&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/804669" height="284" width="149" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alexander&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 07:53:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/supply-chain-management-q-a/bop-sorting-to-confirmed-date/qaa-p/11296715#M152400</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-10-07T07:53:35Z</dc:date>
    </item>
    <item>
      <title>Re: BOP sorting to confirmed date</title>
      <link>https://community.sap.com/t5/supply-chain-management-q-a/bop-sorting-to-confirmed-date/qaa-p/11296716#M152401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Alexander,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry - The field validity corresponds to MBDAT for ODLs. For BOP, I guess the standard field MBDAT is the right one. But, that is also true that system always looks at the first schedule line because the original design as I understood would be is to improve the confirmation situation of a customer demand element based on first suggested date. I don't see a straight forward solution to your requirement without a custom developments. But, using heavy FMs and BAPIs in the filtering and sorting criteria exits would indeed slow down the BOP performance. Will share if there is anything that comes to my mind&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks &amp;amp; Best Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Babu Kilari&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 09:23:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/supply-chain-management-q-a/bop-sorting-to-confirmed-date/qaa-p/11296716#M152401</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-10-07T09:23:25Z</dc:date>
    </item>
  </channel>
</rss>

