Using best practices allows the programmer to create modern code. Programs become optimal and the product life cycle is extended. This part of the chapter will describe techniques that help create high-quality code.
The first topic is the proper naming of all objects while creating and modifying business processes. The exact rules are described in this book in previous chapters. Using an appropriate naming makes it easier in the future to expand programs and look for errors in them.
The next point is to clean variables using the clear function. A program that has been used many times may not always return the variables to the correct state. Clearing the content allows you to be sure that incompatible data will not be transmitted. After many operations, such as reading from the database or reading the table, check the sy-subrc system variable. If it is...