Ansicht
Dokumentation

ABENSQL_EXPR_CASE_STRING_ABEXA - SQL EXPR CASE STRING ABEXA

ABENSQL_EXPR_CASE_STRING_ABEXA - SQL EXPR CASE STRING ABEXA

ABAP Short Reference   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book

- Simple CASE

This example demonstrates simple case distinctions in SQL expressions.

Source Code

Execute

Description

In a list of columns specified after SELECT, CASE is used to make a simple case distinction for the content of a column. The result is a character string that is concatenated from column content or taken from a host variable. Using the alias name defined after AS, the result is assigned to the identically named column in an internal table declared inline, results.






TXBHW - Original Tax Base Amount in Local Currency   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 872 Date: 20240419 Time: 203957     sap01-206 ( 22 ms )