Professional Documents
Culture Documents
Acknowledgement
It gives me immense pleasure to put forward this practical venture. But
surely, it would not have been possible without proper guidance and
encouragement. So I would like to thank all those people without whose support
this paper would not have been a success.
I would like to express my sincere thanks to all the faculty members of MCA
Department, IMED Bharati Vidyapeeth University, Pune for the interest and
commitment shown in the project, which made it possible for us to complete the
term paper successfully.
Certificate
We certify that Mr. Anshul Kumar Saxena Roll No. 64011 respectively is a
bonafide student studying for MCA degree programme of the university in this
institute for the year 2006-2009.
As a part of the Course Curriculum he has completed a term paper titled “MY
SAP ERP” during the period from Dec 2008 to April 2009.
The term paper report is prepared by the student under the guidance of Miss
Deepa Hebalkar..
ABSTRACT
ERP software integrates all departments and functions across a company onto a
single computer system that can serve all those different departments' particular
needs. ERP combines finance, HR, manufacturing and distribution all together into
a single, integrated software program that runs off a single database so that the
various departments can more easily share information and communicate with
each other. This integrated approach can have a tremendous payback provided
the software is installed and used correctly.
SAP, one of the leading providers of ERP solutions, has thrown its hat into the ERP
application rental ring. SAP ERP applications are available on an outsourced,
hosted basis. For a fixed monthly rental fee, small to midsize companies can now
reap the benefits of a top ERP package without the capital investment and
infrastructure needed to implement such a setup in-house.
With the emergence of application rentals, however, any size company can have a
top-notch ERP system even though they don't have the IT resources or capital
The SAP ERP offering costs between $ 425 and $ 660 per user per month. It
includes the software license, maintenance, and network connection. Although the
target market includes companies with an annual revenue of less than $ 200
million, SAP has learned that larger companies are looking very seriously at this
strategy, and a few are close to implementing it. Core ERP applications are
available, which includes, financials, sales and distribution, manufacturing, human
resources, advanced planner and optimizer, and the business information
warehouse.
Consulting to help any size company take full advantage of e-biz capabilities;
Infrastructure and production services including hardware and network routers,
systems management services, facilities management, and support services for
the life of the system. Ongoing software and technology upgrades; and
Comprehensive data protection and backup services to lower the risk of business
disruption.
Survey.com reports that recent surveys of the enterprise resource planning (ERP)
market have revealed poor market knowledge or acceptance of the business-to-
business e-commerce portal offered by SAP.
These results clearly give us an idea about the damage done to SAP ERP's market
position by its reluctance to identify the Internet as an inflection point in the ERP
market. SAP ERP is trying hard to catch up, but these surveys shows that the
delay in delivering and uncertainty caused by changes in the marketing message,
Table of Contents
CHAPTER 1: - ORIGIN & HISTORY OF SAP
CHAPTER 1
SAP AG (SAP) is the largest European software enterprise and the fourth largest
in the world, with headquarters in Walldorf, Germany. It is best known for its SAP
ERP Enterprise Resource Planning (ERP) software.
History
As part of the Xerox exit strategy from the computer industry, Xerox retained IBM
to migrate their business systems to IBM technology. As part of IBM's
compensation for the migration, IBM acquired the SDS/SAPE software, reportedly
for a contract credit of $80,000. The SAPE software was given by IBM to the
founding ex-IBM employees in exchange for founding stock provided to IBM,
The acronym was later changed to stand for Systeme, Anwendungen und
Produkte in der Datenverarbeitung ("Systems, Applications and Products in
Data Processing").
In 1976, "SAP GmbH" was founded and the following year, it moved its
headquarters to Walldorf. SAP AG became the company's official name after the
2005 annual general meeting (AG is short for Aktiengesellschaft).
Four of the founding members -- Hopp, Plattner, Tschira and Hector -- form the
executive board. In 1995, SAP was included in the German stock index DAX. On
22 September 2003, SAP was included in the Dow Jones STOXX 50. In 1991, Prof.
Dr. Henning Kagermann joined the board; Dr. Peter Zencke became a board
member in 1993. Claus Heinrich and Gerhard Oswald have been members of the
SAP Executive Board since 1996. Two years later, in 1998, the first change at the
helm took place. Dietmar Hopp and Klaus Tschira moved to the supervisory board
and Dietmar Hopp was appointed Chairman of the supervisory board. Henning
Kagermann was appointed as Co-Chairman and CEO of SAP next to Hasso
Plattner. Werner Brandt joined SAP in 2001 as a member of the SAP Executive
Henning Kagermann became the sole CEO of SAP in 2003. In February 2007 his
contract was extended until 2009. After continuous disputes over the
responsibility of the development organization, Shai Agassi, a member of the
executive board who had been named as a potential successor to Kagermann, left
the organization. In April 2008, along with the announcement of Leo Apotheker as
co-CEO, the SAP supervisory board also appointed to the SAP Executive Board,
three new members, and effective 1 July 2008: Corporate Officers Erwin Gunst,
Bill McDermott and Jim Hagemann Snabe.
In 1973 the SAP R/1 solution was launched. Six years later, in 1979, SAP launched
SAP R/2. In 1981, SAP brought a completely re-designed solution to market. With
the change from R/2 to R/3 in 1992, SAP followed the trend from mainframe
computing to client-server architectures. The development of SAP’s internet
strategy with mySAP.com redesigned the concept of business processes.
This kind of package leaves the development of custom software only for
exceptional cases. The maturity and solid experience of SAP in solving the
information management problems of businesses around the globe have made its
R/3 system the clear market leader in the development of standard applications.
SAP is the world's second largest business software company and the third-largest
independent software provider in terms of revenues. It operates in three
geographic regions – EMEA, which represents Europe, Middle East and Africa; the
Americas (SAP America, headquartered in Newtown Square, Pennsylvania), which
represents both North America and Latin America; and Asia Pacific Japan (APJ),
which represents Japan, Australia, India and parts of Asia. In addition, SAP
operates a network of 115 subsidiaries, and has R&D facilities around the globe in
Germany, North America, Canada, China, Hungary, India, Israel and Bulgaria.
SAP invests approximately 20 percent of its annual sales revenue in research and
development in order to remain at the edge of technological innovation. With
more than 25 percent of its employees working in the research area, SAP wants to
SAP Products
SAP ERP is one of five enterprise applications in SAP's Business Suite. The other
four applications are:
Other major product offerings include: the Net Weaver platform, Governance, Risk
and Compliance (GRC) solutions, Duet (joint offering with Microsoft), Performance
Management solutions and RFID. SAP offers SOA capabilities (calling it Enterprise
SOA) in the form of web services that are wrapped around its applications.
While its original products were typically used by Fortune 500 companies, SAP is
now also actively targeting small and medium sized enterprises (SME) with its
SAP Business One and SAP Business All-in-One. On 19 September 2007 SAP
announced a new product named SAP Business by Design.
CHAPTER-2
SAP has greatly based the functionality of its R/2 and R/3 software systems in the
business process concept. For SAP, a business process is the complete functional
chain involved in business practices, whatever software module has to deal with
it. This means that the chain might run across different modules. SAP sometimes
refers to this kind of feature as an internal data highway.
An additional aspect of the software integration capability is real time. In fact, the
R from R/3 originally is meant for real time. When new input is made into the
system, the logical application links will concurrently update related modules so
that the business can react to immediate information and changes. This type of
updating reduces the overhead of manual processing and communication and
SAP has put in place a comprehensive set of quality services to help customers
during the process of implementing and supporting the R/3 system. These
services include product information, education services installation and upgrade
Maintenance Services: - This is the basic and most common type of support for
customers in the preproduction and production phases of an R/3 implementation.
This service deals with answering questions and helping to resolve the errors or
problems with the system. For maintenance, SAP has set up a helpdesk, or
hotline, which monitors the calls and resolves them or directs them to the
appropriate SAP expert, and a first level customer service team that is in charge
of resolving the problems, prioritizing the calls, and if needed, referring questions
to other experts. Customers obtain this service via phone, fax, or the SAPnet−R/3
front end. It is available 24 hours a day, 7 days a week.
Preventive Services: - The primary one is the Early Watch service which
ensures successful and efficient installation of the R/3 system in all phases. This
service makes regular (usually once a month) performance checks and analyzes
SAP has several layers. The Basis System is the heart of the data operations and
should be not evident to higher level or managerial users. Other customizing and
implementation tools exist also. The hearts of the system from a manager’s
viewpoint are the application modules. These modules may not all be
implemented in a typical company but they are all related and are listed below:
Each of these Modules may have sub-modules designed for specific tasks as
detailed below.
System-Wide Features
SAP uses certain system wide features that should be understood at the outset.
These are used to logically, safely and flexibly organize the data in a business
enterprise.
O Financial—
Client is a legal and organizationally independent unit at the
highest level in SAP
Company is an independent legal entity within a client
Business areas are used to produce profit and loss
statements and balanced sheets across marketing lines.
O Materials Management
Purchasing units
Plants
O Customer Master
O Vendor Master
O Material master
O Account Master
This structure eliminates redundant data and is shared by all SAP Modules. It is a
critical aspect of the robustness of the system.
• Production
O Sales and Operations Planning SOP where the sales forecasts
are used in a production planning model to check feasibility.
O Production Order.
O Shop Floor Control where the actual production takes place and
is registered into the system as finished goods.
O Purchasing
Requisition—Once the Production manager plans to
manufacture something a requisition for the raw materials
required but not on hand must be prepared.
Vendor Selection—made by the purchasing department
Purchase order sent
Goods receipt increasing inventory
Invoice verification as it is received from vendor
Payment to vendor.
Business Process Engineering must not only identify all these steps but must also
find the most efficient way to minimize redundant actions. For example, when
sales are made, inventory and manufacturing plans should be automatically
updated. When manufacturing plans are updated raw materials should be
automatically ordered from vendors. When finished goods are shipped customers
should be automatically billed at the same instant. Real situations are far more
complex than the simple explanation above.
The SAP R/3 system presents a Windows interface with several of the familiar
Windows functions for screen manipulation. The apparent simplicity of the
interface hides the power of the menus residing within the menu bar at the top of
the screen. The initial screen shows a menu bar with the following selections. The
first level sub menus are listed below to give you an idea of where to start:
o Office
Workplace
Telephone Integration
Appointment Calendar
Materials Management
Sales/distribution
Logistics Execution
Production
Production-process
Plant Maintenance
Customer Service
Quality Management
Logistics controlling
Project Management
Environment Health & Safety
Central Functions
o Accounting
Financial Accounting
Treasury
Controlling
Enterprise Control
Investment Mgt.
Project management
Real Estate
o Human Resources
o Information Systems
Logistics
Accounting
Human Resources
Project System
Ad Hoc Reports
General Report System
o Tools
ABAP/4 Workbench
Accelerated SAP
Administration
ALE
Business Communication
Business Documents
Business Framework
Business Workflow
CCMS
Web Development
SD FI
Sales & Financial
Distribution Accounting
MM CO
Materials
Controlling
Mgmt.
PP AM
SAP
Production Fixed Assets
Planning Mgmt.
QM
Quality
Client / Server TR
Manage-
ment PM
ABAP Treasury
WF
Plant Main- Workflow
tenance
HR IS
Human Industry
Resources Solutions
CHAPTER-3
ARCHITECTURE OF SAP
Overview
This section deals with such issues as defining which elements make up the
system and how they join together. Using this approach, we will come upon how
SAP defines and implements the client/server architecture of the R/3 system. For
simplicity reasons, the figures and examples shown are mainly based in the UNIX
and Windows NT operating systems and Oracle database. However, the R/3
software's modular design and its openness make these examples conceptually
the same as for other database engines (Informix, Adabas D, and SQL−Server)
and other operating systems.
R/3 Basis Software
The R/3 basis software is the set of programs and tools which interfaces with the
computer operating system, the underlying database, the communication
protocols, and the presentation interfaces. This software enables the R/3
applications (FI, CO, SD, etc.) to have the same functionality and work exactly the
same way no matter what operating system or database the system is installed
on. The R/3 basis software is an independent layer that guarantees the integration
of all application modules. When referring to the basis software in this sense, it is
generally known as the R/3 common kernel or R/3 middleware. Kernel and
middleware have become generic computing terms which are widely used: kernel
usually refers to the core or nucleus of a
The environment for the R/3 applications, built on the ABAP development
workbench and the ABAP repository, which includes the ABAP data dictionary
(centralized logical repository with all the business and system data). This
environment also has the workbench organizer and the transport system to
facilitate the modification and enhancement of the system and the integration of
new developments across systems.
Basically, there are three logical groups or “layers” of SAP R/3 Software
components. Aside from having different functions, each group also needs a
different computer processing environment.
The R/3 Software components are grouped together in the following manner:
1. Those components that manage the storage and retrieval of data form
what is referred to as the Database Layer. Components that reside in this layer
require a computer that is specially equipped with very large and fast hard drives.
Communication
In the next session we’ll define the term “client/server”, and specifically
take a closer look at SAP R/3’s client/server model.
ABAP
Objects
Databas
e
Application Layer
A B C
When you install Microsoft Excel on your PC, each component of Excel (printing
components, graphing components, word processing components, and etc.) is
stored, managed, and processed via the hardware of your PC.
When a company installs SAP’s software each component (or “layer” in R/3’s case)
is stored, managed, and processed via the hardware of separate and specialized
computer systems.
Each of the various layers is capable of calling upon the specialty of any of the
other installed layers in order to complete a given task. Those components/layers
that are requesting services are called “clients”, those components/layers that are
providing services are called “servers”. Thus the term - “client/server”.
Let’s take a look at specifically how the various SAP R/3 layers are physically
distributed across separate and specialized computer systems.
The typical physical distribution of each of the R/3 layers is shown above.
It is important to note that each and every installed copy of SAP R/3 always inter-
operates as a logical three layered client/server system. In certain sub-optimal
cases multiple logical layers may coexist on the same physical computer.
Nevertheless, SAP R/3 always works as a three layered client/server system.
On the next you’ll see how R/3’s layers can be distributed across one or many
computers. The arrangement of the logical layers across computers is referred to
as a system’s client/server configuration.
Centralistic
Computer
“A”
Distributed Presentation
Computer
“A”
Computer
“A-1”
Computer
“B”
Computer
“A-2”
Computer
“A-n”
Computer
“A-1”
Computer
“B”
Computer
“A-2”
Computer
“A-n”
Computer
“A-1” Computer
Computer “C”
“B-1”
Computer
“A-2”
Computer
“B-n”
Computer
“A-n”
The GTC uses three tier client/server for most of its SAP R/3 functional courses.
Computer
Computer “B-1”
Computer
“A-2” “C-n”
Computer
Computer
“B-n”
“A-n”
Computer
“A” Computer
“B”
Computer
Computer “C”
“A-1”
Computer
Computer “B-1”
“A-2” Computer
Computer “C-n”
Computer
“A-n” “B-n”
ALE permits the loose coupling of different independent SAP R/3 systems.
The ALE concept is based upon business-process controlled exchange of messages
with consistent data storage. Applications are integrated by means of synchronous
and asynchronous communication mechanisms in a time-controlled manner.
Screen 2 Screen 1
From the view point of the R/3 runtime system, a business transaction is simply a
sequence of SAPGUI screens that that logically flow one upon the other.
The R/3 runtime system is capable of providing “locks” to ensure that a given user
session receives exclusive access rights to a certain business object for the
duration of a business transaction.
The R/3 runtime system also ensures that all changes made to the database,
within the scope of a given business transaction, can be completely reversed or
undone at any time until the business transaction has been successfully
concluded.
Work Process
A Process is essentially
a program. Each process Process
has memory and access
to system resources.
In the simplest of terms the operating system provides a working environment for
software applications. In some cases (Windows NT, UNIX) it will enforce rules that
determine the length of time that an application can access the central processing
unit (CPU). The operating system also monitors and provides memory and file
access.
Processes are used to efficiently manage the software application’s requests for
the resources of the operating system. A software application must have a
process open in order to request resources from the operating system. The
process and the software application are very closely linked.
Each process has memory and access to system resources. A process comprises:
1. An executable program that defines initial code and data
2. A memory address space where the process’s code and data are
stored
3. System resources
Process Process
OS Kernel
CPU
SAP
Online Update
Enqueue Spool Background
SAP Dispatcher
A component of the SAP
Kernel called the Dispatcher
CPU must manage process access
OS Kernel to the OS kernel.
Within the scope there are 5 different SAP R/3 processes. In R/3 they are referred
to as Work Processes. Each work process completes a specific task for the SAP
application software.
R/3 also has its own kernel. In the center of the R/3 Basis Kernel is SAP’s
proprietary control agent, the SAP Dispatcher. Together with the respective
operating system, the dispatcher manages the resources used by the R/3
applications. It must “communicate” with the operating system’s kernel to
manage the activities of its processes.
Now let’s take a closer look at how the SAP R/3 work processes
work.
Dispatcher
Application
Online Update Enqueue Spool Background Server “B”
Dispatcher
Database
Online Update Enqueue Spool Background Server
The SAP R/3 Dispatcher and its Work Processes constitute the R/3 Runtime
System.
To the host operating system, the R/3 Runtime System simply appears as a
collection of processes. No different than any other programs that may be running
on the machine.
Throughout the R/3 System, you can be assured that where there are works
processes there will be a dispatcher, the exact number of work processes is
variable and depends on the specific configuration.
One of the main purposes of the dispatcher is to dole out pending processing
requests to the work processes. There are special work processes for:
1. Interactive SAPGUI screen processing,
2. Updating of the database,
3. Background processing,
4. Spooling,
5. and management of locks.
Dispatcher
USER 3
USER 1
Dispatcher
USER 2 USER 4
We know in the center of the R/3 Basis Kernel is SAP’s proprietary control agent,
the SAP Dispatcher. Together with the respective operating system, the dispatcher
manages the resources used by the R/3 business applications.
The dispatcher acts like a conductor, orchestrating the assignment of the correct
resources to the processing requests that are received from the end-users. The
following page shows an example of how the dispatcher works.
The specific tasks of the dispatcher are:
1. Maximize efficient distribution of process requests to work
processes
2. Monitor the use of the R/3 buffers.
3. Ensure process requests are sent back to presentation level
when completed.
4. Overall management of communications activities.
Work Processes
Let’s take a simplified look at how the presentation layer interacts with
the dispatcher and work processes.
Dispatcher in action
Presentation level Various types of
processing requests
Application level
Request
queues
Dispatcher
First, user input is accepted by SAPGUI. SAPGUI is the SAP software that runs on
your PC. SAPGUI converts the users input into process requests that the
dispatcher can understand, and then sends the process requests to the
dispatcher.
After receiving the process request the dispatcher places it into the request
queues.
As work processes become available the dispatcher dispatches the queued process
request to the appropriate work process. The actual processing takes place in the
work process.
Work processes are specialized components of the SAP software that are designed
to do very specific activities. For example if the dispatcher receives a process
request to print a report, that process request will inevitability find its way to the
work process that manages the print spool.
Process Request
User: Fred Jones
Activity: Read data XYZ
Screen: 1
Request
queues
Dispatcher
The SAP R/3 transactions are written in ABAP/4 (pronounced “AH-BAP four”),
SAP’s own 4th generation programming language. ABAP/4 is an interpreted
language.
The R/3 Runtime System i.e. the dispatcher, and work processes, etc. are written
in ANSI-C, but all of the business applications and system management tools are
There are two external components (not contained within the ABAP/4 code) that
are used to interpret ABAP/4 code, the Dynpro Processor, and ABAP/4 Processor.
Let’s take a closer look at how this concept relates back to the concept of
process requests.
Wor k Pr oc es s
Task
Handler
DYNPRO Processor
ABAP/4 Processor
memory
Process Request
Read data “XYZ” or
Write data “XYZ”
Request
queues
Dispatcher
In the most basic sense these process requests are either requesting to read data
(i.e. when generating a report) or requesting to write data (e.g. entering a new
customer).
Transactio
n
Screen Screen Screen
1 2 n.
Request
queues
Dispatcher
Each screen in the SAP R/3 Transaction is sent to the dispatcher, which resides in
the application layer, in the form of processing requests.
After the Dispatcher receives the first processing request from a transaction it will
place it into the request queues.
The Dispatcher knows at this point what type of processing request it has just
received. In this example the Dispatcher knows that this processing request
should be serviced by an Online Work Process, as opposed to a Spool work
process or some other type of work process.
The Dispatcher will keep this process request queued until an Online work process
signals the Dispatcher that is now available.
Once an Online work process becomes available it’s Task Handler will copy the
process request data to its own local private memory so that it can begin working
on the request.
Transaction
Screen 1 Screen 2 Screen n.
Dispatcher
Online
Task Task
Onlin
Onlin
Task Handler Handler
Handler
e
DYNP DYNP
DYNP
Requested ABAP/4 ABAP/4
data retrieved ABAP/4
memory
emor
memor
from the R/3
m
Buffers
y
LE Y
A B B US
Y B US
AV A IL
The Online work process’s Task Handler will use the Dynpro and ABAP/4
Processors to determine what this process request is actually requesting.
In our example, the first screen of this transaction is requesting data for a report.
Therefore the Task Handler will search R/3’s Buffers for the specified data. If the
specified data is not buffered than a database access will be needed.
Let’s suppose that the data is actually in the R/3 Buffers at the time of this read.
Since this is only the first screen of this transaction there may be a need to store
the data that the Task Handler just retrieved from the R/3 Buffers. This retrieved
data will most likely be needed by the next screen in this transaction.
An end-user runs an SAP R/3 transaction. In our example the transaction creates
a report. The transaction itself contains three screens, which allow the end-user to
specify additional criteria to the report. Each screen is translated into a process
request. The first process request is received by the Dispatcher and is
subsequently stored in the request queue.
The Task Handler of the first available Online work process copies the process
request to its own local private memory. The Task Handler uses the Dynpro and
ABAP Processors to determine what exactly it is being requested to do.
If it needs to access data, the Task Handler will access the R/3 Buffers to acquire
the data. The acquired data will then be stored in a user context located in
extended memory so subsequent process requests in this transaction can access
the data. When each process request for this transaction has been serviced (by
multiple online work processes or by the same online work process) the sum total
of the user context is sent to the end-user as results.
Writing data to the database is a much more intensive operation that simply
reading data from the database. There are more types of work processes used,
and the transaction itself, of course, is very different. A transaction that writes to
the database is structured as a SAPLUW.
SAPLUW is the term used to describe the sum total of the sequential SAPGUI
screens of an SAP R/3 transaction plus the update of the database.
A SAPLUW is always executed completely or not at all.
Background
Defining a background
job.
Background processing enables you to plan the start of ABAP/4 programs. Then,
at the given time, they are started by special work processes called a Background
work process.
O/S
Spooler
Spool Requests that are generated online or during background processing are
placed in the spool database with information about the print format.
As resources become available a print request will be generated for the spool
request.
The print request is then processed by a spool work process.
Once the spool work process has edited the data for printing, it forwards the print
request to the operating system spooler.
The operating system spooler assumes the print queue management and makes
sure the requested data is forwarded to the output device.
Communication
A service
Service A
Online
Process A1 Process A2
Requesting a particular
function or “service”.
Message
server
Online
Lock Request
Enqueue
Message Lock Table
Service
The message service is used by the application servers to exchange short, internal
messages (for example, trigger an update, enqueue/dequeue, trigger a
background job). Shown above is an enhanced example, from the previous
chapter, of the message service being utilized.
Every application server reports to the message service with a unique name.
The application servers must know the names of the other application servers that
“specialize” in update, enqueue, background, and spool processing, and activate
the corresponding services by specifying this “address” to the message service.
Gateway
server
Communication to an
external R/3 System
SAP Gateway
An external Service
R/3 System
or or
R/3 logon load balancing is used to dynamically distribute R/3 end-users across
application instances.
When you set up logon workgroups you maximize the efficiency of each of the
application instances defined within your R/3 System.
Each logon workgroup consists of one or more application instances. Each of the
application instances defined within a given logon workgroup will be available to
the end-user, but only under predefined circumstances.
Logon Workgroups
This Logon Load Balancing configuration is good
because the servers are assigned to specific
applications.
Logon Group “HR” Logon Group “FI/CO”
Application Servers
Workgroup
You log on to the R/3 System from the SAP Logon Menu, which is a special
program for Windows PCs that mediates between the R/3 System and the user
interface, SAPGUI.
The SAP Logon Menu displays the available logon groups and automatically selects
the server with the best response times.
You can add an available Workgroup or Application Server to the menu.
When you log on to the R/3 System, you can:
1. Log on to a specific Application Server
Production
Planning
or
You can log on to the R/3 system via the SAP logon menu (SAPLOGON.EXE)
The SAP logon menu is a program made for Windows PCs that mediates between
the R/3 System and the user interface, SAPGUI.
After logon workgroups have been specified in the central message server, the
SAP logon menu will be able to read the groups from the message server into its
menu configuration.
The SAP Logon Menu displays a list of available application instances and logon
workgroups that are available to the end-user.
End-users will use SAP logon menu to log on to a specific application server or log
on via a logon workgroup. If they utilize their logon workgroups they will
automatically logged onto the application instance with the best response time.
CHAPTER-4
After you have installed the SAP GUI one or more of the icons for SAP Logon Pad
or/and SAP Logon will appear on your desktop.
SAP Logon
A new icon SAP configuration will be added to the Windows control panel.
If SAP GUI was installed from an installation server, every user can activate an
automatic update of the local SAP GUI from this installation server.
To optimize network load the automatic update does not check for a new update
every time SAP GUI is started, but only after a configurable number of double-
clicks on the SAP Logon (or SAP Logon Pad) icon.
In case an updated version of SAP GUI is available on the installation server
SAPSetup is launched to update the local SAP GUI before SAP Logon is started.
Using the checkbox "Activate Auto-Update" you can deactivate or activate the
automatic update. You can also configure the number of double-clicks on the SAP
Logon (SAP Logon Pad) icon before the check for available updates on the
installation server is performed according to your needs. To activate the change(s)
choose the "OK" button.
Before you log on for the first time, your system administrator will give you an
initial password. During the logon process, you should create a new password,
known only to you. After that, you use your own password whenever you log on.
(These procedures may differ somewhat at your company; for more information,
contact your system administrator.)
Logging On
After you have started the SAP System the first screen you see is the logon screen
(in this case, with the title SAP R/3).
When you choose the TAB key after you have entered data in a field, the cursor
moves to the beginning of the next field.
Passwords
A password is a string of characters (letters and numbers) known to a single user,
which prevents other users from accessing the system using that user
identification. As stated before, when logging on for the very first time, the new
password dialog box is displayed, as shown in Fig. below. There are specific rules
for setting passwords.
Password Rules
In the SAP system, users must follow certain rules when entering passwords.
Some rules are fixed in the SAP code and others can be set by the system
administrator using certain profile parameters or by forbidding entries by
specifying values in tables.
1. If you do not see the new password dialog box, check the status bar for a
system message. You may have entered an incorrect client number,
password, user ID or language key. If this is the case, repeat steps 1
through 5.
Logging Off
You can log off from the SAP System from any screen:
The Log off dialog box appears. It informs you that any data you have not yet
saved will be lost if you proceed with logging off.
If you are not certain that you have saved all of your data and you do not want to
log off after all, choose No. You return to the screen in which you were working.
In the standard system, the main menu screen is displayed, as shown in Fig.
below.
The menu bar is the bar in the screenshot below containing the menu options
Display, Edit and so on.
Menu Description
System Contains functions that affect the system as a whole - such
as Create session, User profile and Log off.
Help Provides various forms of online help.
Menu Description
<Object> Usually named after the object you are currently working
with, for example, Material. Contains functions that affect
the object as a whole – such as Display, Change, Print, or
Exit.
Edit Allows you to edit components of the current object.
Common functions include Select, Edit and Copy. The
Cancel option lets you leave a task without saving the data
you have entered.
Goto Allows you to move directly to other screens of the current
task. Also contains the Back option, which takes you back
one level in the system hierarchy. Before going back, the
system checks the data you have entered on the current
screen, and displays a dialog box if it detects a problem.
Menu Description
Extras Contains additional functions you can choose to complete
the current object or an object component, but which you
do not need regularly.
Environment Contains functions to display additional information about
the current object.
View Allows you to display the current object in different views,
for example, switching between a single-line and double-
line display of a table.
Settings Allows you to set user-specific transaction parameters.
Utilities Allows you to do object-independent processing, such as
deleting, copying, and printing functions.
Sometimes not all of the available menus fit on one line in the menu bar. In
this case, they wrap to the next line. The dropdown principle remains the
same.
The system function bar is the bar below the menu bar. It consists of a range of
icons with general GUI functions and a field where you can enter a transaction
code.
The title bar contains the name of the R/3 application currently being displayed.
In the graphic below the title bar is the bar containing the title SAP Easy Access
ABAP Workbench:
The status bar provides general information on the SAP System and transaction or
task you are working on. System messages are displayed on the left of the status
bar. There are three fields on the right hand side of the status bar: one with
server information, the other two with status information
o To display the following system information, choose the icon in the first
status field:
System
Client
User
Program
Transaction
Response time
o The second status field displays the server to which you are connected.
o The third status field specifies your data entry mode. By clicking on this
field, you can toggle between the Insert (INS) and Overwrite (OVR)
modes.
o Insert: Any data to the right of the cursor moves to the right as you type.
o Overwrite: You type over any data to the right of the cursor.
Typically, you use the Overwrite mode to overwrite data, and the Insert mode to
insert data between existing data (for example, if you left out a letter in the
middle of a word).
The status bar shows which mode you are currently in. It displays INS when you
are in the Insert mode and OVR when you are in the Overwrite mode.
The INS key is a toggle between the two modes, that is, the entry mode changes
each time you choose INS .
You can also toggle between modes by clicking the entry mode status field at the
far right of the status bar.
A session is basically another SAP instance on your screen. Multiple sessions allow
you to work on more than one task at a time. This can save you time and reduces
the need to jump from screen to screen.
A record can only be edited by one user in one session at a time. Multiple
write access to the same record is denied.
Too many open sessions can result in slower system performance. Therefore, your
system administrator may limit the number of sessions you can create to fewer
than six.
o Choose
The system opens an additional window. The new session becomes the active
session and remains the active session unless you click on a different (open or
new) session.
Closing Sessions
If you have only one session open and you end it, you will log off from the
system. However, before logging you off, the system prompts you to save your
data.
Before you end a session, save any data you want to keep. When you end a
session, the system does NOT prompt you to save your data.
The difference between the two commands is that /nend prompts you to
confirm that you want to close all the sessions whereas /nex closes all the
sessions without prompting.
Choose -> Options -> (tab) Options to change the following settings:
For version information about the front end chose -> About... The
following dialog box is displayed:
CHAPTER-5
Software Logistics
Client Administration
_ Default User:
Background Processing
Update
Data Archiving
Instance Maintenance
System Monitoring
AL11 SAP-Directories
Monitoring Architecture
CHAPTER-6
ABAP remains the language for creating programs for the client-server R/3
system, which SAP first released in 1992. As computer hardware evolved through
the 1990s, more and more of SAP's applications and systems were written in
ABAP. By 2001, all but the most basic functions were written in ABAP. In 1999,
All ABAP programs reside inside the SAP database. They are not stored in
separate external files like Java or C++ programs. In the database all ABAP code
exists in two forms: source code, which can be viewed and edited with the ABAP
Workbench tools, and generated code, a binary representation somewhat
comparable with Java byte code. ABAP programs execute under the control of the
runtime system, which is part of the SAP kernel. The runtime system is
responsible for processing ABAP statements, controlling the flow logic of screens
and responding to events (such as a user clicking on a screen button). A key
component of the ABAP runtime system is the Database Interface, which turns
database-independent ABAP statements ("Open SQL") into statements understood
by the underlying DBMS ("Native SQL"). The database interface handles all the
communication with the relational database on behalf of ABAP programs; it also
contains extra features such as buffering of frequently accessed data in the local
memory of the application server.
SAP has three different layers as presentation layer (GUI), application layer
(programs run on this) and data base layer where all data is stored and retrieved
from user driven conditions, commands given by end user programmer through
presentation layer.
The ABAP language environment, including the syntax checking, code generation
and runtime system, is part of the SAP Basis component. SAP Basis is the
technological platform that supports the entire range of SAP applications, now
typically implemented in the framework of the SAP Web Application Server. In
that sense SAP Basis can be seen as the "operating system" on which SAP
applications run. Like any operating system, SAP Basis contains both low-level
The Web Application Server consists of three layers: the database layer, the
application layer and the presentation layer. These layers may run on the same or
on different physical machines. The database layer contains the relational
database and the database software. The application layer contains the instance
or instances of the system. All application processes, including the business
transactions and the ABAP development, run on the application layer. The
presentation layer handles the interaction with users of the system. Online access
to ABAP application servers can go via a proprietary graphical interface, the
SAPGUI, or via a Web browser.
A transaction in SAP terminology is the execution of a program. The normal way
of executing ABAP code in the SAP system is by entering a transaction code
(for instance, SE80 is the code for the ABAP workbench). Transactions can
be accessed via system-defined or user-specific, role-based menus. They can also
be started by entering their transaction code (a mnemonic name of up to 20
Dialog transaction
These are the most common kind of transactions. The transaction code of a dialog
transaction is linked to a Dynpro of an ABAP program. When the transaction is
called, the respective program is loaded and the Dynpro is called. Therefore, a
dialog transaction calls a Dynpro sequence rather than a program. Only during the
execution of the Dynpro flow logic are the dialog modules of the ABAP program
itself are called. The program flow can differ from execution to execution. You can
even assign different dialog transaction codes to one program.
Parameter transaction
In the definition of a parameter transaction code, a dialog transaction is linked
with parameters. When you call a parameter transaction, the input fields of the
initial Dynpro screen of the dialog transaction are filled with parameters. The
display of the initial screen can be inhibited by specifying all mandatory input
fields as parameters of the transaction.
Variant transaction
In the definition of a variant transaction code, a dialog transaction is linked with a
transaction variant. When a variant transaction is accessed, the dialog transaction
is called and executed with the transaction variant. In transaction variants, you
can assign default values to the input fields on several Dynpro screens in a
A Sample Report
Report programs follow a relatively simple programming model whereby a user
optionally enters a set of parameters (e.g. a selection over a subset of data) and
the program then uses the input parameters to produce a report in the form of an
interactive list. The output from the report program is interactive because it is not
The term "report" is somewhat misleading in the sense that it is also possible to
create report programs that modify the data in the underlying database instead of
simply reading it.
A customized screen created using Screen Painter, which is one of the tools
available in ABAP workbench (T-code = SE51).
Online programs
Online programs (also called module pools) do not produce lists. These programs
define more complex patterns of user interaction using a collection of screens. The
term “screen” refers to the actual, physical image that the user sees. Each screen
also has” flow logic”; this refers to the ABAP code invoked by the screens, i.e. the
logic that initializes screens, responds to a user’s requests and controls the
sequence between the screens of a module pool. Each screen has its own Flow
Menu Painter for designing the user interface (menu bar, standard toolbar,
application toolbar, function key assignment). Screen Painter for designing screens
(dynamic programs) for user dialogs
Function Builder for displaying and processing function modules (routines with
Enforcing data integrity is the process of ensuring that data entered into the
system is logical, complete, and consistent. When data integrity rules are defined
in the ABAP/4 Dictionary, the system automatically prevents the entry of invalid
data. Defining the data integrity rules at the dictionary level means they only
have to be defined once, rather than in each program that accesses that data.
The two-line "Hello World" program from above could also be written as
PROGRAM TEST. WRITE 'Hello World' .
or even as:
PROGRAM
REPORT BOOKINGS.
* Dictionary types:
DATA: ORIGIN TYPE COUNTRY.
* Internal table:
DATA: T_FLIGHTS TYPE TABLE OF FLIGHTINFO,
T_LOOKUP TYPE HASHED TABLE OF FLT_LOOKUP.
* Objects:
DATA: BOOKING TYPE REF TO CL_FLT_BOOKING.
Notice the use of the colon to chain together consecutive DATA statements.
ABAP Objects
Object orientation in ABAP is an extension of the ABAP language that makes
available the advantages of object-oriented programming, such as encapsulation,
interfaces, and inheritance. This helps to simplify applications and make them
more controllable.
ABAP Objects is fully compatible with the existing language, so you can use
existing statements and modularization units in programs that use ABAP Objects,
and can also use ABAP Objects in existing ABAP programs. Note, however, that
syntax checking is stronger in ABAP Objects programs, and some syntactical
forms (usually older ones) of certain statements are not permitted.
ABAP statements – an overview
The first element of an ABAP statement is the ABAP keyword. This determines the
category of the statement. The different statement categories are as follows:
Declarative statements
CHAPTER-7
Introduction
SAP has done nothing less than change the entire systems landscape for
enterprises. The benefits it can bring have led to widespread adoption across the
globe. One of the key benefits SAP brings to an enterprise is the ability to
integrate the data both within the enterprise, and between it and its partner’s
competitors. In many cases organizations today are both partners and
competitors at the same time. Think of wholesalers and distributors, SAP and
Oracle, AT&T and BT, or two oil giants who have an upstream joint venture. These
companies use SAP to integrate process between themselves for their mutual
benefit. This ability to integrate, however, brings with it a particular risk – that of
exposing their data to the un-authorized outside world.
Entire companies have been built up around highly guarded intellectual property
and process secrets ... and could easily fall if this was breached. Therefore,
keeping the security of the organization intact is one of the vital aspects of any
SAP implementation.
Figure
Composite Profiles
Composite profiles refer to the various employee roles available in the corporation
(for instance: Purchasing / Receiving Clerk or Accounts Agent). As the name
suggests, composite profiles may contain multiple user IDs necessary to perform
all the business operations associated with a particular role. A composite profile
may encapsulate another composite profile(s). In practice, a model composite
profile should be recognized for each possible role in the organization, which may
be used to produce hybrid composite profiles. The over existence of the hybrids
can defy the very purpose of composite profiles and they should be created only
when specific needs arise.
User Ids
User ids allow access to SAP applications. Each user must have a corresponding
profile specifically assigned. In many situations, multiple composite profiles can be
assigned to a user ID, depending on the role(s) an individual user is responsible
for, in the business processes.
Figure
There are some key tasks that should be included in a monitoring plan. The
following reviews should be a part of ideal monitoring plans.
Using System Logs and Security Audit Logs
The system log records critical information important events. Each individual
application server maintains local log files to which the information is written
periodically. The security audit log records areas such as successful and
unsuccessful dialog log-on attempts, RFC log-on attempts, changes to user
master records, and transaction starts.
Reference:
1. www.google.com
2. www.sap.com
3. www.sapstudymaterial.com
4. www.erpgenie.com
5. www.sapdevelopment.co.uk
6. www.simplysap.org
7. www.sapdb.com
Oracle Architecture