教程链接: https://www.tutorialspoint.com/sap_abap/
1. Home:
ABAP is a fourth-generation programming language for SAP. Java and ABAP are currently main languages in SAP. This tutorial explains the key concepts of SAP ABAP.
2.Overview:
ABAP: Advanced Business Application Programming
3-tier Client/Server Architecture:
-
Presentation
-
Application
-
Database
ABAP works in application tier. Technical distribution of software is independent of its physical distribution (different levels can be installed in the same computer. A level can be installed in different computers).
ABAP programs reside the SAP database. They execute under the control of the runtime system that is a part of SAP kernel. But unlike java, ABAP programs are not stored in separate external files.
ABAP code exists in two forms:
-
Source
-
Generated Code : binary representation, like byte code in java
3.Environment:
How?
-
Open ABAP editor: SE38
-
Name the program Z…… (Z ensures the customer namespace)
-
Create
-
Execute
4.Basic Syntax:
-
Begin with REPORT
-
End with period.
-
Colon notation: Combine different states.
-
Comments:
Full: *
Partial line: “
-
No-Zero: to delete zero( 00000520 ----> 520)