<?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: Quant field conversion in Valuepart1 - getting short dump in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/quant-field-conversion-in-valuepart1-getting-short-dump/m-p/5087504#M1181177</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the function module. I used it and now the dump is eleminated but the problem is not entirely solved. If the quant value is 12.000, based on the casting in the HR_99S_COPY_STRUC1_STRUC2, it is converting to type x (as I understand xstring ) and giving the value as 0000012000 and when I move char to quant, it wrongly converts to as: 12,000.000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to avoid this and get the correct quant value??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 25 Jan 2009 16:55:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-01-25T16:55:44Z</dc:date>
    <item>
      <title>Quant field conversion in Valuepart1 - getting short dump</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/quant-field-conversion-in-valuepart1-getting-short-dump/m-p/5087502#M1181175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have user defined field of quant type enhanced from database table PRPS. To move the values back from valuepart1 to the structure BAPI_TE_WBS_ELEMENT, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;move x_extensionout-valupart1 to x_bapi_te_wbs_element is resulting in an error because of mutual compataibility. So I proceeded by the approach of valuepart+index(offset) to fill in the fields I need. All the character fields seemed to be fine but when it comes to Quant fields I am getting short dump due to number conversion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried the following approaches:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; valuepart+index(offset) where Quant value is there:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. first moving to char and then to quant :still dump&lt;/P&gt;&lt;P&gt;2. multiplying by 1 ... Result : was not allowed&lt;/P&gt;&lt;P&gt;3. conversion exit for  valuepart+index(offset)  to char and seein the value: I see that the value is stored&lt;/P&gt;&lt;P&gt;as  ###########`# (instead of numbers I see only hash symbols) . The result is the same even when the value is initial or some value is filled.&lt;/P&gt;&lt;P&gt;4. conversion exit for  valuepart+index(offset)  to char and then to quant :still dump&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any input is appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Jan 2009 19:37:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/quant-field-conversion-in-valuepart1-getting-short-dump/m-p/5087502#M1181175</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-24T19:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: Quant field conversion in Valuepart1 - getting short dump</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/quant-field-conversion-in-valuepart1-getting-short-dump/m-p/5087503#M1181176</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;Try this Fm HR_99S_COPY_STRUC1_STRUC2&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Jan 2009 04:36:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/quant-field-conversion-in-valuepart1-getting-short-dump/m-p/5087503#M1181176</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-25T04:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: Quant field conversion in Valuepart1 - getting short dump</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/quant-field-conversion-in-valuepart1-getting-short-dump/m-p/5087504#M1181177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the function module. I used it and now the dump is eleminated but the problem is not entirely solved. If the quant value is 12.000, based on the casting in the HR_99S_COPY_STRUC1_STRUC2, it is converting to type x (as I understand xstring ) and giving the value as 0000012000 and when I move char to quant, it wrongly converts to as: 12,000.000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to avoid this and get the correct quant value??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Jan 2009 16:55:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/quant-field-conversion-in-valuepart1-getting-short-dump/m-p/5087504#M1181177</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-25T16:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: Quant field conversion in Valuepart1 - getting short dump</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/quant-field-conversion-in-valuepart1-getting-short-dump/m-p/5087505#M1181178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As suggested in other forms, I converted to char and now there is no issue with quant values&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2009 22:05:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/quant-field-conversion-in-valuepart1-getting-short-dump/m-p/5087505#M1181178</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-02T22:05:27Z</dc:date>
    </item>
  </channel>
</rss>

