top of page
blank.png
Search
Writer's pictureSmart Logic Academy

ABAP tricks #19/100: 😀 COND Operator

• The COND operator is used for creating a result depending on logical expressions.


• There should be at least one logical expression initiated by the keyword WHEN followed by the result specified after the keyword THEN.


• If none of the logical expressions are true, you can specify an ELSE clause at the end. If this clause is not specified, the result is the initial value of the specified or derived data type.


• The specification of THROW raises an exception of the exception class cx_class. Exception can be raised only in the ELSE part.





Please share with your ABAP friends and follow us.

If you want to dive deeper, visit our course https://lnkd.in/d35uqwud



33 views0 comments

Comments


bottom of page