09-21-2010 2:07 PM
Hi all,
Is it possible to pass a field symbol, which points to a dynamic table, as a form parameter?
09-21-2010 2:57 PM
Yes.
FIELD-SYMBOLS: <t_sometable> TYPE STANDARD TABLE.
PERFORM some_perform USING <t_sometable>.
FORM some_perform USING it_sometable TYPE STANDARD TABLE.
...
ENDFORM.
Note that <t_sometable> must be assigned before the PERFORM.
09-21-2010 2:57 PM
Yes.
FIELD-SYMBOLS: <t_sometable> TYPE STANDARD TABLE.
PERFORM some_perform USING <t_sometable>.
FORM some_perform USING it_sometable TYPE STANDARD TABLE.
...
ENDFORM.
Note that <t_sometable> must be assigned before the PERFORM.