Skip to Content

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

Conditional action block

I wish to perform a If else condition check with mulitple conditions.

Logically it would be something like this:

If MyVariable == "A" OR MyVariable =="B" OR MyVariable == "C" OR MyVariable == "D"

<perform assignment1>

Else

<perform assignment2>

I know I can use conditional action block with multiple inputs. But is there a simple way to do this.

Appreciate any help on this.

Thanks

Former Member
Former Member replied

I think its the simplest way to use one 'Condition' action block with multiple input params where u have to set number of inputs based on number of ur conditions. The 'Condition' action block is kind of such requirement what u wanted.

On the other hand, u can a single action block called 'Assignment' where u can put such an expression with multiple if/else (Please refer to built-in functions used in Expression Link Editor)

Regards

Som

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