Ansicht
Dokumentation

ABENTABLE_EXP_DEFAULT_ABEXA - TABLE EXP DEFAULT ABEXA

ABENTABLE_EXP_DEFAULT_ABEXA - TABLE EXP DEFAULT ABEXA

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

- Default Value

This example demonstrates default values for table expressions.

Source Code

Execute

Description

The result result1 of the first table expression has the line type of the internal table itab. The specified line is not found, which means that the structure def specified after DEFAULT is returned instead.

The result result2 of the second table expression results from a chaining with the structure component selector and is a component with the type string. Here, only the corresponding component of the structure def is specified as the default value.

The result result3 of the third table expression again has the line type of the internal table itab. Further table expressions with default values are specified as the default value. In the case shown here, the table expression in the second default value finds a line and returns it. If no searches are successful, an initial line is returned due to the closing OPTIONAL.






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

Length: 1199 Date: 20240425 Time: 151835     sap01-206 ( 33 ms )