2010 Jul 09 6:48 AM
Hi,
I have created a dynamic internal table.I need to read the data from the same.
Since the field names are in a variable. How do i read specific fields from the table.
Kindly respond.
2010 Jul 09 6:56 AM
loop at your table assigning to a field symbol of type any...
loop at <itab> assigning <field_sym_type_any>.
ASSIGN COMPONENT 'your field name in quotes or variable ' OF STRUCTURE
<field_sym_type_any> TO <field_symbol_type any_2>.
endloop.
Hi,
I have created a dynamic internal table.I need to read the data from the same.
Since the field names are in a variable. How do i read specific fields from the table.
Kindly respond.
2010 Jul 09 6:56 AM
loop at your table assigning to a field symbol of type any...
loop at <itab> assigning <field_sym_type_any>.
ASSIGN COMPONENT 'your field name in quotes or variable ' OF STRUCTURE
<field_sym_type_any> TO <field_symbol_type any_2>.
endloop.
2010 Jul 09 7:29 AM
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |