SAP PROC VOLUME - Guide
Get Example source ABAP code based on a different SAP table
Procedure Volume
ABAP_BACKGROUND
The procedure volume is the number of executable ABAP statements in a procedure (
ABAP_RULE
Restrict the number of executable ABAP statements in a procedure (
ABAP_DETAILS
Procedures with large volumes (
The number of executable statements is a simple measure of the complexity of a procedure. All statements that are not declarations and do not define processing blocks can be regarded as executable statements. This is very similar to statements at which program execution can be stopped in the debugger. Procedure-concluding statements, such as
Note
The recommendation not to write procedures that are too large should not lead to the other extreme (too many procedures that are very small). Procedures should be of a reasonable size that is consistent with the ABAP programming language (
Exception
Strict linear code (for example, programmatic filling of a table with single values) cannot be subdivided into multiple procedures. In these cases, a restriction on the number of statements does not make sense.
Example ABAP Coding
See the
ABAP_EXAMPLE_END