Tutorial Downloads .com

Home

ABAP Workbench Tutorial

This tutorial introduces you to the tools in the ABAP Development Workbench. The Workbench contains the tools you use to create an ABAP application. The tutorial contains six lessons. These lessons are intended to introduce you to the concepts of creating an application with the Development Workbench. After you complete the lessons, you should have a good understanding of the role each tool takes in the application development process.

Contents

BC ABAP Workbench Tutorial...................................................................................... 6

BC ABAP Workbench Tutorial ....................................................................................................................7

Note to the Reader ......................................................................................................................................8

About the Tutorial .......................................................................................................................................9

Prerequisites..............................................................................................................................................11

Terminology...............................................................................................................................................12

A Word About Interfaces ...........................................................................................................................13

Choosing Names for SAP Objects............................................................................................................14

Learning More............................................................................................................................................15

Lesson 1: Understanding the Workbench Tools ....................................................................................16

Introduction to Lesson 1 ...........................................................................................................................17

Exercise 1: Opening the Workbench........................................................................................................18

Exercise 2: Learning the Workbench Tools ............................................................................................19

Exercise 3: Navigating an Object List ......................................................................................................21

Exercise 4: Creating a Program................................................................................................................22

Exercise 5: Setting a Marker .....................................................................................................................24

Exercise 6: Creating a Transaction ..........................................................................................................25

Review of Lesson 1 ...................................................................................................................................26

Lesson 2: Working with Tables.................................................................................................................27

Introduction to Lesson 2 ...........................................................................................................................28

Exercise 1: Creating a Table Object .........................................................................................................30

Exercise 2: Specifying Table Fields .........................................................................................................31

Exercise 3: Defining Data Elements and Domains .................................................................................33

Exercise 4: Reusing Domains...................................................................................................................35

Exercise 5: Defining a Value List..............................................................................................................37

Exercise 6: Specifying Technical Settings ..............................................................................................38

Exercise 7: Activating a Table...................................................................................................................39

Review of Lesson 2 ...................................................................................................................................40

Lesson 3: Designing Screens ...................................................................................................................41

Introduction to Lesson 3 ...........................................................................................................................42

Exercise 1: Creating a Screen...................................................................................................................43

Exercise 2: Placing an Element on a Screen...........................................................................................44

Exercise 3: Refining a Screen...................................................................................................................46

Exercise 4: Checking the Screen Layout.................................................................................................48

Exercise 5: Setting the OK Field...............................................................................................................49

Review of Lesson 3 ...................................................................................................................................50

Lesson 4: Specifying a GUI Status...........................................................................................................51

Introduction to Lesson 4 ...........................................................................................................................52

Exercise 1: Create a GUI Status................................................................................................................53

Exercise 2: Add Menus to Your Interface ................................................................................................54

Exercise 3: Define Function Keys.............................................................................................................55

Exercise 4: Specify PushButtons .............................................................................................................56

Exercise 5: Finish Up ................................................................................................................................57

Review of Lesson 4 ...................................................................................................................................58

Lesson 5: Coding the Transaction ...........................................................................................................59

Introduction to Lesson 5 ...........................................................................................................................60

Exercise 1: Writing Flow Logic .................................................................................................................61

Exercise 2: Creating Modules ...................................................................................................................62

Exercise 3: Specifying Global Variables..................................................................................................63

Exercise 4: Coding the Modules...............................................................................................................64

Exercise 5: Creating a Message Class.....................................................................................................66

Exercise 6: Testing Your Transaction......................................................................................................67

Exercise 7: Running the Debugger...........................................................................................................68

Review of Lesson 5 ...................................................................................................................................69

Lesson 6: Working in a Team....................................................................................................................70

Introduction to Lesson 6 ...........................................................................................................................71

Exercise 1: Creating a Development Class .............................................................................................73

Exercise 2: Examining Change Request List ..........................................................................................74

Exercise 3: Adding Another Programmer................................................................................................75

Exercise 4: Creating a Program................................................................................................................76

Exercise 5: Releasing the Change Request ............................................................................................77

Review of Lesson 6 ...................................................................................................................................79

About the Tutorial

This tutorial introduces you to the tools in the ABAP Development Workbench. The Workbench

contains the tools you use to create an ABAP application.

The tutorial contains six lessons. These lessons are intended to introduce you to the concepts of

creating an application with the Development Workbench. After you complete the lessons, you

should have a good understanding of the role each tool takes in the application development

process.

ABAP Workbench Tutorial does not teach you how to program in ABAP. Learning More [Page

15] provides information about what you should read when you are done with this tutorial.

Where to Start

The tutorial lessons are designed to quickly acquaint you with the process of creating an

