<?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: user exit code in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-code/m-p/4169466#M996797</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks. When will i get the SD document number ??VBELN ?? After save or before save ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also won't all the other data entered in the transaction be available in this user exit ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Jul 2008 13:36:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-22T13:36:33Z</dc:date>
    <item>
      <title>user exit code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-code/m-p/4169464#M996795</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;my requirement is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the sales order is saved, i have to check each of the line item data and in that check shipping point country and shipto country(some conditions which i will take care). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then i need to insert the sales order relevant data into the custom table. data such as SD doc number, item number, customer number etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So what I did was, in MV45AFZZ , in the FORM USEREXIT_SAVE_DOCUMENT, implemented the implicit enhancement (code enhancement). There I have to write the code to access all the line items and manipulate as states above. Hope I am clear. Any help with the code ? I am not able to find the correct field names and getting syntax errors. as well i dont know how i loop thru the line items ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2008 13:13:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-code/m-p/4169464#M996795</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-22T13:13:51Z</dc:date>
    </item>
    <item>
      <title>Re: user exit code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-code/m-p/4169465#M996796</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;use this User Exit &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;USEREXIT_SAVE_DOCUMENT_PREPARE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the User exit that  u r using will get triggered after cata is geting saved not before .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Snehi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2008 13:30:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-code/m-p/4169465#M996796</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-22T13:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: user exit code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-code/m-p/4169466#M996797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks. When will i get the SD document number ??VBELN ?? After save or before save ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also won't all the other data entered in the transaction be available in this user exit ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2008 13:36:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-code/m-p/4169466#M996797</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-22T13:36:33Z</dc:date>
    </item>
    <item>
      <title>Re: user exit code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-code/m-p/4169467#M996798</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;The SD document number will be  popuilated when this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;USEREXIT_SAVE_DOCUMENT_PREPARE triggers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also u will get all this field here &lt;/P&gt;&lt;P&gt;like &lt;/P&gt;&lt;P&gt;SD doc number, item number, customer number .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers &lt;/P&gt;&lt;P&gt;Snehi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2008 13:38:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-code/m-p/4169467#M996798</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-22T13:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: user exit code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-code/m-p/4169468#M996799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;U r correct. In the user exit MV45AFZZ  and in the FORM USEREXIT_SAVE_DOCUMENT u have item level data in internal table &lt;STRONG&gt;xvbap&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at this table and and do ur validations. But it will not have the new sales order number that will be created(Since it is not created yet).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2008 13:42:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-code/m-p/4169468#M996799</guid>
      <dc:creator>vinod_vemuru2</dc:creator>
      <dc:date>2008-07-22T13:42:05Z</dc:date>
    </item>
  </channel>
</rss>

