Download presentation
Presentation is loading. Please wait.
Published byDwain Hicks Modified over 8 years ago
1
LOGO BC430 ABAP Dictionary Unit 8 Search Help 、 Unit 7 Views
2
ABAP 楊子青 Dic2-2 1. Search Help
3
ABAP 楊子青 Dic2-3 Input Help Requirements
4
ABAP 楊子青 Dic2-4 Search Help (1) (2) 決定由哪個 table 或 view 找資料
5
ABAP 楊子青 Dic2-5 Search Help
6
ABAP 楊子青 Dic2-6 Selection Method of a Search Help
7
ABAP 楊子青 Dic2-7 Description of the Dialog Behavior
8
ABAP 楊子青 Dic2-8 Interface of a Search Help
9
ABAP 楊子青 Dic2-9 Search Help IMPORT (IMP) : screen 上的值會 作為一個限制條 件,加入到 search help 中 EXPORT (EXP) : 哪些欄位需要 返回值
10
ABAP 楊子青 Dic2-10 Search Help search help 可放至 1. Table field 2. check table 3. data element
11
ABAP 楊子青 Dic2-11 Search Help 若有好幾個 search help ,由左而右決 定優先順序 1 2 3
12
ABAP 楊子青 Dic2-12 Search Help 2. Collective search help : 把幾個 elementary search help 組合在一起
13
ABAP 楊子青 Dic2-13 View as Selection Method of a Search Help
14
ABAP 楊子青 Dic2-14 2. Views
15
ABAP 楊子青 Dic2-15 Example: Structure of a View
16
ABAP 楊子青 Dic2-16 (1) Join Condition 多餘的欄位
17
ABAP 楊子青 Dic2-17 (2) Field Selection (Projection)
18
ABAP 楊子青 Dic2-18 (3) Selection Condition
19
ABAP 楊子青 Dic2-19 How are Tables linked to Views?
20
ABAP 楊子青 Dic2-20 Structure of the View
21
ABAP 楊子青 Dic2-21 Data Selection with Views (Open SQL)
22
ABAP 楊子青 Dic2-22 Data Selection with Views You would get the same result using an Inner Join: SELECT C~CARRID C~CARRNAME P~CONNID P~CITYFROM P~CITYTO F~FLDATE F~SEATSMAX F~SEATSOCC INTO TABLE ITAB_FLIGHTS FROM ( SCARR AS C INNER JOIN SPFLI AS P ON C~CARRID = P~CARRID ) INNER JOIN SFLIGHT AS F ON F~CARRID = P~CARRID AND F~CONNID = P~CONNID WHERE CITYFROM IN SO_CITYF AND CITYTO IN SO_CITYT AND SEATSOCC < F~SEATSMAX ORDER BY C~CARRID P~CONNID F~FLDATE.
23
ABAP 楊子青 Dic2-23 Inner and Outer Join
24
ABAP 楊子青 Dic2-24 The Different Types and Usage of Views Database View are implement an inner join that is, only records of the primary table (selected via the join operation) for which the corresponding records of the secondary tables also exist are fetched. Maintenance View are implement an outer join Data from several tables can be summarized in a maintenance view and maintained collectively via this view. That is, the data is entered via the view and then distributed to the underlying tables by the system.
25
ABAP 楊子青 Dic2-25 2.1 Database Views
26
ABAP 楊子青 Dic2-26 Dynamic attachment of table fields in database views You can include entire tables in database views. In this case all the fields of the included table become fields of the view. If new fields are included in the table or existing fields are deleted, the view is automatically adjusted to this change. A new or deleted field is therefore automatically included in the view or deleted from it.
27
ABAP 楊子青 Dic2-27 Dynamic attachment of table fields in database views
28
ABAP 楊子青 Dic2-28 2.2 Maintenance Views Data that is distributed on more than one table often forms a logical unit (application object) The user usually is not interested in the technical implementation, such as the distribution of the data on several tables. You should be able to display, change and create the data of such an application object together. You can maintain complex application objects in a simple way using a maintenance view. The data is automatically distributed on the underlying database tables.
29
ABAP 楊子青 Dic2-29 2.2 Maintenance Views
30
ABAP 楊子青 Dic2-30 Maintenance view
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.