<?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 FM std variable xkomv-kawrt issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/pricing-fm-std-variable-xkomv-kawrt-issue/m-p/9688117#M1767888</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Birwa,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had faced a similar Issue while trying to load pricing condition values for contracts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to my analysis based on the condition type -calculation type, a division by 10 is carried out.(refer to attached screenshot)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/265331" width="450" /&gt;&lt;/P&gt;&lt;P&gt;Am not sure functionality wise why this happens, but i have only analyzed it technically. Please check for yourselves. hope the screenshot helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vamsi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Aug 2013 08:32:36 GMT</pubDate>
    <dc:creator>vamsixk</dc:creator>
    <dc:date>2013-08-21T08:32:36Z</dc:date>
    <item>
      <title>Pricing FM std variable xkomv-kawrt issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pricing-fm-std-variable-xkomv-kawrt-issue/m-p/9688116#M1767887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is to call single subroutine of &lt;STRONG&gt;Pricing FM &lt;/STRONG&gt;- &lt;SPAN class="L0S52"&gt;&lt;STRONG&gt;xkomv_bewerten&lt;/STRONG&gt;through Z report program to calculate net price of a material. For that, I am passing material quantity as 1 to KOMP-MGAME as below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;STRONG&gt;DATA: c_1 &lt;SPAN class="L0S52"&gt;TYPE komp-mgame &lt;SPAN class="L0S52"&gt;VALUE &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;1.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; komp-mgame = c_1.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Along with other field-values of KOMP variable and other required variables, I am calling &lt;STRONG&gt;PERFORM xkomv_bewerten &lt;/STRONG&gt;from my Z program. All these structures / variables are declared in Std. SAP Top Include "&lt;STRONG&gt;&lt;SPAN class="L0S52"&gt;lv61atop&lt;/SPAN&gt;&lt;/STRONG&gt;". I have included that top-include in my Z program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In debug, I found this &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;issue:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Go to Include "&lt;STRONG&gt;LV61AA74&lt;/STRONG&gt;" (Form konditionsbasis_ermitteln) and put a breakpoint at &lt;STRONG&gt;line no. 141&lt;/STRONG&gt; as shown below:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/265131" width="450" /&gt;&lt;/P&gt;&lt;P&gt;2. Go to &lt;STRONG&gt;VA01&lt;/STRONG&gt;. Provide basic details - Order type, sales org, dist channel, division, sold-to, ship-to, material, quantity as 1, and press enter. It will start the debugger and set below values for variables:&lt;/P&gt;&lt;P&gt; &lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/265141" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/265145" width="450" /&gt;&lt;/P&gt;&lt;P&gt;3. While from my Z program, if I set KOMP-MGAME = 1, and then call PERFORM xkomv_bewerten, it will set variables as below in debug mode at the same code location:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/265146" width="450" /&gt;&lt;/P&gt;&lt;P&gt;4. &lt;STRONG&gt;Error&lt;/STRONG&gt; is: &lt;STRONG&gt;XKOMV-KAWRT&lt;/STRONG&gt; is set to &lt;STRONG&gt;1.00 (Hex Value 100C)&lt;/STRONG&gt;while calling from Z program. It should be set to &lt;STRONG&gt;10.00 (Hex Value 1000C)&lt;/STRONG&gt; as per VA01 runtime values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Observation / Analysis:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;All the relevant variables for this issue are declared in Std. SAP code (top – include). I have included the same in my Z program. So &lt;STRONG&gt;declaration &lt;/STRONG&gt;could not be the reason for this error.&lt;/LI&gt;&lt;LI&gt;After setting initial values, the program flow executes std. SAP code with no enhancement / exits implemented. So &lt;STRONG&gt;enhancements / exits &lt;/STRONG&gt;cannot be a reason for this error.&lt;/LI&gt;&lt;LI&gt;Error giving statement: “&lt;STRONG&gt;xkomv-kawrt = arbfeld_dec&lt;/STRONG&gt;.” is a simple assignment statement from std. SAP code. It converts 1.000 (type p decimals 3 ) to 10.00 (type WERTV8 &amp;lt;decimals 2&amp;gt;) because of variables’ nature of definition. &lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest if you have any clue about the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Birwa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Aug 2013 06:08:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pricing-fm-std-variable-xkomv-kawrt-issue/m-p/9688116#M1767887</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-08-21T06:08:47Z</dc:date>
    </item>
    <item>
      <title>Re: Pricing FM std variable xkomv-kawrt issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pricing-fm-std-variable-xkomv-kawrt-issue/m-p/9688117#M1767888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Birwa,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had faced a similar Issue while trying to load pricing condition values for contracts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to my analysis based on the condition type -calculation type, a division by 10 is carried out.(refer to attached screenshot)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/265331" width="450" /&gt;&lt;/P&gt;&lt;P&gt;Am not sure functionality wise why this happens, but i have only analyzed it technically. Please check for yourselves. hope the screenshot helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vamsi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Aug 2013 08:32:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pricing-fm-std-variable-xkomv-kawrt-issue/m-p/9688117#M1767888</guid>
      <dc:creator>vamsixk</dc:creator>
      <dc:date>2013-08-21T08:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: Pricing FM std variable xkomv-kawrt issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pricing-fm-std-variable-xkomv-kawrt-issue/m-p/9688118#M1767889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is due to fixed point arithmethic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The main program for RV64* does not has this active try removing it fromyour program too..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or find an FM that can return the value for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more details refer to my blog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="90772" __jive_macro_name="blogpost" class="jive_macro jive_macro_blogpost" href="https://community.sap.com/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Aug 2013 12:15:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pricing-fm-std-variable-xkomv-kawrt-issue/m-p/9688118#M1767889</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-08-21T12:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: Pricing FM std variable xkomv-kawrt issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pricing-fm-std-variable-xkomv-kawrt-issue/m-p/9688119#M1767890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vamsi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. I have checked the code you attached and tried to put a breakpoint in it to analyze in detail, but VA01 / Pricing FM did not call this functionality at all. Can you please share how this screen shot-code is related to VA01 pricing calculations?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;Birwa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Aug 2013 05:25:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pricing-fm-std-variable-xkomv-kawrt-issue/m-p/9688119#M1767890</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-08-22T05:25:08Z</dc:date>
    </item>
    <item>
      <title>Re: Pricing FM std variable xkomv-kawrt issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pricing-fm-std-variable-xkomv-kawrt-issue/m-p/9688120#M1767891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See SE80: function group V61A properties:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/266172" width="450" /&gt;&lt;/P&gt;&lt;P&gt;Note the option highlighted above and set it the same way in your Z-program (SE80-&amp;gt; Goto-&amp;gt; Properties).&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, 22 Aug 2013 12:33:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pricing-fm-std-variable-xkomv-kawrt-issue/m-p/9688120#M1767891</guid>
      <dc:creator>Maciej_DomagaBa</dc:creator>
      <dc:date>2013-08-22T12:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: Pricing FM std variable xkomv-kawrt issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pricing-fm-std-variable-xkomv-kawrt-issue/m-p/9688121#M1767892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Maciej, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, it solved my issue. I was stuck at this place since long. Thanks a lot! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Birwa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Aug 2013 06:18:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pricing-fm-std-variable-xkomv-kawrt-issue/m-p/9688121#M1767892</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-08-23T06:18:32Z</dc:date>
    </item>
  </channel>
</rss>

