Application Development 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: 

Problem to Multiply the Values and Stored in the Same Datatype Variable.

Former Member
0 Kudos

HI,

my Variables are :

data : lv_per TYPE konv-kwert,

lv_amt TYPE KONV-KWERT,

lv_cost TYPE KONV-KWERT.

LV_COST = 2073.00.

LV_AMT = 6000.00.

I want to calculate as lv_per = (LV_COST / LV_AMT) * 100.

BUT Value coming as 0.00 in lv_per instead of coming correct result as 34.55.

Kindly Help me on the same.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Please check Check Box Fixed point Arthematic is Checked in Attribute of the program.

thanks & regards,

ShreeMohan

3 REPLIES 3

Former Member
0 Kudos

Hi,

Please check Check Box Fixed point Arthematic is Checked in Attribute of the program.

thanks & regards,

ShreeMohan

0 Kudos

Hi,

I am Doing Calculations in INCLUDE Program, So there in Attributes I dont Have FIXED POINT ARIHMETIC CHECK.

This Include am using in Standard INCLUDE OF MV45AZZ.

KIndly Do the Needful. IF I Check that point my problem will resolved.

0 Kudos

Hello Mahender,

This is definetly problem of fixed-point arithmetic check box. So in which ever main program you are going to include this you

can set FPA check box in it's attribute screen.

Thanks,

Augustin.