SAP Message VW623 - The cursor is not on a field with a document number

Diagnosis
When you tried to use the "display document" function, the cursor was
not on a field containing a document number (delivery, shipment).

System Response
The procedure was terminated.

Procedure
Place the cursor on a delivery or shipment number and reselect thefunction.