‎2007 Jul 11 9:48 AM
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
‎2007 Jul 11 12:30 PM
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!
‎2007 Jul 16 8:40 AM
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
‎2007 Jul 16 8:43 AM
solved the problem on my own. Please see the comment above or feel free to ask.
Christoph