SAP provides many examples to help you learn the ABAP language.ProgramThese programs can be opened with the transaction code abapdocu. After running the transaction code abapdocu, you can see the following interface:
Select a program, that is, the leaf node of the tree structure (the node identified by the icon). Click the icon in the toolbar to run the program. Click the icon to debug the program, click the icon or double-click the program description to view the source code of the program, such:
In this interface, click the button to switch to the ABAP Editor (se38), and you can see the actual program name of this file, such:
In this case, you can use all the functions of the ABAP editor to view the program.
After this series of learning materials, we will only talk about "Open the program" and "switch to the ABAP Editor". We will not repeat the above operations.
In addition, if online help is configured in your system (see the http://www.cnblogs.com/qiangsheng/archive/2007/07/01/801801.html for configuration methods), click a button to open the ABAP document page for online help, such:
You can directly view the help documentation on online help.
Double-click the last keyword help in the directory tree or click the toolbar icon to open the query interface of the ABAP keyword document published with the system, for example:
Enter a keyword to open the ABAP keyword document and find the specific usage of a statement.
From today on, I plan to learn the basic syntax of sap in sequence and explain each sample program. Note that the example programs listed here only describe common statements, and some statements may be distinguished when used because the application server version upgrade is outdated. For more specific syntaxes, you need to find them in the ABAP keyword document.