-8001: User must be connected Locate the document in its SAP Library structure

Explanation:

An database session can only be opened with a <CONNECT statement>.

User Action:

Specify a CONNECT statement.