Introduction About ABAP:-
Advanced Business
Application Programming .
ABAP/4 Development
Workbench
n The Development Workbench provides access
to SAP’s development tools.
https://www.youtube.com/channel/UCq55W5Hi-Cs8U4O590q6e0Q
n All
programs are stored in the R/3 Repository.
¨ A
program is simply an object.
n All
definitions are kept in the data dictionary.
¨ e.g.
variable descriptions and parameters of fields.
n Double-clicking
will navigate you to wherever the object is stored.
n Remote
call functions let you access other systems.
Reporting and dialogue Programming:-
n In
reporting you use the ABAP/4 Open SQL to read data from the R/3 database
¨ A
report consists of a selection screen on which you define the dataset you wish
to display, and a list which displays the data itself.
n In
dialog programming you use the screen painter to create screens and program the
sequence in which they appear.
ABAP/4 Program objects:-
n You
can use the ABAP/4 Development Workbench to create ABAP/4 programs.
n You
can call objects from the object list generated from the Object Browser’s
initial screen.
ABAP/4 Programs:-
n All
ABAP/4 programs (objects) are made up of:
¨ Source
code
¨ Text
elements
¨ Attributes
Use Transaction SE38:-
Program Attribute:-
ABAP Editor:-
Creating Programs :-
n Begin
by first specifying a development class.
¨ Development
classes are categories of SAP objects (e.g. program object).
n Customer-specific
program names begin with Y or Z.
n If
you are creating a test object which you do not wish to be transported,
choose Local Object.
The development class is then set to $TMP automatically
The ABAP/4 Editor:-
n The
ABAP/4 Editor can run in three different modes:
1. Command
mode
2. PC mode
with line numbering
3. PC mode
without line numbering
n You
can switch between editor modes by choosing Settings ® Editor mode
¨ It
is recommended that you do your work in PC mode with line numbering
ABAP/4 Syntax:-
n An
ABAP/4 program consists of individual statements
¨ Each
statement must end with a period.
¨ The
first word of a statement is known as the key word.
¨ Words
are separated from each other by at least one blank.
¨ Statements
can be indented.
¨ Statements
can extend over several lines.
n You
can concatenate several consecutive statements with an identical key word (e.g. WRITE: ).
¨ Follow
the key word with a colon.
¨ Separate
each concatenated part with a comma.
¨ End
the lines of the concatenated statements with a period.
n You
can insert comments into a program in two ways:
1. An
asterisk (*) in column 1 flags the whole line as a comment.
2. A
quotation mark (“) within a line flags the remainder of the line as a comment.
General structure for ABAP/4 Statement.
No comments:
Post a Comment