SAP Tutorials Blog


 


COND (Conditional operator): A shorthand for writing conditional expressions.

Example:


DATA lv_result TYPE i.

lv_result = COND #( WHEN 1 EQ 1 THEN 42 ELSE 0 ). "lv_result will be 42


Serkan AKKAVAK

Computer Engineer BSc

Head of SAP & Software Department

Contact : serkurumsal@yandex.com