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

About round off values

Former Member
0 Likes
569

Hi Abapers,

i am using 'ZTOOL' transaction code which is plant maintainence. my requirement is i am handling bdc table control which fields are give below when i am putting the given values

*********************************************************************************************************

work centre : 140-296

short text : ' sdn is having good experts'.

work : 6,5

duratioon : 3,7

***********************************************************************************************************

but output is coming in the below way

*********************************************************************************************************

work centre : 140-296

short text : ' sdn is having good experts'.

work : 7,0

duratioon : 4,0

***********************************************************************************************************

it is off rounding the values. i want the accurate value. what you want me to do? i tryed a lot. please guide me.

the out put should be

*************************************************************************************

work centre : 140-296

short text : ' sdn is having good experts'.

work : 6,5

duratioon : 3,7

1 ACCEPTED SOLUTION
Read only

sravya_ch
Participant
0 Likes
541

Hi chaitanya

Check the data type.In data type use float or packed u will get exact value

Sravya

Hi chaitanya

Check the data type.In data type use float or packed u will get exact value

Sravya

3 REPLIES 3
Read only

sravya_ch
Participant
0 Likes
542

Hi chaitanya

Check the data type.In data type use float or packed u will get exact value

Sravya

Read only

anversha_s
Active Contributor
0 Likes
541

HI,

Please use 'STRING' data type instead of the current one.

It will sort out your issue.

Regards,

Anversha

Read only

Former Member
0 Likes
541

This is due to data type you are using.Change it.