Application Development and Automation 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: 
Read only

Problem with Currency Field?

Former Member
0 Likes
676

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
Read only

Former Member
0 Likes
645

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

Read only

0 Likes
645

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

Read only

0 Likes
645

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