step by step guide for creating first abap report in sap

9
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.

Upload: nityaabap

Post on 25-Dec-2014

1.028 views

Category:

Career


5 download

DESCRIPTION

SAP ABAP

TRANSCRIPT

Page 1: Step by Step guide for creating first ABAP report in SAP

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.

Page 2: Step by Step guide for creating first ABAP report in SAP

Uncheck " With Top Incl." in the above screen and then press green tick.

You are faced with below error.

Page 3: Step by Step guide for creating first ABAP report in SAP

TO fix above error, rename program name as ZHELLOWORLD in the above screen. Press Green tick.

Below screen appears

Page 4: Step by Step guide for creating first ABAP report in SAP

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.

Page 5: Step by Step guide for creating first ABAP report in SAP

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.

Page 6: Step by Step guide for creating first ABAP report in SAP

On click of change button, you get on the following screen.

Add following lines of code.

Write:\ HELLOWORLD

Click on "Activate" button.

Page 7: Step by Step guide for creating first ABAP report in SAP

Click green tick. Confirmation message is displayed as object activated.

Page 8: Step by Step guide for creating first ABAP report in SAP

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.

Page 9: Step by Step guide for creating first ABAP report in SAP

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.