ABAP Programming: An Introduction to ABAP Editor, Syntax, and Keywords, Slides of Computer Programming

An introduction to abap programming, focusing on the abap editor, syntax, and essential keywords. It covers the history of abap, the abap editor's features, and the importance of abap program attributes such as program type, status, application, and package. Additionally, it explains the basics of abap syntax and introduces key abap statements like report, write 1, write 2, skip, and uline.

Typology: Slides

2012/2013

Uploaded on 09/27/2013

vikrant
vikrant 🇮🇳

4.4

(9)

119 documents

1 / 22

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Introduction ABAP
Programs
docsity.com
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16

Partial preview of the text

Download ABAP Programming: An Introduction to ABAP Editor, Syntax, and Keywords and more Slides Computer Programming in PDF only on Docsity!

Introduction ABAP

Programs

ABAP (History)

 Acronym:  A llgemeiner B erichts A ufbereitungs P rozessor  Generic report preparation rocessor  A dvanced B usiness A pplication P rogramming  Created back in the 1980s  Looks very much like COBOL  SAP itself, is written in ABAP

Introduction to the ABAP

Editor

 It’s a unified interface for creating, debugging, deploying, … ABAP programs  Use transaction code SE

Activation

 Note that you must activate ABAP with the keys I gave you before you use the software for the first time.

Review

(A First ABAP Program -2)

 Edit the program statements

Review

(A First ABAP Program -3)

 Activate the application (Program / Activate)

APAP Program Attributes

(Introduction)

 Every program that you create has metadata

APAP Program Attributes

(Program Type)

 ABAP has it’s own program types  Executable programs can be run independently of a transaction code  Remember program types from the last lecture  Our first program will be an executable program  Module Pools are made up of processing steps and are executed from a transaction code  And other types of programs

ABAP Program Attributes

(Package)

 A program belongs to a package and has an owner  The package is defined when the program is saved for the first time  Use package $TMP for our “local” packages  SAP packages, in the simplest case, allow you group code (applications) together

ABAP Program Attributes

(Package)

 Use Local Page $TMP for our work

ABAP Program Names

 SAP has naming conventions for programs  Local programs should ALWAYS begin with the letter Z (for customer)

ABAP Syntax (Introduction)

 Like most programming language, we have statements as the atomic unit of work  ABAP statements always end with a period (thanks COBOL)

ABAP Keywords (REPORT)

 REPORT rep.

 It’s the first statement in an executable program  It can also be replaced with the keyword PROGRAM  Following the report keyword appears the report name  Example

ABAP Keywords (WRITE 1)

 The statement writes the content to the output stream (current page of the current list)