Ansicht
Dokumentation

ABENCDS_F1_CASE_EXPRESSION - CDS F1 CASE EXPRESSION

ABENCDS_F1_CASE_EXPRESSION - CDS F1 CASE EXPRESSION

General Material Data   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.
SAP E-Book

- case_expr

Simple case distinction

1. ... CASE operand
           WHEN operand1 THEN result1
          $[WHEN operand2 THEN result2$]
           ...
          $[ELSE resultn$]
      END ...


Complex case distinction

2. ... CASE WHEN cond_expr1 THEN result1
          $[WHEN cond_expr2 THEN result2$]
          $[WHEN cond_expr3 THEN result3$]
            ...
          $[ELSE resultn$]
      END ...



Effect

Case distinction in a SELECT statement of a CDS view. Either a simple case distinction (simple case) or a complex case distinction (searched case).

Case distinctions can be specified in the SELECT list and in operand positions of other expressions.






PERFORM Short Reference   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.

Length: 2353 Date: 20240419 Time: 224719     sap01-206 ( 39 ms )