5 Table Enhancements
-
Upload
dsgurushantha -
Category
Documents
-
view
4 -
download
0
description
Transcript of 5 Table Enhancements
![Page 1: 5 Table Enhancements](https://reader036.fdocuments.us/reader036/viewer/2022082708/563dbad4550346aa9aa86c61/html5/thumbnails/1.jpg)
1
Table Enhancements By
Dharmaraj M
![Page 2: 5 Table Enhancements](https://reader036.fdocuments.us/reader036/viewer/2022082708/563dbad4550346aa9aa86c61/html5/thumbnails/2.jpg)
2
Definition Add fields to a (SAP dictionary)
table without modifying it.
![Page 3: 5 Table Enhancements](https://reader036.fdocuments.us/reader036/viewer/2022082708/563dbad4550346aa9aa86c61/html5/thumbnails/3.jpg)
3
Table Appends. Customer Includes. Append Structures (and of course differentiating between Append and CI
include)
Objectives
![Page 4: 5 Table Enhancements](https://reader036.fdocuments.us/reader036/viewer/2022082708/563dbad4550346aa9aa86c61/html5/thumbnails/4.jpg)
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](https://reader036.fdocuments.us/reader036/viewer/2022082708/563dbad4550346aa9aa86c61/html5/thumbnails/5.jpg)
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](https://reader036.fdocuments.us/reader036/viewer/2022082708/563dbad4550346aa9aa86c61/html5/thumbnails/6.jpg)
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](https://reader036.fdocuments.us/reader036/viewer/2022082708/563dbad4550346aa9aa86c61/html5/thumbnails/7.jpg)
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](https://reader036.fdocuments.us/reader036/viewer/2022082708/563dbad4550346aa9aa86c61/html5/thumbnails/8.jpg)
8
Append Structures
As an example we will see how we can append a
structure to Table ‘SFLIGHT’
![Page 9: 5 Table Enhancements](https://reader036.fdocuments.us/reader036/viewer/2022082708/563dbad4550346aa9aa86c61/html5/thumbnails/9.jpg)
9
Append Structures
Enter table name
SFLIGHT and say display
![Page 10: 5 Table Enhancements](https://reader036.fdocuments.us/reader036/viewer/2022082708/563dbad4550346aa9aa86c61/html5/thumbnails/10.jpg)
10
Append Structures
Click Append
structure from
menu
![Page 11: 5 Table Enhancements](https://reader036.fdocuments.us/reader036/viewer/2022082708/563dbad4550346aa9aa86c61/html5/thumbnails/11.jpg)
11
Append Structures
Click Continue
![Page 12: 5 Table Enhancements](https://reader036.fdocuments.us/reader036/viewer/2022082708/563dbad4550346aa9aa86c61/html5/thumbnails/12.jpg)
12
Append Structures
Give a Valid Development class save
and generate it
![Page 13: 5 Table Enhancements](https://reader036.fdocuments.us/reader036/viewer/2022082708/563dbad4550346aa9aa86c61/html5/thumbnails/13.jpg)
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](https://reader036.fdocuments.us/reader036/viewer/2022082708/563dbad4550346aa9aa86c61/html5/thumbnails/14.jpg)
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](https://reader036.fdocuments.us/reader036/viewer/2022082708/563dbad4550346aa9aa86c61/html5/thumbnails/15.jpg)
15
CI includes
![Page 16: 5 Table Enhancements](https://reader036.fdocuments.us/reader036/viewer/2022082708/563dbad4550346aa9aa86c61/html5/thumbnails/16.jpg)
16
CI includes (eg…..)
![Page 17: 5 Table Enhancements](https://reader036.fdocuments.us/reader036/viewer/2022082708/563dbad4550346aa9aa86c61/html5/thumbnails/17.jpg)
17
Table Enhancements..?
The End