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

Append structure

Former Member
0 Likes
1,516

hi ,

i am getting an error message while am creating an append structure.

what i have done is ..

i created a structure in SE11 with 4 fields with name zstruct .

and i have one ztable with 5 fields. when i am trying to append a structure through Append Structure button , system is asking for the name of the structure.

here is my problem...

when trying to giving the structure name which i was created earlier ie., zstruct, it giving error that " structure name is already created."

can any please help me in this regard.

cheers,

srak.

1 ACCEPTED SOLUTION
Read only

Former Member
1,252

As others mentioned: it's a Z table so you could simply add the fields in the table.

However, if you choose not to and want your ZSTRUC in ZTABLE, then you need to include ZSTRUC in ZTABLE and not perform an append structure (since it already exists): where you normally insert a field name, type .INCLUDE and as data element insert your structure name.

6 REPLIES 6
Read only

ThomasZloch
Active Contributor
0 Likes
1,252

You have to create the append under a different name, usually starting with "ZA...". Then you can include your structure in this new append.

Actually, since it is a Z-Table, you don't need an append at all, you include your structure directly.

Thomas

Read only

Former Member
0 Likes
1,252

hi..

u cannt append the structure with the same name as it is already created.....

u have to give the different name and thier u specify the field names....

the u r table will get appended with the new fields...

hope it works...

thanks

sam

Read only

Former Member
0 Likes
1,252

Thats the wrong way of creating Append Structure

Go to the main table in SE11,

Click on Append Structure.

A window will apear, there will be a create button at top row.

click on that , it will ask you for Append structure name

and then it will take you to a screen where you will add fields to that structure.

Read only

Former Member
1,253

As others mentioned: it's a Z table so you could simply add the fields in the table.

However, if you choose not to and want your ZSTRUC in ZTABLE, then you need to include ZSTRUC in ZTABLE and not perform an append structure (since it already exists): where you normally insert a field name, type .INCLUDE and as data element insert your structure name.

Read only

abdul_hakim
Active Contributor
0 Likes
1,252

Hi

As Swastik Bharati mentioned you are trying to create the append structure in a wrong way.

The right way to create is through by pressing Append Structure button and then giving a structure name which is not existing.

Cheers,

Hakim

Read only

Former Member
0 Likes
1,252

hi

With in ztable you create an append structure, you cant include append structure out side of that ztable.