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
846

Hi experts,

In Data Dictionary what is the difference between Append structure and Include structure?

Regards

Ravi.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
803

hi Ravi

Append structures are like user exits provided by SAP to enhance the Standard tables. It behaves like include structure only, but this append structure is taken care in the SAP version upgrage process, automatically. The name of append structure starts with 'Z' namespace..SAP by default proposes the append structure name with the table name prefixed with 'Z'.

It is always recommended to modiy or append the Standard tables using append structure.

Yeah, its the standard provided for SAP standard table enhancement.

and as you know, Include structures are used to include mulitple fields into a table, even during creation of a table.

Hope this answers your question.

5 REPLIES 5
Read only

Former Member
0 Likes
804

hi Ravi

Append structures are like user exits provided by SAP to enhance the Standard tables. It behaves like include structure only, but this append structure is taken care in the SAP version upgrage process, automatically. The name of append structure starts with 'Z' namespace..SAP by default proposes the append structure name with the table name prefixed with 'Z'.

It is always recommended to modiy or append the Standard tables using append structure.

Yeah, its the standard provided for SAP standard table enhancement.

and as you know, Include structures are used to include mulitple fields into a table, even during creation of a table.

Hope this answers your question.

Read only

0 Likes
803

both are enhancements to an existing Table/Structure.. Append will be at the end whereas Include can be anywhere on the existing structure..

~Suresh

Read only

0 Likes
803

Hi ,

Thanks.But how many fields we can ad to a append structure?

A standard table may contain both Append structure and .include?

When Append and when include will be used?

Regards

Read only

Former Member
0 Likes
803

hi

good

APPEND STRUCTURE->

Append structures are used for enhancements that are not included in the standard. This includes special developments, country versions and adding customer fields to any tables or structures.

An append structure is a structure that is assigned to exactly one table or structure. There can be more than one append structure for a table or structure.

The following enhancements can be made to a table or structure TAB with an append structure:

· Insert new fields in TAB,

· Define foreign keys for fields of TAB that already exist,

· Attach search helps to fields of TAB that already exist,

These enhancements are part of the append structure, i.e. they must always be changed and transported with the append structure.

When a table or structure is activated, all the append structures of the table are searched and the fields of these append structures are added to the table or structure. Foreign keys and search help attachments added using the append structure are also added to the table. If an append structure is created or changed, the table or structure assigned to it is also adjusted to these changes when the append structure is activated.

Since the order of the fields in the ABAP Dictionary can differ from the order of the fields on the database, adding append structures or inserting fields in such append structures does not result in a table conversion.

The customer creates append structures in the customer namespace. The append structure is thus protected against overwriting during an upgrade. The fields in the append structure should also reside in the customer namespace, that is the field names should begin with ZZ or YY. This prevents name conflicts with fields inserted in the table by SAP.

http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eb61446011d189700000e8322d00/content.htm

INCLUDE->

http://www.sapdb.org/7.4/htmhelp/f2/b1219d1b9646b0ae248a7a5a95a33e/content.htm

thanks

mrutyun^

Read only

Former Member
0 Likes
803

Hi ravi,

1. .INCLUDE

(which appears in se11 in many tables.)

2. Well,

thats nothing but a technique

of BUNCHING / GROUPING fields

(for ease of re-use)

(instead of again and again

specifying those SET of FIELDS,

in more than 1 table)

(we can as well give each field, field-by-field,

it won't make any difference in database table)

3. However,

Append structure

is FACILITY PROVIDED BY SAP

for customer enhancment of tables.

It behaves differently when

some upgrade is done in that table

by sap itself.

In such case,

when the upgrade occurs,

first the SAP fields (which are added in the standard table)

are first included in the sequence of fields,

AFTER THAT,

our APPEND structure fields,

are appended !!!

regards,

amit m.