SAP VALUE ITAB LET ABEXA



Get Example source ABAP code based on a different SAP table
  



VALUE, Operator with LET for Internal Tables
This example demonstrates the value operator VALUE for internal tables with a LET expression.

ABAP_SOURCE_CODE
DEMO CL_DEMO_VALUE_CONSTR_ITAB_LET

ABAP_DESCRIPTION
Construction of an internal table with an elementary line type with type string and filling it with three lines. The result is a table that contains the previous day, today, and the next day in the formatting for the current language environment. Today's date is produced using a method. To make sure that the method is called only once, the return value is assigned to a local helper field in a LET expression .