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

.Include and Append Struc

Former Member
0 Likes
520

Hi,

What is the difference between .Include and Append Structure?

Regards,

Netra

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
497

hi,

WE CAN USE INCLUDE STRUCTURES IN MORE THAN ONE TABLE.

INCLUDE STRUCTURES CAN USED BY US TO ADD FIELDS INTO ANY ZTABLES. BECAUSE, IN A ZTABLE, WE CAN ADD FIELDS WHER EVER WE WANT.

APPEND STRUCTURE CAN USED FOR ONLY ONE TABLE.

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.

THANKS,

RAJI

2 REPLIES 2
Read only

Former Member
0 Likes
498

hi,

WE CAN USE INCLUDE STRUCTURES IN MORE THAN ONE TABLE.

INCLUDE STRUCTURES CAN USED BY US TO ADD FIELDS INTO ANY ZTABLES. BECAUSE, IN A ZTABLE, WE CAN ADD FIELDS WHER EVER WE WANT.

APPEND STRUCTURE CAN USED FOR ONLY ONE TABLE.

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.

THANKS,

RAJI

Read only

prasanth_kasturi
Active Contributor
0 Likes
497

Hi,

The main difference is the same include structure can be used in more than one table but an append can be used in only one table

Append must be the last field in the table but include need not,

you can append only append structures after you have a append in your table , but after innclude you can have normal fields also

INCLUDE:

Includes are used to group fields and insert them together in a table or structure.

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.

Include reports contain rolled out parts of reports. They are called by the main report, and can only be run in conjunction with the main report.

APPEND:

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

regards

prasanth