Functions are evaluation procedures with which you can call up the value of a field or the results of a function module within a Template . A function is clearly identifiable through the environment , name space and logical function names.
Objects, quantities, activation requirements and assignment times are dynamically determined through the definitions of Methods and Formulas for Templates . They are always assigned to environments or sub-environments (see Environment of the Template ) , and can be structured or organized into function trees (see Function Trees ).
You can use standard functions or define new ones (see Maintaining Functions ), this means that you can access exactly the right driver information that the respective enterprise needs. In addition to access to table fields and standard function modules, you can also create ABAP-function modules, whose results are accessible by the function (see Implementing ABAP-functions ).
While creating functions, you determine, among other things, the following:
The external (language dependent) function names
To which environment or sub-environment they belong (see Maintaining Functions )
The logical (internal to program) function names and name space (see Functions - Basic Data and Language )
Which values and data will be determined with the function; that is, which field or function module will contain these (see Activating the Function )
Whether and which parameter and function will be assigned (see Parameter of Functions )
In which columns of the template the function can be used (see Function Use )
Which function hierarchy the function belongs to (see Additional Function Trees )
See Also: Example: Creating Functions