application with the Development Workbench. You are introduced to each of the Workbench

tools through the implementation of a single ABAP transaction. The transaction is a simplified

flight-reservation application. Because each lesson builds on information learned in the previous

lessons, you should work through the lessons in order. The following lessons are included:

_ Lesson 1: Understanding the Workbench Tools [Page 16]

introduces you to the tools found in the Workbench. You learn how to open and close the

Workbench. The chapter teaches you how to use the Object Browser tool. You learn how

to display both public and private object lists. Finally, you learn how to create both a

program object and a transaction.

_ Lesson 2: Working with Tables [Page 27]

introduces you to the SAP Data Dictionary tool. This lesson teaches you how to create a

table object. You learn what components make up a table. This lesson also teaches you

how to use the Workbench tools to release objects to everyone in your R/3 System.

_ Lesson 3: Designing Screens [Page 41]

teaches you how to use the Screen Painter tool. You use the tool to lay out screen

elements. You also learn how to refine a simple screen so that it has the look and feel of

a commercial interface.

_ Lesson 4: Specifying a GUI Status [Page 51]

uses the Menu Painter tool to define a GUI status. You use the Menu Painter to define

the tool bars in an application window. You learn how to specify menus, window titles,

and function keys.

_ Lesson 5: Coding the Transaction [Page 59]

teaches you how to complete a transaction by writing code with the ABAP Editor tool.

You learn how to create global variables and subprograms. You also use the Editor tool

to add messages to an existing program. You learn how to run your transaction. Finally,

you learn how to debug a program with the debugger.

_ Lesson 6: Working in a Team [Page 70]

teaches you how to use the Workbench Organizer tool. You learn how to set access to

objects during development and how to release program code to everyone in your R/3

system.

BC ABAP Workbench Tutorial SAP AG

10 April 2001

You can work through the lessons at your own pace. Each lesson begins with an overview of

what you will learn. Lessons are divided into exercises. You are given an opportunity to check

your work after each exercise. At the end of every lesson, you are provided with a review of what

you learned and a an overview of the next lesson.

Prerequisites

This tutorial is written for readers who are familiar with the R/3 System. You should have read

and understood the information contained in the Getting Started documentation. It helps if you

have some knowledge about using other areas of the R/3 system. Finally, you should have some

experience with ABAP, though in-depth knowledge is not required.

Before you can use the tutorial, you must:

_ Be able to log on to the R/3 system

If you are reading this tutorial online, you probably already have an SAP logon.

Otherwise, ask your R/3 system administrator for a user ID, a client, and a password.

Getting Started documentation supplies more information about requirements for an SAP

logon.

_ Have Release 3.0 of the R/3 System

If you are unsure about what version you are using, ask your system administrator.

_ Be working on a UNIX, Windows 95, or Windows NT platform

SAP’s graphical full screen editor runs only on UNIX, Windows 95, or Windows NT

platforms. With other platforms, you must use an alphanumeric full screen editor.

_ Have access to the SDW6 development class

If you are not sure whether this development class exists in your system, ask your

system administrator for confirmation.

Terminology

Getting Started with the ABAP Workbench tutorial assumes you are already familiar with how to

use the R/3 interface. If you are not, you should take the “Tour through the R/3 Window” in the

Getting Started documentation. This tutorial uses the following terminology:

Term Description

dialog box (or dialog) A window that the system displays on top of the application

window. Dialogs appear when the R/3

System needs more information from you or when it wants to give

you a message.

enter To type information in a field provided in a screen or in a dialog.

screen The arrangement of menus, buttons, and fields that appear in a

window. A single ABAP application might have several screens.

The title of a screen appears in the title bar.

choose A method for selecting options in the system using a mouse or

function key. How you choose an item in the R/3 system will

depend on the look and feel of your windowing system and the

type of mouse you have. If you are unfamiliar with how to choose

items in your environment, you should review the introductory

material that accompanied your system.

select An action that makes a radio button, list item, or text field active.

window A graphical object on your display that contains an application. In

the case of the lessons, the window contains the ABAP

application.

A Word About Interfaces

The Windows NT 3.5 interface version of the Development Workbench was used to produce the

screen captures you see in this tutorial. The pictures of screens and buttons in this tutorial is thus

the same as as they would in Windows NT 3.5 or Windows 3.1. If you are using another

interface, for example Motif or Windows 95, your screens will appear slightly different.

Regardless of your system’s look and feel, the procedures and examples in this tutorial work in

the same manner.

Introduction to Lesson 1

This lesson introduces you to the ABAP Development Workbench and the tools it contains. When

you have completed this lesson, you will be able to:

