SAP Message VK785 - Document display is only possible in the scope of statement ' '

Procedure
Choose ' ', which lists all documents, as the scope of statement.
You can branch directly from the list into the document display.