Creating the first program in ABAP is easy. First you need to create a user account using transaction SU01. You can also ask the SAP basis person to create a user account for you with the appropriate authorizations. Also a developer key needs to be generated this can be taken care by the basis person. The first program should be created with the following things in mind. It should be simple, and should run as quickly as possible. It should familiarize you with all the steps involved in creating any ABAP report as it is called.
Steps to create a simple program in ABAP. 1) Login to SAP. 2) Enter the transaction code SE38 as shown in the figure. 3) Hit enter. You will then be taken to the ABAP Editor initial screen.
Enter the name starting with Y or Z as shown below. Let the source code radio button be selected and then press create.
See the attributes dialog box below.
Click on Save
Enter $tmp in development class and click on save button
Always use Pretty Printer and Extended Program Check before releasing the code.
Do not leave unused code in the program. Comment the code thoroughly. Align the comments and the Code. Follow the SAP Standards and SAP Best Practices guidelines. It’s a good practice to take a dump of the code on your local drive.