2011 Feb 24 12:53 PM
Hi all,
I am facing problem with the standard program SAPLKKDI as its attributes doesn't have FIXED POINT ARITHMETIC. As a result my packed data element with 2 decimals product is having extra 2 zero's.
Is there any way to change the attribute of this standard program to set the FIXED POINT ARITHMETIC through some function module ?
SAP recommends FIXED POINT ARITHMETIC as i find the following statement in help.sap.com
Fixed Point Arithmetic
If the attribute Fixed point arithmetic is set for a program, the system rounds type P fields according to the number of decimal places or pads them with zeros The decimal sign in this case is always the period (.), regardless of the useru2019s personal settings. We recommend that you always set the fixed point arithmetic attribute.
Though SAP Recommends this practice, it failed to follow the same for their program for some reason.
I see that many consultants are also facing the same problem but there are no solutions yet.
Please advice.
Hi all,
I am facing problem with the standard program SAPLKKDI as its attributes doesn't have FIXED POINT ARITHMETIC. As a result my packed data element with 2 decimals product is having extra 2 zero's.
Is there any way to change the attribute of this standard program to set the FIXED POINT ARITHMETIC through some function module ?
SAP recommends FIXED POINT ARITHMETIC as i find the following statement in help.sap.com
Fixed Point Arithmetic
If the attribute Fixed point arithmetic is set for a program, the system rounds type P fields according to the number of decimal places or pads them with zeros The decimal sign in this case is always the period (.), regardless of the useru2019s personal settings. We recommend that you always set the fixed point arithmetic attribute.
Though SAP Recommends this practice, it failed to follow the same for their program for some reason.
I see that many consultants are also facing the same problem but there are no solutions yet.
Please advice.
2011 Feb 24 2:29 PM
Why don't you just work with the setting as-is? There are hundreds, if not thousands, of programs like that and you make adjustments for it in your code. Don't attempt to change the setting or you'll affect all of the includes under that program.