17
1 Table Enhancements By Dharmaraj M

5 Table Enhancements

Embed Size (px)

DESCRIPTION

5 Table Enhancements

Citation preview

Page 1: 5 Table Enhancements

1

Table Enhancements By

Dharmaraj M

Page 2: 5 Table Enhancements

2

Definition Add fields to a (SAP dictionary)

table without modifying it.

Page 3: 5 Table Enhancements

3

Table Appends. Customer Includes. Append Structures (and of course differentiating between Append and CI

include)

Objectives

Page 4: 5 Table Enhancements

4

Table Enhancements

SAP AG

R

Table Enhancements

Field 1 Field 2 Field 3 FieldField A A FieldField B B

ABAP Dictionary

Append structureField BField AField 1 Field 2 Field 3

SAP table

Database

Customer fields

Page 5: 5 Table Enhancements

5

Types of Table Enhancements

SAP AG

R

Table Enhancements: SAP and the Customer

SAP Customer

Table enhancementTable Append structure

Table enhancementTable +Include statement CI_Include

Page 6: 5 Table Enhancements

6

Append Structures Do’s and Don'ts

• 1) You create and append structure within the customer name range ( i.e . They should begin with YY or ZZ or za)

• 2) You cannot create an append structure for pool and Cluster table.

• 3) If a table contains a long field (ex. LRAW) then it is not possible to expand it with an append structure since such fields must always be the last fields.

Page 7: 5 Table Enhancements

7

Append Structures Features of APPEND structures

• Append structures allow you to add fields to a table without modifying the table itself.

• It can be assigned only to one particular table. (you can have more than one structure per table).

• When copying tables the fields of the append structure also copied.

Page 8: 5 Table Enhancements

8

Append Structures

As an example we will see how we can append a

structure to Table ‘SFLIGHT’

Page 9: 5 Table Enhancements

9

Append Structures

Enter table name

SFLIGHT and say display

Page 10: 5 Table Enhancements

10

Append Structures

Click Append

structure from

menu

Page 11: 5 Table Enhancements

11

Append Structures

Click Continue

Page 12: 5 Table Enhancements

12

Append Structures

Give a Valid Development class save

and generate it

Page 13: 5 Table Enhancements

13

Append Structures

Select back from the menu you come

back to the main table and see the append

structure included

there

Page 14: 5 Table Enhancements

14

CI includes

CI includes can be used in multiple tables

SAP must give a provision in the database for the inclusion (begins with CI_….)

Page 15: 5 Table Enhancements

15

CI includes

Page 16: 5 Table Enhancements

16

CI includes (eg…..)

Page 17: 5 Table Enhancements

17

Table Enhancements..?

The End