Video Lesson 2.9: ABAP Exercise: Flight Information Report

Learn ABAP

Video Lesson 2.9: ABAP Exercise: Flight Information Report

This exercise marks the end of the lesson. You should now be able to create an ABAP report. Follow this example as I create a report that shows flight information.

Your assignment is to:

  • Create a program to list all related flight information.
  • Assign a transaction in the SAP easy access menu Favorites.
  • Organize the objects inside a package and release the development for transportation.

Video Lesson 2.7: How to add SAP Transactions to your Personal Favorites

Learn ABAP

Video Lesson 2.7: How to add SAP Transactions to your Personal Favorites

In this lesson you will learn how to create a transaction and add it to your personal favorites menu in the SAP initial screen.

Adding Transactions to your Personal Favorites

  1. Navigate to the initial screen (SAP Easy Access Menu).
  2. In the Favorites context menu, choose Insert Transaction.
  3. In the dialog box that appears, enter the required transaction code.

Closing Development Projects

  • Once a user has completed the required development task, he or she carries out a quality check and releases the task within the change request.
  • The corresponding object entries are transferred from the task to the request.
  • However, other developers can still edit these objects.
  • Once all tasks of a change request have been released the change request is released.
  • This concludes the project.

Video Lesson 2.6: Creating Transactions in SAP

Learn ABAP

Video Lesson 2.6: Creating Transactions in SAP

In this lesson you will learn how to create custom transactions.

Creating Transactions

You can start a program by entering the transaction code in the command field.

  1. In the Object Navigator, display the object list for your program.
  2. In the navigation area, use the context menu of the program to choose Create→ More → Transaction.
  3. Enter the required transaction code.
  4. Assign a short text and choose the label Program and Selection Screen (Report Transaction) .
  5. Enter the name of the program and choose Professional User Transaction.
  6. Under GUI enabled set the indicator SAP GUI for Windows.
  7. Save the transaction.
  8. Assign it to a package and to a change request.

Video Lesson 2.5: Developing a Program in ABAP

Learn ABAP

Video Lesson 2.5: Developing a Program in ABAP

In this lesson you will learn about the development of an ABAP program and the process it follows.

Developing an ABAP Program

Navigate to the Object Navigator.(Transaction SE80)
3 options are available:

  • In the navigation area, choose the object type Program and enter the name of the program in the      input field below.
  • Display the package where you want to create the program
  • Choose the Edit Object button on the initial screen of the Object Navigator

Change the title to a self-explanatory short text and choose Executable Program as the program type.

Activating Programs

  • Whenever you create a development object, or change and then save it, the system first stores only one inactive version in the Repository.
  • At the end of your development, you have to activate the inactive version of the object.
  • This version becomes the new active version of the object.
  • The request release and the transport of the developed objects are only possible if all objects in the request have been activated.
  • If your program is available in both versions (active and inactive), you can switch between the displays of these two versions.
  • Whenever you activate a program, the system first displays a list of all inactive objects that you have processed. This is called the worklist.

Video Lesson 2.4: Creating Packages -Part 2

Learn ABAP

Video Lesson 2.4: Creating Packages -Part 2

In this lesson you will learn how to create packages and assign a Repository object to a package

Creating Packages

  1. Navigate to the Object Navigator.
  2. Create the attributes of the package to be created.
  3. Assign the package to a change request.

Introduction to the ABAP Programming Language

  • Is typed
  • Enables multi-language applications
  • Enables SQL access
  • Has been enhanced as an object-oriented language
  • Is platform-independent
  • Is upward-compatible
  • ABAP programs are made up of individual statements.
  • The first word in a statement is called an ABAP keyword.
  • Words must always be separated by at least one space.
  • Each statement must end with a period.
  • Statements can be indented.
  • Statements can take up more than one line.
  • You can have multiple statements in a single line.
  • For indentations and for converting uppercase/lowercase letters, you can use the Pretty Printer (the correspondingly labeled button in the Editor).
  • Comment lines are introduced with an asterisk *. The code generator recognizes the corresponding line as a comment so that it will be ignored by the runtime system.
  • If you wish to have the rest of a line set as a comment, you must use double quotation marks ".

