<?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: Amount field display as 0.00 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/amount-field-display-as-0-00/m-p/3861271#M928040</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we need to display for input amount screen field once user enter value 0 it shoud display as 0.00..&lt;/P&gt;&lt;P&gt;as you said i enter and it works fine if i enter 0.00 or 20.00.etc.&lt;/P&gt;&lt;P&gt;if i enter 0 or 20..etc. its going to dump and  given msg as shown below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i etntered amount screen field attributes as follows: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;Attrubutes:&lt;/U&gt;&lt;/P&gt;&lt;P&gt;under Dict TAB:&lt;/P&gt;&lt;P&gt;FORMAT  &lt;STRONG&gt;CURR&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Conv.Exit: &lt;STRONG&gt;NUMCV&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;Ref.field : &lt;STRONG&gt;T001-WAERS&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;under program TAB&lt;/U&gt;&lt;/P&gt;&lt;P&gt;inout field &amp;amp; ouput field check boxes checked&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;dump:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;runtime Error          UC_OBJECTS_NOT_CHARLIKE&lt;/P&gt;&lt;P&gt;      Occurred on     10.05.2008 at   05:24:31&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;he current statement is defined for character-type data objects only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;Error analysis:&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only character-type data objects are supported at the argument&lt;/P&gt;&lt;P&gt;position "OUTPUT" for the statement&lt;/P&gt;&lt;P&gt;  "TRANSLATE".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case, the operand "OUTPUT" has the non-character-type "P". The&lt;/P&gt;&lt;P&gt;current program is flagged as a Unicode program. In the Unicode context,&lt;/P&gt;&lt;P&gt; type X fields are seen as non-character-type, as are structures that&lt;/P&gt;&lt;P&gt;contain non-character-type components.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me.&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, 09 May 2008 22:13:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-09T22:13:01Z</dc:date>
    <item>
      <title>Amount field display as 0.00</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/amount-field-display-as-0-00/m-p/3861269#M928038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we have requirement to display amount value as 0.00 if amount is 0  in the custom screen field(data type CURR).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;user is requesting us to display amount in screen field with 0.00 if the amount is 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to do this through screen attributes ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2008 11:06:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/amount-field-display-as-0-00/m-p/3861269#M928038</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-09T11:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: Amount field display as 0.00</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/amount-field-display-as-0-00/m-p/3861270#M928039</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;Enter NUMCV in the ConvExit screen field attribute.  You should also have CURR in the Format attribute and T001-WAERS (or some such field) in the Reference field attribute of the screen field in question.  This will cause an initial CURR type input field to display as 0.00.  Without the ConvExit NUMCV, your custom input currency field will simply be a blank field ready for input.  If the field is not an input field, then you should see 0.00 even without the NUMCV.  Please explain further if this is not what you are asking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Jamie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2008 18:30:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/amount-field-display-as-0-00/m-p/3861270#M928039</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-09T18:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: Amount field display as 0.00</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/amount-field-display-as-0-00/m-p/3861271#M928040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we need to display for input amount screen field once user enter value 0 it shoud display as 0.00..&lt;/P&gt;&lt;P&gt;as you said i enter and it works fine if i enter 0.00 or 20.00.etc.&lt;/P&gt;&lt;P&gt;if i enter 0 or 20..etc. its going to dump and  given msg as shown below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i etntered amount screen field attributes as follows: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;Attrubutes:&lt;/U&gt;&lt;/P&gt;&lt;P&gt;under Dict TAB:&lt;/P&gt;&lt;P&gt;FORMAT  &lt;STRONG&gt;CURR&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Conv.Exit: &lt;STRONG&gt;NUMCV&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;Ref.field : &lt;STRONG&gt;T001-WAERS&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;under program TAB&lt;/U&gt;&lt;/P&gt;&lt;P&gt;inout field &amp;amp; ouput field check boxes checked&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;dump:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;runtime Error          UC_OBJECTS_NOT_CHARLIKE&lt;/P&gt;&lt;P&gt;      Occurred on     10.05.2008 at   05:24:31&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;he current statement is defined for character-type data objects only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;Error analysis:&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only character-type data objects are supported at the argument&lt;/P&gt;&lt;P&gt;position "OUTPUT" for the statement&lt;/P&gt;&lt;P&gt;  "TRANSLATE".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case, the operand "OUTPUT" has the non-character-type "P". The&lt;/P&gt;&lt;P&gt;current program is flagged as a Unicode program. In the Unicode context,&lt;/P&gt;&lt;P&gt; type X fields are seen as non-character-type, as are structures that&lt;/P&gt;&lt;P&gt;contain non-character-type components.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me.&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, 09 May 2008 22:13:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/amount-field-display-as-0-00/m-p/3861271#M928040</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-09T22:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: Amount field display as 0.00</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/amount-field-display-as-0-00/m-p/3861272#M928041</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;When I try to recreate your problem in my own system, entering 0 or 20 results in output of 0.00 or 20.00 with no dump.  It sounds like you might have an unnecessary or invalid TRANSLATE statement in your PAI.  Is the dump happening in the standard code, or is it happening in your own custom code?  If the error is happening in your own code and you are trying to somehow TRANSLATE to get the decimals, simply remove the TRANSLATE logic because the screen field attributes should now handle the decimal places automatically for you. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are not able to determine what is causing the dump, please reply with a snapshot of the code in which the dump is happening.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jamie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2008 15:45:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/amount-field-display-as-0-00/m-p/3861272#M928041</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-12T15:45:01Z</dc:date>
    </item>
  </channel>
</rss>

