Professional Documents
Culture Documents
HISTORY OF SAP
SAP was founded in 1972 by five people: Wellenreuther, Hopp, Hector, Plattner and Tchira. Wellenreuther , while working at IBM , developed a financial accounting package running in batch for an IBM customer Naturin. SAP bought rights from Naturin and started to design and implement the real-time finance system as a standard package based on Wellenreuther s experience in the application. They sold the first copy of the standard system to ICI. Simultaneously, they developed a Materials management system as a bespoke software for ICI by reserving all property rights.
Copyright 2004 Slide 2
Configuration Team
Database
SAP Overview
SAP sets new standards for the universal use of standard software with its R/3 system. The R/3 System allows the complete integration of business and data processing based on Progressive development techniques. The components of the R/3 system are characterized by its comprehensive business functionality coupled with the latest technology. The integration of the applications guarantees transparency of all functions in the system and thus in the entire enterprise. The R/3 system is based on a complete business model covering the following application areas: Financial accounting, controlling, assets management, material management, production planning and control, sales logistics, quality management, plant maintenance, project management, service management, human resource management, office communication, workflow functions, industry solutions, open information warehouse.
Copyright 2004 Slide 5
MM
SD
FI
PP
ABAP/4
BASIS
OPERATING SYSTEM
software component (software-Oriented view). Such a component can consist of a process (see message server process) or a group Of processes, which is then called server for the corresponding service. Software components, that utilize the service, are called clients. Such clients can also be servers for Certain services Often it can be a computer that is understood as server, one on which software components run that Offer certain services (hardware- oriented view). The SAP system is understood as the totality of all software components that are allocated to the same database.
Copyright 2004 Slide 9
Central DB
Batch Processing
Central DB buffer
Application Logic
Output Data to User Input Data From User
User Interaction
Database
Application
Input / Output Of data to users
Presentation
Presentation Layer
The presentation layer is the portion of SAP R/3 with which users
interact directly.
Displays information to users Transfer data entered by users to the application server layer
GUI)
Supported by PC, Mac or workstations Provides the user with the screens ( ie. Menus, toolbars, and function keys) required to process SAP R/3 transactions Provides that same Look and feel to all users, regardless of the platform.
Application Layer
Server Distribution
Database Layer
The relational database system used by all application servers
management functions Current SAP architecture is oriented towards a central database server
SAPGUI
PRESENTATION SERVER
7 2
Request Queues
Dispatcher
3
APPLICATION SERVER Work process
6
ROLL SAP buffers
4 5
Database
DATABASE SERVER
Copyright 2004 Slide 15
ABAP/4 Dictionary
Object Browser ABAP/4 Editor
Transactions
ABAP/4
Function Library
Menu Painter
Overview of ABAP
A B A P / 4
SAP AG
Overview of ABAP
ABAP/4
Advanced Business Application Programming - 4 th generation
Language.
ABAP/4 is the backbone of SAP R/3. All the R/3 applications and parts of Basis system were
developed in ABAP/4.
Overview of ABAP
A B A P /4 D e v e lo p m e n t W o rk b e n c h A rc h ite c tu re
D e v e lo p m e n t
R u n tim e
SAP AG
Copyright 2004 Slide 20
Overview of ABAP
The ABAP/4 Development Workbench provides access to Sap's development tools which cover the entire software development cycle. These tools can be used both for customer-specific developments and enhancements to R/3 applications supplied by SAP. All applications created with the ABAP/4 Development Workbench can run without further modifications on any platforms, database systems and graphical user interfaces supported by SAP.
Overview of ABAP
ABAP Development Work Bench
consists of many tools for like ABAP Editor, Screen Painter, Function Builder, Menu painter for you to create or write Programs like Reports or Screens or Menus etc ... Typically as a ABAP Developer you will be working on the above said Tools to design, develop and test any programs which include Reports, Screens, Menu that you might want to implement in SAP.
During the Period of the Course you will be guided and taken through the tools one by one.
Copyright 2004 Slide 22
Overview of ABAP
ABAP/4 Program Objects.
A B A P /4 P ro g r a m O b je c ts
D e v e lo p m e n t c la s s
D e v . c la s s o b je c t ty p e s D ic tio n a ry o b je c ts P ro g ra m s F u n c tio n g ro u p s In c lu d e s T ra n s a c tio n s L o g ic a l d a ta b a s e s M e s s a g e c la s s e s . . .
SAP AG
P ro g ra m
G lo b a l d a ta P B O m o d u le s P A I m o d u le s S u b ro u tin e s S c re e n s G U I s ta tu s In c lu d e s T ra n s a c tio n s
Overview of ABAP
Development Class
If you are creating a test object which you do not want to be transported, choose local private objects. The development class is then set to $TMP.
You then specify the name of the new program. To proceed, click the radio button Program and choose Display.
Overview of ABAP
Development Class
Overview of ABAP/
Transport Organizer
Overview of ABAP
Workbench requests record changes made to ABAP Workbench objects.
There are local and transportable Workbench requests. (Local Workbench requests have the target system <space>.)
The development class of the object and the transport route settings in the Transport Management System determine whether changes are recorded in a local or a transportable Workbench request.
Overview of ABAP
Transaction se09
Overview of ABAP
ABAP/4 Interfaces
Overview of ABAP
sequential dataset is generated in the source system . This is read into the target system by the data transfer program and imported automatically into the R/3 database using batch input, call transaction or direct input. ABAP/4 contains statements for the implementation of Communication interfaces like RFC/BAPI, OLE which typically connects R/3 with Non R/3 system for establishing a transaction over the Net.
Copyright 2004 Slide 30
Overview of ABAP
As an ABAP Developer Majority of the work during and after implementation of R/3 will be Report programming, Dialog programming, BDC, Enhancements using ABAP/4 Programming Language. In reporting you use the ABAP/4 Open SQL to read data from the R/3 database. A report consists of a selection screen, on which you define the dataset you wish to display, and a list, which displays the data itself. In interactive reporting, the user can navigate from the (basic) list to details lists at runtime. Typically, reports merely read data from the database. However, it is also possible to make changes in the database using a report.
Overview of ABAP
Dialog Programming
In dialog programming you use the Screen Painter to create screens and program the sequence in which they appear. You write an ABAP/4 program (ABAP/4 module pool) for your screens. This is a collection of dialog modules which are called by the flow logic of your screens. You use dialog programs for both reading and changing database tables.
Overview of ABAP
Batch Data Communication (BDC)
Batch Data Communication (BDC) offers transferring of data into the SAP System from other SAP Systems and non-SAP Systems (legacy systems). For example, the data collection in some areas of your company is still performed by a non-SAP system like VB-SQL or Java-Oracle etc. You can still consolidate all of your data in the SAP System by exporting the data from the other system and reading it into the SAP System with batch input.
Overview of ABAP
SAP Scripts
SAP script is the tightly integrated text management system of the SAP R/3 System. It will therefore be used for many different text-processing tasks all over the SAP System. Example: SAP script is used for incorporating the company logo in forms sets. SAP Script can be used for printing the Sales order or the purchase order in the company given pre printed format.
Overview of ABAP
Enhancements
Overview of ABAP
Before going to Next topic, Lets browse some important transactions in ABAP Development Workbench like ABAP Editor(se38) : used for Writing Report programs..etc Object Navigator(se80) : used for Creating Screens and/or Transactions or Development Class or navigation purpose ..etc Function Builder(se37): used for Writing Functions which can be further used in Report programs or Screen programming.. etc. Data Dictionary(se11) : Used for Database Table handling.. etc.
Overview of ABAP
A B A P /4 p r o g r a m s ta te m e n t w o rd 1 w o rd 4
.
w o rd 2
w o rd 3
k ey w o rd
SAP AG
p a r a m e te r , f ie ld , c o n s ta n t
Copyright 2004 Slide 37
ABAP/4 Syntax
An ABAP/4 program consists of individual statements. Each statement must end with a period. The first word of a statement is known as the key word. Words are separated from each other by at least one blank. Statements can be indented. Statements can extend over several lines.
Overview of ABAP
You can concatenate several consecutive statements with an
identical first part into a chain statement. When doing this, conclude the identical first part with a colon. After the colon, separate each concatenated part from the next with a comma. Blanks can appear before and after the separators (colon, comma or period).
Commenting a ABAP Statement
You can insert comments into a program in two ways: - An asterisk (*) in column 1 flags the whole line as a comment. - A quotation mark (") within a line flags the remainder of the line as a comment.
Copyright 2004 Slide 39
C o m m e n ts
* *
CLEAR SUM.
SAP AG
Overview of ABAP
S y s te m F ie ld s
fo r ta b le s tru c tu re S Y
S y s te m fie ld s Nam e SY-DATUM SY-UZEIT SY-UNAME SY-SUBRC SY-REPID SY-LANGU . . . Type DATE TIME CHAR HEX CHAR CHAR L e n g th 8 6 12 2 8 1 M e a n in g D a te T im e U s e r ID R e tu rn c o d e P ro g ra m n a m e L o g o n la n g u a g e
SAP AG
Overview of ABAP
W R IT E S ta te m e n t
REPORT WRITE: SKIP 2. WRITE: WRITE: SKIP 2. WRITE: 'Date', 'Time', SY-DATUM. SY-UZEIT. RSAAA02C. '******************************'.
'******************************'.
A B A P /4 P ro g ra m m A ttrib u te
W R IT E : In tro d u c tio n 1
********************************************** D a te 0 1 .0 1 .1 9 9 6 T im e 1 4 :4 6 :1 0 **********************************************
SAP AG
Overview of ABAP
Write Statement
WRITE outputs the contents of a field or constant in the
Enter SE38 in the space and click on tick icon on extreme left for Editor Area - Initial Screen. Or Use the other Procedure like This
Select
TOOLS
ABAP/4 Workbench
This is the famous workbench they talk about ABAP/4 Development Workbench ! Click on ABAP/4 Editor button or enter the window for writing progrmas.
Copyright 2004 Slide 48
Enter the Name of the Program you want to Start. Without giving a name you can not proceed.
ABAP/4 development
Attribute ABAP/4 program attributes Type ....................... Status ..................... Application ........... Class ...................... 1 T S SCHU
ATTRIBUTES
F4
Type
1: M: V: I: Report Module pool, interactive program Update program Include
F4
Status
T: P: K: S: Test Productive use Customer program System program Copyright 2004
Slide 54
Select Local Object and press the icon on the left side.
Copyright 2004 Slide 57
You Come back to this screen Press F3 to go back or use Back arrow.
Click on Change
To insert more lines for writing program. Place the cursor at the end of first line and press F7 or click on 5th icon from Left on toolbar.
Copyright 2004 Slide 61
Congrats
Wish you all the best for your journey with SAP !
Thank You !
Copyright 2004 Slide 65