SAP Message RECABC111 - Document management is not available in create mode

Diagnosis
The system does not allow the use of document management when thereal estate object is in create mode.

Procedure
First save the real estate object and then call document management.