Entering content frameOverview documentation Functions Locate the document in its SAP Library structure

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. When you choose a function, its function code is passed either to the system field SY-UCOMM (in type 1 programs) or to the OK_CODE field (in transactions). You can address these fields in your programs to find out which function the user has chosen.

Defining a Function

The definition of an interface function contains the following elements:

Specifying Further Options

 

 

Leaving content frame