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

Math expression

Former Member
0 Likes
726

Dear Experts,

Is there any standard FM or code to convert normal math expression to ABAP syntax format? such as from C=a+b to C = a + b.

1 ACCEPTED SOLUTION
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
666

How did you form C=a+b ?

3 REPLIES 3
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
667

How did you form C=a+b ?

Read only

0 Likes
666

Hi,

If 'C=a+b' is a string, then how to convert it to 'C = a + b', because latter format can be evaluated by ABAP.

Read only

0 Likes
666

>

> If 'C=a+b' is a string, then how to convert it to 'C = a + b', because latter format can be evaluated by ABAP.

Hi Lorin,

You can check the func. module 'EVAL_FORMULA'. It should help as the formula needs to be a syntactically correct (need not be in ABAP-acceptable format).

BR,

SUhas