MichaelB.
7/25/2018 - 7:36 PM

Declare an INCLUDE program

Modularizing a program means taking a piece of code from an ABAP program and placing it in a separate module. Then we call the module in the normal ABAP program. Include Programs, are made available globally within an SAP system. Their sole purpose is just for modularizing code They are very simple to define, and accept no parameters. You can define them by using forward navigation or by going to SE38 and selecting Attributes and after that selecting INCLUDE program as type. Can be used for both code/logic and data declarations. Usually used for data declarations that are used often.

INCLUDE z_employee_definitions.