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

Dynamic Arithmetic Operation

Former Member
0 Likes
374

Hi All,

I want to perform a dynamic arithmetic calculation, for example, There are 4 variables :

Var1 = L * B.

L = 5

B = 5.

Var2 = Var1. (Here Var2 should get a value of 25)

How to achieve this.

Thanks and Regards,

Navneeth K.

1 REPLY 1
Read only

matt
Active Contributor
0 Likes
321

I think you'll have to use dynamic ABAP techniques - so INSERT REPORT, or GENERATE SUBROUTINE POOL.

m@t