<?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: need fm or code in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-fm-or-code/m-p/1910115#M378932</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi shweta,&lt;/P&gt;&lt;P&gt;    I think u can get it from the change document tables CDHDR and CDPOS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Feb 2007 08:54:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-08T08:54:56Z</dc:date>
    <item>
      <title>need fm or code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-fm-or-code/m-p/1910113#M378930</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;There is a requirement that &lt;/P&gt;&lt;P&gt;in the sales order va02 if some body changed the payment terms then i have to show the error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to solve this we have to compare both old value and new vaue of the payment terms.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem here is getting the old value i.e if someone change the payment terms and saved it ,the new value is present in that field.Then how to get the old value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there any fm module for this to get the oldvalue&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2007 08:42:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-fm-or-code/m-p/1910113#M378930</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-08T08:42:34Z</dc:date>
    </item>
    <item>
      <title>Re: need fm or code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-fm-or-code/m-p/1910114#M378931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you can use USEREXIT_SAVE_DOCUMENT_PREPARE which is User exits in the program MV45AFZZ. This user exit can be used to make certain changes or checks immediately before saving a document. It is the last possibility for changing or checking a document before posting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here in this form, you can get the old value from database table. It will be available in database table as you have not yet saved the new value.You will also get the new value in the internal table and then you can check old as well as new value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Vibha &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Please mark all the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2007 08:49:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-fm-or-code/m-p/1910114#M378931</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-08T08:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: need fm or code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-fm-or-code/m-p/1910115#M378932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi shweta,&lt;/P&gt;&lt;P&gt;    I think u can get it from the change document tables CDHDR and CDPOS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2007 08:54:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-fm-or-code/m-p/1910115#M378932</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-08T08:54:56Z</dc:date>
    </item>
  </channel>
</rss>

