You execute a function whenever you choose a menu entry, or press a function key or pushbutton. The element in the interface is linked to the ABAP program itself by a unique function code which you assign to the interface element when you create it in the Menu Painter.
The definition of an interface function contains the following elements:
● Function code: Unique key for the function which can be interpreted by the ABAP program.
● Function type: The function type is used to determine processing control. For example, function types can tell the system when or how to carry out a function.
● Function text: A text that describes the function (such as Save).
● Icon name: Name of the icon to be displayed on a pushbutton.
● Icon text: Text to be output on the pushbutton in addition to the icon.
● Info Text: Text to be displayed as quick info.
● Fastpath: Letter combination that allows users to choose functions without using the mouse.