title: Inline cast of char types
body: <p>Does abap have any method to perform an inline cast for char types (or any similar types of different length)? Perhaps there is something similar to <code>value</code> operator( for structures) that can be used for fields.</p>
  
  <p>Concrete example (<code>name</code> is of type <code>tdobname</code>, which is char 70 and <code>ebeln</code> is char 10) that leads to a dump due to type mismatch:</p>
  
  <pre><code>call function 'READ_TEXT'
    exporting
      id                      = lv_textid
      language                = sy-langu
      name                    = ls_ekko-ebeln
      object                  = 'EKKO'
    tables
      lines                   = lt_textlines
  </code></pre>
  
  <p>For now I added an line of conversion to a variable of destination type (which works), but I am hoping to skip that step.</p>
  
  <pre><code>data: lv_name type tdobname.
  lv_name = ls_ekko-ebeln.
  call function 'READ_TEXT'
    exporting
      ...
      name                    = lv_name
      ...
  </code></pre>