Professional Documents
Culture Documents
ABAP Projects
ABAP Projects
General All project files should be saved on a regular basis in your project folder on the network. Normally you should have a project folder for the course with subfolders 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 "" # Airplane $ata Programmer% &our Name $ate% '()*+),''Program% .fmln/0*A/hello/world $escription% 1his program generates a list of the data that is in the table SP203 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Note that all program names start with a .. 1he ne4t -!5 characters are your initials)dana account. Ne4t is the Project 3$. 0ast is some name that identifies the program function. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! $ocument major sections of your program with blocks similar to this &ou can use dash6 solid or other types of lines to form the block !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! &ou can use single comment lines like this and inline comments using 7 to document a statement or groups of statements. Submitting projects Submit a copy of the source code and e4amples of e4ecutions. 84amples of e4ecutions should demonstrate testing of more than one scenario. 1est both friendly and unfriendly use to the e4tent that you program for unfriendly scenarios. Network Drive Set up a folder for this course on your network drive. 1he folder name should have the course number in it. Save your source to this folder as backup.
-9 Accept a date from the screen 59 Add6 subtract6 multiply and divide some combination of numbers. +9 $isplay the results =9 >ompare two numbers6 display messages on D6 E 6 and F G9 Set up a $o loop to add numbers from * to one of the integer inputs. B9 $isplay the amount (9 @btain the starting position of where one string starts in another string. *'9 >oncatenate two strings and display **9 $etermine how old you are by using the input date and todayHs date *,9 $isplay in years Cdecimal9 and in days
Project L)A ' #verview List Program using AL* +List *iewer,
Project #bjective& @btain an overview of the ABAP programming environment using screens6 list and objects. Project $e%uirements& *9 Study6 enter and run the program starting on page -* of <eller. ,9 @btain source listing6 screen shots and output Notes% *9 1his project is a little advanced6 but it will give you some perspective of some of the overall framework of ABAP programming.
59 Set up the print routine in the program as an internal subroutine that you perform.
*9 ;rite a program to upload data from 84cel using function module A0SA/8">80/1@/3N18?NA0/1AB08 and the spreadsheet downloaded from sflight. ,9 >reate an internal table and load the data from the upload into the internal table by row. -9 Print the internal table.