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

Fixed point arithmetic

Former Member
0 Likes
1,374

I have an include program in which i am doing a calculation (division) to arrive at KBETR. but i am facing a problem in getting the exact output since the Fixed point arithmetic is not checked in the main program SAPLV651A which is a standard program. Now i dont want to use the access key method to get it checked in the standard program.

Can anyone suggest a custom code to put the FPA logic and arrive at the required result as if the FPA is checked on?

Thanks in advance.

Message was edited by:

Aditya Atluri

1 ACCEPTED SOLUTION
Read only

Former Member
1,041

Try passing your data to a function module in a function group where the FPA is checked and having that function do the calculation.

5 REPLIES 5
Read only

Former Member
0 Likes
1,041

Yes this is the case in some of the very old programs where you need to do something in the user exits. You just have to use a conversion factor like dividing by 100, or 1000 depending on the case. See if you are getting values that are always 100 times more or 1000 times more than what it should be, then you can divide by the same number.

Read only

Former Member
1,042

Try passing your data to a function module in a function group where the FPA is checked and having that function do the calculation.

Read only

0 Likes
1,041

Kevin,

Beautiful. I have awarded the points. Thanks a bunch.

Message was edited by:

Aditya Atluri

Read only

0 Likes
1,041

Hi aRs

I have awarded points to you too. Though the link doesn't have solution to my case, but it helped me understand the concept here. Thanks a lot.