_ Identify concepts underlying the Workbench

_ Open the Workbench in the SAP window

_ Close the Workbench

_ Identify the Workbench tools and their functions

_ Navigate through a program

_ Create a new program

_ Create a new transaction

Before you continue with this lesson, be sure you have read the Note to the Reader [Page 8].

Workbench Concepts

You use the ABAP Development Workbench to create application programs. The Workbench is a

graphical programming environment [Ext.]. You access the programming tools using buttons,

dialogs, and windows that appear on your computer display. In the R/3 System, the parts of a

program a programmer creates are called development objects [Ext.].

Each ABAP application is either a transaction [Ext.] or a report [Ext.]. The example application

you create in this tutorial is a transaction. A transaction is an end-user application [Ext.].

Transactions retrieve data from users and then perform one or more relevant actions. For

example, an application that creates purchase orders is a transaction. Unlike transactions,

reports are applications that require little or no user interaction.

Underlying each transaction is a module pool [Ext.] program. Module pool is the term used to

describe the collection of ABAP language entities that drive a transaction.

  Read this full ABAP workbench Tutorial


Resource: http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCDWBTUT/BCDWBTUT.pdf
Posted By : Nisha
On date : 06.09.08

Most used SAP Tutorials

SAP MM Module PDF Tutorials
Here you can find some good pdf tutorials in MM Module.
Simple sap BADI example
In this link there is the procedure for DEFINING THE BADI,IMPLEMENTATION OF BADI DEFINITION and a sample program to use this badi method.
SAP BAPI COMPLETE LIST
BAPIs (Business Application Programming Interfaces) are the standard SAP interfaces. They play an important role in the technical integration and in the exchange of business data between SAP components, and between SAP and non-SAP components. BAPIs enable you to integrate these components and are therefore an important part of developing integration scenarios where multiple components are connected to each other, either on a local network or on the Internet. BAPIs allow integration at the business level, not the technical level. This provides for greater stability of the linkage and independence from the underlying communication technology
Difference Between BADI and User Exits
Business Add-Ins are a new SAP enhancement technique based on ABAP Objects. They can be inserted into the SAP System to accommodate user requirements too specific to be included in the standard delivery. Since specific industries often require special functions, SAP allows you to predefine these points in your software.
SAP BAPI COMPLETE LIST
List of complete BAPI's in SAP.
SAP BDC QUESTIONS & Answers
SAP BDC QUESTIONS & Answers .. What is full form of BDC Session? What are the steps in a BDC session? How do you find the information on the current screen? How do you save data in BDC tables? What is the last entry in all BDC tables? What is a multiple line field? How do you populate data into a multiple line field? What is the syntax for ‘CALL TRANSACTION’? Write the BDC table structure.
SAP MM-Functionality and Technical Configuration - Guide Book
Find out how to get the very most from your SAP MM implementation with this completely updated, comprehensive guide to SAP Materials Management (MM). Based on SAP ERP 6.0, this new edition of our bestseller provides you with a thorough understanding of how MM works and integrates seamlessly with your other SAP components.
Sams Teach Yourself SAP in 24 Hours
In just 24 sessions of one hour or less, you’ll master the entire SAP project lifecycle, from planning through implementation and system administration through day-to-day operations. Using this book’s straightforward, step-by-step approach, you’ll gain a strong real-world foundation in both the technology and business essentials of today’s SAP products and applications—from the ground up.
ABAP Workbench Tutorial
This tutorial introduces you to the tools in the ABAP Development Workbench. The Workbench contains the tools you use to create an ABAP application. The tutorial contains six lessons. These lessons are intended to introduce you to the concepts of creating an application with the Development Workbench. After you complete the lessons, you should have a good understanding of the role each tool takes in the application development process.
SAP ABAP Interview Questions and answers
SAP ABAP Interview Questions and answers ... What is SAP R/3? What is an instance? What is Function group? What is the difference between 'Select single * ' and 'Select upto 1 rows'? What Function does data dictionary perform?What is view? What is step-loop? What is SAP Script? Difference between SY-TABIX and SY-INDEX? etc .. etc
SAP R/3 DATA DICTIONARY INTERVIEW QUESTIONS
SAP R/3 DATA DICTIONARY INTERVIEW QUESTIONS .... What are the layers of data description in R/3? Define external layer? Define ABAP/4 layer? Define Database layer? What is a Data Class? What is a Size Category? How many types of size categories and data classes are there? What are control tables? What is a table pool? etc.. etc ...
SAP MODULARIZATION INTERVIEW QUESTIONS
SAP MODULARIZATION INTERVIEW QUESTIONS ... What is Modularization and its benefits? Name the ABAP/4 Modularization techniques.What are subroutines? What are the types of Subroutines? What are the different methods of passing data? What is a function group? What is the disadvantage of a call by reference? What does the extract statement do in extract datasets?
SAP REPORTS FAQ
SAP REPORTS FAQ .. How can Symbols or R/3 icons be output on the screen? How to specify a client for database table processing. What are DATA CLUSTERS? How will you transfer data into a file in application server? What are the different attributes that can be assigned to a variant? Is it possible to create new dynamic programs during runtime of an ABAP/4 program? etc ... etc ....
ABAP SYSTEM-FIELDS
This site contains details about SAP system fileds,Function modules,AND ABAP Syntax.
Configuring SAP ERP Financials and Controlling - tutorial book
SAP is the world leader in Enterprise Resource Planning (ERP) software; of the software?s modules, the FI (Finance) and CO (Controlling) are by far the most popular and are widely implemented. This book has no competition?it is the only book on the market on how to configure and implement SAP?s FI and CO modules to maximize functionality and features hands-on, step-by-step instructions and real-world examples that provide immediate and practical solutions. Updated for SAP?s ECC 6.0, the book covers FI enterprise structure, general ledger, substitutions and validations, automatic account assignments, accounts payable and receivable, asset accounting, accrual engine, closing entries, credit management, lockbox, CO enterprise structure, profitability analysis (CO-PA), and more.

