chapter 05_adding structures

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

Upload: prashant-adhikari

Post on 02-May-2017

222 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Chapter 05_Adding Structures

IBM Global Services

Adding Structures | 2.05 March-2005 © 2005 IBM Corporation

Adding Structures

Page 2: Chapter 05_Adding Structures

IBM Global Services

© 2005 IBM Corporation2 March-2005Adding 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.

Page 3: Chapter 05_Adding Structures

IBM Global Services

© 2005 IBM Corporation3 March-2005Adding Structures | 2.05

Including Structures in Tables

Table XYZ.INCLUDE CI_XXX

Table T.APPENDZAT

Append StructuresAppend Structures

Customizing Includes

Customer Tables SAP Tables

SAP Tables

Field 1Field 2...

Field n

Structure is a group of fields that logically belong together.

SubstructuresTable YCUSTAB

.INCLUDE YSTRUC

Page 4: Chapter 05_Adding Structures

IBM Global Services

© 2005 IBM Corporation4 March-2005Adding Structures | 2.05

Including Structures in Tables (Contd.)

Table XYZ.INCLUDE CI_XXX

Table T.APPENDZAT

Append StructuresAppend Structures

Customizing Includes

Customer Tables SAP Tables

SAP Tables

Field 1Field 2...

Field n

Structure is a group of fields that logically belong together.

SubstructuresTable YCUSTAB

.INCLUDE YSTRUC

Page 5: Chapter 05_Adding Structures

IBM Global Services

© 2005 IBM Corporation5 March-2005Adding Structures | 2.05

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

Table Field Data elementYT2 S1(TRANSP) S2

F1

Table Field Data elementYT1 S1(TRANSP) S2

F1 .INCLUDE YS

.INCLUDE YS

YS

Substructure

Page 6: Chapter 05_Adding Structures

IBM Global Services

© 2005 IBM Corporation6 March-2005Adding Structures | 2.05

CI_XXX

Table Field Data element

XYZ S1F1. . .Fn

.INCLUDE CI_XXX

CI_XXX-F1 CI_XXX-F2 CI_XXX-F3

Customizing Include

Page 7: Chapter 05_Adding Structures

IBM Global Services

© 2005 IBM Corporation7 March-2005Adding Structures | 2.05

ZAT-F1 ZAT-F2 ZAT-F3

Table Field Data element

T S1F1. . .Fn

.APPEND ZAT

ZAT

Append Structure

Page 8: Chapter 05_Adding Structures

IBM Global Services

© 2005 IBM Corporation8 March-2005Adding Structures | 2.05

Demonstration

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

Page 9: Chapter 05_Adding Structures

IBM Global Services

© 2005 IBM Corporation9 March-2005Adding Structures | 2.05

Practice

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

Page 10: Chapter 05_Adding Structures

IBM Global Services

© 2005 IBM Corporation10 March-2005Adding Structures | 2.05

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.

Page 11: Chapter 05_Adding Structures

IBM Global Services

© 2005 IBM Corporation11 March-2005Adding Structures | 2.05

Questions

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