Skip to Content
0
Former Member
Mar 28, 2006 at 07:34 PM

Contents within a variable moved to a literal

17 Views

I have not used field-symbols yet. Is that the way to do the following?

I need to append to a table whose name I want to derive based on the fiscal year (bdatj). Each record in the internal table will have a bdatj. So if bdatj contains 2006, I want to append to table 2006_tab. If bdatj is 2007, I want to append to table 2007_tab.

Is there a way to do this using field-symbols instead of if statements based on the value in the field. This would be something like: If bdatj = '2006', then append record to 2006_tab, etc.

Thank you for any help.