Passing field-symbols into FORM
问题 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. LOOP bseg ASSIGNING <bseg> ... PERFORM assigning USING <bseg> CHANGING <wrbtr>. ... ENDLOOP. FORM assigning USING <bseg> TYPE bseg CHANGING <wrbtr> TYPE bseg-wrbtr IF ... some logic here ASSIGN <bseg>-wrbtr TO <wrbtr>. ELSE ASSIGN <bseg>