Академический Документы
Профессиональный Документы
Культура Документы
It is a DATA BASE object, which is a group of fields which can be used in multiple tables. The advantage of structure is REUSABILITY of same structure in multiple tables. The difference between the table and structure is , structure can hold single record only where as a table can hold multiple record. Structure can implemented in two ways. 1) Include structure. 2) Append structure.
Include Structure
This option is used only for Custom Tables (i. e. the name starting with Z or Y). These include structure can be reusable.
Icluding structure in a table: Go to SE11 give the table name zstru click on change.
Give the field name as .include. Give the data element name as structure name. (ZINCLUDE_STR) Press enter. All the fields can be automatically copied. To display the fields click on the symbol or Icon shown below.
APPEND STRUCTURE: This option used only with STANDARD SAP TABLES. The Append Structures are not reusable.
Steps to create Append Structures: BUSINESS REQUIREMENT Add an extra field by the name MANME (middle name) to the table LFA1. Go to SE11 give the table name as LFA1. Click on Append Structure button.
Give the short description as Append structure. Give the field name as MANME. Give the Data element name a NAME3_GP. Press enter. Save and activate it.
Inter view Question is: 1) What is the difference between Include structure and Append structure. 2) How many fields you have added using append structure (only 1 or 2)