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

Conversion error when transfering decimal values

Former Member
0 Likes
495

Hi

I have to transfer a % value to a dynpro and I allways get a conversion dump.

The original data object is 2 lenght 2 decimals type dec, the fields are all type dec. Do I have to define something special in order to get the fields to display the decimals(anything without a conversion dump)?

Or does anybody have a clue what is wrong.

Thx.

1 REPLY 1
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
311

Make sure that the screen fields are defined correctly, need to be a length of at least 5. I think that you could get away with 4.

Yes, just tested it, you can use a length of 4. The reason is is that the system wants to put a 0 in front of the decimals, so that's two spaces right there, then your actual decimals make it 4.

Regards,

Rich Heilman