Presentation is loading. Please wait.

Presentation is loading. Please wait.

SAP’s Data Dictionary Learning to use it effectively FSS Technical Peer Group Meeting Wednesday November 13, 2002 Carolyn Fuller.

Similar presentations


Presentation on theme: "SAP’s Data Dictionary Learning to use it effectively FSS Technical Peer Group Meeting Wednesday November 13, 2002 Carolyn Fuller."— Presentation transcript:

1 SAP’s Data Dictionary Learning to use it effectively FSS Technical Peer Group Meeting Wednesday November 13, 2002 Carolyn Fuller

2 11/13/2002 FSS Technical Peer Group Meeting 2 Introduction To know an application is to know its data Data dictionary holds key to performance Data dictionary tools reduce custom programming

3 11/13/2002 FSS Technical Peer Group Meeting 3 Agenda The SAP Data Model Data Filtration SAP Indexes Building Custom Tables/Simple Apps

4 11/13/2002 FSS Technical Peer Group Meeting 4 Vocabulary Relational Database Indexes Unique Index Primary Key Foreign Key (Check Table) One-to-Many Relationship Recursive Relationship Client Dependent View Cluster

5 11/13/2002 FSS Technical Peer Group Meeting 5 The Data Model ZSDBHEAD PRIME_CONTRACT ZSDBLINE PRIME_CONTRACT MATERIAL PRPS PSPNR STUFE FAKKZ BKPF BUKRS BELNR GJAHR BSEG BUKRS BELNR GJAHR BUZEI KNA1 KUNNR KNB1 BUKRS KUNNR BSIDBSAD BUKRS KUNNR.. BUKRS KUNNR..

6 11/13/2002 FSS Technical Peer Group Meeting 6 The SAP Data Model Transactional Data One-to-Many –One header row to many line items Master Data One-to-Many –One master to many company code masters –One master to many transaction line items Recursive data –One parent to many children & grandchildren

7 11/13/2002 FSS Technical Peer Group Meeting 7 Line Items Report Example Headers

8 11/13/2002 FSS Technical Peer Group Meeting 8 “One” Should be Driver All the WBS (billable and non-billable) Each WBS looks up its parent Billable WBS Billable WBS finds children, grandchildren

9 11/13/2002 FSS Technical Peer Group Meeting 9 Recursive Relationship Billing Element

10 11/13/2002 FSS Technical Peer Group Meeting 10 PRHI - WBS Edges WBSProjectUPDOWNLEFTRIGHT 6900000 6900054 69000276900000 69000286900037xxxxxxx 6900028690000069000276900040 6900029690000069000286900030 6900000690002869000406900029 69000376900000 690003869000546900027 6900038690000069000376900039 69000006900038 6900040690000069000286900030 69000546900000 69000556900037 690005569000006900054

11 11/13/2002 FSS Technical Peer Group Meeting 11 Filtering Data Billing Example Move filter to beginning of program

12 11/13/2002 FSS Technical Peer Group Meeting 12 Filtering Data MM Example Unfiltered Filtered

13 11/13/2002 FSS Technical Peer Group Meeting 13 SAP Indexes Primary Key Secondary Indexes Secondary Index Tables Foreign Key

14 11/13/2002 FSS Technical Peer Group Meeting 14 Secondary Index Table Secondary Indexes Foreign Key’s Check Table Foreign Key Primary Key & Unique Index Client

15 11/13/2002 FSS Technical Peer Group Meeting 15 BSID’s Secondary Indexes Unique flag BSID-1 Index for logical database

16 11/13/2002 FSS Technical Peer Group Meeting 16 Recursive Resolution Table Check Tables Foreign Keys

17 11/13/2002 FSS Technical Peer Group Meeting 17 BKPF Primary & Foreign Keys Primary Key Primary Key with Foreign Key Table Fields

18 11/13/2002 FSS Technical Peer Group Meeting 18 COVP Useful Secondary Index WBS 4579002

19 11/13/2002 FSS Technical Peer Group Meeting 19 COVP Primary & Foreign Keys Primary Key Primary Key with Foreign Key Foreign KeysTable Fields

20 11/13/2002 FSS Technical Peer Group Meeting 20 Additional Useful Indexes http://fuller.mit.edu/SAPDocs/indexes.htm

21 11/13/2002 FSS Technical Peer Group Meeting 21 Building Custom Tables Create Header Table Create Line Item Table Create Maintainable Views for Header & Items SE54 - Extended Table Maintenance for Views Program & Activate Event User Exits –Data validations SE54 - Create View Cluster SM34 - Maintain View Cluster –SF8 View Cluster name is ZSDBLINE_VC

22 11/13/2002 FSS Technical Peer Group Meeting 22 Create Header Table Client Search help can be attached to Field or Field type Custom field type allows custom documentation

23 11/13/2002 FSS Technical Peer Group Meeting 23 Custom Search Help Defined in Data type Function Module Will display contract # and customer PO Defined in Search help

24 11/13/2002 FSS Technical Peer Group Meeting 24 Custom Field Documentation Defined in Data type

25 11/13/2002 FSS Technical Peer Group Meeting 25 Create Line Item Table Foreign Key’s Check Table Foreign Key

26 11/13/2002 FSS Technical Peer Group Meeting 26 Create Maintainable View Not the default!

27 11/13/2002 FSS Technical Peer Group Meeting 27 View Fields Maintenance Attribute (MF) Header fields - S will be read only on line items

28 Extended Table Maintenance SE54 - Generated Objects Maintainable View

29 11/13/2002 FSS Technical Peer Group Meeting 29 Create an Include via SE38

30 11/13/2002 FSS Technical Peer Group Meeting 30 Modify Function Pool SAPLfunction_group Uncomment

31 11/13/2002 FSS Technical Peer Group Meeting 31 Modify Lfunction_groupFXX SE80 - Function group

32 Events SE54 -> Environment -> Events

33 Create View Cluster SE54 -> Edit viewcluster

34 11/13/2002 FSS Technical Peer Group Meeting 34 Object structure

35 11/13/2002 FSS Technical Peer Group Meeting 35 Generated Field Dependences Header - ZSDBHEAD_V

36 11/13/2002 FSS Technical Peer Group Meeting 36 Generated Field Dependences Header - ZSDBLINE_V

37 11/13/2002 FSS Technical Peer Group Meeting 37 View Cluster - Line Items SM34 Header Line Items

38 11/13/2002 FSS Technical Peer Group Meeting 38 Summary Know your program “driver” –Find the “One” in the application data model Filter the data early in the program Know the indexes available in an area –If you can’t use the primary index there are usually other indexes Use the SAP supplied tools when possible

39 11/13/2002 FSS Technical Peer Group Meeting 39 Where to Get More Information BC430 ABAP Dictionary –Tomorrow in Waltham (11/14 - 11/15) –January 9 - 10, 2003 Waltham My personal favorite, the book –Object-Oriented Systems Analysis - Modeling the World of Data by Sally Shlaer & Stephen Mello Available, used on www.amazon.com


Download ppt "SAP’s Data Dictionary Learning to use it effectively FSS Technical Peer Group Meeting Wednesday November 13, 2002 Carolyn Fuller."

Similar presentations


Ads by Google