In general, a particular key is defined in either the User key list or the enhanced ACCEPT/DISPLAY syntax key list, but not both. However, there is no reason why you should not define the same key in both lists.
If a key that is defined in both lists is pressed during an ACCEPT operation, the sequence of actions is as follows: