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

Regarding structure

Former Member
0 Likes
634

Hi to all

i have created a structure and a option comes as 'APPEND STRUCTURE'.My question is what is 'APPEND STRUCTURE' and what are its uses

6 REPLIES 6
Read only

Former Member
0 Likes
600

Structures can be used as append structure or include structure.

Suppose you create an append structure, then you can use the same to append while creating other structure.

Exp : You have created an append structure AB with 3 fields/

Then you create a new structure XY with 2 other filed and append this append stucture to that. now there will be 5 fileds in the structure XY.

Award points if helpful.

Read only

Former Member
0 Likes
600

Hi Mahesh,

You can use include structure any number of times, Whereas Append Structure can be used only once. You cannot use it again once you append it to any table.

Reward if useful.

Thanks & regards,

Khan.

Read only

Former Member
0 Likes
600

Hi Mahesh,

As explained the Append structure used once as it will append the data at last and include structure willl be done few times as it can be inserted anywhere in between.

cheers

Mohinder Singh

Read only

Former Member
0 Likes
600

APPEND STRUCTURE

Special structure for extending standard SAP tables.

An append structure is a structure assigned to just one table. When a table is activated, all append structures for the table are found and appended to the table.

Append structures are used to add customer fields to SAP tables.

Append structures permit you to append customer fields to a SAP standard table without having to modify the table definition.

An append structure is a structure which is assigned to exactly one table. There can be several append structures for a table.

When a table is activated, all the active append structures for the table are found and their fields are appended to the table. If an append structure is created or changed, the table to which it is assigned is also activated and the changes also take effect there when it is activated.

Like all structures, an append structure defines a type that can be used in ABAP programs.

With Release 4.6C you can define foreign keys for fields that already exist in the table using an append structure. Search helps can also be attached to fields that already exist in the table.

Customers create append structures in their namespace. The append structures are thus protected against overwriting during an upgrade.

Read only

Former Member
0 Likes
600

hi

append structure is basically used if u want to make a structure which can be appended later..

that means u can add more fields in it..

it depends on u what kind u want to append..

u can make it in which only fields can be added or a deep structure can be added...

reward if found useful please

palak

Read only

Former Member
0 Likes
600

Hi,

we can enhance the standard tables by using Append structures and customizing includes.

Append structures allow you to attach fields to a table without actually having to modify the table itself. Table enhancements using append structures therefore do not have to be planned by SAP developers. An append structure can only belong to exactly one table.

In contrast, CI_includes allow you to use the same structure in multiple tables. The include statement must already exist in the SAP table or structure. Table enhancements using CI_includes do, however, have to be planned by SAP developers

REgards,

vineela.