I saw a few un-answered questions on SDN on how to create or attach documents and URL to store the documents and in conjunction with knowledge provider (KPro), you can store the documents either in a content server or in the SAPOffice. This blog is applicable to ABAP-based system only.