SlideShare a Scribd company logo
Adding Structures
March-2005 Adding Structures | 2.05
Objectives
 The participants will be able to:
– Define a Structure and Substructure and describe
their usage.
– Define a Customizing Include and explain its
usage.
– Define an Append Structure and explain its usage.
March-2005 Adding Structures | 2.05 2
Including Structures in Tables
March-2005 Adding Structures | 2.05 3
Table XYZ
.INCLUDE CI_XXX
Table T
.APPENDZAT
Append StructuresAppend Structures
Customizing Includes
Customer Tables SAP Tables
SAP Tables
Field 1
Field 2
...
Field n
 Structure is a group of fields that logically belong together.
Substructures
Table YCUSTAB
.INCLUDE YSTRUC
Including Structures in Tables (Contd.)
March-2005 Adding Structures | 2.05 4
Table XYZ
.INCLUDE CI_XXX
Table T
.APPENDZAT
Append StructuresAppend Structures
Customizing Includes
Customer Tables SAP Tables
SAP Tables
Field 1
Field 2
...
Field n
 Structure is a group of fields that logically belong together.
Substructures
Table YCUSTAB
.INCLUDE YSTRUC
Substructure
March-2005 Adding Structures | 2.05 5
YS-F1 YS-F2 YS-F3...
Table Field Data element
YT2 S1
(TRANSP) S2
F1
Table Field Data element
YT1 S1
(TRANSP) S2
F1
.INCLUDE YS
.INCLUDE YS
YS
Customizing Include
March-2005 Adding Structures | 2.05 6
CI_XXX
Table Field Data element
XYZ S1
F1
. . .
Fn
Table Field Data element
XYZ S1
F1
. . .
Fn
.INCLUDE CI_XXX
CI_XXX-F1 CI_XXX-F2 CI_XXX-F3
Append Structure
March-2005 Adding Structures | 2.05 7
ZAT-F1 ZAT-F2 ZAT-F3
Table Field Data element
T S1
F1
. . .
Fn
.APPEND ZAT
ZAT
Demonstration
 Creation of a substructure and adding the
same to one of the transparent tables created
in the previous exercises.
March-2005 Adding Structures | 2.05 8
Practice
 Creation of a substructure and adding the
same to one of the transparent tables created
in the previous exercises.
March-2005 Adding Structures | 2.05 9
Summary
Structure is a group of internal fields that logically
belong together. A Structure consists of components
(fields) whose types are defined.
Substructures allow you to include fields from another
table or structure in the table you are creating.
Customizing includes are provided in SAP tables and
structures to allow you to add fields to these
structures/tables without modifying the tables
themselves.
Append structures allow you to add fields to SAP-
provided structures and transparent tables that were
not provided for in the standard version.
March-2005 Adding Structures | 2.05 10
Questions
 What is a Structure ?
 What is a Customizing Include ?
 How is the Append Structure functionality
used ?
March-2005 Adding Structures | 2.05 11

More Related Content

PPT
Chapter 08 abap dictionary objects views1
PPT
Chapter 03 foreign key relationships1
PPT
Chapter 02 abap dictionary objects1
PPT
Chapter 04 abap dictionary tables in relational databases1
PPT
data modelling1
PPT
Chapter 01 overview of abap dictionary1
PPT
Chapter 07 abap dictionary changes1
PPT
Chapter 09 overview of search helps1
Chapter 08 abap dictionary objects views1
Chapter 03 foreign key relationships1
Chapter 02 abap dictionary objects1
Chapter 04 abap dictionary tables in relational databases1
data modelling1
Chapter 01 overview of abap dictionary1
Chapter 07 abap dictionary changes1
Chapter 09 overview of search helps1

What's hot (16)

PPT
Chapter 10 online help & documentation1
PPT
ABAP Material 04
PPT
PPT
table maintenance generator1
PPT
MS Bi Portfolio Gregory Lee
PDF
ETL Microsoft Material
PPTX
Ssis sql ssrs_sp_ssas_mdx_hb_li
PPTX
Reports Dashboards SQL Demo
PPTX
Ssis Ssas Ssrs Sp Pps Hong Bing Li
PPTX
Rodney Matejek Portfolio
PPT
L22 analyzing data using smart view
PPT
C:\fakepath\ssis ssas sssrs_pps_hong_bingli_v2003
DOCX
Obiee real solutions
PPTX
Access 2013 Unit D
PPT
Charting solutions evaluation-1
PDF
Business objects activities web intelligence
Chapter 10 online help & documentation1
ABAP Material 04
table maintenance generator1
MS Bi Portfolio Gregory Lee
ETL Microsoft Material
Ssis sql ssrs_sp_ssas_mdx_hb_li
Reports Dashboards SQL Demo
Ssis Ssas Ssrs Sp Pps Hong Bing Li
Rodney Matejek Portfolio
L22 analyzing data using smart view
C:\fakepath\ssis ssas sssrs_pps_hong_bingli_v2003
Obiee real solutions
Access 2013 Unit D
Charting solutions evaluation-1
Business objects activities web intelligence
Ad

Viewers also liked (18)

