IBM Global Business Services
Adding Structures
Adding Structures | Dec-2008 © IBM Corporation 2013
IBM Global Business Services
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.
2 Adding Structures | Dec-2008 © IBM Corporation 2013
IBM Global Business Services
Including Structures in Tables
Structure is a group of fields that logically belong together.
Customer Tables SAP Tables
Customizing Includes
Substructures
Table YCUSTAB Table XYZ
.INCLUDE CI_XXX
.INCLUDE YSTRUC
Append Structures
Table T
Field 1 .APPENDZAT
Field 2
...
Field n
SAP Tables
3 Adding Structures | Dec-2008 © IBM Corporation 2013
IBM Global Business Services
Including Structures in Tables (Contd.)
Structure is a group of fields that logically belong together.
Customer Tables SAP Tables
Customizing Includes
Substructures
Table YCUSTAB Table XYZ
.INCLUDE CI_XXX
.INCLUDE YSTRUC
Append Structures
Table T
Field 1 .APPENDZAT
Field 2
...
Field n
SAP Tables
4 Adding Structures | Dec-2008 © IBM Corporation 2013
IBM Global Business Services
Substructure
YS YS-F1 YS-F2 YS-F3...
Table Field Data element
YT1 S1
(TRANSP) S2
F1 .INCLUDE YS
Table Field Data element
YT2 S1
(TRANSP) S2
F1 .INCLUDE YS
5 Adding Structures | Dec-2008 © IBM Corporation 2013
IBM Global Business Services
Customizing Include
CI_XXX CI_XXX-F1 CI_XXX-F2 CI_XXX-F3
Table Field Data element
XYZ S1
F1
...
Fn
.INCLUDE CI_XXX
6 Adding Structures | Dec-2008 © IBM Corporation 2013
IBM Global Business Services
Append Structure
ZAT ZAT-F1 ZAT-F2 ZAT-F3
Table Field Data element
T S1
F1
...
Fn
.APPEND ZAT
7 Adding Structures | Dec-2008 © IBM Corporation 2013
IBM Global Business Services
Demonstration
Creation of a substructure and adding the same to one of the transparent tables
created in the previous exercises.
8 Adding Structures | Dec-2008 © IBM Corporation 2013
IBM Global Business Services
Practice
Creation of a substructure and adding the same to one of the transparent tables
created in the previous exercises.
9 Adding Structures | Dec-2008 © IBM Corporation 2013
IBM Global Business Services
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 those were not provided for in the standard version.
10 Adding Structures | Dec-2008 © IBM Corporation 2013
IBM Global Business Services
Questions
What is a Structure ?
What is a Customizing Include ?
How is the Append Structure functionality used ?
11 Adding Structures | Dec-2008 © IBM Corporation 2013