title: Passing field-symbols into FORM
body: <p>I need to assign data field (component of another field symbol) to field-symbol in a several places of code. For the sake of reusability I decided to encapsulate this code in procedure, but I cannot understand how to pass field-symbols into this procedure.</p>
  
  <pre><code>LOOP bseg ASSIGNING &lt;bseg&gt;
  ...
  PERFORM assigning USING &lt;bseg&gt;
                    CHANGING &lt;wrbtr&gt;.
  ...
  ENDLOOP.
  
  FORM assigning USING &lt;bseg&gt; TYPE bseg
                 CHANGING &lt;wrbtr&gt; TYPE bseg-wrbtr
  IF ...
    some logic here
    ASSIGN &lt;bseg&gt;-wrbtr TO &lt;wrbtr&gt;.
  ELSE
    ASSIGN &lt;bseg&gt;-skfbt TO &lt;wrbtr&gt;.
  ENDIF.
  
  ENDFORM.
  </code></pre>
  
  <p>This code does not work. <br></p>
  
  <p>What should I do to change the field symbol reference too?</p>