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

Report doesn't do maths operations

elalan
Participant
0 Likes
1,286

I have a pretty rare problem with a report that i'm making , everything works fine BUT , when another person is testing it , when the time comes to do a maths ops it doesn't do it , like this :

OP1 = 2

OP2 = 5

OP3 = 1

TOTAL = (OP1 + OP2) - OP3

TOTAL = (2 + 5) - 1

TOTAL =  6

but in my case total remaing 7 , it means that it doesn't make the sustract op but the add ops do it fine.

Worst of all is that whit my user the error doesn't happen , i try with a commit work just to try and nothing , also try like this

TOTAL = ( (OP1 + OP2) - OP3 )

and still nothing , just with the other user with my this not happen, please some help to understand this witchcraft

1 ACCEPTED SOLUTION
Read only

Private_Member_7726
Active Contributor
0 Likes
1,259

Hi,

The post does not provide enough information for anyone to attempt to reproduce the issue... Please provide at least the exact definitions of all the data types involved, exact and not "like this" values the other user is inputing if they differ from the ones you posted here, and check if the fixed point arithmetic is not switched off in the attributes of programm object performing calculations, because, depending on the types and values used, doing so can lead to "wierd" results indeed:

cheers

Janis

6 REPLIES 6
Read only

former_member201275
Active Contributor
0 Likes
1,259

Not sure exactly, but maybe you could check the user settings (SU3) maybe something is different there. If this doesn't work please post the code here then I can solve this.

Read only

PeterJonker
Active Contributor
0 Likes
1,259

That is really strange, is it possible to post the code ?

Read only

0 Likes
1,259

Hi,

did you already try to refresh the navigation index?

operations working fine in abap and cant be affected by different users

regards

Stefan Seeburger

Read only

Former Member
0 Likes
1,259

Can you post the code lines ?

Read only

Private_Member_7726
Active Contributor
0 Likes
1,260

Hi,

The post does not provide enough information for anyone to attempt to reproduce the issue... Please provide at least the exact definitions of all the data types involved, exact and not "like this" values the other user is inputing if they differ from the ones you posted here, and check if the fixed point arithmetic is not switched off in the attributes of programm object performing calculations, because, depending on the types and values used, doing so can lead to "wierd" results indeed:

cheers

Janis

Read only

0 Likes
1,259

thanks janis , the problem came from a value that wasn't the full length to operate