List of Event Macros

You cannot only use macros for events, but also for function calls at menu items or buttons. This is especially important if you want to additionally provide standard edit functions in masks in the edit menu or via edit buttons. They must be called using the userexit evt_cal_mac when the items or buttons are created. The macro name has to be passed as parameter.

Makroname Systemzustand Funktion
@BREAK ALL Closes the modal window.
@CALL-MENU MAS Opens a selection menu or a modal window at the field (if defined).
@CLEAR-FIELD MAS Deletes the content of the current field and positions the write cursor to the first column of this field.
@CURSOR-UP,
@CURSOR-DOWN
WDG,
SEL
Moves the write cursor to the previous or next record.
MAS Moves the write cursor to the previous or next record.
@DELETE-LINE MAS When creating new records, this deletes all field contents in the edit line or all search terms in the query line.
@DELETE-
WIDGET
WDG Deletes the active widget.
@EDIT-
LANGUAGE
MAS Opens the multi-language mask for the current multilingual field.
@END-FIELD MAS Puts the write cursor to the last column of the current field.
@EXIT WDG Opens the NoSelect menu at the widget.
SEL Opens the Select menu at the selected record in the widget.
MAS Opens the Edit menu at the widget.
@FIRST-FIELD MAS Puts the write cursor on the first position of the first field.
@INSERT-LINE MAS Opens an empty record in the mask for entering a new record.
@LAST-FIELD MAS Puts the write cursor on the first column of the last field.
@MODIFY-SORT MAS Opens a mask to modify the sort sequence for fields in the query line.
@NEXT-FIELD WDG,
SEL
Rolls a list in the widget one field to the right.
MAS Puts the write cursor on the first column of the next field (one field to the right).
@NEXT-LINE MAS Puts the write cursor one the first column of the first field in the subsequent record (one record downwards).
@NEXT-PAGE WDG Rolls a list in the widget one page downwards.
@POP-FIELD MAS Opens the Edit window for the current field.
@PREVIOUS-FIELD WDG,
SEL
Rolls a list in the widget one field to the left.
MAS Puts the write cursor on the first column of the previous field (one field to the left).and
@PREVIOUS-PAGE WDG Rolls a list in the widget one page up.
@SELECT-ALL WDG
SEL
Selects all records of a list in the active widget, function is alternating.
@SELECT-LINE WDG
SEL
Selects a record of a list at the current cursor position, function is alternating.
@START-FIELD MAS Puts the write cursor on the first column of the current field.
@SWITCH-MODE MAS Switches from overwrite mode into insert mode or vice versa, function is alternating. (mainly used for keys).
@SYSTEM-MENU ALL Opens the manager menu in case of manager privileges of the user.
@SYSTEM-STOP ALL Finishes DataView in a controlled way.
@UNDO-BACKWARD MAS Sets the field content to the value that had been valid before the field was entered.
@UNDO-FORWARD MAS Sets the field content to the value that had been valid before an Undo operation.