SAP Message SBDS312 - Select an object ID first

Diagnosis
You tried to store a document without first selecting an object key forwhich the document is to be stored.

Procedure
Select the object key with which the document is to be linked andrepeat the relevant action.