David Ng wrote:
I wanted to create a structure with exactly the same fields from a table. Is there a way to copy the table definition to the structure to save me a lot of typing? Thanks
Why? If it's exactly the same, use the table. E.g DATA mydata TYPE thetable. Otherwise you should use .INCLUDE in your structure definition. I.e. fieldname .INCLUDE, with type thetable. In this way, if the table should ever change, your structure will automatically reflect such changes.