on 09-27-2012 5:08 PM
Hi Experts,
Good day!
I am creating a macro that needs an absolute value to be taken into account. I am wondering if it is possible to get the absolute value of a row: Key Figure?
And the output will be compared to a variable set.
My logic should be like this:
If
ABS (row: Key FigureA)
>
LAYOUTVAR_VALUE('XXXX')
Then
Key Figure B = -XXXX
Thanks a lot in advance for the help!
Kris
Hello Krish,
In that case please refer to the following sdn link with similar issue .
http://scn.sap.com/thread/1520533
This will surely help you.
Thanks,
Anurag
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Yes of course , but make sure you use the operator/function while giving the IF condition.
e.g.
IF ---- operator/Fuction
ABS( ---- operator/Fuction
Key figure from table
) ---- operator/Fuction
> --- operator/Fuction
LAYOUTVAR_VALUE('XXXX') ---- operator/Fuction
<your then condition>
Just to clear I have not used such macro but this syntax might work in your case.
Thanks,
Anurag
User | Count |
---|---|
8 | |
4 | |
3 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.