Every ABAP program created by you should start with Z or Y.
Only SAP can create with any name. Also your project might have some other
naming style without starting with Z or Y.
While coding, few things to keep in mind:
- Each statement must end with a period. (Full-stop)
- Key words are always the first word in a statement
- Words must be separated by at least one blank
- ABAP statements can be indented and extend over several lines
- ABAP programs must start with either the PROGRAM or REPORT statement.
Always make a flower box on top of every program. Above the
PROGRAM or REPORT statement. This will not the executable statement, this will
simply tell others what is this program and what will it do. And also other
details like when created, who has created etc. This is a very common practice
followed in every project.