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

multiplying

Former Member
0 Likes
357

Hi,

I get the error message when I try to multiply

this values.

Arithmetic operations are only intended for operands that

can be converted to numbers (numeric operands)

lt_inc_chrg              = DEC   5 length 2
wa_tmq-accidents   = INT4  
wa_tmq-PRICE        = CURR 15 length 2  	                                                            

wa_tmq-PRICE = wa_tmq-accidents * lt_inc_chrg.

Regards

sas

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
328

Hi,

Declare as shown below.

data : lt_inc_chrg type p decimals 2,

wa_tmq-accidents type i,

wa_tmq-PRICE type pc207-betrg.

wa_tmq-PRICE = wa_tmq-accidents * lt_inc_chrg.

1 REPLY 1
Read only

Former Member
0 Likes
329

Hi,

Declare as shown below.

data : lt_inc_chrg type p decimals 2,

wa_tmq-accidents type i,

wa_tmq-PRICE type pc207-betrg.

wa_tmq-PRICE = wa_tmq-accidents * lt_inc_chrg.