Ansicht
Dokumentation

ABAPCASE_SHORTREF - CASE SHORTREF

ABAPCASE_SHORTREF - CASE SHORTREF

ABAP Short Reference   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

CASE

Reference



Syntax

CASE operand.
  [WHEN operand1 [OR operand2 [OR operand3 [...]]].
    [statement_block1]]
  ...
  [WHEN OTHERS.
    [statement_blockn]]
ENDCASE.


Effect

Defines a control structure with multiple statement blocks statement_block1, ..., statement_blockn. The first statement block, for which the content of the operand operand is identical to one of the operands operand1, operand2, ... in the WHEN statement, is executed first. If no matches are found, the statement block is executed after the statement WHEN OTHERS.






SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Length: 901 Date: 20240426 Time: 171646     sap01-206 ( 27 ms )