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

USEREXIT_SAVE_DOCUMENT_PREPARE

Former Member
0 Likes
1,075

Dear Expert!

we cannot get the correct value by Nominator dividing by Denominator in USEREXIT_SAVE_DOCUMENT_PREPARE

eg; 1 / 10 supposed to be 0.100 but its coming 0.000

Please share your experience

Regards

Anwer Waseem

Dear Expert!

we cannot get the correct value by Nominator dividing by Denominator in USEREXIT_SAVE_DOCUMENT_PREPARE

eg; 1 / 10 supposed to be 0.100 but its coming 0.000

Please share your experience

Regards

Anwer Waseem

2 REPLIES 2
Read only

Former Member
0 Likes
617

Hi

That exit is in include MV45AFZZ belongs to main program SAPMV45A: the flag "Fixed point arithmetic" is not aaigned,

So if your calculation is really wrong you should do it into a new program (so a function module) having the attribute above checked.

Max

Read only

Former Member
0 Likes
617

Fixed point arithmetic setting of Main program SAPMV45A is marked as false. In this case, results of arithmetic operations will be rounded off to next whole number.

Read F1 help of "Fixed point arithmetic" option in program attributes for more details.

Regards, Vinod

P.S: My bad,  didn't notice the reply from

Message was edited by: Vinod Kumar