cancel
Showing results for 
Search instead for 
Did you mean: 

SEM BPS If condition in formula

Former Member
0 Kudos

Hi,

I have a scenario where I need a conditional statement with IF.ENDIF. which satisfies the below criteria.

Statement1 has to be executed for all the Cost centers excluding a range of cost centers which are (M100 to M900) and Cost center M940.

I need the correct syntax for FOX formula which satisfies above condition.

I realised that between relational operator does not work.

Thanks

vas

Accepted Solutions (0)

Answers (1)

Answers (1)

cornelia_lezoch
Active Contributor
0 Kudos

This is what I would try:

data KOST type 0costcenter.

if KOST < M100 AND KOST > M900 AND KOST < M940 AND KOST > M940.

do whatever ...

endif.

regards

Cornelia