Handling File Upload/Download using NW Gateway and SAP R/3 with attached DMS
first time posting here. I'm new to the SAP world (aside from my study years which were 10 years ago) and only have little experience in ABAP and SAP in general.
I currently have a requirement to have an oData Service which is capable of uploading / downloading files from SAP.
To be more precise: Documents (Word, Excel, PowerPoint, PDF, etc) shall be attached to internal orders as business documents and sent to the archive System, which is IXOS. I have already done some research and found out that my oData Service has to call 'ARCHIV_CONNECTION_INSERT' RFC at some point to link the document in the archive to the business document (internal order). But I have no idea how i can put the document there in the first place.
I have already created a Service with CRUD operations on internal orders (using COAS table, the RFCs i found didn't allow for update) which is working find. I need some guidance how i can extend this Service (or create a new one) to upload/download documents and send them to IXOS. The service shall later be consumed by an ASP.NET application.
Any hint into the right direction will be greatly appreciated!