<?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/4099408#M980268</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SRK,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*---------------------------------------------------------------------*
*       FORM USEREXIT_SAVE_DOCUMENT                                   *
*---------------------------------------------------------------------*
*       This userexit can be used to save data in additional tables   *
*       when a document is saved.                                     *
*                                                                     *
*       If field T180-TRTYP contents 'H', the document will be        *
*       created, else it will be changed.                             *
*                                                                     *
*       This form is called at from form BELEG_SICHERN, before COMMIT *
*                                                                     *
*---------------------------------------------------------------------*&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*---------------------------------------------------------------------*
*       FORM USEREXIT_SAVE_DOCUMENT_PREPARE                           *
*---------------------------------------------------------------------*
*       This userexit can be used for changes or checks, before a     *
*       document is saved.                                            *
*                                                                     *
*       If field T180-TRTYP contents 'H', the document will be        *
*       created, else it will be changed.                             *
*                                                                     *
*       This form is called at the beginning of form BELEG_SICHERN    *
*                                                                     *
*---------------------------------------------------------------------*&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;these all are used in VA* transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Jul 2008 08:12:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-01T08:12:37Z</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/4099405#M980265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please let me know the scenarios where USEREXIT_SAVE_DOCUMENT_PREPARE can be used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What are all the transaction codes that this is exit come across?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, what is the diff. between USEREXIT_SAVE_DOCUMENT_PREPARE and USEREXIT_SAVE_DOCUMENT ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jul 2008 04:12:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/userexit-save-document-prepare/m-p/4099405#M980265</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-01T04:12:24Z</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/4099406#M980266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;USEREXIT_SAVE_DOCUMENT_PREPARE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This user exit is used to check some input data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We get a report screen: "Goods issue: Problem Log" during the delivery process when activating Post Goods Issue button. We want to include our own error message to this list if the selected batch is not on a customer defined table.The best way is to use  - USEREXIT_SAVE_DOCUMENT_PREPARE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;USEREXIT_SAVE_DOCUMENT is called after having saved the document&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagadish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jul 2008 04:18:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/userexit-save-document-prepare/m-p/4099406#M980266</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-01T04:18:12Z</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/4099407#M980267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the user exit "USEREXIT_SAVE_DOCUMENT_PREPARE" is used in all sales document scenarios like Inquiry, Quotation, Sales Agreemnt, Sales Order Etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the difference between "USEREXIT_SAVE_DOCUMENT_PREPARE" and "USEREXIT_SAVE_DOCUMENT" is :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. USEREXIT_SAVE_DOCUMENT_PREPARE is called before USEREXIT_SAVE_DOCUMENT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. in this USEREXIT_SAVE_DOCUMENT_PREPARE no of sales document is not generated instead in USEREXIT_SAVE_DOCUMENT no of sales document no is already generated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If information is useful please update the points&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jul 2008 08:06:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/userexit-save-document-prepare/m-p/4099407#M980267</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-01T08:06:25Z</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/4099408#M980268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SRK,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*---------------------------------------------------------------------*
*       FORM USEREXIT_SAVE_DOCUMENT                                   *
*---------------------------------------------------------------------*
*       This userexit can be used to save data in additional tables   *
*       when a document is saved.                                     *
*                                                                     *
*       If field T180-TRTYP contents 'H', the document will be        *
*       created, else it will be changed.                             *
*                                                                     *
*       This form is called at from form BELEG_SICHERN, before COMMIT *
*                                                                     *
*---------------------------------------------------------------------*&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*---------------------------------------------------------------------*
*       FORM USEREXIT_SAVE_DOCUMENT_PREPARE                           *
*---------------------------------------------------------------------*
*       This userexit can be used for changes or checks, before a     *
*       document is saved.                                            *
*                                                                     *
*       If field T180-TRTYP contents 'H', the document will be        *
*       created, else it will be changed.                             *
*                                                                     *
*       This form is called at the beginning of form BELEG_SICHERN    *
*                                                                     *
*---------------------------------------------------------------------*&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;these all are used in VA* transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jul 2008 08:12:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/userexit-save-document-prepare/m-p/4099408#M980268</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-01T08:12:37Z</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/4099409#M980269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi SRK,&lt;/P&gt;&lt;P&gt;The user exit "USEREXIT_SAVE_DOCUMENT_PREPARE" is used in VA01 / VA02 transactions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is very useful to check some input field, put any value in the field or show a popup to the users to confirm the document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can validate any Z table here before you save the purchase order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, you can validate if the transaction is executed by batchinput or in background mode before check anything, or validate SY-UCOMM to follow your own sentences.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jul 2008 21:16:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/userexit-save-document-prepare/m-p/4099409#M980269</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-02T21:16:10Z</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/4099410#M980270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;srk s,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look at the [SAP Help|http://help.sap.com/saphelp_46c/helpdata/en/1c/f62c7dd435d1118b3f0060b03ca329/frameset.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PeteA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2008 07:13:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/userexit-save-document-prepare/m-p/4099410#M980270</guid>
      <dc:creator>peter_atkin</dc:creator>
      <dc:date>2008-07-03T07:13:00Z</dc:date>
    </item>
  </channel>
</rss>

