Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8828

Re: Empty amount fields showing as 0.00 in webdynpro

$
0
0

Hi Vikram,

 

We dont have any standard way to avoid displaying zeros as we do it in ABAP by using conversion exit output FM.

 

Only we can remove the leading zero by using format properties of context attributes.

 

 

Some workaround solution:

  • Create an attribute AMOUNT_STR of type char/string & move all data of your amount field to it
  • Bind the table column's editor to this attribute AMOUNT_STR

 

So, you will be having 2 columns internally, one as currency field and other as character/stirng..

 

For calculations and updating database, you can use of currency field while the character field is being displayed in table.

 

Hope this helps you.

Regards,

Rama


Viewing all articles
Browse latest Browse all 8828


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>