Latest added SAP Tutorials

SAP Security Configuration and Deployment: The IT Administrator's Guide to Best Practices
The user's guide to best practices in improving and enhancing security in a SAP landscape.
mySAP ERP For Dummies - tutorial book
So, you need to stay competitive and reduce your costs? mySAP ERP helps you do just that. By combining rich ERP functionality, analytics, enterprise services, composites, and model-driven development tools with SAP NetWeaver®, mySAP ERP enables innovation while reducing cost of ownership. This book also shows you how mySAP ERP provides you with a number of levers to make your organization more productive and agile.
SAP MM-Functionality and Technical Configuration - Guide Book
Find out how to get the very most from your SAP MM implementation with this completely updated, comprehensive guide to SAP Materials Management (MM). Based on SAP ERP 6.0, this new edition of our bestseller provides you with a thorough understanding of how MM works and integrates seamlessly with your other SAP components.
Configuring SAP ERP Financials and Controlling - tutorial book
SAP is the world leader in Enterprise Resource Planning (ERP) software; of the software?s modules, the FI (Finance) and CO (Controlling) are by far the most popular and are widely implemented. This book has no competition?it is the only book on the market on how to configure and implement SAP?s FI and CO modules to maximize functionality and features hands-on, step-by-step instructions and real-world examples that provide immediate and practical solutions. Updated for SAP?s ECC 6.0, the book covers FI enterprise structure, general ledger, substitutions and validations, automatic account assignments, accounts payable and receivable, asset accounting, accrual engine, closing entries, credit management, lockbox, CO enterprise structure, profitability analysis (CO-PA), and more.
Sams Teach Yourself SAP in 24 Hours
In just 24 sessions of one hour or less, you’ll master the entire SAP project lifecycle, from planning through implementation and system administration through day-to-day operations. Using this book’s straightforward, step-by-step approach, you’ll gain a strong real-world foundation in both the technology and business essentials of today’s SAP products and applications—from the ground up.
Glossary of SAP FI Terms
Here is the list of common SAP Financial Accounting term
ABAP Workbench Tutorial
This tutorial introduces you to the tools in the ABAP Development Workbench. The Workbench contains the tools you use to create an ABAP application. The tutorial contains six lessons. These lessons are intended to introduce you to the concepts of creating an application with the Development Workbench. After you complete the lessons, you should have a good understanding of the role each tool takes in the application development process.
SAP BAPI COMPLETE LIST
BAPIs (Business Application Programming Interfaces) are the standard SAP interfaces. They play an important role in the technical integration and in the exchange of business data between SAP components, and between SAP and non-SAP components. BAPIs enable you to integrate these components and are therefore an important part of developing integration scenarios where multiple components are connected to each other, either on a local network or on the Internet. BAPIs allow integration at the business level, not the technical level. This provides for greater stability of the linkage and independence from the underlying communication technology
SAP BAPI COMPLETE LIST
List of complete BAPI's in SAP.
SAP ABAP Interview Questions and answers
SAP ABAP Interview Questions and answers ... What is SAP R/3? What is an instance? What is Function group? What is the difference between 'Select single * ' and 'Select upto 1 rows'? What Function does data dictionary perform?What is view? What is step-loop? What is SAP Script? Difference between SY-TABIX and SY-INDEX? etc .. etc