2014 Aug 20 2:28 PM
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
2014 Aug 21 12:02 PM
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
2014 Aug 20 3:59 PM
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.
2014 Aug 20 4:01 PM
2014 Aug 21 11:34 AM
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
2014 Aug 21 11:38 AM
2014 Aug 21 12:02 PM
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
2014 Aug 28 9:47 PM
thanks janis , the problem came from a value that wasn't the full length to operate