<?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: Re-prcing on Sales Document in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-prcing-on-sales-document/m-p/8649119#M1666519</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ganesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I placed the below code in FORM USEREXIT_NEW_PRICING_VBKD. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;IF vbkd-ihrez IS NOT INITIAL.
  IF vbkd-ihrez NE *vbkd-ihrez.
    new_pricing = 'B'.
  ENDIF.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but I want to make sure that the entered value in the 'IHREZ' field is correct value or not? Can you please advice what do you want me to do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I did here is,&lt;/P&gt;&lt;P&gt;1). If the reference value (VBKD-IHREZ) is not blank then carryout the new price.&lt;/P&gt;&lt;P&gt;2). I will have to re-price, If there is any change to the entered IHREZ. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;does my code work for both situations?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You.&lt;/P&gt;&lt;P&gt;Shyam&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: shyam.. on Mar 9, 2012 1:11 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Mar 2012 21:10:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-03-09T21:10:57Z</dc:date>
    <item>
      <title>Re-prcing on Sales Document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-prcing-on-sales-document/m-p/8649115#M1666515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Requirement: when enter some value in 'Your Refernce' filed on the 'Order Data' tab for the line item 10 in Sales Order and press enter button, it should automatically re-pricing the sales order (like: Pricing Date on the header level). and it should re-price even if there is any change to 'Your Reference' field on the 'Order Data' tab (Changing the value to something else).&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;This should happen at the item level not the header level. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have no idea, what to do and how to procced. Can anyone please help me out with some sample code to acheive this functionality?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found the user exit in USEREXIT_NEW_PRICING_VBKD in MV45AFZB. Please give me some inputs on how can we achieve this functionality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You.&lt;/P&gt;&lt;P&gt;Shyam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2012 01:20:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-prcing-on-sales-document/m-p/8649115#M1666515</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-09T01:20:56Z</dc:date>
    </item>
    <item>
      <title>Re: Re-prcing on Sales Document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-prcing-on-sales-document/m-p/8649116#M1666516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use form new_pricing_vbkd_br from exit MV45AFZB. Just place your logic and based in your conditions pass 'C' to variable NEW_PRICING and then the pricing will be recalculated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2012 02:31:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-prcing-on-sales-document/m-p/8649116#M1666516</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-09T02:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: Re-prcing on Sales Document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-prcing-on-sales-document/m-p/8649117#M1666517</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;Please check out the below link. It should definetely help you out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[http://help.sap.com/saphelp_46c/helpdata/en/1c/f62c7dd435d1118b3f0060b03ca329/content.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Danish.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2012 03:37:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-prcing-on-sales-document/m-p/8649117#M1666517</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-09T03:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: Re-prcing on Sales Document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-prcing-on-sales-document/m-p/8649118#M1666518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi shyam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You  use include MV45AFZB for this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then Under Form,  USEREXIT_NEW_PRICING_VBKD add the following lines of code: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if vbkd-inc01 ne *vbkd-inc01. &lt;/P&gt;&lt;P&gt;new_pricing = 'C'. &lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dhaya.G&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2012 04:40:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-prcing-on-sales-document/m-p/8649118#M1666518</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-09T04:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: Re-prcing on Sales Document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-prcing-on-sales-document/m-p/8649119#M1666519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ganesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I placed the below code in FORM USEREXIT_NEW_PRICING_VBKD. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;IF vbkd-ihrez IS NOT INITIAL.
  IF vbkd-ihrez NE *vbkd-ihrez.
    new_pricing = 'B'.
  ENDIF.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but I want to make sure that the entered value in the 'IHREZ' field is correct value or not? Can you please advice what do you want me to do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I did here is,&lt;/P&gt;&lt;P&gt;1). If the reference value (VBKD-IHREZ) is not blank then carryout the new price.&lt;/P&gt;&lt;P&gt;2). I will have to re-price, If there is any change to the entered IHREZ. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;does my code work for both situations?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You.&lt;/P&gt;&lt;P&gt;Shyam&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: shyam.. on Mar 9, 2012 1:11 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2012 21:10:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-prcing-on-sales-document/m-p/8649119#M1666519</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-09T21:10:57Z</dc:date>
    </item>
  </channel>
</rss>

