Skip to Content
avatar image
Former Member

SEM BPS If condition in formula

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jan 23, 2017 at 02:08 PM

    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

    Add comment
    10|10000 characters needed characters exceeded