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

diff append stru, include stru

Former Member
0 Likes
514

Hi friends,

Can i know the difference between Append structure and include structure

R

1 ACCEPTED SOLUTION
3 REPLIES 3
Read only

seshatalpasai_madala
Product and Topic Expert
Product and Topic Expert
0 Likes
484

Hi,

Append structure can be done to any table and you dont need any authorization key for doing so.

Where as Include structure is a modifcation to the standard table so you will need an authorization key from SAP.

One more important thing is when you copy a table with append structures all the fields of the appended structure will become direct components of the new table, that is this append strucutre relationship will be lost.

Append strucutre will not alter the table where as include strucutre will alter the table strucutre in DDIC.

Regards,

Sesh

Read only

Former Member
0 Likes
484

Hi,

1) 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.

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

3) 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.

4) 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.

5) 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.

6) An include program has two main functions:

It contains code which can be used by several different programs.

It helps you to modularize programs, which consist of many different logically related parts. Each of these parts is stored as a separate include program.

Include programs improve the readability of programs and make maintenance easier.

7) Append structure can be done to any table and you dont need any authorization key for doing so.

😎 Where as Include structure is a modifcation to the standard table so you will need an authorization key from SAPWhen you create a table, a key is assigned as required by the program.

Regards,

Gunasree.