Skip to Content
Technical Articles
Author's profile photo Chaitanya Priya Puvvada

Upload files in SAP Process Automation

Hello Community,

With SAP Process Automation, you now have the availability to upload files in your forms.

The citizen developers can also restrict the number of files to be uploaded for each file input field.

Approver can download the form when he is approving the tasks in his Inbox.


The UI element File Upload is visible in the Form, after completing the pre-requisites.

1. Enable Document Management Service in SAP BTP account

2. Create a Destination for Document Manage Service in your BTP Cockpit. For more information, refer to the documentation.



Please find the video on setting up DMS.



Build a Form with File Upload

1. Create a Form and drag and drop the File Upload.


2. Create an approval Form and drag and drop the File Upload. Make it read-only since it is sent to the Approver for review.

3. Build your process as shown below and bind the parameters of the Input form with the file parameters of the Approval Form.



4. Save, Release, and Deploy the process

 Run the business process

Once the Invoice is uploaded and submitted, it goes for approval.

You can find the Approval form with the uploaded invoice document as an attachment in the Approval form which is available for download.


The uploaded file can be retrieved from Document Management Service Repository using automation which can be used further in the Business Process. Please refer to the sample on the BOT store on how to retrieve files from the Document Management Service Repository.


For more information on SAP Process Automation, please refer to the following sources:


Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Keerthana Jayathran
      Keerthana Jayathran

      Hi Chaitanya Priya Puvvada ,

      Can we use S3 Bucket for the file upload in SPA.


      Author's profile photo Chaitanya Priya Puvvada
      Chaitanya Priya Puvvada
      Blog Post Author

      Hi Keerthana jayathran

      At the moment, We support CMIS-based repositories.

      Author's profile photo Parthibaraja Vijayan
      Parthibaraja Vijayan

      Hi Chaitanya Priya Puvvada,

      Is it possible to upload structure data via excel to S4 using SPA?




      Author's profile photo Sadiq Manji
      Sadiq Manji

      Hi Chaitanya Priya Puvvada,


      Are there plans to enhance some of the Automation Activities, such as "Extract Data" which calls the Document Information Extraction service, to utilize these uploaded files easily?


      It doesn't seem very straightforward to download this file from the DMS from within an automation and then supply the local file to this activity. Following the DMS sample on the Bot Store doesn't seem very straightforward for a "citizen developer".


      Ideally other activities, like the Excel activities, would also be enhanced to leverage this DMS file.


      Best regards,


      Author's profile photo Chaitanya Priya Puvvada
      Chaitanya Priya Puvvada
      Blog Post Author

      Hi Sadiq Manji ,

      I understand your requirement. As of now, we don't have activities which support that feature. We will take this into consideration.

      Author's profile photo Nico Loeblich
      Nico Loeblich

      Dear Chaitanya Priya Puvvada,

      do you know some capabilites about uploading a document (content) to SAP SDM Service:

      (a) from Office Application(like Excel, Word)
      (b) from any Print-Service
      (c) from 3rd Party Scan Software
      (d) via Interface with encoded Data Stream Content

      Just Direct -> Without saving to local / network windows file explorer.