step by step guide for creating first abap report in sap
DESCRIPTION
SAP ABAPTRANSCRIPT
STEP BY STEP GUIDE TO CREATE FIRST ABAP REPORT
Go to Transaction Code: SE80. Following " Object Navigator" screen is displayed.
Click on "Repository Browser". Select Program from the drop down and enter the program name as
ZHELLO WORLD and then click on display tab.
Then pop up message appears as in the above screenshot.
Click Yes to proceed and create Program ZHELLO WORLD as Program object.
On Clicking Yes, the below screenshot pop up message appears.
Uncheck " With Top Incl." in the above screen and then press green tick.
You are faced with below error.
TO fix above error, rename program name as ZHELLOWORLD in the above screen. Press Green tick.
Below screen appears
Click on Save. On clicking save, it takes to following screen as per below screenshot.
Click on Local object. Following screen appears with confirmation that the Program ZHELLOWORLD is
saved.
Double click the ZHELLOWORLD object name in the left half of the above screen. It then displays the
screen as below. It opens the ABAP editor.
Click on Display/Change button as in the below screenshot, to modify the code.
On click of change button, you get on the following screen.
Add following lines of code.
Write:\ HELLOWORLD
Click on "Activate" button.
Click green tick. Confirmation message is displayed as object activated.
Click Direct Processing button.
Upon execution, below output screen is displayed.
Examples of some more additional lines of write statements added to earlier written code as below.
If write: is followed by syntax '/', the remaining text is printed in the next line from the text in previous
write statement.
Output to above input screenshot on direct processing is as in below screenshot.
Good Morning is printed in the same line as Welcome to all because / is missing in that write statement.