Problem:
While opening the DMS document its gets failed and create a copy of document under /usr/sap/<SID>/<InstanceNo>/work
Solution:
Check corresponding KPRO log exist.
For this execute steps:
1. Call transaction SLG1
2. Enter "SCMS" or "SDOK" in field "Object"
3. Check corresponding logs
4. Display complete log text and check for possible reason.
Correcting RFC Destination:
1. Delete the RFC destinations SAPHTTP and SAPHTTPA from the transaction SM59.
2. Regenerate them with the report RSHTTP05.
3. Delete the RFC destinations SAPFTP and SAPFTPA from the transaction SM59.
5. Regenerate them with RSFTP005.
Note: