SAP CDS CASE EXPRESSION V2
Get Example source ABAP code based on a different SAP table
• CASE ABAP_CDS_EXPRESSION
• WHEN ABAP_CDS_EXPRESSION
• THEN ABAP_CDS_EXPRESSION
• ELSE ABAP_CDS_EXPRESSION
• END ABAP_CDS_EXPRESSION
• NULL ABAP_CDS_EXPRESSION
ABAP_CDS_DDL - CDS View Entity,
ABAP_SYNTAX_FORMS
1
WHEN operand1 THEN result1
$[WHEN operand2 THEN result2$]
...
$[${ELSE resultn $| ELSE NULL$}$]
END ...>
2
$[WHEN cds_cond2 THEN result2$]
$[WHEN cds_cond3 THEN result3$]
...
$[${ELSE resultn $| ELSE NULL$}$]
END ...>
What does it do?
Case distinction in a
Case distinctions can be specified in the