2015 Dec 31 9:30 PM
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
2016 Jan 01 3:40 AM
Hi,
go to se11.. open structure in change mode..
you copy fields of table to structure in change mode.
EDIT-->transfer field->> give the table name whose field you want to copy.
screen will pop-up like this select the fields and copy
thanks!!
2016 Jan 01 1:32 AM
2016 Jan 01 3:40 AM
Hi,
go to se11.. open structure in change mode..
you copy fields of table to structure in change mode.
EDIT-->transfer field->> give the table name whose field you want to copy.
screen will pop-up like this select the fields and copy
thanks!!
2016 Jan 01 8:44 AM
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.
2016 Jan 13 10:08 AM