I'm trying to programatically create a document in DMS from Records Management System and create a link to the document. I can create the document using BAPI_DOCUMENT_CREATE2 but cannot figure out a way to link to the document.
Does anyone know if there is a BAPI or function module to do this?