PPT
Chapter 06 abap repository information system1
PPT
cardinality1
PPT
Lecture02 abap on line
PPT
Ale Idoc
PDF
05 internal tables
PPT
0106 debugging
PPT
0104 abap dictionary
PDF
Sujith ~ cross applications
PDF
Bapi jco[1]
PPT
Abap function module help
PPTX
Abap course chapter 3 basic concepts
PDF
control techniques
PPT
abap list viewer (alv)
PDF
Step by-step creation of a bapi in detailed steps with scr…
PPT
Dialog Programming Overview
PDF
Ale edi i_doc.sapdb.info
PDF
Workflow Part1 1
PPT
Module pool programming
Chapter 06 abap repository information system1
cardinality1
Lecture02 abap on line
Ale Idoc
05 internal tables
0106 debugging
0104 abap dictionary
Sujith ~ cross applications
Bapi jco[1]
Abap function module help
Abap course chapter 3 basic concepts
control techniques
abap list viewer (alv)
Step by-step creation of a bapi in detailed steps with scr…
Dialog Programming Overview
Ale edi i_doc.sapdb.info
Workflow Part1 1
Module pool programming
Ad

Similar to Chapter 05 adding structures1 (20)

PDF
excel 2010 pivot tables
PPTX
Microsoft dynamics ax 2012 development introduction part 1/3
DOCX
COM 3135 Proposal AssignmentMANAGERIAL PROPOSAL INSTRUCTI.docx
PPTX
Advanced_SQL_Presentation_Template.pptx
PDF
Illustrated Course Guide Microsoft Office 365 and Excel 2016 Intermediate Spi...
PPTX
Ch05 cmpt110
PPTX
Integration with Office Automation Applications - R.D.Sivakumar
PPTX
Bi dimension modelling basics
PPT
Filtered Indexes In Sql 2008
DOCX
Power BI Interview Questions
DOCX
Excel2007 analysisservicescubespivottables
DOCX
Open the file in Review the This file.docx
PDF
Access 2010 Unit D PPT
PPTX
MS Excel 2013
PPTX
Leveraging IBM Cognos TM1 for Merchandise Planning at Tractor Supply Company ...
PPTX
Access 2013 Unit C
PDF
ClassHandoutMFG321077LaurenAmes.pdf
PDF
TFS Session 2 : Work Item Tracking
PPTX
Ch05 Access
 
PDF
Access 2010 Unit C PPT
excel 2010 pivot tables
Microsoft dynamics ax 2012 development introduction part 1/3
COM 3135 Proposal AssignmentMANAGERIAL PROPOSAL INSTRUCTI.docx
Advanced_SQL_Presentation_Template.pptx
Illustrated Course Guide Microsoft Office 365 and Excel 2016 Intermediate Spi...
Ch05 cmpt110
Integration with Office Automation Applications - R.D.Sivakumar
Bi dimension modelling basics
Filtered Indexes In Sql 2008
Power BI Interview Questions
Excel2007 analysisservicescubespivottables
Open the file in Review the This file.docx
Access 2010 Unit D PPT
MS Excel 2013
Leveraging IBM Cognos TM1 for Merchandise Planning at Tractor Supply Company ...
Access 2013 Unit C
ClassHandoutMFG321077LaurenAmes.pdf
TFS Session 2 : Work Item Tracking
Ch05 Access
 
Access 2010 Unit C PPT

More from Kranthi Kumar (20)

PDF
Exercise in alv
PDF
Dynamic binding
PDF
Data binding
PDF
Creating simple comp
PDF
Creating messages
PDF
Creating a comp
PDF
Controllers and context programming
PDF
Context at design
PDF
Binding,context mapping,navigation exercise
PDF
Alv for web
PDF
Web(abap introduction)
DOC
Abap faq
PDF
Sap abap material
PDF
Crm technical
PPT
Chapter 07 debugging sap scripts
PPT
Chapter 06 printing sap script forms
PPT
Chapter 05 sap script - configuration
PPT
Chapter 04 sap script - output program
PPT
Chapter 02 sap script forms
PPT
sap script overview
Exercise in alv
Dynamic binding
Data binding
Creating simple comp
Creating messages
Creating a comp
Controllers and context programming
Context at design
Binding,context mapping,navigation exercise
Alv for web
Web(abap introduction)
Abap faq
Sap abap material
Crm technical
Chapter 07 debugging sap scripts
Chapter 06 printing sap script forms
Chapter 05 sap script - configuration
Chapter 04 sap script - output program
Chapter 02 sap script forms
sap script overview

