You are on page 1of 11

IBM Global Services

Adding Structures

Adding Structures |

Dec-2008

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.

Adding Structures |

Dec-2008

2005 IBM Corporation

IBM Global Services

Including Structures in Tables


Structure is a group of fields that logically belong together.

Customer Tables
Substructures
Table YCUSTAB
.INCLUDE

YSTRUC

SAP Tables
Customizing Includes
Table XYZ
.INCLUDE
CI_XXX

Append Structures
Field 1
Field 2
...
Field n

Adding Structures |

Table T
.APPENDZAT

SAP Tables

Dec-2008

2005 IBM Corporation

IBM Global Services

Including Structures in Tables (Contd.)


Structure is a group of fields that logically belong together.
Customer Tables
Substructures
Table YCUSTAB
.INCLUDE

YSTRUC

SAP Tables
Customizing Includes
Table XYZ
.INCLUDE
CI_XXX

Append Structures
Field 1
Field 2
...
Field n

Adding Structures |

Table T
.APPENDZAT

SAP Tables

Dec-2008

2005 IBM Corporation

IBM Global Services

Substructure
YS
Table
YT1
(TRANSP)

Field
S1
S2

Table
YT2
(TRANSP)

Field
S1
S2
F1

YS-F2

YS-F3...

Data element

.INCLUDE

F1

YS-F1

.INCLUDE

Adding Structures |

YS

Data element

YS

Dec-2008

2005 IBM Corporation

IBM Global Services

Customizing Include

CI_XXX CI_XXX-F1 CI_XXX-F2 CI_XXX-F3

Table
Table

Field
Field

XYZ
XYZ

S1
S1
F1
F1
.. .. ..
Fn
Fn
.INCLUDE

Data
Data element
element

CI_XXX

Adding Structures |

Dec-2008

2005 IBM Corporation

IBM Global Services

Append Structure

ZAT

Table

Field

S1
F1
...
Fn
.APPEND

ZAT-F1

ZAT-F2

ZAT-F3

Data element

ZAT

Adding Structures |

Dec-2008

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.

Adding Structures |

Dec-2008

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.

Adding Structures |

Dec-2008

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

10

Adding Structures |

Dec-2008

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 |

Dec-2008

2005 IBM Corporation

You might also like