title: ABAP Initial value with VALUE operator in SQL statement
body: <p>I have the following SQL statement and was wondering if I could rewrite it using the <code>VALUE</code> operator to avoid the <code>DATA</code> statement at the beginning.</p>
  
  <pre><code>  DATA(lv_initial) = VALUE /scwm/guid_hu( ).
    SELECT * FROM /scwm/tu_dlv 
      WHERE lgnum     = @lv_lgnum
        AND top_hu    = @lv_initial
      INTO TABLE @DATA(lt).
  </code></pre>
  
  <p>I.e., I would like to have something like the following, which gives the error: "Field 'VALUE' unknown. [...]", unfortunately.</p>
  
  <pre><code>  SELECT * FROM /scwm/tu_dlv
      WHERE lgnum     = @lv_lgnum
        AND top_hu    = @VALUE #( )
     INTO TABLE @DATA(lt).
  </code></pre>
  
  <p>Is this possible? I want to get rid of the <code>DATA</code> statement because it can lead to bugs easily if the variable is reused.</p>
  
  <p>I searched on Google and in the ABAP key word documentation, specifically for "SELECT", "VALUE, Operator" and "DATA, Operator", but to no avail.</p>
  
  <p>Any suggestions are appreciated.</p>
  
  <p>Kind regards,
  Stefan</p>