<?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: userexit_save_document_prepare in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/userexit-save-document-prepare/m-p/8339425#M1638933</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I understand but I need to cancel the delete order action when I found something in the reference table. I need a way to cancel via message the delete of the sale order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Nov 2011 22:48:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-11-18T22:48:23Z</dc:date>
    <item>
      <title>userexit_save_document_prepare</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/userexit-save-document-prepare/m-p/8339423#M1638931</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 am using exit userexit_save_document_prepare to stop change in item line under conditions and it work fine in change mode. But if I try to delete the complete order when my message is reached in the exit I got a dump. Can I use another exit or BADI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Daniel Cantin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2011 19:33:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/userexit-save-document-prepare/m-p/8339423#M1638931</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-18T19:33:20Z</dc:date>
    </item>
    <item>
      <title>Re: userexit_save_document_prepare</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/userexit-save-document-prepare/m-p/8339424#M1638932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to delete the order anyway, then there is no need for the logic that stops changing the item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just query the value of T180-TRTYP and if it is "V" then you are in change mode. Then make sure that the OK code selected is for deletion (FCODE = 'LOES') and if yes, then don't execute the steps causing the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2011 19:52:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/userexit-save-document-prepare/m-p/8339424#M1638932</guid>
      <dc:creator>Tamas_Hoznek</dc:creator>
      <dc:date>2011-11-18T19:52:40Z</dc:date>
    </item>
    <item>
      <title>Re: userexit_save_document_prepare</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/userexit-save-document-prepare/m-p/8339425#M1638933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I understand but I need to cancel the delete order action when I found something in the reference table. I need a way to cancel via message the delete of the sale order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2011 22:48:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/userexit-save-document-prepare/m-p/8339425#M1638933</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-18T22:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: userexit_save_document_prepare</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/userexit-save-document-prepare/m-p/8339426#M1638934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This thread may be of some help:&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1451777"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will work perfectly in dialog transactions. &lt;/P&gt;&lt;P&gt;You'll have to experiment with coding for the case of BAPI calls that are mentioned as a possible problem. Perhaps just clearing the FCODE and setting the next screen (without leaving the screen) might work if the LEAVE SCREEN is the issue for the BAPI call.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2011 23:40:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/userexit-save-document-prepare/m-p/8339426#M1638934</guid>
      <dc:creator>Tamas_Hoznek</dc:creator>
      <dc:date>2011-11-18T23:40:32Z</dc:date>
    </item>
    <item>
      <title>Re: userexit_save_document_prepare</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/userexit-save-document-prepare/m-p/8339427#M1638935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you ensuring that your changes are confirming to the guide line as per the note below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Note 178328 - Problems due to incorrect user exits in SD|https://service.sap.com/sap/support/notes/178328]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It may take a while to read, but worth every penny of the time you spend on it!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Nov 2011 00:19:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/userexit-save-document-prepare/m-p/8339427#M1638935</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-19T00:19:30Z</dc:date>
    </item>
  </channel>
</rss>

