<?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: Function module exit help in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-exit-help/m-p/4565761#M1077543</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;which bapi are you using ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rhea.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Oct 2008 07:43:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-10T07:43:01Z</dc:date>
    <item>
      <title>Function module exit help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-exit-help/m-p/4565759#M1077541</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;I have the following requirement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Need to check if the material is blocked and return some error code before passing it for the creation of sales order. &lt;/P&gt;&lt;P&gt;The sales order creation is being done using a standard BAPI function module and I need to modify the customer exit (function module exit) to add my logic to check the material.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me in how to proceed with working with function-exits? Where to add my logic?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to this and any help would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mohit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Oct 2008 10:30:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-exit-help/m-p/4565759#M1077541</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-08T10:30:53Z</dc:date>
    </item>
    <item>
      <title>Re: Function module exit help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-exit-help/m-p/4565760#M1077542</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;Try using the exit MV45AFZZ or check out other exits for sales document processing thru SPRO-&amp;gt; Sales and Distribution-&amp;gt;System Modifications-&amp;gt;User Exits &lt;/P&gt;&lt;P&gt;and check out the documentation for each exit. it will tell u in detail why these exits r used &amp;amp; in which scenario.&lt;/P&gt;&lt;P&gt;Since ur sales order is also being created using a BAPI the problem becomes more complex..&lt;/P&gt;&lt;P&gt;Btw..can u tell me which BAPI is it?&lt;/P&gt;&lt;P&gt;Is it BAPI_SALESORDER_CREATEFROMDATA?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2008 07:38:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-exit-help/m-p/4565760#M1077542</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-10T07:38:01Z</dc:date>
    </item>
    <item>
      <title>Re: Function module exit help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-exit-help/m-p/4565761#M1077543</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;which bapi are you using ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rhea.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2008 07:43:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-exit-help/m-p/4565761#M1077543</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-10T07:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: Function module exit help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-exit-help/m-p/4565762#M1077544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in the include Mv45afzz , routine userexit_save_document_prepare you can do that check and raise the meessage. this logic/include will trigger from the BAPI also.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2008 07:45:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-exit-help/m-p/4565762#M1077544</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-10T07:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: Function module exit help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-exit-help/m-p/4565763#M1077545</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;I just want to add something based on my experience.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had checked that BAPI_SALESORDER_CREATEFROMDAT2 calls the user exit in MV45AFZZ. I checked this for USEREXIT_MOVE_FIELD_TO_VBAP, USEREXIT_MOVE_FIELD_TO_VBKD, USEREXIT_PRICING_PREPARE_TKOMP, and USEREXIT_SAVE_DOCUMENT_PREPARE. So I think all the user exit in MV45AFZZ should be called.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Teddy Kurniawan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2009 03:14:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-exit-help/m-p/4565763#M1077545</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-26T03:14:48Z</dc:date>
    </item>
  </channel>
</rss>

