Step 2. Review Command Handler code
VFW042 – Snap in a Real Command Handler
1. Locate the uExecute method. This method is called by the Framework when an employee business object is selected in the instance list.
Note that this method routine redefines the uExecute method defined in the command handler ancestor, which is VF_AC010.
2. The uExecute method is invoked in the ancestor. This ensures that any standard logic in the ancestor's uExecute method in performed.
3. The List Manager's GetCurrentInstance method is invoked. In this case only AKey1 is requested, but this method could request any of the columns defined in the business object's instance list.
The uExecute method is then able to fetch the fields required from the employee record, using the key of EMPNO.