Enterprise Programming - E-Commerce - Lecture Slides, Slides of Fundamentals of E-Commerce

Students of Communication, study E-Commerce as an auxiliary subject. these are the key points discussed in these Lecture Slides of E-Commerce : Enterprise Programming, Allgemeiner, Berichts, Generation Processor, Application Programming, Advanced Business, Program Customization, Companies, Database Abstraction, Database Interaction

Typology: Slides

2012/2013

Uploaded on 07/29/2013

sharad_984
sharad_984 🇮🇳

4.5

(13)

129 documents

1 / 14

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
1
Enterprise Programming
ABAP FUNDAMENTALS
What is ABAP?
Originally: Allgemeiner Berichts-Aufbereitungs-Prozessor (Generic
Report Preparation/Generation Processor)
Now: Advanced Business Application Programming
Created by SAP initially for report creation. Later evolved into full
language. Made public for program customization and
enhancement by companies.
Notable for its database abstraction (logical databases) and ease of
database interaction. Embedded SQL statements in code (Open
SQL). Platform independent.
Extended in 1998 to include Object support (ABAP Objects).
Developing using OO model recommended, but legacy procedural
coding still supported.
Docsity.com
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe

Partial preview of the text

Download Enterprise Programming - E-Commerce - Lecture Slides and more Slides Fundamentals of E-Commerce in PDF only on Docsity!

Enterprise Programming

ABAP FUNDAMENTALS

What is ABAP?

Originally: Allgemeiner Berichts-Aufbereitungs-Prozessor (Generic Report Preparation/Generation Processor)

Now: Advanced Business Application Programming

Created by SAP initially for report creation. Later evolved into full language. Made public for program customization and enhancement by companies.

Notable for its database abstraction (logical databases) and ease of database interaction. Embedded SQL statements in code (Open SQL). Platform independent.

Extended in 1998 to include Object support (ABAP Objects). Developing using OO model recommended, but legacy procedural coding still supported.

Docsity.com

Learning ABAP—NetWeaver Programming Core

http://www.sap.com/services/education/catalog/netweaver/curriculum.epx?context=%5b%5bABAP_CORE%5d%5d%7c

NetWeaver Training Competencies and Options

https://training.sap.com/courses-and-curricula/netweaver

Docsity.com

SAP Basis Admin—sample job ad

3 - tiered architecture

Presentation Layer

Database Layer

Application Layer

Docsity.com

3 - tiered architecture + ABAP

Presentation Layer

Application Layer

Database Layer

ABAP Execution

ABAP Program & Data Storage

ABAP Programming & Output

3 - tiered architecture + ABAP (General)

Presentation Layer Application Layer Database Layer Run Transaction/Program

Screen

Screen

ABAP Program

Program Logic

Program Repository

Database Table(s)

Screen

Local Data Variables

Based on content from Unit 2, BC100 , figures 25 - 35

Docsity.com

Typical Company Installation Landscape

Server SAP ERP Client xxx

Development (DEV)

Server SAP ERP Client xxx

Test/Quality Assurance (QAS)

Server SAP ERP Client xxx

Production (PROD)

Server SAP ERP Client xxx Training (TRN)

Transport Transport

Programming Process

  1. Create new or select existing package.
  2. Create new or select existing transport request for package.
  3. Begin creating a new program.
  4. Enter developer key to authorize development (if not done previously).
  5. Create, debug program. Save.
  6. Test. Revise as necessary.
  7. Activate program.
  8. Transport package.

Items that will not be transported can be assigned to the local package $TMP.

Within our development landscape, transports are essentially to ‘dummy systems’.

Docsity.com

Beginning Programming

ABAP Development Rules:

ABAP programs made up of individual sentences / statements. Each statement begins with a keyword. Conventional to type keywords in all uppercase letters and variables, operators, etc. in all lowercase. Built in Pretty Printer Each statement ends with a period. Statements can be indented as desired. Statements can extend over multiple lines. Lines with * in column 1 are comment lines. Double quotes (“) are to-end-of-line comments.

Source: SAP BC100 , Page 60- 61

Various settings can be maintained through Utilities  Settings , ABAP

Editor

Launch directly with transaction SE38 or SE80 for ABAP Workbench.

To avoid name collision, in all development done on our system begin your programs with the prefix Zxx_ where xx is your individual user number (the last 2 digits of your user name).

If you do your own practice development, enter source code from various sources, etc. you must comply with this requirement.

If you have access to multiple SAP systems note that this number will vary among systems.

If you want to create multiple instances of the same program (practice, redo, etc.), end instances with _01, _02, etc.

ABAP Editor

Docsity.com

Programming Basics—Program Creation

Right click on package in the Object Name list and select Create  Program.

Program name in ALL CAPS (remember naming rules).

Unless needed (to be discussed later) TOP INCLUDE should be off.

Programming Basics—Creation Sequence

Title —brief program description.

Type —Executable program

Status —Test Program

Save/check this dialog and the one that shows the package and the transport request.

Docsity.com

Programming Basics—Begin Creating New Program

Option 2 : Use transaction SE38 to launch ABAP Editor.

Specify Program Name. Select Create.

Cannot create a new package with this sequence! But if one already exists, can use it.

Programming Basics—Enter, Check, Pretty Print, Run

Use editor to enter code. Many right-click options.

Check operation validates syntax.

Pretty Printer ‘cleans up’ code layout.

Direct Processing to run.

Docsity.com

SE16 showing table TSTCT limited to English

SCC

Docsity.com

SE38 ABAP Editor

SE80 ABAP Workbench

Docsity.com