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

formula parser

Former Member
0 Likes
491

Dear all,

does ABAP provide something like a formula parser?

I'd like to have the possibility to calculate correctly something like:

2*(AB) /(CD)

Is there any parser which helps me to calculate correctly?

Best Regards,

Christoph Aschauer

3 REPLIES 3
Read only

Former Member
0 Likes
449

Hi,

As per my knowldge i dont think so if any program is avaiable.

It is ultimatly internal process to how to interpreate the parathesis, multiplication and operator logics. Might be std algorithms.

You can check .H programs.

Reward if useful!

Read only

Former Member
0 Likes
449

Hi all,

I solved the problems as follows:

- limitation of 36 subroutines: SUBMIT program. (this program generates the generic subroutine pools (communication via DB or shared objects possible)

- limitation of subroutine pool line ( 255 chars ).

also this is an executable calculation:

calc =

(

3

+

7

)

*

2

.

So no longer line restriction when having a very long formula string to be generically processed.

Christoph

Read only

Former Member
0 Likes
449

solved the problem on my own. Please see the comment above or feel free to ask.

Christoph