You are on page 1of 11

IBM Global Services

Adding Structures

Adding Structures | 2.05 March-2005 © 2005 IBM Corporation


IBM Global 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 | 2.05 March-2005 © 2005 IBM Corporation


IBM Global 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 | 2.05 March-2005 © 2005 IBM Corporation


IBM Global 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 | 2.05 March-2005 © 2005 IBM Corporation


IBM Global Services

Substructure

YS YS-F1 YS-F2 YS-F3...

Table Field Data element


YT1 S1
(TRANSP) S2

.INCLUDE YS
F1

Table Field Data element


YT2 S1
(TRANSP) S2

.INCLUDE YS
F1

5 Adding Structures | 2.05 March-2005 © 2005 IBM Corporation


IBM Global Services

Customizing Include

CI_XXX CI_XXX-F1 CI_XXX-F2 CI_XXX-F3

Table
Table Field
Field Data
Data element
element

XYZ
XYZ S1
S1
F1
F1
.. .. ..
Fn
Fn

.INCLUDE CI_XXX

6 Adding Structures | 2.05 March-2005 © 2005 IBM Corporation


IBM Global Services

Append Structure

ZAT ZAT-F1 ZAT-F2 ZAT-F3

Table Field Data element

T S1
F1
...
Fn
.APPEND ZAT

7 Adding Structures | 2.05 March-2005 © 2005 IBM Corporation


IBM Global Services

Demonstration

 Creation of a substructure and adding the same to one of the transparent tables
created in the previous exercises.

8 Adding Structures | 2.05 March-2005 © 2005 IBM Corporation


IBM Global Services

Practice

 Creation of a substructure and adding the same to one of the transparent tables
created in the previous exercises.

9 Adding Structures | 2.05 March-2005 © 2005 IBM Corporation


IBM Global 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 that were not provided for in the standard version.

10 Adding Structures | 2.05 March-2005 © 2005 IBM Corporation


IBM Global Services

Questions

 What is a Structure ?
 What is a Customizing Include ?
 How is the Append Structure functionality used ?

11 Adding Structures | 2.05 March-2005 © 2005 IBM Corporation

You might also like