‎2008 Jun 09 5:02 AM
Hi,
What is the difference between .Include and Append Structure?
Regards,
Netra
‎2008 Jun 09 5:06 AM
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
‎2008 Jun 09 5:06 AM
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
‎2008 Jun 09 5:08 AM
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