Video Lesson 2.3: Creating Packages Part 1

Learn ABAP

Video Lesson 2.3: Creating Packages Part 1

In this lesson you will learn how to create packages and assign a Repository object to a package.

Creating Packages

  1. Navigate to the Object Navigator.
  2. Create the attributes of the package to be created.
  3. Assign the package to a change request.

Introduction to the ABAP Programming Language

  • Is typed
  • Enables multi-language applications
  • Enables SQL access
  • Has been enhanced as an object-oriented language
  • Is platform-independent
  • Is upward-compatible
  • ABAP programs are made up of individual statements.
  • The first word in a statement is called an ABAP keyword.
  • Words must always be separated by at least one space.
  • Each statement must end with a period.
  • Statements can be indented.
  • Statements can take up more than one line.
  • You can have multiple statements in a single line.
  • For indentations and for converting uppercase/lowercase letters, you can use the Pretty Printer (the correspondingly labeled button in the Editor).
  • Comment lines are introduced with an asterisk *. The code generator recognizes the corresponding line as a comment so that it will be ignored by the runtime system.
  • If you wish to have the rest of a line set as a comment, you must use double quotation marks ".

Video Lesson 2.2: Developing Programs and Organizing Developments

Learn ABAP

Video Lesson 2.2: Developing Programs and Organizing Developments

In this lesson you will learn how to create programs, transaction codes and packages, and how to assign a Repository object to a package. You will also learn how development packages are implemented in the SAP environment using the ABAP Workbench.

Organizing Developments

Development projects are carried out in a development system. The development objects edited or created in a project are transported to subsequent systems (test and/or production system) on project completion.

  • At the start of a development project the project manager creates a change request in the Transport Organizer (Transaction SE01)
  • The Transport Organizer then creates a task for each developer in the change request.
  • When a development object is edited or created, the developer assigns this to the change request.
  • The object is entered into the task of the developer.
  • All repository objects that a developer works on during a project are collected within his or her task.

 

Video Lesson 2.1: SAP Object Navigator and Repository

Learn ABAP

Video Lesson 2.1: SAP Object Navigator and Repository

 

This lesson gives a short description of the Repository and a brief overview of
the most important components of the ABAP Workbench. It presents the Object
Navigator as a central development tool.

Introduction to the Repository

  • The Repository consists of all system development objects - programs, function modules, definitions of database tables, and so on.
  • In the Repository, you have objects delivered by SAP as well as objects defined by the customer.
  • The Repository is in the database
  • The Repository is subdivided according to application components. (Commonly known as ‘modules’)
  • Within a module (e.g., MM) there are several packages containing relevant objects for a more detailed logical subdivision.
  • Whenever a Repository object is created, it must be assigned to a package.

Working with the Object Navigator

  • The ABAP Workbench includes all tools required for creating and editing Repository objects.
  • These tools cover the entire software development cycle.

The most important tools are:

  • The ABAP Editor for editing source code
  • The ABAP Dictionary for editing database table definitions, central data types, and so on
  • The Screen Painter for configuring screens (screens together with functions for user dialogs)
  • The Menu Painter for designing user interfaces (menu bar, standard toolbar, application toolbar, function key settings)
  • The Function Builder for maintaining function modules
  • The Class Builder for maintaining global classes and interfaces

Video Lesson 1: SAP System Architecture and flow of a program

Learn ABAP

Video Lesson 1: SAP System Architecture and flow of a program

 

In this lesson you will learn how a simple dialog program is executed by the SAP NetWeaver Application Server.You will learn the architecture of the SAP NetWeaver Application Servers as well as the execution of ABAP programs.

System Architecture and ABAP program

The SAP Web Application Server has a modular architecture that follows the software-oriented client/server principle.

The lowest level is the database level. Here data is managed with the help of a relational database management system (RDBMS). This data includes, apart from application data, the programs and the metadata that the SAP System requires for self-management.

The ABAP programs run at the application server level, that is, both the
applications provided by SAP and the ones you develop yourself. The ABAP programs read data from the database, process the data, and possibly store data.

The third level is the presentation server level. This level contains the user interface where each user can access the program, enter new data, and receive the results of a work process.