Exercise (Chapter 10):
In this exercise, you will write a program to help you to understand selecting a unique record.
Objectives
After completing this exercise, you will be able to:
Understand how to select a single record from a table
Estimated time to complete this exercise: 45 minutes
Exercises
The following exercise provides practice working with the concepts learned in Chapter 10.
Exercise 1:
Name your program YIN014_XX. You are to create a program that generates a report with Academy Award information (from the YMOVIE table) for a specific year and category. The year and category should be entered as parameters. Define the year parameter “LIKE YMOVIE-AAYEAR” and the category parameter “LIKE YMOVIE-CATEGORY”.
The report should display the year, category, winner, and nominees for the specified year and category. If an entry does not exist, an appropriate message should be displayed. The report will contain information in the following YMOVIE fields: AAYEAR, CATEGORY, WINNER, NAME1, NAME2, NAME3, NAME4, NAME5. See the sample output to determine the contents and layout of the report. Refer to Program YIN014 for the solution.
Introduction to ABAP ABAP Exercises
Exercise
Chapter 10