Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with Currency Field?

former_member193471
Active Contributor
0 Kudos

Hello Friends,

I have a currency fields in a Screen, When it's value is null, It is showing me as SPACE. But My requirement is to display 0.00. How can I do this? Please do the favour needful.

Thanks & Regards

Sathish Kumar.

3 REPLIES 3

Former Member
0 Kudos

Hi Satish,

You must have declared the field as CHAR locally...

just declare it like ..

DATA : var type <some Currency filed from dictionary>

This will work,

Reward points if helpful,

Regards,

Tejas

0 Kudos

I have declared it as currency only? But it is not working?

0 Kudos

Hi Satish,

If you are writing a WRITE statement to Output, then you add Currency type along with amount field.

Ex:

WRITE tbl_bsid-wrbtr TO str_data-amount CURRENCY tbl_bsid-waers.

Reward Points if it is working.

Regards,

Kumar