0% found this document useful (0 votes)
55 views

Abap

This document outlines topics covered in an ABAP/4 programming course including the ABAP workbench, ABAP editor and debugger tools, report programming concepts like events and flow control, working with data through declarations, tables, and logical databases, and techniques for reading, selecting, sorting, and updating database tables. The course appears to provide an introduction to the ABAP programming language and environment.

Uploaded by

Rajesh Kumar
Copyright
© © All Rights Reserved
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
55 views

Abap

This document outlines topics covered in an ABAP/4 programming course including the ABAP workbench, ABAP editor and debugger tools, report programming concepts like events and flow control, working with data through declarations, tables, and logical databases, and techniques for reading, selecting, sorting, and updating database tables. The course appears to provide an introduction to the ABAP programming language and environment.

Uploaded by

Rajesh Kumar
Copyright
© © All Rights Reserved
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 22

ABAP/4 Course

General

Workbench
Program maintenance
Screen Painter
Menu Painter
Transactions
ABAP/4 Query
Translation menu

ABAP/4 (SE38)
Change/Display
Variants
Attributes (Logical Data Bases)
Documentation
Text Elements
Program Directory
Copy/Rename/Delete
Development Test

Development/Test

Run-time Analysis
Extended Syntax
Check
Program References
Pretty Printer
Find Source String

ABAP/4 Editor

Check/Generate
Insert Statement
Split Line/Copy/Move...
Fetch
Position
Goto Menu
Utilities (Local/Global Search)
Upload/Download
Set/Display Breakpoints
Printing (Only a part ...)

Insert Statement

Select * from
Call Function
Message
Write
Others e.g. Comment
(*, **1, *f, *m ...)

ABAP/4 Debugger
Single Step/Execute/Continue
Table (PgUp/PgDn/Format E,C,X)
Click on fields (Change Contents or
Display)
Scroll in program source
Goto Menu
Set/Delete Breakpoint (Breakpoint At)

ABAP/4 Programming

= Event-driven programming language


Working with Reports
Report Syntax and layout
Declaring and Processing data
Events and Flow Control
Subroutines
Reading and Processing Internal tables/Database tables
Selection criteria and Parameters
Working with Logical Databases
Interactive Reporting

Working with Reports


Naming a Report (R/Z + M/F... + Name(6))
Creating Reports
Changing Reports

Report Syntax and Layout


Structure of the ABAP/4 Programming
Language
ABAP/4 Report Layout
Inserting Ready-Made Strucures

Key Words

Declaratives (DATA,.)
Events (GET,...)
Control (IF,...)
Operational (WRITE,)

Declaring and Processing data


Constants/Variables
Assigning Values
Arithmetic Operations
Processing Text Fields
System Fields (SY-UZEIT, SY-DATUM)

Events and Flow Control


Event Key Words (GET, START/END OF
SELECTION, INITIALIZATION)
Events: Concept
Flow Control in ABAP/4
Flow Control: Concept

Events: Concept

LFA 1
LFB1

LFC1

0000000001
0001
1990

1991

0000000002
0002

...

0001
...

1990

1991

0002
...

...

Flow Control: Concept


REPORT DEMO.
<declaration section>
START-OF-SELECTION.
WRITE: 'Start', ... .

" processing block

GET LFA1.
" processing block
WRITE: ... .
IF LFA1-LAND1 = 'D'.
...
ENDIF.
GET LFB1.
WRITE: ... .
END-OF-SELECTION.
WRITE: 'Total:', ... .

" processing block


" processing block

Subroutines
Definition
Calling Subroutines
Passing data between subroutines/reports
(INCLUDE, PERFORM X(Y),...)
Function Modules

Reading and Processing Internal


Tables/Databases
Definition (Internal Tables)
Filling Internal Tables
Reading/Changing and Sorting
SELECT/INSERT/UPDATE/MODIFY/
DELETE

Simple Reading
SELECT * FROM T005T
WHERE LAND1 EQ 'D'.
WRITE: T005T-SPRAS, T005T-NATIO.
ENDSELECT.
SELECT * FROM <dbtab> INTO TABLE <itab> [WHERE ...]
[ORDER BY ...].
Note that there is no ENDSELECT here.
SELECT * FROM <dbtab> APPENDING TABLE <itab> [WHERE ...]
[ORDER BY ...].
If the operation was successful, the system field SY-SUBRC is set to 0, otherwise
to 4.
SELECT SINGLE * FROM <dbtab> WHERE ...
In this case, the WHERE condition may contain only equality conditions linked using
AND. You
have to specify the primary key in full.

Selection Criteria and Parameters


SELECT-OPTIONS
PARAMETERS
SELECTION-SCREEN

Working with Logical Databases


Display/Maintenance
ABAP/4 Key words for Logical Databases
Concept

Logical Data Bases


Structure
Selections/Texts
Database Program (SAPDB<dba>)
Selection Screen
Documentation
Checking/Copying/Deleting/Details

ABAP/4 Course

You might also like