r#arch~1

Upload: sreedhar-konduru

Post on 04-Apr-2018

213 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/29/2019 R#ARCH~1

    1/46

    India SAP CoE, Slide 1

    AB1001 - R/3 Overview &

    Architecture v1.0

  • 7/29/2019 R#ARCH~1

    2/46

    India SAP CoE, Slide 2

    Topics Covered

    1 Defining R/3

    2 Why R/3 ?

    3 SAP R/3 Architecture

    4 Summary

    5 Annexure

  • 7/29/2019 R#ARCH~1

    3/46

    India SAP CoE, Slide 3

    Topics

    1

    2

    3

    4

    5

    Defining R/3

    Why R/3 ?

    SAP R/3 Architecture

    Summary

    Annexure

  • 7/29/2019 R#ARCH~1

    4/46

    India SAP CoE, Slide 4

    R/3

    R/3 software supports all of a companys business transactions and links

    them together using real-time integration.

    Real-time integration means that each change or update in one

    application causes the automatic change or update of the data in the

    other applications involved.

    R/3 means Real-time 3-tier Architecture

  • 7/29/2019 R#ARCH~1

    5/46

    India SAP CoE, Slide 5

    mySAP.com World

    SAP has been traditionally involved in helping customers modernize theirback-office operations by integrating business processes, mostly with its

    standard Enterprise Resource Planning (ERP) software solution called

    SAP R/3.

    The evolving customer-centric Internet business world, with its HTTP and

    XML communication protocols and need to do business anywhere and

    at any time, has enabled business collaboration to take place. The traditional SAP R/3 ERP system is an online transaction processing

    system (OLTP).

    With the proliferation of mySAP.com, all these more or less separate

    products are repositioned from a functionality centric approach to a new,

    user role-based centric approach based on business scenarios.

  • 7/29/2019 R#ARCH~1

    6/46

    India SAP CoE, Slide 6

    R/3SAP

  • 7/29/2019 R#ARCH~1

    7/46

    India SAP CoE, Slide 7

    R/3

    R/3 also represents 3-tiered Client-Server Architecture.

    The three Logical Layers of this R/3 Architecture are

    The Presentation Layer : Collects user input and creates

    process request.

    The Application Layer : Uses the Application logic of Program tocollect and process the process request.

    The Database Layer : Stores and Retrieves all Data.

  • 7/29/2019 R#ARCH~1

    8/46

    India SAP CoE, Slide 8

    R/3

    1. Presentation / GUI Layer : The presentation or GUI layer typicallyreceives keyboard/mouse data from a user and sends that data in the formof process requests to the application layer for further processing. Whenlayer receives output from the application layer it reformats the data andpresents textual and graphical data to the users PC screen.

    2. Application Layer : The application layer consists of R/3's corecomponents. The majority of R/3 business logic processing occurs in theapplication server layer. This is where the work processes are managed bythe dispatcher.

    3. Database Layer : The database layer contains an engine whose solemission is to store and retrieve data on behalf of the application layer.SAP R/3 uses the industry standard database access language SQL(pronounced SEE-QUEL - Structured Query Language) as an interfaceto access its supporting database

  • 7/29/2019 R#ARCH~1

    9/46India SAP CoE, Slide 9

    R/3

    reside in: reside in:reside in:

    Physical Distribution of R/3sLogical Layers

    Database Layercomponents

    Application Layercomponents

    Application servers:Specialized systemsmultiple CPUs andvast amounts of RAM.

    Application servers:

    Specialized systemsmultiple CPUs and

    vast amounts of RAM.

    Presentation servers:Systems capable ofproviding agraphical interface.

    Presentation servers:

    Systems capable ofproviding a

    graphical interface.

    Presentation Layercomponents

    Database servers:Specialized systemswith fast and largehard drives.

    Database servers:

    Specialized systemswith fast and large

    hard drives.

  • 7/29/2019 R#ARCH~1

    10/46India SAP CoE, Slide 10

    By now you are aware of

    What is R/3 ?

    What does R/3 mean ?

    R/3

  • 7/29/2019 R#ARCH~1

    11/46India SAP CoE, Slide 11

    Topics

    1

    2

    3

    4

    5

    Defining R/3

    Why R/3 ?

    SAP R/3 Architecture

    Summary

    Annexure

  • 7/29/2019 R#ARCH~1

    12/46India SAP CoE, Slide 12

    Why R/3 ? The main purpose of an R/3 system is to provide a suite of tightly

    integrated, large-scale business applications. The standard set ofapplications delivered with each R/3 system are the following: PP (Production Planning) MM (Materials Management) SD (Sales and Distribution) FI (Financial Accounting)

    CO (Controlling) AM (Fixed Assets Management) PS (Project System) WF (Workflow) IS (Industry Solutions) HR (Human Resources)

    PM (Plant Maintenance) QM (Quality Management)

    These applications are called the functional areas, or application areas,or at times the functional modules of R/3. All of these terms aresynonymous with each other.

  • 7/29/2019 R#ARCH~1

    13/46India SAP CoE, Slide 13

    Why R/3 ?

    In above scenario where information flow is required on immediate base only

    R/3 is viable option

  • 7/29/2019 R#ARCH~1

    14/46India SAP CoE, Slide 14

    Why R/3 ?

  • 7/29/2019 R#ARCH~1

    15/46India SAP CoE, Slide 15

    Why R/3 ?

    By now you know

    What is R/3 ?

    What does R/3 mean ? Why & in what situation is R/3

    required ?

  • 7/29/2019 R#ARCH~1

    16/46India SAP CoE, Slide 16

    Topics

    1

    2

    3

    4

    5

    Defining R/3

    Why R/3 ?

    SAP R/3 Architecture

    Summary

    Annexure

  • 7/29/2019 R#ARCH~1

    17/46India SAP CoE, Slide 17

    SAP R/3 Architecture

    We know that, SAP R/3 is software, in particular it is client-serversoftware. This means that the groups/layers that make up a R/3System are designed to run simultaneouslyacross several separatecomputer systems.

    When a company installs SAPs software, each component (or

    layer in R/3s case) is stored, managed, and processed via thehardware of separate and specialized computer systems.

    Each layers is capable of calling upon the specialty of any of theother 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 arecalled servers. Thus the term - client/server.

  • 7/29/2019 R#ARCH~1

    18/46India SAP CoE, Slide 18

    SAP R/3 Architecture

    The Database Layer

    components are installed on

    one high -end database server.

    The Application Layer

    components are installed

    across one or more

    high -end servers.

    Physical Distribution of SAP R/3s Three

    Layered Client/Server Architecture

    Presentation Layer components are installed across many PCs.

  • 7/29/2019 R#ARCH~1

    19/46India SAP CoE, Slide 19

    SAP R/3 Architecture

    It is important to note that each and every installed copy of SAP R/3always interoperates as a logical three layered client/server system.

    In certain sub-optimal cases multiple logical layers may coexist on thesame physical computer.

    Nevertheless, SAP R/3 alwaysworks as a three layered client/serversystem.

    From next slide youll see examples of how R/3s layers can bedistributed across one or many computers.

    The arrangement of the logical layers across computers is referred toas a systemsclient/server configuration

  • 7/29/2019 R#ARCH~1

    20/46India SAP CoE, Slide 20

    SAP R/3 Architecture Centralistic: All SAP R/3 layers reside on the same physical computer.

    One important distinguishing characteristic between the various R/3 client/serverconfigurations is Scalability. If a configuration is scaleable, adding additionalcomputers to the system will increase the overall performance of the system.

    Centralistic client/server configurations are not scaleable at all. Consequently, thisconfiguration is never used in a production environment. SAP has actually installed anentire SAP R/3 system on a notebook computer for use by SAPs salesrepresentatives.

  • 7/29/2019 R#ARCH~1

    21/46India SAP CoE, Slide 21

    SAP R/3 Architecture Distributed presentation: The presentation layer is rolledout to desktop PCs. The

    application layer and the database layer are installed on the same computer.

    In terms of increased performance, the Distributed presentation configuration is nomore scaleable than the centralistic configuration. This configuration is verymainframe-ish.

  • 7/29/2019 R#ARCH~1

    22/46India SAP CoE, Slide 22

    SAP R/3 Architecture Two-tier client/server: The presentation and application layers are installed on the

    same computer. The database layer is installed on a separate computer. Two-tier client/server configurations offer increased scalability.

    However, two-tier client/server configurations create other problems. Thecommunication across the network between the front-end (presentation andapplication layers) and the backend (database layer) becomes a bottle-neck veryquickly.

  • 7/29/2019 R#ARCH~1

    23/46India SAP CoE, Slide 23

    SAP R/3 Architecture Three-tier client/server: Presentation, application, and database layers run on separate

    computers. Currently, three-tier client/server offers the best solution for most businesses. It is

    highly scaleable, and offers better distribution of process requests received from theusers. The computers in the application layer are often capable of satisfying the usersprocess requests without accessing the database, which in turn boosts performance.

  • 7/29/2019 R#ARCH~1

    24/46India SAP CoE, Slide 24

    SAP R/3 Architecture Multi-tier, cooperative client/server: All layers run on separate computers. But what

    makes it different is that this configuration is scaleable on the backend (databaselayer) as well.

    This is becoming a very important technology as more and more organizationsattempt to implement SAP R/3 globally. In such a case one central database is notfeasible. New technologies such as SAPs Application Link Enabling (ALE), andOracles Parallel Server are making multi-tier, cooperative client/server a growingreality

  • 7/29/2019 R#ARCH~1

    25/46India SAP CoE, Slide 25

    SAP R/3 Architecture- Processes PROCESSES are used to efficiently manage the software applications requests for the

    resources of the operating system. The process and the software application are veryclosely linked.

    Each process has memory and access to system resources. A process comprises:

    o An executable program that defines initial code and data

    o A memory address space where theprocesss code and data are stored

    o System resources

    o At least one thread to execute the code.

  • 7/29/2019 R#ARCH~1

    26/46India SAP CoE, Slide 26

    Types of Work Processes

    The type of a work process determines the kind of task for which it is

    responsible in the application server.

    Requests froman active user

    to execute

    dialog steps

    Execute

    database

    update

    requests

    Background

    jobs

    Administers alock table in

    the shared

    memory area

    Passes

    sequentialdatasets to a

    printer or to

    optical

    archiving

  • 7/29/2019 R#ARCH~1

    27/46

    India SAP CoE, Slide 27

    SAP R/3 Architecture - Thread A THREAD is a single unit of execution. It is the actual component of a process that is

    executing at one time.

    It runs in the address space of the process, using resources allocated to the process.Each thread is capable of completing a different task that its process requests.

  • 7/29/2019 R#ARCH~1

    28/46

    India SAP CoE, Slide 28

    SAP R/3 Architecture - Kernel Multi-threading operating systems, like Windows NT and UNIX are capable of

    executing more than one thread at a time. At the heart of an operating system is theKERNEL.

    It is the responsibility of the operating systems kernel to manage the time of the CPU.It must keep each of the processes that are attempting to accesses the CPU in harmony.It is capable of changing the priority the threads from each of the processes that areattempting to get processing time on the CPU.

  • 7/29/2019 R#ARCH~1

    29/46

    India SAP CoE, Slide 29

    In the center of the R/3 Basis Kernel is SAPs proprietary control agent, the SAP

    DISPATCHER. Together with the respective operating system, the dispatchermanages the resources used by the R/3 applications.

    It must Communicate with the operating systems kernel to manage the activities ofits processes.

    SAP R/3 Architecture - Dispatcher

  • 7/29/2019 R#ARCH~1

    30/46

    India SAP CoE, Slide 30

    Throughout the R/3 System, you can be assured that where there are work processes

    there will be a dispatcher. The exact number of work processes is variable and dependson the specific configuration. The main purposes of the dispatcher is to dole outpending processing requests to the work processes.

    There are special work processes for:

    Interactive SAPGUI screen processing (the dialog (online) work process)

    Updating of the database (the update work process)

    Background processing (the background (batch) work process) Spooling (the spool work process)

    Management of locks (the enqueue work process)

    The dispatcher acts like a conductor, orchestrating the assignment of the correctresources to the processing requests that are received from the end-users.

    The specific tasks of the dispatcher are:

    To maximize efficient distribution of process requests to work processes

    To monitor the use of the R/3 buffers

    To ensure process requests are sent back to presentation level when completed.

    Managing of communications activities.

    SAP R/3 Architecture - Dispatcher

  • 7/29/2019 R#ARCH~1

    31/46

    India SAP CoE, Slide 31

    First, user input is accepted by SAPGUI.

    SAPGUI converts the users input into process requests that the dispatcher canunderstand, and then sends the process requests to the dispatcher.

    After receiving the process request, the dispatcher places it into the requestqueues.

    As work processes become available, the dispatcher dispatches the queuedprocess request to the appropriate work process.

    Work processes are specialized components of the SAP software that aredesigned to do very specific activities.

    For example if the dispatcher receives a process request to print a report, thatprocess request will inevitability find its way to the work process that managesthe print spool.

    When processing is complete, the result of a work process is returned, via thedispatcher, to the SAPGUI. The SAPGUI interprets the received data andgenerates the output screen for the user.

    SAP R/3 Architecture - Dispatcher

  • 7/29/2019 R#ARCH~1

    32/46

    India SAP CoE, Slide 32

    SAP R/3 Architecture - Dispatcher

  • 7/29/2019 R#ARCH~1

    33/46

    India SAP CoE, Slide 33

    A service is a process or group of processes that perform a specific systemfunction (i.e., service) and often provide an application programminginterface (API) for other processes to call.

    Many services start at boot time and continue to run as long as thesystem is up

    SAP R/3 Architecture - Service

  • 7/29/2019 R#ARCH~1

    34/46

    India SAP CoE, Slide 34

    A set of R/3 work processes that are started and stopped in unison as wellas the associated supporting underpinnings such as an operatingsystem, TCP/IP networking software and a supporting server hardware.

    SAP R/3 Architecture - Instance

  • 7/29/2019 R#ARCH~1

    35/46

    India SAP CoE, Slide 35

    The single regular instance for each unique R/3 system whose profileincludes the single enqueue and single message service for that uniqueR/3 system.

    The messaging service manages internal communication. A single Central Instance is grouped together with multiple regular

    Instances to form a System

    SAP R/3 Architecture Central Instance

  • 7/29/2019 R#ARCH~1

    36/46

    India SAP CoE, Slide 36

    The message service is used by the application servers to exchangeshort, internal messages (for example, trigger an update,enqueue/dequeue, trigger a background job)

    Every application server reports to the message service with a uniquename

    SAP R/3 Architecture Message Service

  • 7/29/2019 R#ARCH~1

    37/46

    India SAP CoE, Slide 37

    While short messages can be exchanged between an R/3 Systemsapplication servers via the message server, larger quantities of data(application data) are transferred via the SAP gateway.

    The communications partner can be in the same system, a different R/3 orR/2 System, an external program

    SAP R/3 Architecture Gateway Service

  • 7/29/2019 R#ARCH~1

    38/46

    India SAP CoE, Slide 38

    Remote Function Call (RFC)

    The RFC interface enables function calls between two SAP systems (R/3or R/2), or between an SAP system and an external one. The RFC libraryfunctions support the C programming language and Visual Basic (onWindows platforms).

    SAP R/3 Architecture RFC

  • 7/29/2019 R#ARCH~1

    39/46

    India SAP CoE, Slide 39

    SAP system is a single, logical, separate and independent copy of R/3. Inother words, everything that uses the same database.

    SAP R/3 Architecture SAP System

  • 7/29/2019 R#ARCH~1

    40/46

    India SAP CoE, Slide 40

    SAP R/3 Architecture WAS 6.20 Used to implement both server-side and client-side Web applications.

    Web AS is a further development of the classic SAP Basis technology. A newprocess has been added to the SAP kernel, the Internet CommunicationManager (ICM).

    Enables you to process

    directly queries that

    were placed from the

    Internet/Intranet via a

    browser.

  • 7/29/2019 R#ARCH~1

    41/46

  • 7/29/2019 R#ARCH~1

    42/46

    India SAP CoE, Slide 42

    By now you know

    What is R/3 ?

    What does R/3 mean ?

    Why & in what situation is R/3 required ?

    Detailed Architecture of SAP R/3

    Architecture of Web Application Server

    (WAS).

    SAP R/3 Architecture

  • 7/29/2019 R#ARCH~1

    43/46

    India SAP CoE, Slide 43

    Topics

    1

    2

    3

    4

    5

    Defining R/3

    Why R/3 ?

    SAP R/3 Architecture

    Summary

    Annexure

  • 7/29/2019 R#ARCH~1

    44/46

    India SAP CoE, Slide 44

    Summary

    SAP R/3 is SAP's integrated software solution for client/server anddistributed open systems.

    SAP's R/3 is the world's most-used standard business software forclient/server computing.

    R/3 meets the needs of a customer from the small grocer with 3users to the multi-billion dollar companies.

    The software is highly customizable using SAP's proprietaryprogramming language, ABAP/4.

    R/3 is scalable and highly suited for many types and sizes oforganizations.

  • 7/29/2019 R#ARCH~1

    45/46

    India SAP CoE, Slide 45

    Topics

    1

    2

    3

    4

    5

    Defining R/3

    Why R/3 ?

    SAP R/3 Architecture

    Overview

    Annexure

  • 7/29/2019 R#ARCH~1

    46/46

    Annexure

    SAP R/3 : Systems Applications &Product in Real-time 3-tierArchitecture.

    Pronunciation: SAP (Ess Aay

    Pee).