<?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: Problem with screen field conversion in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-screen-field-conversion/m-p/3401077#M816598</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi P Singh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My variable is of the same type of table column (that is QUAN 13 decimals 3). So I think I can't change that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried change the screen field type to QUAN, but occurs a error on activation because I have to give a reference to a unit and I don't know how to do that (what unit is).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have another sugestions, or correction to what I say above, please tell me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Charles&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Feb 2008 12:41:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-15T12:41:47Z</dc:date>
    <item>
      <title>Problem with screen field conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-screen-field-conversion/m-p/3401074#M816595</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;I have a screen with a field of type NUMC that refers to a global variable (declared in my top include) of type QUAN size 13 decimals 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I enter the value 1 in the screen field, it saves in the database field 0.001. If I enter, for example, 2100, it puts 2.100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course, the problem occurs in the transparent conversion between the screen field and my variable that will be saved in database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Somebody realize how can I solve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please, help ASAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Charles&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 11:03:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-screen-field-conversion/m-p/3401074#M816595</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-15T11:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with screen field conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-screen-field-conversion/m-p/3401075#M816596</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;you have said the the field in the screen is refering to global variable which has decimals 3. so you are getting 21 if u give 21,000. &lt;/P&gt;&lt;P&gt;          if u want 21,000 to be updated in database the declare a variable quan  with decimals 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it is useful.&lt;/P&gt;&lt;P&gt; regards,&lt;/P&gt;&lt;P&gt;sreelakshmi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 11:38:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-screen-field-conversion/m-p/3401075#M816596</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-15T11:38:18Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with screen field conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-screen-field-conversion/m-p/3401076#M816597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this, yr prob may be solved :-&lt;/P&gt;&lt;P&gt;You can change the screen field to Quan  of same size (just greater than 2 like for eg . in this case type quan size 15 decimal 3 ) Also u have to give reference field (for eg give mara-meins) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise, u have to change the decimal places in yr top include to 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P Singh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 11:59:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-screen-field-conversion/m-p/3401076#M816597</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-15T11:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with screen field conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-screen-field-conversion/m-p/3401077#M816598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi P Singh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My variable is of the same type of table column (that is QUAN 13 decimals 3). So I think I can't change that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried change the screen field type to QUAN, but occurs a error on activation because I have to give a reference to a unit and I don't know how to do that (what unit is).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have another sugestions, or correction to what I say above, please tell me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Charles&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 12:41:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-screen-field-conversion/m-p/3401077#M816598</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-15T12:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with screen field conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-screen-field-conversion/m-p/3401078#M816599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to multiply the value by 1000 when saving to the database.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 12:50:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-screen-field-conversion/m-p/3401078#M816599</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-15T12:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with screen field conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-screen-field-conversion/m-p/3401079#M816600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think do that, it work but isn't the best solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 13:09:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-screen-field-conversion/m-p/3401079#M816600</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-15T13:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with screen field conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-screen-field-conversion/m-p/3401080#M816601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Give reference of BSEG-MEINS to your quantity field....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it should solve the problem..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 16:18:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-screen-field-conversion/m-p/3401080#M816601</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-15T16:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with screen field conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-screen-field-conversion/m-p/3401081#M816602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I solved my problem by relating the screen field to the database table field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That isn't the solution that I want (because the screen field should be NUMC), but work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If no more solutions I'll leave that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 16:31:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-screen-field-conversion/m-p/3401081#M816602</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-15T16:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with screen field conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-screen-field-conversion/m-p/3401082#M816603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Charles,&lt;/P&gt;&lt;P&gt;Is it possible for you to give the way the global variable is declared in your program. This would be helpful in looking in a different perspective.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 16:54:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-screen-field-conversion/m-p/3401082#M816603</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-15T16:54:25Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with screen field conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-screen-field-conversion/m-p/3401083#M816604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pavan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;gv_field TYPE ddic_table-field.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I my screen I have a field of type NUMC that refers to this gv_field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 17:30:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-screen-field-conversion/m-p/3401083#M816604</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-15T17:30:16Z</dc:date>
    </item>
  </channel>
</rss>

