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

structure

Former Member
0 Likes
665

Include str is for reuseability and Append str is restricted for that table only,can explain me clearly with example

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
637

Hi,

1. Append structure : it will add Fields to the table from

last . we can't use that structure in another table.

2. Include structure: we can add fields in middle. we can

use include structure in more than one table.

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

An include Structure is a structure which we include under

another structure which is already defined

APPEND STRUCTURES ARE USED ONLY TO ENHANCE STANDARD TABLES.

STANDARD TABLES MAY HAVE INCLUDE STRUCTURES ALREADY CREATED , BUT IF WE WANT TO ADD SOME MORE FIELDS

TO THE STANDARD TABLES, WE NEED TO GO FOR APPEND STRUCTURES.

APPEND STRUCTURES SHOULD BE ADDED AT THE END OF A STANDARD TABLE. THIS IS A MUST. BECAUSE WE SHOULD NOT CHANGE THE ORIGINAL STANDARD TABLE IN THE MIDDLE.

SOME STANDARD TABLES FOR WHICH THERE ARE LONG DATA TYPE FIELDS cannot be enhanced because, LONG TYPE FIELDS SHOULD ALWAYS BE AT THE END AND APPEND STRUCTURES SHOULD ALSO BE AT THE END, SO THERE WILL BE A CONFLICT

For Details Follow the link.

http://help.sap.com/saphelp_erp2004/helpdata/en/4d/e2bebb41da1d42917100471b364efa/content.htm

Regards,

Sujit

5 REPLIES 5
Read only

Former Member
0 Likes
638

Hi,

1. Append structure : it will add Fields to the table from

last . we can't use that structure in another table.

2. Include structure: we can add fields in middle. we can

use include structure in more than one table.

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

An include Structure is a structure which we include under

another structure which is already defined

APPEND STRUCTURES ARE USED ONLY TO ENHANCE STANDARD TABLES.

STANDARD TABLES MAY HAVE INCLUDE STRUCTURES ALREADY CREATED , BUT IF WE WANT TO ADD SOME MORE FIELDS

TO THE STANDARD TABLES, WE NEED TO GO FOR APPEND STRUCTURES.

APPEND STRUCTURES SHOULD BE ADDED AT THE END OF A STANDARD TABLE. THIS IS A MUST. BECAUSE WE SHOULD NOT CHANGE THE ORIGINAL STANDARD TABLE IN THE MIDDLE.

SOME STANDARD TABLES FOR WHICH THERE ARE LONG DATA TYPE FIELDS cannot be enhanced because, LONG TYPE FIELDS SHOULD ALWAYS BE AT THE END AND APPEND STRUCTURES SHOULD ALSO BE AT THE END, SO THERE WILL BE A CONFLICT

For Details Follow the link.

http://help.sap.com/saphelp_erp2004/helpdata/en/4d/e2bebb41da1d42917100471b364efa/content.htm

Regards,

Sujit

Read only

Former Member
0 Likes
637

hiiii

include structure is only used to expand Ztable...if you want some more fields in table..then you just need to make a include structure & use with that table..you can use the same include structure with any other ztable also..so its reusable.

append structure is used to enhance any standard table..you can do it urself by just click on appen structure..go to se11 7 open any standard table.there you can see this button.but you will not be able to use the same append structure with any other table.you will have to create it separately then.

go to following link

http://www.saptechies.com/difference-bn-include-structure-and-append-structure/

regards

twinkal

Read only

Former Member
0 Likes
637

hi,

Plz Refer to this link.

[/thread/281791 [original link is broken];

Hop this will help.

Regards

Sumit Agarwal

Read only

Former Member
0 Likes
637

hi,

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/data source .

append structure must be choosen can't be modified option so that it will not affect other subroutine or program

Amit

Read only

Former Member
0 Likes
637

Hi Ali,

Take the simple consideration that, in Include Structure we generaly put all those data fields which are required in more than one tables and then include it. So the same fields in include structure are reused when anyy one of these tables are accessed.There lies the concept of reuseability.

Whereas, we use append Structure for enhancement of a database table. Here we add all those fields which we want to add to that very table only. This is its fuctionality.

Hence, Include str is for reuseability and Append structure is restricted for that table only.

Reward if found helpful.

Anirban Bhattacharjee