Sunteți pe pagina 1din 2

ABAP Lessons Outline

Prepared by J Kreie
New Mexico State University
Information for instructors:

CLIENT. This series of lessons uses an SAP client based on an ERPsim client that has data from the
completion of the simulation. The tables in this client are populated with data from day-to-day
operations of the muesli companies. Currently, this is a special client available at CSU Chico. The
regular IDES client could be used for most of the lessons but some of the criteria in the last few lessons
would need to change because of differences in data for materials, customers, etc.

DATA. If you have a fresh copy of the ERPsim client, you may need to populate the flight tables with
data. Log in as the instructor/administrator and follow these steps:
1. Open the ABAP Editor (SE38). Access SAPBC_DATA_GENERATOR program source code
2. Execute the code with Direct Processing (F8).
3. Accept the the default option--Standard Data Record--on the Create Data for Flight Data Model
screen and select the Execute (F8) option.
4. Click on the Yes button when a warning message is displayed about deleting old entries and
regenerating them.
5. Open the Data Browser (SE16) to confirm that the Flight Model Tables have been populated. Look
at: SPFLI = 26 records, SFLIGHT = 400 records, SBOOK = 98830 records

001

STUDENT CODE. You will need to assign a 4-letter code for each student to use when naming
programs, tables, etc. For example, you might use JKRA for Jack Kramer or use part of the class prefix
plus students initials: ISJK. You can make the code more than 4 letters but dont make it too long,
probably 4-6 is best. The lessons are written with the assumption that each student has a 4-letter code
to use.
ABAP Workbench: Introduction

Prerequisite knowledge for this series of lessons


Introduction to SAP and ABAP
Some general SAP terms to know

002

Logging on to SAP

005

ABAP Workbench: Creating a program

010

ABAP Workbench: More Basics

015

Create a request
Create a package (formerly a development class)
Create a program
Save, check, activate
Pretty Printer

Copy and modify a program


Create an input parameter
Create text symbols
Create translations
Set the selection text to display for parameters
Create a transaction code
ABAP Tables and Structures
Page 1 of 2

ABAP Lessons Outline


Prepared by J Kreie
New Mexico State University

017

Tables and structures (work area)


Flight database (tables oftens used in SAP training)
Data Modeler
Create a program that processes data in tables
o Parameters, types and data
o Processing section
ABAP Dictionary
ABAP Dictionary: Tables, Data Elements and Domains

020

Explanation of domains and data elements


Create domains
Create data elements
Create tables
Tables and Data

025

Add/View data in tables


Selection-Screen
Database concepts: Domain value range versus reference table
Add text for selection text and text symbols
A few comments about creating tables in SAP
ABAP Functions and More ABAP code

028

Create a table for tracking customer report usage


See where something is used within the ABAP environment (where-used)
Create a function module
Use the Pattern template to write the code to call a function
o Call a predefined function for generating IDs.
Use the function all in report programs
Create a program that calls other programs
ABAP List Viewer (ALV) Grid Display

030

Use a date range input by the user to restrict the data selected.
Use the ALV grid display for the custom report usage table.
ABAP List Viewer (ALV) Grid More

Use Select-Options feature for enter one value or a range of values for a field in the input screen.
Use the ALV grid display for a standard SAP table.

Page 2 of 2