sap ecc 6.0 development abap sap develop enviroment & transport organizer mantova, september...

Post on 19-Jan-2016

246 Views

Category:

Documents

4 Downloads

Preview:

Click to see full reader

TRANSCRIPT

SAP ECC 6.0DEVELOPMENT ABAP SAP develop enviroment & Transport organizer

Mantova, September 2015

SAP System• 3 Tier Architecture• Dialog Work Process Architecture• What’s ABAP?• Creating program in the abap editor• Program Attribute• ABAP Editor• ABAP Syntax• Implementing a simple program • SAP Transport Management

SAP System : 3 Tier Architecture

Presentation Layer(Windows based)

Application Layer(Windows Server/UNIX)

Database Server

Database Layer(Windows Server/UNIX)

M

SAP Instance

Oracle

Informix

DB2

MS SQL Server

MaxDB

G

Dispatcher

RequestQueue

D D B V S E

SAP Buffer(Shared Mem)

SAP GUI SAP GUI

Dialog Work Process Architecture

TaskHandler

DYNPRO Processor

ABAP Processor

Local Memory

Memory Space

DB Interface

List buffer

Database Server

Dialog Work Process

Result Set Memory

Advanced

Business

Application

Programming

What’s ABAP?Operating/Database system-independent programming ABAP contains a subset of SQL called Open SQL for comfortable database access for various database

FeatureDeclaring data with various types and structureOperational elements for data manipulationControl elements for controlling the program flowEvent elements for reacting to external events

Creating Programs in the ABAP Editor

Program Attributes

The Abap Editor

Introducing ABAP SyntaxKey Characteristics of ABAP• Is typed• Enables multi-lingual applications• Enables SQL access• Has been enhanced as an object-oriented language• Is platform-independent• Is upward-compatible

ABAP Statements• Start with a keyword• End with a period (without exception)• May contain additions and operands (depending on the keyword used)• Can span multiple lines• Words must be separated by at least one space

Introducing ABAP Syntax 2

Chained Statements

Comments

13

Implementing a simple program

14

How a Selection Screen Works

15

Input Fields on a Selection Screen

16

Selection Screen text

17

Data Types in programming

18

SAP Types

19

Defining Variables

20

Text Symbols

21

Value Assignments

22

Calculations in ABAP

23

The IF Statement

24

Operator Abbrevation Meaning

= EQ Equal

<> NE Not Equal

> GT Grater Than

< LT Less Than

>= GE Greater than or Equal To

<= LE Less Than or Equal To

AND Used to join multiple logical expressions to create a new logical expression that is true only when all of the multiple logical expressions are true.

OR Used to join multiple logical expressions to create a new logical expression which is true if at least one of the logical expressions is true.

NOT The negation of a logical expression using NOT creates a new logical expression that is false if the logical expression is true and vice versa.

Relational and Boolean Operation

25

Implementing Loops

SAP Transport Management

Landscape

What is a Transport Request?Transport Requests (TRs) are also known as Change Requests. It is a kind of 'Container / Collection' of changes that are made in the development system . It also records the information regarding the type of change, purpose of transport, request category and the target system.

Create a Change RequestChange Request can be created in two ways:• Automatic – Whenever creating or modifying an object, or

when performing customizing settings, system itself displays the 'Dialog box' for creating a change request or mention name of an already created request, if available.

• Manually – Create the change request from the Transport Organizer, and then enter required attributes and insert objects.

Transport Organizer – Extended View

Change Request release

STMS TransactionImport Queue -> is the list of TRs available in the common directory and are ready to be imported in the target system, this is the SAP Application View, at the OS level it is also known as Import Buffer.

33

Questions & Answers

top related