<?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: Negative Values in textboxes in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/negative-values-in-textboxes/m-p/1173993#M123903</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Once you select the field from dictionary, place it and activate the screen, you should see the V for a -ve supported field..(it is at the end in the TEXT field)..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyways rather than looking for this...choose the field you want to show -ve sign and put in "___.___.___.___,__V" instead of "___________________" in the text of the screen field attributes..and it should not dump on -ve values anymore...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i assume your field is 14 place 2 decimals...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Renjith.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Feb 2006 20:53:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-02-28T20:53:21Z</dc:date>
    <item>
      <title>Negative Values in textboxes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/negative-values-in-textboxes/m-p/1173983#M123893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greetings, &lt;/P&gt;&lt;P&gt;I am trying to display a textbox in a Dynpro, the value to be displayed is of type Currency but only allows me to enter/display positive numbers (ends with a dump when the associated variable has a negative number), it is associated . If I draw a box making reference to a dictionary field, It works fine displaying and receiving negative values. Is there a flag or a property to set in the screen painter to allow negative values?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2006 01:11:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/negative-values-in-textboxes/m-p/1173983#M123893</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-28T01:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: Negative Values in textboxes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/negative-values-in-textboxes/m-p/1173984#M123894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the field you are referring to must have an underlying data dictionary 'domain' which has the 'sign' checkbox ticked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2006 01:43:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/negative-values-in-textboxes/m-p/1173984#M123894</guid>
      <dc:creator>former_member186741</dc:creator>
      <dc:date>2006-02-28T01:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: Negative Values in textboxes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/negative-values-in-textboxes/m-p/1173985#M123895</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;Adding to what Neil already mentioned, You can only set the sign flag (checkbox) for data types DEC, FLTP, QUAN and CURR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suresh Datti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2006 02:12:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/negative-values-in-textboxes/m-p/1173985#M123895</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2006-02-28T02:12:27Z</dc:date>
    </item>
    <item>
      <title>Re: Negative Values in textboxes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/negative-values-in-textboxes/m-p/1173986#M123896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The field I am referring to is declared in the DATA section of my program and referes to a data dictionary structure using the LIKE sentence. However, it doesn't work with negative values, the only working possibility is displaying a work area defined in the TABLES section but this is not practical for me since what I want to display is the result of calculations made internally and not intended for storage in the database.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2006 14:34:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/negative-values-in-textboxes/m-p/1173986#M123896</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-28T14:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: Negative Values in textboxes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/negative-values-in-textboxes/m-p/1173987#M123897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sergio,&lt;/P&gt;&lt;P&gt;   In your data declaration ,declare this field with a Domain where the field &amp;lt;b&amp;gt;Sign&amp;lt;/b&amp;gt; is checked.If it is checked,then it will carry take the sign &amp;amp; displays also.&lt;/P&gt;&lt;P&gt;For example you can consider dataelement MENG8,whose Domain is also MENG8.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2006 14:42:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/negative-values-in-textboxes/m-p/1173987#M123897</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-28T14:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: Negative Values in textboxes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/negative-values-in-textboxes/m-p/1173988#M123898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am declaring my field with a LIKE sentence referring to a transparent table where the components are of type NETWR, the domain it referres to has the Sign flag already checked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
tables: zsourcetable.

data: 
 reg1 like zsourcetable,
 reg2 like zsourcetable.

start-of-selection.
 select single *
 from zsourcetable
 into reg1.

 reg2-value = reg1 * -1.

 call screen 100.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;zsourcetable is of type NETWR, the domain it uses has the sign flag checked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i put on the dynpro 100 the field reg2-value, when it has a negative value, the program exits with a dump. If I use the field zsourcetable-value, it works fine. Anyway it is not the solution since I need to display simultaneously several records on screen with the results of calculations.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2006 15:05:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/negative-values-in-textboxes/m-p/1173988#M123898</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-28T15:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: Negative Values in textboxes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/negative-values-in-textboxes/m-p/1173989#M123899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Don't mind the syntax errors in the last post. You get the idea.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2006 15:07:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/negative-values-in-textboxes/m-p/1173989#M123899</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-28T15:07:48Z</dc:date>
    </item>
    <item>
      <title>Re: Negative Values in textboxes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/negative-values-in-textboxes/m-p/1173990#M123900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the screen painter field attributes....compare the field "Text" in both cases...link to program field and link to data dict. field...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There should be "V" at the beginning for the Data Dict case...where as it will not be present in the other case...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want to make use of the program field and want -ve sign....copy the content of "Text" for the data dict. case and paste it in with the Program field...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see if this helps...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Renjith.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2006 15:44:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/negative-values-in-textboxes/m-p/1173990#M123900</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-28T15:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: Negative Values in textboxes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/negative-values-in-textboxes/m-p/1173991#M123901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I don't seem to find what you say, in the field Text of the field properties window in the screen painter I get "___________________" for both cases there is no "V" in either.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2006 20:07:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/negative-values-in-textboxes/m-p/1173991#M123901</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-28T20:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: Negative Values in textboxes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/negative-values-in-textboxes/m-p/1173992#M123902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe the field you are using or displaying -ve values has a placeholder for the -ve sign.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to DYNPRO - Click on Dictionary / Program fields button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Give the field name for eg VBAP-NETWR and click on 'Get from Program'. You need to declare this field in the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select the same and drag to the screen. Place wherever you required to be. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Test this once you activate code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2006 20:28:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/negative-values-in-textboxes/m-p/1173992#M123902</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-28T20:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: Negative Values in textboxes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/negative-values-in-textboxes/m-p/1173993#M123903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Once you select the field from dictionary, place it and activate the screen, you should see the V for a -ve supported field..(it is at the end in the TEXT field)..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyways rather than looking for this...choose the field you want to show -ve sign and put in "___.___.___.___,__V" instead of "___________________" in the text of the screen field attributes..and it should not dump on -ve values anymore...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i assume your field is 14 place 2 decimals...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Renjith.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2006 20:53:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/negative-values-in-textboxes/m-p/1173993#M123903</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-28T20:53:21Z</dc:date>
    </item>
  </channel>
</rss>

