Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Copy Table to structure

rahulnavandar
Explorer
0 Likes
2,456

Can we copy a particular table to structure.

for e.g if we want to copy mara table to structure zmara with all fields in one go.

bcoz i want to create a structure zmara same as mara table and change all fields data element to char1.

Is it possible?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,262

If you just want to use the MARA structure, then you can simple say

INCLUDE MARA in se11.

But if you want to change the data types of each of the fields, i'm afraid, you have to copy the fields manually.

To make it a little better, you can copy one page at a time using CTRL+Y, select by dragging the mouse over the columns fields and selecting and copying.

Regards,

Ravi

Can we copy a particular table to structure.

for e.g if we want to copy mara table to structure zmara with all fields in one go.

bcoz i want to create a structure zmara same as mara table and change all fields data element to char1.

Is it possible?

3 REPLIES 3
Read only

Former Member
0 Likes
1,263

If you just want to use the MARA structure, then you can simple say

INCLUDE MARA in se11.

But if you want to change the data types of each of the fields, i'm afraid, you have to copy the fields manually.

To make it a little better, you can copy one page at a time using CTRL+Y, select by dragging the mouse over the columns fields and selecting and copying.

Regards,

Ravi

Read only

Former Member
0 Likes
1,262

Hi,

Goto Se11 and create the Structure, and inside the strucutre, EDIT --> INCLUDE --> INSERT, there give the Structure name as MARA, then a Include will be created with the MARA, and all the fields will be become the strucutre fields

Regards

Sudheer

Read only

Former Member
0 Likes
1,262

Hi it is not possible to change the data type in one go.. it has to be done manually one by one!

Thanks

Janani