You are on page 1of 3

ABAP Programming Projects Project Management and Documentation General All project files should be saved on a regular basis

in your project folder on t he network. Normally you should have a project folder for the course with subfo lders for each project. Use the download utility in ABAP workbench to download your work from SAP. All programs should have a program header similar to the following. *-----------------------------------------------------------------------------------------------* *Project XX Airplane Data *Programmer: Your Name *Date: 09/15/2003 *Program: Zfmln_L1A_hello_world *Description: This program generates a list of the data that is in the table SP FLI *-----------------------------------------------------------------------------------------------* Note that all program names start with a Z. The next 3-4 characters are your in itials/dana account. Next is the Project ID. Last is some name that identifies the program function. *----------------------------------------------------------------------------------------------* * Document major sections of your program with blocks similar to this * You can use dash, solid or other types of lines to form the block *----------------------------------------------------------------------------------------------* * You can use single comment lines like this and inline comments using * to document a statement or groups of statements. Submitting projects Submit a copy of the source code and examples of executions. Examples of execut ions should demonstrate testing of more than one scenario. Test both friendly a nd unfriendly use to the extent that you program for unfriendly scenarios. Network Drive Set up a folder for this course on your network drive. The folder name should h ave the course number in it. Save your source to this folder as backup. ABAP Projects Project - L1A Hello World Project Objectives: Become familiar with ABAP workbench, SAP Environment, and t he mechanics of building and testing a program. Project Requirements: 1) Enter the Hello World program from Keller p26 2) Test and show the result. Project - L1B Airline Database

Project Objectives: Become familiar with the tables, data, and table relationsh ips used in the airline database. Project Requirements: 1) Capture a graphic that contains the ER diagram for most of the entities in the airline database 2) Capture data element definitions for sflight, spfli and sbook. 3) Write a list program to obtain a listing of sflight. Download this list to a spreadsheet. 4) Write a list program to obtain a listing of spfli. Download this list t o a spreadsheet. 5) Write a list program to obtain a listing of sbook. Optional - Download this list to a spreadsheet. This file is rather large. 6) Look at the content of sbook using the list in the data dictionary. Cap ture a screen showing the initial rows. Notes: 1) Use Data Modeler on Tools Workbench Development. Look up models startin g with BC. Put in BC* and use the drop down to get a list. 2) Use BC_Travel and graphic ICON to view the entire model. 3) Use data dictionary in SE80 or SE85 to look at specific tables, structur e and content. Note the icons for graphic, list and definition. 4) Use /n to get back to initial menu or /nse85 to go direct to SE85

Project L10A

Create an Airplane Class

Program Objectives: The purpose of this project is to give you some experience in building a class using ABAP objects. Project Requirements: 1) Create an airplane class with the attributes airplane ID, airplane type and gate size. Define methods constructor and display airplane. The constructor method increments the static variable no_of_airplanes and loads the instance att ributes with values. 2) Create a database class with the attributes airplane ID, airplane type, gate size, first class seats, coach rows and coach seats and the method get airp lane. 3) Create a test program with a selection screen that accepts an airplane I D. 4) Create an instance of the database class. 5) Create an instance of the airplane class using the get airplane method b ased on the airplane ID. Project L10B Create an Airplane Sub Classes

Program Objectives: The purpose of this project is to give you some experience in building sub classes using ABAP objects. The sub classes will demonstrate in heritance and polymorphism. Project Requirements: 1) Create a Turbo subclass that inherits from the airplane class. 2) The Turbo subclass has one attribute passenger capacity. 3) The Turbo subclass has a constructor method and a display capacity metho d. 4) The constructor method uses the super constructor in airplane and loads the turbo instance attributes. 5) Create a Jet subclass that inherits from the airplane class.

6) The Jet subclass has the attributes first class seats, coach rows and co ach seats. 7) The Jet subclass has a constructor method and a display capacity method. Capacity for the jet is first class + ( coach rows * coach seats ). 8) The constructor method uses the super constructor in airplane and loads the Jet instance attributes.

You might also like