0% found this document useful (0 votes)
11 views3 pages

Create A Structure From A Table..

There are a few ways to copy fields from a table to a structure in ABAP. You can copy fields by clicking the copy icon in SE11, using the EDIT > transfer field menu option to select fields from a table, or defining the structure fields with .INCLUDE and the table name to link the structure definition to the table so it reflects any changes.

Uploaded by

Gautam Malhotra
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views3 pages

Create A Structure From A Table..

There are a few ways to copy fields from a table to a structure in ABAP. You can copy fields by clicking the copy icon in SE11, using the EDIT > transfer field menu option to select fields from a table, or defining the structure fields with .INCLUDE and the table name to link the structure definition to the table so it reflects any changes.

Uploaded by

Gautam Malhotra
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Create a structure from a table...

David Ng 57 posts since Apr 26, 2012


Create a structure from a table definition Dec 31, 2015 10: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

VenkatRamesh V 1,067 posts since Jan 6, 2013


Re: Create a structure from a table definition Jan 1, 2016 2:32 AM
Hi David,

Click copy icon.

Hope it helpful,

Generated by Jive on 2016-01-05+01:00


1
Create a structure from a table...

Regards,
Venkat.

Chintu adi 58 posts since Dec 17, 2015


Re: Create a structure from a table definition Jan 1, 2016 4: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!!

Matthew Billingham 10,366 posts since Aug 2, 2004


Re: Create a structure from a table definition Jan 1, 2016 9: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

Generated by Jive on 2016-01-05+01:00


2
Create a structure from a table...

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.

Generated by Jive on 2016-01-05+01:00


3

You might also like