A function imports context and returns result.
Open the application in the Object Manager panel.
Under the Detail section, choose the Contained Objects tab.
In the Contained Objects tab page that appears, choose Function from the Type field and choose Create Object.
In the Object Creation dialog box that appears, enter the following data:
Name
For more information, see Naming Conventions
(Optional) Short Text
(Optional) Text
Choose Create or Create and navigate to object.
Note
If you choose Create the newly created function appears under the Contained Objects tab.
If you choose Create and navigate to object, you are directly navigated to the Properties section.