Chapter 05 adding structures1

  • 2. Objectives  The participants will be able to: – Define a Structure and Substructure and describe their usage. – Define a Customizing Include and explain its usage. – Define an Append Structure and explain its usage. March-2005 Adding Structures | 2.05 2
  • 3. Including Structures in Tables March-2005 Adding Structures | 2.05 3 Table XYZ .INCLUDE CI_XXX Table T .APPENDZAT Append StructuresAppend Structures Customizing Includes Customer Tables SAP Tables SAP Tables Field 1 Field 2 ... Field n  Structure is a group of fields that logically belong together. Substructures Table YCUSTAB .INCLUDE YSTRUC
  • 4. Including Structures in Tables (Contd.) March-2005 Adding Structures | 2.05 4 Table XYZ .INCLUDE CI_XXX Table T .APPENDZAT Append StructuresAppend Structures Customizing Includes Customer Tables SAP Tables SAP Tables Field 1 Field 2 ... Field n  Structure is a group of fields that logically belong together. Substructures Table YCUSTAB .INCLUDE YSTRUC
  • 5. Substructure March-2005 Adding Structures | 2.05 5 YS-F1 YS-F2 YS-F3... Table Field Data element YT2 S1 (TRANSP) S2 F1 Table Field Data element YT1 S1 (TRANSP) S2 F1 .INCLUDE YS .INCLUDE YS YS
  • 6. Customizing Include March-2005 Adding Structures | 2.05 6 CI_XXX Table Field Data element XYZ S1 F1 . . . Fn Table Field Data element XYZ S1 F1 . . . Fn .INCLUDE CI_XXX CI_XXX-F1 CI_XXX-F2 CI_XXX-F3
  • 7. Append Structure March-2005 Adding Structures | 2.05 7 ZAT-F1 ZAT-F2 ZAT-F3 Table Field Data element T S1 F1 . . . Fn .APPEND ZAT ZAT
  • 8. Demonstration  Creation of a substructure and adding the same to one of the transparent tables created in the previous exercises. March-2005 Adding Structures | 2.05 8
  • 9. Practice  Creation of a substructure and adding the same to one of the transparent tables created in the previous exercises. March-2005 Adding Structures | 2.05 9
  • 10. Summary Structure is a group of internal fields that logically belong together. A Structure consists of components (fields) whose types are defined. Substructures allow you to include fields from another table or structure in the table you are creating. Customizing includes are provided in SAP tables and structures to allow you to add fields to these structures/tables without modifying the tables themselves. Append structures allow you to add fields to SAP- provided structures and transparent tables that were not provided for in the standard version. March-2005 Adding Structures | 2.05 10
  • 11. Questions  What is a Structure ?  What is a Customizing Include ?  How is the Append Structure functionality used ? March-2005 Adding Structures | 2.05 11

Editor's Notes

  • #4: Structure - A group of internal fields that logically belong together. A Structure consists of components (fields) whose types are defined. In ABAP, you reference a Structure by its name. To access the individual fields within a Structure, you must specify the name of the Structure followed by the relevant field name. A Structure’s components can have an elementary type, a structured type, a table type, or a reference type. Structures are used especially to define the data at the interface of module pools and screens and to define the types of function module parameters.
  • #5: Groups of fields can be added to customer tables using substructures. Groups of fields or individual fields can be added to SAP delivered tables using append structures, or customizing includes: Substructures allow you to include fields from another table or structure in the table you are creating. Customizing includes are provided in SAP tables and structures to allow you to add fields to these structures/tables without modifying the tables themselves. Append structures allow you to add fields to SAP-provided structures and transparent tables that were not provided for in the standard version.
  • #6: Rather than listing all the fields you want a table or structure to contain, you can choose to include fields from another table or structure as a substructure. This allows you to avoid redundant field definitions in structures/tables as well as maintain changes for these common fields in one structure/table. A structure can only be included in its entirety and must be of table type INTTAB or TRANSP. Substructures can be nested. A structure can include another structure, which in turn includes another structure, etc. Up to nine nesting levels are allowed. TRANSP table types can only exist once in a nested chain. To include a substructure in a table: Type “.INCLUDE” for the Field Name field on the Table Change screen, then type in the name of the structure/table in the “Data elem.” field. You can expand and collapse substructures in the table/structure definition screens they are used. This is an alternative way to see what fields the substructure holds, rather than double-clicking on the substructure name to navigate to its definition.
  • #7: If it is expected customers will need to add their own fields to SAP tables or structures, some of the standard version SAP tables and structures are supplied with customizing includes. Customizing includes are supplied empty by SAP and are filled in by the customer with the help of special customizing transactions. These includes make it possible to extend (add fields to) tables without modifying the tables themselves and without the risk of additions being overwritten during a Release Upgrade. Names of customizing includes start with ‘CI_’. If a table does not contain a customizing include, you can still make additions by creating an Append structure. You cannot add your own ‘.INCLUDE CI_’ to an SAP table.
  • #8: Append structures are intended for additions not provided for in the standard version of SAP tables via customizing includes. They are to be used with SAP transparent tables or structures, not with customer tables. An Append structure is a structure assigned to exactly one table. However, a single table can have a number of append structures. It is recommended to use only one append structure in a table. When an append structure is activated, its assigned table is also activated with all of the append structure fields. When a table including an append structure is activated, the append structure fields are found and added to the table. Append structures cannot be deleted. Append structures cannot be used with tables containing fields of data type VARC, LCHR, or LRAW because these data types must be the last field in a table. Use the Append structures … push-button in the table display screen to add fields to SAP tables. Fields contained in an Append structure are added to the SAP tables when an upgrade is performed and the appropriate tables are activated.