2006 Oct 31 2:02 AM
Hi, I have an internal table, which is a deep structure (first 5 fields are normal fields, but the last field is a reference to a table). Is it possible to loop this internal table into a work area just the first 5 fields, ignoring the last field? THanks in advance.
Hi, I have an internal table, which is a deep structure (first 5 fields are normal fields, but the last field is a reference to a table). Is it possible to loop this internal table into a work area just the first 5 fields, ignoring the last field? THanks in advance.
2006 Oct 31 2:29 AM
2006 Oct 31 2:52 AM
Err... not exactly. What I want is to ignore the last field of this deep structure, into a workarea. I do not wish to have a workarea which is a 'deep structure'. I'm not sure whether this is possible...
2006 Oct 31 2:58 AM
you can do a loop 'transporting' only the fields you are interested in. Your header line or work area will still have the 'deep structure' but it will not be populated.
loop at itab into workarea transporting x y z.
endloop.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |