Skip to Content
0

SEM BPS If condition in formula

Jan 18, 2017 at 08:15 PM

30

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Cornelia Lezoch Jan 23, 2017 at 02:08 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded