cancel
Showing results for 
Search instead for 
Did you mean: 

Arithmetic operations are only intended for operands that can be converted

Former Member
0 Kudos

Hai,

iam getting error while iam doing a calculation in my smrtforms program lines...what type of error is it...???

V_TOTAL = WA_EKPO-MENGE + WA_EKPO-NETPR.

V_SUBTOTAL = V_SUBTOTAL + V_TOTAL.

V_GRDTOTAL = V_GRDTOTAL + V_SUBTOTAL.

SYNTAX ERROR

Arithmetic operations are only intended for operands that can be converted to numbers (numeric operands). operands). - - - - - - - - - -

Can anyone advise what does this mean and how can i correct it??

Edited by: saifudheenc on Dec 29, 2010 7:14 AM

Edited by: saifudheenc on Dec 29, 2010 7:15 AM

Edited by: saifudheenc on Dec 29, 2010 7:16 AM

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

hi,

i think you are created V_total , V_subtotal, V_Grandtotal is type of N or C in Grolbal Definition. please Change it to original type like netpr.

Thanks,

Sathish.

Former Member
0 Kudos

no...in global definitions i given like this....

V_TOTAL TYPE EKPO-NETPR

V_SUBTOTAL TYPE EKPO-NETPR

V_GRDTOTAL TYPE EKPO-NETPR

still why...???