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

Number is displayed incorrectly

Former Member
0 Likes
394

Dear All

by passing of the value 645 €  via an RFC call is the representation totally wrong in the backend system. While debugging I see the number 30003000300.03

instead of 645€.

Caller System -> Input value  645 €

Field Definition:  NUMC Field length 10           Decimal Places 2

Backendsystem the value appears as 30003000300.03

Field Definition:  CURR Field length 13            Decimal Places 2 -> Currency field, stored as DEC

What has to be made to solve this issue.

Regards

Holger

1 ACCEPTED SOLUTION
Read only

amy_king
Active Contributor
0 Likes
363

Hi Holger,

Have you tried redefining the input field in the caller system as CURR field of length 13 so that it is the same data type as in the backend system? Is the RFC a custom RFC that you can modify? If so, also change the data type of its parameter.

Cheers,

Amy

Dear All

by passing of the value 645 €  via an RFC call is the representation totally wrong in the backend system. While debugging I see the number 30003000300.03

instead of 645€.

Caller System -> Input value  645 €

Field Definition:  NUMC Field length 10           Decimal Places 2

Backendsystem the value appears as 30003000300.03

Field Definition:  CURR Field length 13            Decimal Places 2 -> Currency field, stored as DEC

What has to be made to solve this issue.

Regards

Holger

1 REPLY 1
Read only

amy_king
Active Contributor
0 Likes
364

Hi Holger,

Have you tried redefining the input field in the caller system as CURR field of length 13 so that it is the same data type as in the backend system? Is the RFC a custom RFC that you can modify? If so, also change the data type of its parameter.

Cheers,

Amy