Table of contents | |
Hello ABAP | |
Using the ABAP Editor | |
Starting the Report | |
Viewing the Existing Code |
You can complete your first report by entering the WRITE statement below the REPORT statement, so that the complete report contains just two lines as follows −
REPORT ZHELLO1. WRITE
'Hello World'.
We can use the keyboard (Ctrl + S) or the save icon (right hand side beside the command field) to save the report. ABAP development takes place in AS ABAP.
Starting the report is as simple as saving it. Click the ACTIVATION button (left hand side next to the start icon) and start the report by using the icon DIRECT PROCESSING or the F8 function key. The title "My First ABAP Report" along with the output “Hello World” is displayed as well. Here is the output −
My First ABAP Report
Hello World
As long as you do not activate a new report or activate a change to an existing report, it is not relevant to their users. This is important in a central development environment where you may work on objects that other developers use in their projects.
If you look at the field Program and double-click on the value ZHELLO1, the ABAP editor will display the code for your report. This is called Forward Navigation. Double clicking on an object's name opens that object in the appropriate tool.
73 videos|68 docs
|
1. What is ABAP and its significance in software development? |
2. How can the ABAP Editor be used to write and edit ABAP code? |
3. What is the process of starting a report in ABAP? |
4. How can existing ABAP code be viewed and modified in the SAP environment? |
5. What are some common tasks that developers perform using SAP ABAP? |
|
Explore Courses for Software Development exam
|