<?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: Update Material Availability dates during order creation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-material-availability-dates-during-order-creation/m-p/7026298#M1498703</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Worked using the enhancement framework development&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Nov 2010 12:36:16 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-11-04T12:36:16Z</dc:date>
    <item>
      <title>Update Material Availability dates during order creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-material-availability-dates-during-order-creation/m-p/7026297#M1498702</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;We have a requirement to update the material availability in the schedule lines of the order when the order is being created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We want the update to happen after the sales order is in the Data base. We tried calling a Function module in Update task. The function module is written in the EXIT_SAVE_DOCUMENT form of sales order user exit. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The FM is getting called on the commit work , but not updating the sales order. We are getting an error " Material availability date should be less than load date". On debugging we noted that the SD_SALES_SCHEDULE_MAINTAIN is called with a load date of 00/00/0000 since the sales order is not in DB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to call the FM after the sales order is in the database. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prabaharan G&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Jun 2010 20:03:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-material-availability-dates-during-order-creation/m-p/7026297#M1498702</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-06T20:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: Update Material Availability dates during order creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-material-availability-dates-during-order-creation/m-p/7026298#M1498703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Worked using the enhancement framework development&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Nov 2010 12:36:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-material-availability-dates-during-order-creation/m-p/7026298#M1498703</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-04T12:36:16Z</dc:date>
    </item>
  </channel>
</rss>

