Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Need to define formula like if condition in report

Hi.

I need to define a formula like if condition... in report.

Example.

A = X - Y

B= IF A < 10 THEN A ELSE '-'.

i need to calculate A using two values.

While calculating B i need to compare with A values.

if value A is less than 10 the B = A else B = -

Kindly help me.

Thanks & Regards

Jagannadha Raju.

Edited by: Venkata Jagannadha Raju Dantuluri on Sep 19, 2008 4:08 PM

Edited by: Venkata Jagannadha Raju Dantuluri on Sep 19, 2008 4:10 PM

replied

Hi

you can use this formula

B = ( A < 10) * A + (A >= 10) * 0

Pls reply if you need further details

Thanks & Regards

Rohit

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question