Exercise (Chapter 3):
In this exercise, you will write your first ABAP code.
Objectives
After completing this exercise, you will be able to:
Understand various format options and syntax conventions
Estimated time to complete this exercise: 30 minutes
Exercises
The following exercise provides practice working with the concepts learned in Chapter 3.
Exercise 1:
Name your program YIN002_XX, where XX are the last two digits of your logon id. Create the following output. The date should appear under the time and the greeting should be centered. There should be no literals. Use text elements for the appropriate titles, headers, columns and text (use both text symbol methods). Take a moment to find out how the second text symbol method works by changing the text in literals. For example, change `The date today is:'(002) to `Hello, how are you?'(002) and see what happens. We won't be using text elements in any more of the exercises in order to focus on the new topics you will be learning, but please keep them in mind since they play such an important role in coding methodology. Refer to Program YIN002 in Development Class YINTRODUCTION for the solution.
Introduction to ABAP ABAP Exercises
Exercise
Chapter 3