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
835

Hi Guys/ Gals,

I've made a copy of a standard SAP program that doesn't use fixed point arithmetic i.e. from the menu option of the program Goto-->Attribute the fixed point arithmetic is not checked.

Anyway I've inserted some code that needs to have fixed point arithmetic checked temporarily (on the fly) and after my piece of code has executed I need to disable the fixed point arithmetic checkbox again on the fly.

Any ideas how I can do this?

Many thanks in advance.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
659

Hi,

An alternative: Create a FM and do the calculations and return the value to program.

Hope this helps,

Nag

2 REPLIES 2
Read only

Former Member
0 Likes
659

Hi,

As far as i know it is very difficult to change the attribute and also should be reflected once program execution started.

better you just put your code in another Program(make it as Fixed point) which contain that code and SUBMIT that code from your main program which is not Fixed Point.

Thanks & Regards,

Read only

Former Member
0 Likes
660

Hi,

An alternative: Create a FM and do the calculations and return the value to program.

Hope this helps,

Nag