Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Field symbol as form parameter

Former Member
0 Kudos

Hi all,

Is it possible to pass a field symbol, which points to a dynamic table, as a form parameter?

1 ACCEPTED SOLUTION

matt
Active Contributor
0 Kudos

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.

1 REPLY 1

matt
Active Contributor
0 Kudos

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.