<?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: Pricing Routine in sd in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/pricing-routine-in-sd/m-p/3051491#M722494</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of this&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;xkwert = wa_final.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try with this&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;xkomv-kwert =  wa_final.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Nov 2007 01:40:18 GMT</pubDate>
    <dc:creator>naimesh_patel</dc:creator>
    <dc:date>2007-11-16T01:40:18Z</dc:date>
    <item>
      <title>Pricing Routine in sd</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pricing-routine-in-sd/m-p/3051490#M722493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created a routine for pricing. But value in xkwert is not reflected on screen .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Problem&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)Value of xkwert is coming correct in debugging in routine .&lt;/P&gt;&lt;P&gt;But on screen value displayed is 0.00 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) If I hard code value of xkwert = 100 or 1000 . or hardcode value of  wa_final to 1000 or 2000 , I get the output on screen .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Program :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : wa_final like xkomv-kwert,&lt;/P&gt;&lt;P&gt;         wa_jivp like xkomv-kwert,&lt;/P&gt;&lt;P&gt;         wa_znpp like xkomv-kwert.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        data a type f. "temp for rate&lt;/P&gt;&lt;P&gt;        data b type f. "temp for basic&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        read table xkomv with key stunr = 70 kschl = 'JIVP'.&lt;/P&gt;&lt;P&gt;                                if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;                                a = xkomv-kbetr. "RATE in a &lt;/P&gt;&lt;P&gt;                                endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         read table xkomv with key stunr = 110 kschl = 'ZNPP'.&lt;/P&gt;&lt;P&gt;                               if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;                                b = xkomv-kwert. "basic in b &lt;/P&gt;&lt;P&gt;                                endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          a =  a / 100000 . "rate &lt;/P&gt;&lt;P&gt;          b =  b / 100   . "basic&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          *final value goes to wa_final&lt;/P&gt;&lt;P&gt;          wa_final = a * b * 100 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          read table xkomv with key stunr = '070' kschl = 'JIVP'.&lt;/P&gt;&lt;P&gt;                     if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;                     xkomv-kwert = wa_final.&lt;/P&gt;&lt;P&gt;                     modify xkomv transporting kwert where stunr = 70.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          xkwert = wa_final.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*End of Program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please Help me .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Nov 2007 15:50:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pricing-routine-in-sd/m-p/3051490#M722493</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-15T15:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: Pricing Routine in sd</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pricing-routine-in-sd/m-p/3051491#M722494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of this&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;xkwert = wa_final.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try with this&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;xkomv-kwert =  wa_final.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2007 01:40:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pricing-routine-in-sd/m-p/3051491#M722494</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2007-11-16T01:40:18Z</dc:date>
    </item>
  </channel>
</rss>

