Passing Parameters at Userexits

Depending on the installation of the userexit at a trigger of the calling dialog object, DataView passes parameters to userexits. Parameters are always passed as character pointers. The data passed have to interpreted by the userexit itself.

The userexit parameters of DataView are divided into application parameters and standard parameters. Application parameters contain application specific data you have to define yourself. Standard parameters are automatically generated by DataView and then passed to the userexit as nominal value.

The table shows which parameters are passed to the DataView userexits installed at the triggers.

Dialog Object Trigger Parameter
Key on_event application parameters (from T_EVENT)
Menu on_select application parameters (from T_MEN_SEL)
Mask pre_mask application parameters (from T_MASK)
post_mask application parameter (from T_MASK)
edit_action default parameters and application parameters (from T_MASK)
pre_action default parameters and application parameters (from T_MASK)
sel_action default parameters and application parameters (from T_MASK)
post_action default parameters and application parameters (from T_MASK)
Field pre_field application parameters (from T_MAS_FLD)
post_field application parameter (from T_MAS_FLD)
hyper_field application parameter (from T_MAS_FLD)
End of Program pre_exit no parameters