Professional Documents
Culture Documents
01 - ABAP Dictionary
Exercise 01.01 - ABAP Dictionary
Note: USERID indicates your Intranet user-id. Truncate the intranet user-id if required.
Note: Use the above data elements and domains wherever applicable in the following exercise:
2)
i) Create a transparent table YUSERID_FUNC with the following fields:
a) Airline carrier id - Primary key
b) Employee function - Primary key
c) Area
ii) Design the table such that the field “Airline carrier id” can take only the following values:
a) AA
b) AI
c) LH
d) UA
ii) Maintain foreign key relationships for fields “Airline carrier id” and “Employee function”
using transparent table YUSERID_FUNC.
iii) Design the table such that the field “Employee number” can take values between 100 and
300 only.
- Page 1 of 2 -
Exercise 01.01 - ABAP Dictionary
a) Airline carrier id - Primary key
b) Employee function - Primary key, Check table-
YUSERID_FUNC
c) Employee's years of service - Primary key
d) Salary according to salary grade
e) Currency key
Ensure that only valid currency keys are entered.
8) Create a transparent table YUSERID_TEXT to maintain texts for Airline Carrier Ids, with the
following fields:
Maintain foreign key relationship between the table created in Question 2 and this table.
Populate the table with the following data:
9) Identify all the foreign key relationships between the transparent tables SBOOK, SPFLI and
SFLIGHT and map them. Draw relevant diagrams if required.
- Page 2 of 2 -