Upload a PDF from a Frontend to the DMS system and view it

Hello, I was wondering if anyone could help me with a task. 

I am supposed to upload a PDF file from my local computer through a frontend solution, Neptune DXP in this case. The PDF should be stored in SAPs Document Management System, and be able to be viewed from any computer.

What is the best way to go about this?

I have tried encoding the PDF in base64 format from my frontend, then storing it in a local table.
From there decoding it to binary and using the output in “BAPI_DOCUMENT_CREATE2″.

I would greatly appreciate it anyone could give me a rundown of the best way to do this.
I am able to create the Document in DMS, but unable to open the file.

Thank you, Eyvind

Scroll to Top