<?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>Question Re: Error When Copying Decimal Values in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/error-when-copying-decimal-values/qaa-p/11317124#M4193261</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So what is the actual error? Is there any information in the Dump Analysis window? &lt;/P&gt;&lt;P&gt;Are there any warnings or similar left in your error list?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Oct 2015 17:29:22 GMT</pubDate>
    <dc:creator>ThomasZwerg</dc:creator>
    <dc:date>2015-10-08T17:29:22Z</dc:date>
    <item>
      <title>Error When Copying Decimal Values</title>
      <link>https://community.sap.com/t5/technology-q-a/error-when-copying-decimal-values/qaq-p/11317121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an odd problem in a solution of mine --- I have a custom BO which is used to create customer invoice requests (CIRs) using some values taken from a record of another custom BO. During the AfterModify script which creates this CIR (an XML file input is used to trigger the script), I try to copy some data from fields in the single record of the second custom BO, into matching fields I've put in an XBO for CIR. The odd thing is that the script just stops as soon as it tries to parse the lines which copy the values --- no error message that I can see of any kind. If the fields I'm writing to were read-only it'd say so when I tried to activate the AfterModify script I think. Can anyone shed some light on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You'll notice I'm using 'instCustomerInvoiceRequest', which as you can see is the name of the newly-created CIR instance. I also tried putting the same functional code, but using 'elementsofCIRRoot' pre-creation of the CIR.&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/802298" height="468" width="856" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lewis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2015 12:53:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/error-when-copying-decimal-values/qaq-p/11317121</guid>
      <dc:creator>former_member183363</dc:creator>
      <dc:date>2015-10-02T12:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: Error When Copying Decimal Values</title>
      <link>https://community.sap.com/t5/technology-q-a/error-when-copying-decimal-values/qaa-p/11317122#M4193259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Lewis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you sure that the query return any entry?&lt;/P&gt;&lt;P&gt;Even a GetFirst on an empty list is initial. &lt;SPAN __jive_emoticon_name="shocked" __jive_macro_name="emoticon" class="jive_macro_emoticon jive_macro jive_emote" src="https://community.sap.com/1336/images/emoticons/shocked.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Horst&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 13:20:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/error-when-copying-decimal-values/qaa-p/11317122#M4193259</guid>
      <dc:creator>HorstSchaude</dc:creator>
      <dc:date>2015-10-08T13:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: Error When Copying Decimal Values</title>
      <link>https://community.sap.com/t5/technology-q-a/error-when-copying-decimal-values/qaa-p/11317123#M4193260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Horst,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, there are entries --- I made sure that there's a record before I started. And when I mouse over 'source.zBandingLevel0Ceiling', it shows the value I'm trying to copy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lewis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 13:49:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/error-when-copying-decimal-values/qaa-p/11317123#M4193260</guid>
      <dc:creator>former_member183363</dc:creator>
      <dc:date>2015-10-08T13:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: Error When Copying Decimal Values</title>
      <link>https://community.sap.com/t5/technology-q-a/error-when-copying-decimal-values/qaa-p/11317124#M4193261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So what is the actual error? Is there any information in the Dump Analysis window? &lt;/P&gt;&lt;P&gt;Are there any warnings or similar left in your error list?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 17:29:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/error-when-copying-decimal-values/qaa-p/11317124#M4193261</guid>
      <dc:creator>ThomasZwerg</dc:creator>
      <dc:date>2015-10-08T17:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: Error When Copying Decimal Values</title>
      <link>https://community.sap.com/t5/technology-q-a/error-when-copying-decimal-values/qaa-p/11317125#M4193262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dump analysis yielded something --- I'd forgotten about that. I know what it means by overflow, but I'm lost as to why it would be happening. See image below, thanks.&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/807040" height="224" width="862" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2015 10:12:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/error-when-copying-decimal-values/qaa-p/11317125#M4193262</guid>
      <dc:creator>former_member183363</dc:creator>
      <dc:date>2015-10-09T10:12:57Z</dc:date>
    </item>
    <item>
      <title>Re: Error When Copying Decimal Values</title>
      <link>https://community.sap.com/t5/technology-q-a/error-when-copying-decimal-values/qaa-p/11317126#M4193263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;Are you accidentally assigning incompatible types? Actually this should bring a warning. Is your Errorlist clear?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;Regards,&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Oct 2015 03:44:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/error-when-copying-decimal-values/qaa-p/11317126#M4193263</guid>
      <dc:creator>ThomasZwerg</dc:creator>
      <dc:date>2015-10-12T03:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: Error When Copying Decimal Values</title>
      <link>https://community.sap.com/t5/technology-q-a/error-when-copying-decimal-values/qaa-p/11317127#M4193264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Definitely no errors appearing, they're both DecimalValue types and I see no warnings about one being from BASIS.Global and one from GDT.Global or whatever.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Oct 2015 07:51:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/error-when-copying-decimal-values/qaa-p/11317127#M4193264</guid>
      <dc:creator>former_member183363</dc:creator>
      <dc:date>2015-10-12T07:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: Error When Copying Decimal Values</title>
      <link>https://community.sap.com/t5/technology-q-a/error-when-copying-decimal-values/qaa-p/11317128#M4193265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Lewis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please post the data types of the "Ceiling" fields.&lt;/P&gt;&lt;P&gt;And, if you run a trace the value before the assignment. &lt;SPAN __jive_emoticon_name="wink" __jive_macro_name="emoticon" class="jive_macro_emoticon jive_macro jive_emote" src="https://community.sap.com/1336/images/emoticons/wink.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bye,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Horst&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Oct 2015 07:51:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/error-when-copying-decimal-values/qaa-p/11317128#M4193265</guid>
      <dc:creator>HorstSchaude</dc:creator>
      <dc:date>2015-10-12T07:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: Error When Copying Decimal Values</title>
      <link>https://community.sap.com/t5/technology-q-a/error-when-copying-decimal-values/qaa-p/11317129#M4193266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Lewis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you annotate the DecimalValue in the SAP BO?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bye,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Horst&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Oct 2015 08:00:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/error-when-copying-decimal-values/qaa-p/11317129#M4193266</guid>
      <dc:creator>HorstSchaude</dc:creator>
      <dc:date>2015-10-12T08:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: Error When Copying Decimal Values</title>
      <link>https://community.sap.com/t5/technology-q-a/error-when-copying-decimal-values/qaa-p/11317130#M4193267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All of the banding level fields have tooltips and/or labels, if that's what you mean.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Oct 2015 08:17:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/error-when-copying-decimal-values/qaa-p/11317130#M4193267</guid>
      <dc:creator>former_member183363</dc:creator>
      <dc:date>2015-10-12T08:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: Error When Copying Decimal Values</title>
      <link>https://community.sap.com/t5/technology-q-a/error-when-copying-decimal-values/qaa-p/11317131#M4193268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lewis, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you post both field declarations (complete with all annotations)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Oct 2015 08:43:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/error-when-copying-decimal-values/qaa-p/11317131#M4193268</guid>
      <dc:creator>ThomasZwerg</dc:creator>
      <dc:date>2015-10-12T08:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: Error When Copying Decimal Values</title>
      <link>https://community.sap.com/t5/technology-q-a/error-when-copying-decimal-values/qaa-p/11317132#M4193269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HostBilling BO declaration --- this is the BO with the single record I'm taking values from.&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/808071" height="120" width="487" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The CustomerInvoiceRequest XBO declaration.&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/808072" height="161" width="482" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Oct 2015 09:19:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/error-when-copying-decimal-values/qaa-p/11317132#M4193269</guid>
      <dc:creator>former_member183363</dc:creator>
      <dc:date>2015-10-12T09:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: Error When Copying Decimal Values</title>
      <link>https://community.sap.com/t5/technology-q-a/error-when-copying-decimal-values/qaa-p/11317133#M4193270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Lewis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Extension BO you can annotate the DecimalValue data type with "Decimal"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Decimal (15,3)] element MyDecValue : DecimalValue;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This element has a total of 15 digits with 3 digits after the decimal point&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The maximum range is 29 digits, 14 for the fraction.&lt;/P&gt;&lt;P&gt;If you omit the annotation the standard is used, i.e. 7 digits at all, 2 digits for the fraction&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Customer Business Object you cannot annotate this data type.&lt;/P&gt;&lt;P&gt;Here the maximum is used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume in your case a value larger than 7 digits is in the element of the CBO &lt;EM&gt;HostBilling&lt;/EM&gt;, but the element in the Extension BO &lt;EM&gt;CustomerInvoiceRequest&lt;/EM&gt; can not host that large value =&amp;gt; Dump &lt;SPAN __jive_emoticon_name="sad" __jive_macro_name="emoticon" class="jive_macro_emoticon jive_macro jive_emote" src="https://community.sap.com/1336/images/emoticons/sad.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My suggestions: &lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Annotate in the Extension BO &lt;EM&gt;CustomerInvoiceRequest&lt;/EM&gt; the element with [Decimal(29,14]) to match the data type definition of the Customer BO &lt;EM&gt;HostBilling&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Or&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Make sure that the values in the CBO does not exceed 7 digits.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Horst&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Oct 2015 10:50:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/error-when-copying-decimal-values/qaa-p/11317133#M4193270</guid>
      <dc:creator>HorstSchaude</dc:creator>
      <dc:date>2015-10-12T10:50:54Z</dc:date>
    </item>
    <item>
      <title>Re: Error When Copying Decimal Values</title>
      <link>https://community.sap.com/t5/technology-q-a/error-when-copying-decimal-values/qaa-p/11317134#M4193271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have a winner! Thanks Horst, good explanation. You'd think the decimal would use the maximum by default...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Oct 2015 13:22:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/error-when-copying-decimal-values/qaa-p/11317134#M4193271</guid>
      <dc:creator>former_member183363</dc:creator>
      <dc:date>2015-10-12T13:22:10Z</dc:date>
    </item>
    <item>
      <title>Re: Error When Copying Decimal Values</title>
      <link>https://community.sap.com/t5/technology-q-a/error-when-copying-decimal-values/qaa-p/11317135#M4193272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Lewis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for optimization &lt;SPAN __jive_emoticon_name="wink" __jive_macro_name="emoticon" class="jive_macro_emoticon jive_macro jive_emote" src="https://community.sap.com/1336/images/emoticons/wink.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Glad, that it helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bye,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Horst&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Oct 2015 14:31:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/error-when-copying-decimal-values/qaa-p/11317135#M4193272</guid>
      <dc:creator>HorstSchaude</dc:creator>
      <dc:date>2015-10-12T14:31:45Z</dc:date>
    </item>
  </channel>
</rss>

