0% found this document useful (0 votes)
42 views23 pages

Intro To ABAP - Cap 01

ABAP is a programming language used to develop applications for the SAP system. The document discusses ABAP programming and the ABAP editor. It defines key terms like programs, reports, modules and lists. It also summarizes the ABAP editor functions, basic ABAP syntax, program structure, and how to run an ABAP program.

Uploaded by

Roberto Bravo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPS, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
42 views23 pages

Intro To ABAP - Cap 01

ABAP is a programming language used to develop applications for the SAP system. The document discusses ABAP programming and the ABAP editor. It defines key terms like programs, reports, modules and lists. It also summarizes the ABAP editor functions, basic ABAP syntax, program structure, and how to run an ABAP program.

Uploaded by

Roberto Bravo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPS, PDF, TXT or read online on Scribd
You are on page 1/ 23

Introduction to ABAP

Programming
Objectives

 The participants will be able to:


 Discuss the basics of ABAP
Programming
 Discuss the basic functions of the ABAP
Editor
Terms to Remember
Program:
• A series of ABAP statements

Report:
• An ABAP program whose output is
a list

Module Pool:
• A dialog program which is a
collection of screens

List:
• The output generated by an ABAP
report program
ABAP Programming Language

Advanced Business Application Programming


ABAP Workbench
Repository Information
ABAP Editor
System

ABAP Dictionary Test & Analysis Tools

Object Navigator Function Builder

Menu Painter Data Modeler

Screen Painter Workbench Organizer


Reporting

Programs can be written interactively using


the capabilities of the R/3 system. Programs
can be executed both online or in the
background. Background jobs can also be
scheduled to run at specific intervals.
Reporting and ABAP Development
Reporting

ABAP
Development
Programming Environment -
The ABAP Editor
Programming Environment
Online Debugging
Basic Functions of the ABAP Editor
Toggles from
Find and
display to
Repeat Find
change mode

Syntax Check

ABAP Help

Undo

Cut, copy and paste Program source entry area


to and from a buffer
The Program Menu Option
The Edit Menu Option
The Goto Menu Option
The Utilities Menu Option
The Block/buffer Menu Option
The Settings Menu Option
Basic ABAP Program Syntax

DATA COUNT TYPE I.


DATA TITLE(25).
MOVE 1 TO COUNT.
MOVE ‘President’ TO TITLE.
WRITE TITLE.
ABAP Program
WRITE COUNT.
Statement.

Word 1 Word 2 Word 3 Word 4

Key word Parameter, field, or constant


Chaining Statements in ABAP

DATA COUNT TYPE I.


DATA TITLE (25).
MOVE 1 TO COUNT.
MOVE ‘President’ TO TITLE.
WRITE TITLE.
DATA: COUNT TYPE I,
WRITE COUNT. TITLE (25).

MOVE: 1 TO COUNT,
‘President’ TO TITLE.

WRITE: TITLE, COUNT.


Comments in ABAP

A double quotation mark


(“) anywhere on a line
makes everything that
follows a comment.

An asterisk (*) in column


1 makes the entire line
a comment line.
ABAP Program Structure

Program Name Area


Use REPORT for listing programs
Use PROGRAM for online programs

Declaration Section
Used for defining tables, variables
and constants

Statement Section
Used for coding executable
ABAP statement
ABAP Program Attributes
Running an ABAP Program
Summary

 The participants should be able to:


 Discuss the basics of ABAP
Programming
 Discuss the basic functions of the ABAP
Editor

You might also like